Documentation ¶
Overview ¶
Package servicefabricmesh implements the Azure ARM Servicefabricmesh service API version 2018-07-01-preview.
Service Fabric Mesh Management Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type ApplicationClient
- func (client ApplicationClient) Create(ctx context.Context, resourceGroupName string, applicationName string, ...) (result ApplicationResourceDescription, err error)
- func (client ApplicationClient) CreatePreparer(ctx context.Context, resourceGroupName string, applicationName string, ...) (*http.Request, error)
- func (client ApplicationClient) CreateResponder(resp *http.Response) (result ApplicationResourceDescription, err error)
- func (client ApplicationClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client ApplicationClient) Delete(ctx context.Context, resourceGroupName string, applicationName string) (result autorest.Response, err error)
- func (client ApplicationClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
- func (client ApplicationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ApplicationClient) Get(ctx context.Context, resourceGroupName string, applicationName string) (result ApplicationResourceDescription, err error)
- func (client ApplicationClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
- func (client ApplicationClient) GetResponder(resp *http.Response) (result ApplicationResourceDescription, err error)
- func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ApplicationClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationResourceDescriptionListPage, err error)
- func (client ApplicationClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationResourceDescriptionListIterator, err error)
- func (client ApplicationClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ApplicationClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationResourceDescriptionList, err error)
- func (client ApplicationClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ApplicationClient) ListBySubscription(ctx context.Context) (result ApplicationResourceDescriptionListPage, err error)
- func (client ApplicationClient) ListBySubscriptionComplete(ctx context.Context) (result ApplicationResourceDescriptionListIterator, err error)
- func (client ApplicationClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client ApplicationClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationResourceDescriptionList, err error)
- func (client ApplicationClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- type ApplicationProperties
- type ApplicationResourceDescription
- type ApplicationResourceDescriptionList
- type ApplicationResourceDescriptionListIterator
- func (iter *ApplicationResourceDescriptionListIterator) Next() error
- func (iter *ApplicationResourceDescriptionListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ApplicationResourceDescriptionListIterator) NotDone() bool
- func (iter ApplicationResourceDescriptionListIterator) Response() ApplicationResourceDescriptionList
- func (iter ApplicationResourceDescriptionListIterator) Value() ApplicationResourceDescription
- type ApplicationResourceDescriptionListPage
- func (page *ApplicationResourceDescriptionListPage) Next() error
- func (page *ApplicationResourceDescriptionListPage) NextWithContext(ctx context.Context) (err error)
- func (page ApplicationResourceDescriptionListPage) NotDone() bool
- func (page ApplicationResourceDescriptionListPage) Response() ApplicationResourceDescriptionList
- func (page ApplicationResourceDescriptionListPage) Values() []ApplicationResourceDescription
- type ApplicationResourceProperties
- type ApplicationResourceStatus
- type AvailableOperationDisplay
- type AzureInternalMonitoringPipelineSinkDescription
- func (aimpsd AzureInternalMonitoringPipelineSinkDescription) AsAzureInternalMonitoringPipelineSinkDescription() (*AzureInternalMonitoringPipelineSinkDescription, bool)
- func (aimpsd AzureInternalMonitoringPipelineSinkDescription) AsBasicDiagnosticsSinkProperties() (BasicDiagnosticsSinkProperties, bool)
- func (aimpsd AzureInternalMonitoringPipelineSinkDescription) AsDiagnosticsSinkProperties() (*DiagnosticsSinkProperties, bool)
- func (aimpsd AzureInternalMonitoringPipelineSinkDescription) MarshalJSON() ([]byte, error)
- type BaseClient
- type BasicDiagnosticsSinkProperties
- type CodePackageClient
- func (client CodePackageClient) GetContainerLog(ctx context.Context, resourceGroupName string, applicationName string, ...) (result ContainerLogs, err error)
- func (client CodePackageClient) GetContainerLogPreparer(ctx context.Context, resourceGroupName string, applicationName string, ...) (*http.Request, error)
- func (client CodePackageClient) GetContainerLogResponder(resp *http.Response) (result ContainerLogs, err error)
- func (client CodePackageClient) GetContainerLogSender(req *http.Request) (*http.Response, error)
- type ContainerCodePackageProperties
- type ContainerEvent
- type ContainerInstanceView
- type ContainerLabel
- type ContainerLogs
- type ContainerState
- type ContainerVolume
- type DiagnosticsDescription
- type DiagnosticsRef
- type DiagnosticsSinkKind
- type DiagnosticsSinkProperties
- func (dsp DiagnosticsSinkProperties) AsAzureInternalMonitoringPipelineSinkDescription() (*AzureInternalMonitoringPipelineSinkDescription, bool)
- func (dsp DiagnosticsSinkProperties) AsBasicDiagnosticsSinkProperties() (BasicDiagnosticsSinkProperties, bool)
- func (dsp DiagnosticsSinkProperties) AsDiagnosticsSinkProperties() (*DiagnosticsSinkProperties, bool)
- func (dsp DiagnosticsSinkProperties) MarshalJSON() ([]byte, error)
- type EndpointProperties
- type EnvironmentVariable
- type ErrorModel
- type HealthState
- type ImageRegistryCredential
- type IngressConfig
- type IngressQoSLevel
- type Kind
- type Layer4IngressConfig
- type ManagedProxyResource
- type NetworkClient
- func (client NetworkClient) Create(ctx context.Context, resourceGroupName string, networkName string, ...) (result NetworkResourceDescription, err error)
- func (client NetworkClient) CreatePreparer(ctx context.Context, resourceGroupName string, networkName string, ...) (*http.Request, error)
- func (client NetworkClient) CreateResponder(resp *http.Response) (result NetworkResourceDescription, err error)
- func (client NetworkClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client NetworkClient) Delete(ctx context.Context, resourceGroupName string, networkName string) (result autorest.Response, err error)
- func (client NetworkClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkName string) (*http.Request, error)
- func (client NetworkClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client NetworkClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client NetworkClient) Get(ctx context.Context, resourceGroupName string, networkName string) (result NetworkResourceDescription, err error)
- func (client NetworkClient) GetPreparer(ctx context.Context, resourceGroupName string, networkName string) (*http.Request, error)
- func (client NetworkClient) GetResponder(resp *http.Response) (result NetworkResourceDescription, err error)
- func (client NetworkClient) GetSender(req *http.Request) (*http.Response, error)
- func (client NetworkClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result NetworkResourceDescriptionListPage, err error)
- func (client NetworkClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result NetworkResourceDescriptionListIterator, err error)
- func (client NetworkClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client NetworkClient) ListByResourceGroupResponder(resp *http.Response) (result NetworkResourceDescriptionList, err error)
- func (client NetworkClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client NetworkClient) ListBySubscription(ctx context.Context) (result NetworkResourceDescriptionListPage, err error)
- func (client NetworkClient) ListBySubscriptionComplete(ctx context.Context) (result NetworkResourceDescriptionListIterator, err error)
- func (client NetworkClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client NetworkClient) ListBySubscriptionResponder(resp *http.Response) (result NetworkResourceDescriptionList, err error)
- func (client NetworkClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- type NetworkProperties
- type NetworkRef
- type NetworkResourceDescription
- type NetworkResourceDescriptionList
- type NetworkResourceDescriptionListIterator
- func (iter *NetworkResourceDescriptionListIterator) Next() error
- func (iter *NetworkResourceDescriptionListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter NetworkResourceDescriptionListIterator) NotDone() bool
- func (iter NetworkResourceDescriptionListIterator) Response() NetworkResourceDescriptionList
- func (iter NetworkResourceDescriptionListIterator) Value() NetworkResourceDescription
- type NetworkResourceDescriptionListPage
- func (page *NetworkResourceDescriptionListPage) Next() error
- func (page *NetworkResourceDescriptionListPage) NextWithContext(ctx context.Context) (err error)
- func (page NetworkResourceDescriptionListPage) NotDone() bool
- func (page NetworkResourceDescriptionListPage) Response() NetworkResourceDescriptionList
- func (page NetworkResourceDescriptionListPage) Values() []NetworkResourceDescription
- type NetworkResourceProperties
- type OperatingSystemTypes
- type OperationListResult
- type OperationListResultIterator
- func (iter *OperationListResultIterator) Next() error
- func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationListResultIterator) NotDone() bool
- func (iter OperationListResultIterator) Response() OperationListResult
- func (iter OperationListResultIterator) Value() OperationResult
- type OperationListResultPage
- func (page *OperationListResultPage) Next() error
- func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationListResultPage) NotDone() bool
- func (page OperationListResultPage) Response() OperationListResult
- func (page OperationListResultPage) Values() []OperationResult
- type OperationResult
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type ProvisionedResourceProperties
- type ProxyResource
- type ReplicaClient
- func (client ReplicaClient) Get(ctx context.Context, resourceGroupName string, applicationName string, ...) (result ServiceReplicaDescription, err error)
- func (client ReplicaClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string, ...) (*http.Request, error)
- func (client ReplicaClient) GetResponder(resp *http.Response) (result ServiceReplicaDescription, err error)
- func (client ReplicaClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ReplicaClient) ListByServiceName(ctx context.Context, resourceGroupName string, applicationName string, ...) (result ServiceReplicaListPage, err error)
- func (client ReplicaClient) ListByServiceNameComplete(ctx context.Context, resourceGroupName string, applicationName string, ...) (result ServiceReplicaListIterator, err error)
- func (client ReplicaClient) ListByServiceNamePreparer(ctx context.Context, resourceGroupName string, applicationName string, ...) (*http.Request, error)
- func (client ReplicaClient) ListByServiceNameResponder(resp *http.Response) (result ServiceReplicaList, err error)
- func (client ReplicaClient) ListByServiceNameSender(req *http.Request) (*http.Response, error)
- type Resource
- type ResourceLimits
- type ResourceRequests
- type ResourceRequirements
- type ServiceClient
- func (client ServiceClient) Get(ctx context.Context, resourceGroupName string, applicationName string, ...) (result ServiceResourceDescription, err error)
- func (client ServiceClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string, ...) (*http.Request, error)
- func (client ServiceClient) GetResponder(resp *http.Response) (result ServiceResourceDescription, err error)
- func (client ServiceClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServiceClient) ListByApplicationName(ctx context.Context, resourceGroupName string, applicationName string) (result ServiceListPage, err error)
- func (client ServiceClient) ListByApplicationNameComplete(ctx context.Context, resourceGroupName string, applicationName string) (result ServiceListIterator, err error)
- func (client ServiceClient) ListByApplicationNamePreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
- func (client ServiceClient) ListByApplicationNameResponder(resp *http.Response) (result ServiceList, err error)
- func (client ServiceClient) ListByApplicationNameSender(req *http.Request) (*http.Response, error)
- type ServiceList
- type ServiceListIterator
- type ServiceListPage
- type ServiceReplicaDescription
- type ServiceReplicaList
- type ServiceReplicaListIterator
- func (iter *ServiceReplicaListIterator) Next() error
- func (iter *ServiceReplicaListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ServiceReplicaListIterator) NotDone() bool
- func (iter ServiceReplicaListIterator) Response() ServiceReplicaList
- func (iter ServiceReplicaListIterator) Value() ServiceReplicaDescription
- type ServiceReplicaListPage
- func (page *ServiceReplicaListPage) Next() error
- func (page *ServiceReplicaListPage) NextWithContext(ctx context.Context) (err error)
- func (page ServiceReplicaListPage) NotDone() bool
- func (page ServiceReplicaListPage) Response() ServiceReplicaList
- func (page ServiceReplicaListPage) Values() []ServiceReplicaDescription
- type ServiceReplicaProperties
- type ServiceResourceDescription
- type ServiceResourceProperties
- type ServiceResourceStatus
- type Setting
- type TrackedResource
- type VolumeClient
- func (client VolumeClient) Create(ctx context.Context, resourceGroupName string, volumeName string, ...) (result VolumeResourceDescription, err error)
- func (client VolumeClient) CreatePreparer(ctx context.Context, resourceGroupName string, volumeName string, ...) (*http.Request, error)
- func (client VolumeClient) CreateResponder(resp *http.Response) (result VolumeResourceDescription, err error)
- func (client VolumeClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client VolumeClient) Delete(ctx context.Context, resourceGroupName string, volumeName string) (result autorest.Response, err error)
- func (client VolumeClient) DeletePreparer(ctx context.Context, resourceGroupName string, volumeName string) (*http.Request, error)
- func (client VolumeClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VolumeClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client VolumeClient) Get(ctx context.Context, resourceGroupName string, volumeName string) (result VolumeResourceDescription, err error)
- func (client VolumeClient) GetPreparer(ctx context.Context, resourceGroupName string, volumeName string) (*http.Request, error)
- func (client VolumeClient) GetResponder(resp *http.Response) (result VolumeResourceDescription, err error)
- func (client VolumeClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VolumeClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VolumeResourceDescriptionListPage, err error)
- func (client VolumeClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VolumeResourceDescriptionListIterator, err error)
- func (client VolumeClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client VolumeClient) ListByResourceGroupResponder(resp *http.Response) (result VolumeResourceDescriptionList, err error)
- func (client VolumeClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client VolumeClient) ListBySubscription(ctx context.Context) (result VolumeResourceDescriptionListPage, err error)
- func (client VolumeClient) ListBySubscriptionComplete(ctx context.Context) (result VolumeResourceDescriptionListIterator, err error)
- func (client VolumeClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client VolumeClient) ListBySubscriptionResponder(resp *http.Response) (result VolumeResourceDescriptionList, err error)
- func (client VolumeClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- type VolumeProperties
- type VolumeProviderParametersAzureFile
- type VolumeResourceDescription
- type VolumeResourceDescriptionList
- type VolumeResourceDescriptionListIterator
- func (iter *VolumeResourceDescriptionListIterator) Next() error
- func (iter *VolumeResourceDescriptionListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VolumeResourceDescriptionListIterator) NotDone() bool
- func (iter VolumeResourceDescriptionListIterator) Response() VolumeResourceDescriptionList
- func (iter VolumeResourceDescriptionListIterator) Value() VolumeResourceDescription
- type VolumeResourceDescriptionListPage
- func (page *VolumeResourceDescriptionListPage) Next() error
- func (page *VolumeResourceDescriptionListPage) NextWithContext(ctx context.Context) (err error)
- func (page VolumeResourceDescriptionListPage) NotDone() bool
- func (page VolumeResourceDescriptionListPage) Response() VolumeResourceDescriptionList
- func (page VolumeResourceDescriptionListPage) Values() []VolumeResourceDescription
- type VolumeResourceProperties
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Servicefabricmesh
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type ApplicationClient ¶
type ApplicationClient struct {
BaseClient
}
ApplicationClient is the service Fabric Mesh Management Client
func NewApplicationClient ¶
func NewApplicationClient(subscriptionID string) ApplicationClient
NewApplicationClient creates an instance of the ApplicationClient client.
func NewApplicationClientWithBaseURI ¶
func NewApplicationClientWithBaseURI(baseURI string, subscriptionID string) ApplicationClient
NewApplicationClientWithBaseURI creates an instance of the ApplicationClient client.
func (ApplicationClient) Create ¶
func (client ApplicationClient) Create(ctx context.Context, resourceGroupName string, applicationName string, applicationResourceDescription ApplicationResourceDescription) (result ApplicationResourceDescription, err error)
Create creates an application resource with the specified name and description. If an application with the same name already exists, then its description is updated to the one indicated in this request.
Use network resources to provide public connectivity to the services of an application. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application. applicationResourceDescription - description for creating an application resource.
func (ApplicationClient) CreatePreparer ¶
func (client ApplicationClient) CreatePreparer(ctx context.Context, resourceGroupName string, applicationName string, applicationResourceDescription ApplicationResourceDescription) (*http.Request, error)
CreatePreparer prepares the Create request.
func (ApplicationClient) CreateResponder ¶
func (client ApplicationClient) CreateResponder(resp *http.Response) (result ApplicationResourceDescription, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (ApplicationClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (ApplicationClient) Delete ¶
func (client ApplicationClient) Delete(ctx context.Context, resourceGroupName string, applicationName string) (result autorest.Response, err error)
Delete deletes the application resource identified by the name. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application.
func (ApplicationClient) DeletePreparer ¶
func (client ApplicationClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ApplicationClient) DeleteResponder ¶
func (client ApplicationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ApplicationClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ApplicationClient) Get ¶
func (client ApplicationClient) Get(ctx context.Context, resourceGroupName string, applicationName string) (result ApplicationResourceDescription, err error)
Get gets the information about the application resource with a given name. The information includes the information about the application's services and other runtime properties. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application.
func (ApplicationClient) GetPreparer ¶
func (client ApplicationClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ApplicationClient) GetResponder ¶
func (client ApplicationClient) GetResponder(resp *http.Response) (result ApplicationResourceDescription, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ApplicationClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ApplicationClient) ListByResourceGroup ¶
func (client ApplicationClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationResourceDescriptionListPage, err error)
ListByResourceGroup gets the information about all application resources in a given resource group. The information includes the information about the application's services and other runtime properties. Parameters: resourceGroupName - azure resource group name
func (ApplicationClient) ListByResourceGroupComplete ¶
func (client ApplicationClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationResourceDescriptionListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ApplicationClient) ListByResourceGroupPreparer ¶
func (client ApplicationClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ApplicationClient) ListByResourceGroupResponder ¶
func (client ApplicationClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationResourceDescriptionList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ApplicationClient) ListByResourceGroupSender ¶
func (client ApplicationClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ApplicationClient) ListBySubscription ¶
func (client ApplicationClient) ListBySubscription(ctx context.Context) (result ApplicationResourceDescriptionListPage, err error)
ListBySubscription gets the information about all application resources in a given subscription. The information includes the information about the application's services and other runtime properties.
func (ApplicationClient) ListBySubscriptionComplete ¶
func (client ApplicationClient) ListBySubscriptionComplete(ctx context.Context) (result ApplicationResourceDescriptionListIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (ApplicationClient) ListBySubscriptionPreparer ¶
func (client ApplicationClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (ApplicationClient) ListBySubscriptionResponder ¶
func (client ApplicationClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationResourceDescriptionList, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (ApplicationClient) ListBySubscriptionSender ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
type ApplicationProperties ¶
type ApplicationProperties struct { // Description - User readable description of the application. Description *string `json:"description,omitempty"` // DebugParams - Internal use. DebugParams *string `json:"debugParams,omitempty"` // Services - describes the services in the application. Services *[]ServiceResourceDescription `json:"services,omitempty"` // HealthState - Describes the health state of an application resource. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown' HealthState HealthState `json:"healthState,omitempty"` // UnhealthyEvaluation - When the application's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the application is marked unhealthy. UnhealthyEvaluation *string `json:"unhealthyEvaluation,omitempty"` // Status - Status of the application resource. Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' Status ApplicationResourceStatus `json:"status,omitempty"` // StatusDetails - Gives additional information about the current status of the application deployment. StatusDetails *string `json:"statusDetails,omitempty"` // ServiceNames - Names of the services in the application. ServiceNames *[]string `json:"serviceNames,omitempty"` // Diagnostics - Describes the diagnostics definition and usage for an application resource. Diagnostics *DiagnosticsDescription `json:"diagnostics,omitempty"` }
ApplicationProperties this type describes properties of an application resource.
type ApplicationResourceDescription ¶
type ApplicationResourceDescription struct { autorest.Response `json:"-"` // ApplicationResourceProperties - This type describes properties of an application resource. *ApplicationResourceProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - The name of the resource Name *string `json:"name,omitempty"` // Type - The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` }
ApplicationResourceDescription this type describes an application resource.
func (ApplicationResourceDescription) MarshalJSON ¶
func (ard ApplicationResourceDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationResourceDescription.
func (*ApplicationResourceDescription) UnmarshalJSON ¶
func (ard *ApplicationResourceDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationResourceDescription struct.
type ApplicationResourceDescriptionList ¶
type ApplicationResourceDescriptionList struct { autorest.Response `json:"-"` // Value - One page of the list. Value *[]ApplicationResourceDescription `json:"value,omitempty"` // NextLink - URI to fetch the next page of the list. NextLink *string `json:"nextLink,omitempty"` }
ApplicationResourceDescriptionList a pageable list of application resources.
func (ApplicationResourceDescriptionList) IsEmpty ¶
func (ardl ApplicationResourceDescriptionList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ApplicationResourceDescriptionListIterator ¶
type ApplicationResourceDescriptionListIterator struct {
// contains filtered or unexported fields
}
ApplicationResourceDescriptionListIterator provides access to a complete listing of ApplicationResourceDescription values.
func (*ApplicationResourceDescriptionListIterator) Next ¶
func (iter *ApplicationResourceDescriptionListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ApplicationResourceDescriptionListIterator) NextWithContext ¶
func (iter *ApplicationResourceDescriptionListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ApplicationResourceDescriptionListIterator) NotDone ¶
func (iter ApplicationResourceDescriptionListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ApplicationResourceDescriptionListIterator) Response ¶
func (iter ApplicationResourceDescriptionListIterator) Response() ApplicationResourceDescriptionList
Response returns the raw server response from the last page request.
func (ApplicationResourceDescriptionListIterator) Value ¶
func (iter ApplicationResourceDescriptionListIterator) Value() ApplicationResourceDescription
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ApplicationResourceDescriptionListPage ¶
type ApplicationResourceDescriptionListPage struct {
// contains filtered or unexported fields
}
ApplicationResourceDescriptionListPage contains a page of ApplicationResourceDescription values.
func (*ApplicationResourceDescriptionListPage) Next ¶
func (page *ApplicationResourceDescriptionListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ApplicationResourceDescriptionListPage) NextWithContext ¶
func (page *ApplicationResourceDescriptionListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ApplicationResourceDescriptionListPage) NotDone ¶
func (page ApplicationResourceDescriptionListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ApplicationResourceDescriptionListPage) Response ¶
func (page ApplicationResourceDescriptionListPage) Response() ApplicationResourceDescriptionList
Response returns the raw server response from the last page request.
func (ApplicationResourceDescriptionListPage) Values ¶
func (page ApplicationResourceDescriptionListPage) Values() []ApplicationResourceDescription
Values returns the slice of values for the current page or nil if there are no values.
type ApplicationResourceProperties ¶
type ApplicationResourceProperties struct { // ProvisioningState - State of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` // Description - User readable description of the application. Description *string `json:"description,omitempty"` // DebugParams - Internal use. DebugParams *string `json:"debugParams,omitempty"` // Services - describes the services in the application. Services *[]ServiceResourceDescription `json:"services,omitempty"` // HealthState - Describes the health state of an application resource. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown' HealthState HealthState `json:"healthState,omitempty"` // UnhealthyEvaluation - When the application's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the application is marked unhealthy. UnhealthyEvaluation *string `json:"unhealthyEvaluation,omitempty"` // Status - Status of the application resource. Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed' Status ApplicationResourceStatus `json:"status,omitempty"` // StatusDetails - Gives additional information about the current status of the application deployment. StatusDetails *string `json:"statusDetails,omitempty"` // ServiceNames - Names of the services in the application. ServiceNames *[]string `json:"serviceNames,omitempty"` // Diagnostics - Describes the diagnostics definition and usage for an application resource. Diagnostics *DiagnosticsDescription `json:"diagnostics,omitempty"` }
ApplicationResourceProperties this type describes properties of an application resource.
type ApplicationResourceStatus ¶
type ApplicationResourceStatus string
ApplicationResourceStatus enumerates the values for application resource status.
const ( // Creating ... Creating ApplicationResourceStatus = "Creating" // Deleting ... Deleting ApplicationResourceStatus = "Deleting" // Failed ... Failed ApplicationResourceStatus = "Failed" // Invalid ... Invalid ApplicationResourceStatus = "Invalid" // Ready ... Ready ApplicationResourceStatus = "Ready" // Upgrading ... Upgrading ApplicationResourceStatus = "Upgrading" )
func PossibleApplicationResourceStatusValues ¶
func PossibleApplicationResourceStatusValues() []ApplicationResourceStatus
PossibleApplicationResourceStatusValues returns an array of possible values for the ApplicationResourceStatus const type.
type AvailableOperationDisplay ¶
type AvailableOperationDisplay struct { // Provider - Name of the operation provider. Provider *string `json:"provider,omitempty"` // Resource - Name of the resource on which the operation is available. Resource *string `json:"resource,omitempty"` // Operation - Name of the available operation. Operation *string `json:"operation,omitempty"` // Description - Description of the available operation. Description *string `json:"description,omitempty"` }
AvailableOperationDisplay an operation available at the listed Azure resource provider.
type AzureInternalMonitoringPipelineSinkDescription ¶
type AzureInternalMonitoringPipelineSinkDescription struct { // AccountName - Azure Internal monitoring pipeline account. AccountName *string `json:"accountName,omitempty"` // Namespace - Azure Internal monitoring pipeline account namespace. Namespace *string `json:"namespace,omitempty"` // MaConfigURL - Azure Internal monitoring agent configuration. MaConfigURL *string `json:"maConfigUrl,omitempty"` // FluentdConfigURL - Azure Internal monitoring agent fluentd configuration. FluentdConfigURL interface{} `json:"fluentdConfigUrl,omitempty"` // AutoKeyConfigURL - Azure Internal monitoring pipeline autokey associated with the certificate. AutoKeyConfigURL *string `json:"autoKeyConfigUrl,omitempty"` // Name - Name of the sink. This value is referenced by DiagnosticsReferenceDescription Name *string `json:"name,omitempty"` // Description - A description of the sink. Description *string `json:"description,omitempty"` // Kind - Possible values include: 'KindDiagnosticsSinkProperties', 'KindAzureInternalMonitoringPipeline' Kind Kind `json:"kind,omitempty"` }
AzureInternalMonitoringPipelineSinkDescription diagnostics settings for Geneva.
func (AzureInternalMonitoringPipelineSinkDescription) AsAzureInternalMonitoringPipelineSinkDescription ¶
func (aimpsd AzureInternalMonitoringPipelineSinkDescription) AsAzureInternalMonitoringPipelineSinkDescription() (*AzureInternalMonitoringPipelineSinkDescription, bool)
AsAzureInternalMonitoringPipelineSinkDescription is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.
func (AzureInternalMonitoringPipelineSinkDescription) AsBasicDiagnosticsSinkProperties ¶
func (aimpsd AzureInternalMonitoringPipelineSinkDescription) AsBasicDiagnosticsSinkProperties() (BasicDiagnosticsSinkProperties, bool)
AsBasicDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.
func (AzureInternalMonitoringPipelineSinkDescription) AsDiagnosticsSinkProperties ¶
func (aimpsd AzureInternalMonitoringPipelineSinkDescription) AsDiagnosticsSinkProperties() (*DiagnosticsSinkProperties, bool)
AsDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.
func (AzureInternalMonitoringPipelineSinkDescription) MarshalJSON ¶
func (aimpsd AzureInternalMonitoringPipelineSinkDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureInternalMonitoringPipelineSinkDescription.
type BaseClient ¶
BaseClient is the base client for Servicefabricmesh.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
type BasicDiagnosticsSinkProperties ¶
type BasicDiagnosticsSinkProperties interface { AsAzureInternalMonitoringPipelineSinkDescription() (*AzureInternalMonitoringPipelineSinkDescription, bool) AsDiagnosticsSinkProperties() (*DiagnosticsSinkProperties, bool) }
BasicDiagnosticsSinkProperties properties of a DiagnosticsSink.
type CodePackageClient ¶
type CodePackageClient struct {
BaseClient
}
CodePackageClient is the service Fabric Mesh Management Client
func NewCodePackageClient ¶
func NewCodePackageClient(subscriptionID string) CodePackageClient
NewCodePackageClient creates an instance of the CodePackageClient client.
func NewCodePackageClientWithBaseURI ¶
func NewCodePackageClientWithBaseURI(baseURI string, subscriptionID string) CodePackageClient
NewCodePackageClientWithBaseURI creates an instance of the CodePackageClient client.
func (CodePackageClient) GetContainerLog ¶
func (client CodePackageClient) GetContainerLog(ctx context.Context, resourceGroupName string, applicationName string, serviceName string, replicaName string, codePackageName string, tail *int32) (result ContainerLogs, err error)
GetContainerLog get the logs for the container of a given code package of an application. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application. serviceName - the identity of the service. replicaName - the identity of the service replica. codePackageName - the name of the code package. tail - number of lines to show from the end of the logs. Default is 100.
func (CodePackageClient) GetContainerLogPreparer ¶
func (client CodePackageClient) GetContainerLogPreparer(ctx context.Context, resourceGroupName string, applicationName string, serviceName string, replicaName string, codePackageName string, tail *int32) (*http.Request, error)
GetContainerLogPreparer prepares the GetContainerLog request.
func (CodePackageClient) GetContainerLogResponder ¶
func (client CodePackageClient) GetContainerLogResponder(resp *http.Response) (result ContainerLogs, err error)
GetContainerLogResponder handles the response to the GetContainerLog request. The method always closes the http.Response Body.
func (CodePackageClient) GetContainerLogSender ¶
GetContainerLogSender sends the GetContainerLog request. The method will close the http.Response Body if it receives an error.
type ContainerCodePackageProperties ¶
type ContainerCodePackageProperties struct { // Name - The name of the code package. Name *string `json:"name,omitempty"` // Image - The Container image to use. Image *string `json:"image,omitempty"` // ImageRegistryCredential - Image registry credential. ImageRegistryCredential *ImageRegistryCredential `json:"imageRegistryCredential,omitempty"` // Entrypoint - Override for the default entry point in the container. Entrypoint *string `json:"entrypoint,omitempty"` // Commands - Command array to execute within the container in exec form. Commands *[]string `json:"commands,omitempty"` // EnvironmentVariables - The environment variables to set in this container EnvironmentVariables *[]EnvironmentVariable `json:"environmentVariables,omitempty"` // Settings - The settings to set in this container. The setting file path can be fetched from environment variable "Fabric_SettingPath". The path for Windows container is "C:\\secrets". The path for Linux container is "/var/secrets". Settings *[]Setting `json:"settings,omitempty"` // Labels - The labels to set in this container. Labels *[]ContainerLabel `json:"labels,omitempty"` // Endpoints - The endpoints exposed by this container. Endpoints *[]EndpointProperties `json:"endpoints,omitempty"` // Resources - This type describes the resource requirements for a container or a service. Resources *ResourceRequirements `json:"resources,omitempty"` // VolumeRefs - The volumes to be attached to the container. VolumeRefs *[]ContainerVolume `json:"volumeRefs,omitempty"` // InstanceView - Runtime information of a container instance. InstanceView *ContainerInstanceView `json:"instanceView,omitempty"` // Diagnostics - Reference to sinks in DiagnosticsDescription. Diagnostics *DiagnosticsRef `json:"diagnostics,omitempty"` }
ContainerCodePackageProperties describes a container and its runtime properties.
type ContainerEvent ¶
type ContainerEvent struct { // Name - The name of the container event. Name *string `json:"name,omitempty"` // Count - The count of the event. Count *int32 `json:"count,omitempty"` // FirstTimestamp - Date/time of the first event. FirstTimestamp *string `json:"firstTimestamp,omitempty"` // LastTimestamp - Date/time of the last event. LastTimestamp *string `json:"lastTimestamp,omitempty"` // Message - The event message Message *string `json:"message,omitempty"` // Type - The event type. Type *string `json:"type,omitempty"` }
ContainerEvent a container event.
type ContainerInstanceView ¶
type ContainerInstanceView struct { // RestartCount - The number of times the container has been restarted. RestartCount *int32 `json:"restartCount,omitempty"` // CurrentState - Current container instance state. CurrentState *ContainerState `json:"currentState,omitempty"` // PreviousState - Previous container instance state. PreviousState *ContainerState `json:"previousState,omitempty"` // Events - The events of this container instance. Events *[]ContainerEvent `json:"events,omitempty"` }
ContainerInstanceView runtime information of a container instance.
type ContainerLabel ¶
type ContainerLabel struct { // Name - The name of the container label. Name *string `json:"name,omitempty"` // Value - The value of the container label. Value *string `json:"value,omitempty"` }
ContainerLabel describes a container label.
type ContainerLogs ¶
type ContainerLogs struct { autorest.Response `json:"-"` // Content - content of the log. Content *string `json:"content,omitempty"` }
ContainerLogs the logs of the container.
type ContainerState ¶
type ContainerState struct { // State - The state of this container State *string `json:"state,omitempty"` // StartTime - Date/time when the container state started. StartTime *date.Time `json:"startTime,omitempty"` // ExitCode - The container exit code. ExitCode *string `json:"exitCode,omitempty"` // FinishTime - Date/time when the container state finished. FinishTime *date.Time `json:"finishTime,omitempty"` // DetailStatus - Human-readable status of this state. DetailStatus *string `json:"detailStatus,omitempty"` }
ContainerState the container state.
type ContainerVolume ¶
type ContainerVolume struct { // Name - Name of the volume. Name *string `json:"name,omitempty"` // ReadOnly - The flag indicating whether the volume is read only. Default is 'false'. ReadOnly *bool `json:"readOnly,omitempty"` // DestinationPath - The path within the container at which the volume should be mounted. Only valid path characters are allowed. DestinationPath *string `json:"destinationPath,omitempty"` }
ContainerVolume describes how a volume is attached to a container.
type DiagnosticsDescription ¶
type DiagnosticsDescription struct { // Sinks - List of supported sinks that can be referenced. Sinks *[]BasicDiagnosticsSinkProperties `json:"sinks,omitempty"` // Enabled - Status of whether or not sinks are enabled. Enabled *bool `json:"enabled,omitempty"` // DefaultSinkRefs - The sinks to be used if diagnostics is enabled. Sink choices can be overridden at the service and code package level. DefaultSinkRefs *[]string `json:"defaultSinkRefs,omitempty"` }
DiagnosticsDescription describes the diagnostics options available
func (*DiagnosticsDescription) UnmarshalJSON ¶
func (dd *DiagnosticsDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DiagnosticsDescription struct.
type DiagnosticsRef ¶
type DiagnosticsRef struct { // Enabled - Status of whether or not sinks are enabled. Enabled *bool `json:"enabled,omitempty"` // SinkRefs - List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription. SinkRefs *[]string `json:"sinkRefs,omitempty"` }
DiagnosticsRef reference to sinks in DiagnosticsDescription.
type DiagnosticsSinkKind ¶
type DiagnosticsSinkKind string
DiagnosticsSinkKind enumerates the values for diagnostics sink kind.
const ( // DiagnosticsSinkKindAzureInternalMonitoringPipeline Diagnostics settings for Geneva. DiagnosticsSinkKindAzureInternalMonitoringPipeline DiagnosticsSinkKind = "AzureInternalMonitoringPipeline" // DiagnosticsSinkKindInvalid Indicates an invalid sink kind. All Service Fabric enumerations have the // invalid type. DiagnosticsSinkKindInvalid DiagnosticsSinkKind = "Invalid" )
func PossibleDiagnosticsSinkKindValues ¶
func PossibleDiagnosticsSinkKindValues() []DiagnosticsSinkKind
PossibleDiagnosticsSinkKindValues returns an array of possible values for the DiagnosticsSinkKind const type.
type DiagnosticsSinkProperties ¶
type DiagnosticsSinkProperties struct { // Name - Name of the sink. This value is referenced by DiagnosticsReferenceDescription Name *string `json:"name,omitempty"` // Description - A description of the sink. Description *string `json:"description,omitempty"` // Kind - Possible values include: 'KindDiagnosticsSinkProperties', 'KindAzureInternalMonitoringPipeline' Kind Kind `json:"kind,omitempty"` }
DiagnosticsSinkProperties properties of a DiagnosticsSink.
func (DiagnosticsSinkProperties) AsAzureInternalMonitoringPipelineSinkDescription ¶
func (dsp DiagnosticsSinkProperties) AsAzureInternalMonitoringPipelineSinkDescription() (*AzureInternalMonitoringPipelineSinkDescription, bool)
AsAzureInternalMonitoringPipelineSinkDescription is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.
func (DiagnosticsSinkProperties) AsBasicDiagnosticsSinkProperties ¶
func (dsp DiagnosticsSinkProperties) AsBasicDiagnosticsSinkProperties() (BasicDiagnosticsSinkProperties, bool)
AsBasicDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.
func (DiagnosticsSinkProperties) AsDiagnosticsSinkProperties ¶
func (dsp DiagnosticsSinkProperties) AsDiagnosticsSinkProperties() (*DiagnosticsSinkProperties, bool)
AsDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.
func (DiagnosticsSinkProperties) MarshalJSON ¶
func (dsp DiagnosticsSinkProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiagnosticsSinkProperties.
type EndpointProperties ¶
type EndpointProperties struct { // Name - The name of the endpoint. Name *string `json:"name,omitempty"` // Port - Port used by the container. Port *int32 `json:"port,omitempty"` }
EndpointProperties describes a container endpoint.
type EnvironmentVariable ¶
type EnvironmentVariable struct { // Name - The name of the environment variable. Name *string `json:"name,omitempty"` // Value - The value of the environment variable. Value *string `json:"value,omitempty"` }
EnvironmentVariable describes an environment variable for the container.
type ErrorModel ¶
type ErrorModel struct { // Code - The error code. Code *string `json:"code,omitempty"` // Message - The error message. Message *string `json:"message,omitempty"` }
ErrorModel the error details.
type HealthState ¶
type HealthState string
HealthState enumerates the values for health state.
const ( // HealthStateError Indicates the health state is at an error level. Error health state should be // investigated, as they can impact the correct functionality of the cluster. The value is 3. HealthStateError HealthState = "Error" // HealthStateInvalid Indicates an invalid health state. All Service Fabric enumerations have the invalid // type. The value is zero. HealthStateInvalid HealthState = "Invalid" // HealthStateOk Indicates the health state is okay. The value is 1. HealthStateOk HealthState = "Ok" // HealthStateUnknown Indicates an unknown health status. The value is 65535. HealthStateUnknown HealthState = "Unknown" // HealthStateWarning Indicates the health state is at a warning level. The value is 2. HealthStateWarning HealthState = "Warning" )
func PossibleHealthStateValues ¶
func PossibleHealthStateValues() []HealthState
PossibleHealthStateValues returns an array of possible values for the HealthState const type.
type ImageRegistryCredential ¶
type ImageRegistryCredential struct { // Server - Docker image registry server, without protocol such as `http` and `https`. Server *string `json:"server,omitempty"` // Username - The username for the private registry. Username *string `json:"username,omitempty"` // Password - The password for the private registry. Password *string `json:"password,omitempty"` }
ImageRegistryCredential image registry credential.
type IngressConfig ¶
type IngressConfig struct { // QosLevel - The QoS tier for ingress. Possible values include: 'Bronze' QosLevel IngressQoSLevel `json:"qosLevel,omitempty"` // Layer4 - Configuration for layer4 public connectivity for this network. Layer4 *[]Layer4IngressConfig `json:"layer4,omitempty"` // PublicIPAddress - The public IP address for reaching this network. PublicIPAddress *string `json:"publicIPAddress,omitempty"` }
IngressConfig describes public connectivity configuration for the network.
type IngressQoSLevel ¶
type IngressQoSLevel string
IngressQoSLevel enumerates the values for ingress qo s level.
const ( // Bronze ... Bronze IngressQoSLevel = "Bronze" )
func PossibleIngressQoSLevelValues ¶
func PossibleIngressQoSLevelValues() []IngressQoSLevel
PossibleIngressQoSLevelValues returns an array of possible values for the IngressQoSLevel const type.
type Kind ¶
type Kind string
Kind enumerates the values for kind.
func PossibleKindValues ¶
func PossibleKindValues() []Kind
PossibleKindValues returns an array of possible values for the Kind const type.
type Layer4IngressConfig ¶
type Layer4IngressConfig struct { // Name - Layer4 ingress config name. Name *string `json:"name,omitempty"` // PublicPort - Specifies the public port at which the service endpoint below needs to be exposed. PublicPort *int32 `json:"publicPort,omitempty"` // ApplicationName - The application name which contains the service to be exposed. ApplicationName *string `json:"applicationName,omitempty"` // ServiceName - The service whose endpoint needs to be exposed at the public port. ServiceName *string `json:"serviceName,omitempty"` // EndpointName - The service endpoint that needs to be exposed. EndpointName *string `json:"endpointName,omitempty"` }
Layer4IngressConfig describes the layer4 configuration for public connectivity for this network.
type ManagedProxyResource ¶
type ManagedProxyResource struct { // ID - Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - The name of the resource Name *string `json:"name,omitempty"` // Type - The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` }
ManagedProxyResource the resource model definition for Azure Resource Manager proxy resource. It will have everything other than required location and tags. This proxy resource is explicitly created or updated by including it in the parent resource.
type NetworkClient ¶
type NetworkClient struct {
BaseClient
}
NetworkClient is the service Fabric Mesh Management Client
func NewNetworkClient ¶
func NewNetworkClient(subscriptionID string) NetworkClient
NewNetworkClient creates an instance of the NetworkClient client.
func NewNetworkClientWithBaseURI ¶
func NewNetworkClientWithBaseURI(baseURI string, subscriptionID string) NetworkClient
NewNetworkClientWithBaseURI creates an instance of the NetworkClient client.
func (NetworkClient) Create ¶
func (client NetworkClient) Create(ctx context.Context, resourceGroupName string, networkName string, networkResourceDescription NetworkResourceDescription) (result NetworkResourceDescription, err error)
Create creates a network resource with the specified name and description. If a network with the same name already exists, then its description is updated to the one indicated in this request.
Use network resources to create private network and configure public connectivity for services within your application. Parameters: resourceGroupName - azure resource group name networkName - the identity of the network. networkResourceDescription - description for creating a network resource.
func (NetworkClient) CreatePreparer ¶
func (client NetworkClient) CreatePreparer(ctx context.Context, resourceGroupName string, networkName string, networkResourceDescription NetworkResourceDescription) (*http.Request, error)
CreatePreparer prepares the Create request.
func (NetworkClient) CreateResponder ¶
func (client NetworkClient) CreateResponder(resp *http.Response) (result NetworkResourceDescription, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (NetworkClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (NetworkClient) Delete ¶
func (client NetworkClient) Delete(ctx context.Context, resourceGroupName string, networkName string) (result autorest.Response, err error)
Delete deletes the network resource identified by the name. Parameters: resourceGroupName - azure resource group name networkName - the identity of the network.
func (NetworkClient) DeletePreparer ¶
func (client NetworkClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (NetworkClient) DeleteResponder ¶
func (client NetworkClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (NetworkClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (NetworkClient) Get ¶
func (client NetworkClient) Get(ctx context.Context, resourceGroupName string, networkName string) (result NetworkResourceDescription, err error)
Get gets the information about the network resource with a given name. This information includes the network description and other runtime information. Parameters: resourceGroupName - azure resource group name networkName - the identity of the network.
func (NetworkClient) GetPreparer ¶
func (client NetworkClient) GetPreparer(ctx context.Context, resourceGroupName string, networkName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (NetworkClient) GetResponder ¶
func (client NetworkClient) GetResponder(resp *http.Response) (result NetworkResourceDescription, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (NetworkClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (NetworkClient) ListByResourceGroup ¶
func (client NetworkClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result NetworkResourceDescriptionListPage, err error)
ListByResourceGroup gets the information about all network resources in a given resource group. The information includes the network description and other runtime properties. Parameters: resourceGroupName - azure resource group name
func (NetworkClient) ListByResourceGroupComplete ¶
func (client NetworkClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result NetworkResourceDescriptionListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (NetworkClient) ListByResourceGroupPreparer ¶
func (client NetworkClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (NetworkClient) ListByResourceGroupResponder ¶
func (client NetworkClient) ListByResourceGroupResponder(resp *http.Response) (result NetworkResourceDescriptionList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (NetworkClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (NetworkClient) ListBySubscription ¶
func (client NetworkClient) ListBySubscription(ctx context.Context) (result NetworkResourceDescriptionListPage, err error)
ListBySubscription gets the information about all network resources in a given subscription. The information includes the network description and other runtime properties.
func (NetworkClient) ListBySubscriptionComplete ¶
func (client NetworkClient) ListBySubscriptionComplete(ctx context.Context) (result NetworkResourceDescriptionListIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (NetworkClient) ListBySubscriptionPreparer ¶
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (NetworkClient) ListBySubscriptionResponder ¶
func (client NetworkClient) ListBySubscriptionResponder(resp *http.Response) (result NetworkResourceDescriptionList, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (NetworkClient) ListBySubscriptionSender ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
type NetworkProperties ¶
type NetworkProperties struct { // Description - User readable description of the network. Description *string `json:"description,omitempty"` // AddressPrefix - the address prefix for this network. AddressPrefix *string `json:"addressPrefix,omitempty"` // IngressConfig - Configuration for public connectivity for this network. IngressConfig *IngressConfig `json:"ingressConfig,omitempty"` }
NetworkProperties describes a network.
type NetworkRef ¶
type NetworkRef struct { // Name - Name of the network. Name *string `json:"name,omitempty"` }
NetworkRef describes a network reference in a service.
type NetworkResourceDescription ¶
type NetworkResourceDescription struct { autorest.Response `json:"-"` // NetworkResourceProperties - Describes properties of a network resource. *NetworkResourceProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - The name of the resource Name *string `json:"name,omitempty"` // Type - The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` }
NetworkResourceDescription this type describes a network resource.
func (NetworkResourceDescription) MarshalJSON ¶
func (nrd NetworkResourceDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkResourceDescription.
func (*NetworkResourceDescription) UnmarshalJSON ¶
func (nrd *NetworkResourceDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for NetworkResourceDescription struct.
type NetworkResourceDescriptionList ¶
type NetworkResourceDescriptionList struct { autorest.Response `json:"-"` // Value - One page of the list. Value *[]NetworkResourceDescription `json:"value,omitempty"` // NextLink - URI to fetch the next page of the list. NextLink *string `json:"nextLink,omitempty"` }
NetworkResourceDescriptionList a pageable list of network resources.
func (NetworkResourceDescriptionList) IsEmpty ¶
func (nrdl NetworkResourceDescriptionList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type NetworkResourceDescriptionListIterator ¶
type NetworkResourceDescriptionListIterator struct {
// contains filtered or unexported fields
}
NetworkResourceDescriptionListIterator provides access to a complete listing of NetworkResourceDescription values.
func (*NetworkResourceDescriptionListIterator) Next ¶
func (iter *NetworkResourceDescriptionListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*NetworkResourceDescriptionListIterator) NextWithContext ¶
func (iter *NetworkResourceDescriptionListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (NetworkResourceDescriptionListIterator) NotDone ¶
func (iter NetworkResourceDescriptionListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (NetworkResourceDescriptionListIterator) Response ¶
func (iter NetworkResourceDescriptionListIterator) Response() NetworkResourceDescriptionList
Response returns the raw server response from the last page request.
func (NetworkResourceDescriptionListIterator) Value ¶
func (iter NetworkResourceDescriptionListIterator) Value() NetworkResourceDescription
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type NetworkResourceDescriptionListPage ¶
type NetworkResourceDescriptionListPage struct {
// contains filtered or unexported fields
}
NetworkResourceDescriptionListPage contains a page of NetworkResourceDescription values.
func (*NetworkResourceDescriptionListPage) Next ¶
func (page *NetworkResourceDescriptionListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*NetworkResourceDescriptionListPage) NextWithContext ¶
func (page *NetworkResourceDescriptionListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (NetworkResourceDescriptionListPage) NotDone ¶
func (page NetworkResourceDescriptionListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (NetworkResourceDescriptionListPage) Response ¶
func (page NetworkResourceDescriptionListPage) Response() NetworkResourceDescriptionList
Response returns the raw server response from the last page request.
func (NetworkResourceDescriptionListPage) Values ¶
func (page NetworkResourceDescriptionListPage) Values() []NetworkResourceDescription
Values returns the slice of values for the current page or nil if there are no values.
type NetworkResourceProperties ¶
type NetworkResourceProperties struct { // ProvisioningState - State of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` // Description - User readable description of the network. Description *string `json:"description,omitempty"` // AddressPrefix - the address prefix for this network. AddressPrefix *string `json:"addressPrefix,omitempty"` // IngressConfig - Configuration for public connectivity for this network. IngressConfig *IngressConfig `json:"ingressConfig,omitempty"` }
NetworkResourceProperties describes properties of a network resource.
type OperatingSystemTypes ¶
type OperatingSystemTypes string
OperatingSystemTypes enumerates the values for operating system types.
const ( // Linux ... Linux OperatingSystemTypes = "Linux" // Windows ... Windows OperatingSystemTypes = "Windows" )
func PossibleOperatingSystemTypesValues ¶
func PossibleOperatingSystemTypesValues() []OperatingSystemTypes
PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - List of Service Fabric operations supported by the Microsoft.ServiceFabric resource provider. Value *[]OperationResult `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
OperationListResult describes the result of the request to list Service Fabric operations.
func (OperationListResult) IsEmpty ¶
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationListResultIterator ¶
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
OperationListResultIterator provides access to a complete listing of OperationResult values.
func (*OperationListResultIterator) Next ¶
func (iter *OperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListResultIterator) NextWithContext ¶
func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OperationListResultIterator) NotDone ¶
func (iter OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListResultIterator) Response ¶
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultIterator) Value ¶
func (iter OperationListResultIterator) Value() OperationResult
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationListResultPage ¶
type OperationListResultPage struct {
// contains filtered or unexported fields
}
OperationListResultPage contains a page of OperationResult values.
func (*OperationListResultPage) Next ¶
func (page *OperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListResultPage) NextWithContext ¶
func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OperationListResultPage) NotDone ¶
func (page OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListResultPage) Response ¶
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultPage) Values ¶
func (page OperationListResultPage) Values() []OperationResult
Values returns the slice of values for the current page or nil if there are no values.
type OperationResult ¶
type OperationResult struct { // Name - The name of the operation. Name *string `json:"name,omitempty"` // Display - The object that represents the operation. Display *AvailableOperationDisplay `json:"display,omitempty"` // Origin - Origin result Origin *string `json:"origin,omitempty"` // NextLink - The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty"` }
OperationResult list of operations available at the listed Azure resource provider.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the service Fabric Mesh Management Client
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
List lists all the available operations provided by Service Fabric SeaBreeze resource provider.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ProvisionedResourceProperties ¶
type ProvisionedResourceProperties struct { // ProvisioningState - State of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` }
ProvisionedResourceProperties describes common properties of a provisioned resource.
type ProxyResource ¶
type ProxyResource struct { // ID - Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - The name of the resource Name *string `json:"name,omitempty"` // Type - The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` }
ProxyResource the resource model definition for Azure Resource Manager proxy resource. It will have everything other than required location and tags.
type ReplicaClient ¶
type ReplicaClient struct {
BaseClient
}
ReplicaClient is the service Fabric Mesh Management Client
func NewReplicaClient ¶
func NewReplicaClient(subscriptionID string) ReplicaClient
NewReplicaClient creates an instance of the ReplicaClient client.
func NewReplicaClientWithBaseURI ¶
func NewReplicaClientWithBaseURI(baseURI string, subscriptionID string) ReplicaClient
NewReplicaClientWithBaseURI creates an instance of the ReplicaClient client.
func (ReplicaClient) Get ¶
func (client ReplicaClient) Get(ctx context.Context, resourceGroupName string, applicationName string, serviceName string, replicaName string) (result ServiceReplicaDescription, err error)
Get gets the information about the specified replica of a given service of an application. The information includes the runtime properties of the replica instance. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application. serviceName - the identity of the service. replicaName - the identity of the service replica.
func (ReplicaClient) GetPreparer ¶
func (client ReplicaClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string, serviceName string, replicaName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ReplicaClient) GetResponder ¶
func (client ReplicaClient) GetResponder(resp *http.Response) (result ServiceReplicaDescription, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ReplicaClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ReplicaClient) ListByServiceName ¶
func (client ReplicaClient) ListByServiceName(ctx context.Context, resourceGroupName string, applicationName string, serviceName string) (result ServiceReplicaListPage, err error)
ListByServiceName gets the information about all replicas of a given service of an application. The information includes the runtime properties of the replica instance. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application. serviceName - the identity of the service.
func (ReplicaClient) ListByServiceNameComplete ¶
func (client ReplicaClient) ListByServiceNameComplete(ctx context.Context, resourceGroupName string, applicationName string, serviceName string) (result ServiceReplicaListIterator, err error)
ListByServiceNameComplete enumerates all values, automatically crossing page boundaries as required.
func (ReplicaClient) ListByServiceNamePreparer ¶
func (client ReplicaClient) ListByServiceNamePreparer(ctx context.Context, resourceGroupName string, applicationName string, serviceName string) (*http.Request, error)
ListByServiceNamePreparer prepares the ListByServiceName request.
func (ReplicaClient) ListByServiceNameResponder ¶
func (client ReplicaClient) ListByServiceNameResponder(resp *http.Response) (result ServiceReplicaList, err error)
ListByServiceNameResponder handles the response to the ListByServiceName request. The method always closes the http.Response Body.
func (ReplicaClient) ListByServiceNameSender ¶
ListByServiceNameSender sends the ListByServiceName request. The method will close the http.Response Body if it receives an error.
type Resource ¶
type Resource struct { // ID - Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - The name of the resource Name *string `json:"name,omitempty"` // Type - The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` }
Resource the resource model definition for Azure Resource Manager resource.
type ResourceLimits ¶
type ResourceLimits struct { // MemoryInGB - The memory limit in GB. MemoryInGB *float64 `json:"memoryInGB,omitempty"` // CPU - CPU limits in cores. At present, only full cores are supported. CPU *float64 `json:"cpu,omitempty"` }
ResourceLimits this type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted.
type ResourceRequests ¶
type ResourceRequests struct { // MemoryInGB - The memory request in GB for this container. MemoryInGB *float64 `json:"memoryInGB,omitempty"` // CPU - Requested number of CPU cores. At present, only full cores are supported. CPU *float64 `json:"cpu,omitempty"` }
ResourceRequests this type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits.
type ResourceRequirements ¶
type ResourceRequirements struct { // Requests - Describes the requested resources for a given container. Requests *ResourceRequests `json:"requests,omitempty"` // Limits - Describes the maximum limits on the resources for a given container. Limits *ResourceLimits `json:"limits,omitempty"` }
ResourceRequirements this type describes the resource requirements for a container or a service.
type ServiceClient ¶
type ServiceClient struct {
BaseClient
}
ServiceClient is the service Fabric Mesh Management Client
func NewServiceClient ¶
func NewServiceClient(subscriptionID string) ServiceClient
NewServiceClient creates an instance of the ServiceClient client.
func NewServiceClientWithBaseURI ¶
func NewServiceClientWithBaseURI(baseURI string, subscriptionID string) ServiceClient
NewServiceClientWithBaseURI creates an instance of the ServiceClient client.
func (ServiceClient) Get ¶
func (client ServiceClient) Get(ctx context.Context, resourceGroupName string, applicationName string, serviceName string) (result ServiceResourceDescription, err error)
Get the operation returns the properties of the service. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application. serviceName - the identity of the service.
func (ServiceClient) GetPreparer ¶
func (client ServiceClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string, serviceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServiceClient) GetResponder ¶
func (client ServiceClient) GetResponder(resp *http.Response) (result ServiceResourceDescription, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServiceClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServiceClient) ListByApplicationName ¶
func (client ServiceClient) ListByApplicationName(ctx context.Context, resourceGroupName string, applicationName string) (result ServiceListPage, err error)
ListByApplicationName gets the information about all services of a given service of an application. The information includes the runtime properties of the service instance. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application.
func (ServiceClient) ListByApplicationNameComplete ¶
func (client ServiceClient) ListByApplicationNameComplete(ctx context.Context, resourceGroupName string, applicationName string) (result ServiceListIterator, err error)
ListByApplicationNameComplete enumerates all values, automatically crossing page boundaries as required.
func (ServiceClient) ListByApplicationNamePreparer ¶
func (client ServiceClient) ListByApplicationNamePreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
ListByApplicationNamePreparer prepares the ListByApplicationName request.
func (ServiceClient) ListByApplicationNameResponder ¶
func (client ServiceClient) ListByApplicationNameResponder(resp *http.Response) (result ServiceList, err error)
ListByApplicationNameResponder handles the response to the ListByApplicationName request. The method always closes the http.Response Body.
func (ServiceClient) ListByApplicationNameSender ¶
ListByApplicationNameSender sends the ListByApplicationName request. The method will close the http.Response Body if it receives an error.
type ServiceList ¶
type ServiceList struct { autorest.Response `json:"-"` // Value - One page of the list. Value *[]ServiceResourceDescription `json:"value,omitempty"` // NextLink - URI to fetch the next page of the list. NextLink *string `json:"nextLink,omitempty"` }
ServiceList a pageable list of all services in an application.
func (ServiceList) IsEmpty ¶
func (sl ServiceList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServiceListIterator ¶
type ServiceListIterator struct {
// contains filtered or unexported fields
}
ServiceListIterator provides access to a complete listing of ServiceResourceDescription values.
func (*ServiceListIterator) Next ¶
func (iter *ServiceListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServiceListIterator) NextWithContext ¶
func (iter *ServiceListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServiceListIterator) NotDone ¶
func (iter ServiceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServiceListIterator) Response ¶
func (iter ServiceListIterator) Response() ServiceList
Response returns the raw server response from the last page request.
func (ServiceListIterator) Value ¶
func (iter ServiceListIterator) Value() ServiceResourceDescription
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServiceListPage ¶
type ServiceListPage struct {
// contains filtered or unexported fields
}
ServiceListPage contains a page of ServiceResourceDescription values.
func (*ServiceListPage) Next ¶
func (page *ServiceListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServiceListPage) NextWithContext ¶
func (page *ServiceListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServiceListPage) NotDone ¶
func (page ServiceListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServiceListPage) Response ¶
func (page ServiceListPage) Response() ServiceList
Response returns the raw server response from the last page request.
func (ServiceListPage) Values ¶
func (page ServiceListPage) Values() []ServiceResourceDescription
Values returns the slice of values for the current page or nil if there are no values.
type ServiceReplicaDescription ¶
type ServiceReplicaDescription struct { autorest.Response `json:"-"` // ReplicaName - Name of the replica. ReplicaName *string `json:"replicaName,omitempty"` // OsType - The Operating system type required by the code in service. // . Possible values include: 'Linux', 'Windows' OsType OperatingSystemTypes `json:"osType,omitempty"` // CodePackages - Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.). CodePackages *[]ContainerCodePackageProperties `json:"codePackages,omitempty"` // NetworkRefs - The names of the private networks that this service needs to be part of. NetworkRefs *[]NetworkRef `json:"networkRefs,omitempty"` // Diagnostics - Reference to sinks in DiagnosticsDescription. Diagnostics *DiagnosticsRef `json:"diagnostics,omitempty"` }
ServiceReplicaDescription this type describes a replica of a service resource.
type ServiceReplicaList ¶
type ServiceReplicaList struct { autorest.Response `json:"-"` // Value - One page of the list. Value *[]ServiceReplicaDescription `json:"value,omitempty"` // NextLink - URI to fetch the next page of the list. NextLink *string `json:"nextLink,omitempty"` }
ServiceReplicaList a pageable list of replicas of a service resource.
func (ServiceReplicaList) IsEmpty ¶
func (srl ServiceReplicaList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ServiceReplicaListIterator ¶
type ServiceReplicaListIterator struct {
// contains filtered or unexported fields
}
ServiceReplicaListIterator provides access to a complete listing of ServiceReplicaDescription values.
func (*ServiceReplicaListIterator) Next ¶
func (iter *ServiceReplicaListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServiceReplicaListIterator) NextWithContext ¶
func (iter *ServiceReplicaListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ServiceReplicaListIterator) NotDone ¶
func (iter ServiceReplicaListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ServiceReplicaListIterator) Response ¶
func (iter ServiceReplicaListIterator) Response() ServiceReplicaList
Response returns the raw server response from the last page request.
func (ServiceReplicaListIterator) Value ¶
func (iter ServiceReplicaListIterator) Value() ServiceReplicaDescription
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ServiceReplicaListPage ¶
type ServiceReplicaListPage struct {
// contains filtered or unexported fields
}
ServiceReplicaListPage contains a page of ServiceReplicaDescription values.
func (*ServiceReplicaListPage) Next ¶
func (page *ServiceReplicaListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ServiceReplicaListPage) NextWithContext ¶
func (page *ServiceReplicaListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ServiceReplicaListPage) NotDone ¶
func (page ServiceReplicaListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ServiceReplicaListPage) Response ¶
func (page ServiceReplicaListPage) Response() ServiceReplicaList
Response returns the raw server response from the last page request.
func (ServiceReplicaListPage) Values ¶
func (page ServiceReplicaListPage) Values() []ServiceReplicaDescription
Values returns the slice of values for the current page or nil if there are no values.
type ServiceReplicaProperties ¶
type ServiceReplicaProperties struct { // OsType - The Operating system type required by the code in service. // . Possible values include: 'Linux', 'Windows' OsType OperatingSystemTypes `json:"osType,omitempty"` // CodePackages - Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.). CodePackages *[]ContainerCodePackageProperties `json:"codePackages,omitempty"` // NetworkRefs - The names of the private networks that this service needs to be part of. NetworkRefs *[]NetworkRef `json:"networkRefs,omitempty"` // Diagnostics - Reference to sinks in DiagnosticsDescription. Diagnostics *DiagnosticsRef `json:"diagnostics,omitempty"` }
ServiceReplicaProperties describes the properties of a service replica.
type ServiceResourceDescription ¶
type ServiceResourceDescription struct { autorest.Response `json:"-"` // ServiceResourceProperties - This type describes properties of a service resource. *ServiceResourceProperties `json:"properties,omitempty"` // ID - Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - The name of the resource Name *string `json:"name,omitempty"` // Type - The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` }
ServiceResourceDescription this type describes a service resource.
func (ServiceResourceDescription) MarshalJSON ¶
func (srd ServiceResourceDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceResourceDescription.
func (*ServiceResourceDescription) UnmarshalJSON ¶
func (srd *ServiceResourceDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceResourceDescription struct.
type ServiceResourceProperties ¶
type ServiceResourceProperties struct { // Description - User readable description of the service. Description *string `json:"description,omitempty"` // ReplicaCount - The number of replicas of the service to create. Defaults to 1 if not specified. ReplicaCount *int32 `json:"replicaCount,omitempty"` // HealthState - The health state of a resource such as Application, Service, or Network. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown' HealthState HealthState `json:"healthState,omitempty"` // Status - Represents the status of the service. Possible values include: 'ServiceResourceStatusUnknown', 'ServiceResourceStatusActive', 'ServiceResourceStatusUpgrading', 'ServiceResourceStatusDeleting', 'ServiceResourceStatusCreating', 'ServiceResourceStatusFailed' Status ServiceResourceStatus `json:"status,omitempty"` // OsType - The Operating system type required by the code in service. // . Possible values include: 'Linux', 'Windows' OsType OperatingSystemTypes `json:"osType,omitempty"` // CodePackages - Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.). CodePackages *[]ContainerCodePackageProperties `json:"codePackages,omitempty"` // NetworkRefs - The names of the private networks that this service needs to be part of. NetworkRefs *[]NetworkRef `json:"networkRefs,omitempty"` // Diagnostics - Reference to sinks in DiagnosticsDescription. Diagnostics *DiagnosticsRef `json:"diagnostics,omitempty"` }
ServiceResourceProperties this type describes properties of a service resource.
type ServiceResourceStatus ¶
type ServiceResourceStatus string
ServiceResourceStatus enumerates the values for service resource status.
const ( // ServiceResourceStatusActive ... ServiceResourceStatusActive ServiceResourceStatus = "Active" // ServiceResourceStatusCreating ... ServiceResourceStatusCreating ServiceResourceStatus = "Creating" // ServiceResourceStatusDeleting ... ServiceResourceStatusDeleting ServiceResourceStatus = "Deleting" // ServiceResourceStatusFailed ... ServiceResourceStatusFailed ServiceResourceStatus = "Failed" // ServiceResourceStatusUnknown ... ServiceResourceStatusUnknown ServiceResourceStatus = "Unknown" // ServiceResourceStatusUpgrading ... ServiceResourceStatusUpgrading ServiceResourceStatus = "Upgrading" )
func PossibleServiceResourceStatusValues ¶
func PossibleServiceResourceStatusValues() []ServiceResourceStatus
PossibleServiceResourceStatusValues returns an array of possible values for the ServiceResourceStatus const type.
type Setting ¶
type Setting struct { // Name - The name of the setting. Name *string `json:"name,omitempty"` // Value - The value of the setting. Value *string `json:"value,omitempty"` }
Setting describes a setting for the container.
type TrackedResource ¶
type TrackedResource struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - The name of the resource Name *string `json:"name,omitempty"` // Type - The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` }
TrackedResource the resource model definition for Azure Resource Manager tracked top-level resource.
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type VolumeClient ¶
type VolumeClient struct {
BaseClient
}
VolumeClient is the service Fabric Mesh Management Client
func NewVolumeClient ¶
func NewVolumeClient(subscriptionID string) VolumeClient
NewVolumeClient creates an instance of the VolumeClient client.
func NewVolumeClientWithBaseURI ¶
func NewVolumeClientWithBaseURI(baseURI string, subscriptionID string) VolumeClient
NewVolumeClientWithBaseURI creates an instance of the VolumeClient client.
func (VolumeClient) Create ¶
func (client VolumeClient) Create(ctx context.Context, resourceGroupName string, volumeName string, volumeResourceDescription VolumeResourceDescription) (result VolumeResourceDescription, err error)
Create creates a volume resource with the specified name and description. If a volume with the same name already exists, then its description is updated to the one indicated in this request. Parameters: resourceGroupName - azure resource group name volumeName - the identity of the volume. volumeResourceDescription - description for creating a volume resource.
func (VolumeClient) CreatePreparer ¶
func (client VolumeClient) CreatePreparer(ctx context.Context, resourceGroupName string, volumeName string, volumeResourceDescription VolumeResourceDescription) (*http.Request, error)
CreatePreparer prepares the Create request.
func (VolumeClient) CreateResponder ¶
func (client VolumeClient) CreateResponder(resp *http.Response) (result VolumeResourceDescription, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (VolumeClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (VolumeClient) Delete ¶
func (client VolumeClient) Delete(ctx context.Context, resourceGroupName string, volumeName string) (result autorest.Response, err error)
Delete deletes the volume identified by the name. Parameters: resourceGroupName - azure resource group name volumeName - the identity of the volume.
func (VolumeClient) DeletePreparer ¶
func (client VolumeClient) DeletePreparer(ctx context.Context, resourceGroupName string, volumeName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VolumeClient) DeleteResponder ¶
func (client VolumeClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VolumeClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VolumeClient) Get ¶
func (client VolumeClient) Get(ctx context.Context, resourceGroupName string, volumeName string) (result VolumeResourceDescription, err error)
Get gets the information about the volume resource with a given name. This information includes the volume description and other runtime information. Parameters: resourceGroupName - azure resource group name volumeName - the identity of the volume.
func (VolumeClient) GetPreparer ¶
func (client VolumeClient) GetPreparer(ctx context.Context, resourceGroupName string, volumeName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VolumeClient) GetResponder ¶
func (client VolumeClient) GetResponder(resp *http.Response) (result VolumeResourceDescription, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VolumeClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VolumeClient) ListByResourceGroup ¶
func (client VolumeClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VolumeResourceDescriptionListPage, err error)
ListByResourceGroup gets the information about all volume resources in a given resource group. The information includes the volume description and other runtime information. Parameters: resourceGroupName - azure resource group name
func (VolumeClient) ListByResourceGroupComplete ¶
func (client VolumeClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VolumeResourceDescriptionListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (VolumeClient) ListByResourceGroupPreparer ¶
func (client VolumeClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (VolumeClient) ListByResourceGroupResponder ¶
func (client VolumeClient) ListByResourceGroupResponder(resp *http.Response) (result VolumeResourceDescriptionList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (VolumeClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (VolumeClient) ListBySubscription ¶
func (client VolumeClient) ListBySubscription(ctx context.Context) (result VolumeResourceDescriptionListPage, err error)
ListBySubscription gets the information about all volume resources in a given subscription. The information includes the volume description and other runtime information.
func (VolumeClient) ListBySubscriptionComplete ¶
func (client VolumeClient) ListBySubscriptionComplete(ctx context.Context) (result VolumeResourceDescriptionListIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (VolumeClient) ListBySubscriptionPreparer ¶
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (VolumeClient) ListBySubscriptionResponder ¶
func (client VolumeClient) ListBySubscriptionResponder(resp *http.Response) (result VolumeResourceDescriptionList, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (VolumeClient) ListBySubscriptionSender ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
type VolumeProperties ¶
type VolumeProperties struct { // Description - User readable description of the volume. Description *string `json:"description,omitempty"` // Provider - Provider of the volume. Provider *string `json:"provider,omitempty"` // AzureFileParameters - This type describes a volume provided by an Azure Files file share. AzureFileParameters *VolumeProviderParametersAzureFile `json:"azureFileParameters,omitempty"` }
VolumeProperties this type describes properties of a volume resource.
type VolumeProviderParametersAzureFile ¶
type VolumeProviderParametersAzureFile struct { // AccountName - Name of the Azure storage account for the File Share. AccountName *string `json:"accountName,omitempty"` // AccountKey - Access key of the Azure storage account for the File Share. AccountKey *string `json:"accountKey,omitempty"` ShareName *string `json:"shareName,omitempty"` }
VolumeProviderParametersAzureFile this type describes a volume provided by an Azure Files file share.
type VolumeResourceDescription ¶
type VolumeResourceDescription struct { autorest.Response `json:"-"` // VolumeResourceProperties - Describes properties of a volume resource. *VolumeResourceProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - The name of the resource Name *string `json:"name,omitempty"` // Type - The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` }
VolumeResourceDescription this type describes a volume resource.
func (VolumeResourceDescription) MarshalJSON ¶
func (vrd VolumeResourceDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VolumeResourceDescription.
func (*VolumeResourceDescription) UnmarshalJSON ¶
func (vrd *VolumeResourceDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VolumeResourceDescription struct.
type VolumeResourceDescriptionList ¶
type VolumeResourceDescriptionList struct { autorest.Response `json:"-"` // Value - One page of the list. Value *[]VolumeResourceDescription `json:"value,omitempty"` // NextLink - URI to fetch the next page of the list. NextLink *string `json:"nextLink,omitempty"` }
VolumeResourceDescriptionList a pageable list of volume resources.
func (VolumeResourceDescriptionList) IsEmpty ¶
func (vrdl VolumeResourceDescriptionList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VolumeResourceDescriptionListIterator ¶
type VolumeResourceDescriptionListIterator struct {
// contains filtered or unexported fields
}
VolumeResourceDescriptionListIterator provides access to a complete listing of VolumeResourceDescription values.
func (*VolumeResourceDescriptionListIterator) Next ¶
func (iter *VolumeResourceDescriptionListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VolumeResourceDescriptionListIterator) NextWithContext ¶
func (iter *VolumeResourceDescriptionListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VolumeResourceDescriptionListIterator) NotDone ¶
func (iter VolumeResourceDescriptionListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VolumeResourceDescriptionListIterator) Response ¶
func (iter VolumeResourceDescriptionListIterator) Response() VolumeResourceDescriptionList
Response returns the raw server response from the last page request.
func (VolumeResourceDescriptionListIterator) Value ¶
func (iter VolumeResourceDescriptionListIterator) Value() VolumeResourceDescription
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VolumeResourceDescriptionListPage ¶
type VolumeResourceDescriptionListPage struct {
// contains filtered or unexported fields
}
VolumeResourceDescriptionListPage contains a page of VolumeResourceDescription values.
func (*VolumeResourceDescriptionListPage) Next ¶
func (page *VolumeResourceDescriptionListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VolumeResourceDescriptionListPage) NextWithContext ¶
func (page *VolumeResourceDescriptionListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VolumeResourceDescriptionListPage) NotDone ¶
func (page VolumeResourceDescriptionListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VolumeResourceDescriptionListPage) Response ¶
func (page VolumeResourceDescriptionListPage) Response() VolumeResourceDescriptionList
Response returns the raw server response from the last page request.
func (VolumeResourceDescriptionListPage) Values ¶
func (page VolumeResourceDescriptionListPage) Values() []VolumeResourceDescription
Values returns the slice of values for the current page or nil if there are no values.
type VolumeResourceProperties ¶
type VolumeResourceProperties struct { // ProvisioningState - State of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` // Description - User readable description of the volume. Description *string `json:"description,omitempty"` // Provider - Provider of the volume. Provider *string `json:"provider,omitempty"` // AzureFileParameters - This type describes a volume provided by an Azure Files file share. AzureFileParameters *VolumeProviderParametersAzureFile `json:"azureFileParameters,omitempty"` }
VolumeResourceProperties describes properties of a volume resource.