Documentation ¶
Index ¶
- func PossibleValuesForCreatedByType() []string
- func PossibleValuesForOperationalStatus() []string
- func PossibleValuesForProvisioningStates() []string
- func ValidateDiskPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateResponse
- type CreatedByType
- type DeallocateResponse
- type DeleteResponse
- type Disk
- type DiskPool
- type DiskPoolCreate
- type DiskPoolCreateProperties
- type DiskPoolId
- type DiskPoolManagedDiskAttachmentId
- type DiskPoolPredicate
- type DiskPoolProperties
- type DiskPoolUpdate
- type DiskPoolUpdateProperties
- type DiskPoolsClient
- func (c DiskPoolsClient) CreateOrUpdate(ctx context.Context, id DiskPoolId, input DiskPoolCreate) (result CreateOrUpdateResponse, err error)
- func (c DiskPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id DiskPoolId, input DiskPoolCreate) error
- func (c DiskPoolsClient) Deallocate(ctx context.Context, id DiskPoolId) (result DeallocateResponse, err error)
- func (c DiskPoolsClient) DeallocateThenPoll(ctx context.Context, id DiskPoolId) error
- func (c DiskPoolsClient) Delete(ctx context.Context, id DiskPoolId) (result DeleteResponse, err error)
- func (c DiskPoolsClient) DeleteThenPoll(ctx context.Context, id DiskPoolId) error
- func (c DiskPoolsClient) Get(ctx context.Context, id DiskPoolId) (result GetResponse, err error)
- func (c DiskPoolsClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
- func (c DiskPoolsClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c DiskPoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate DiskPoolPredicate) (resp ListByResourceGroupCompleteResult, err error)
- func (c DiskPoolsClient) ListBySubscription(ctx context.Context, id SubscriptionId) (resp ListBySubscriptionResponse, err error)
- func (c DiskPoolsClient) ListBySubscriptionComplete(ctx context.Context, id SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c DiskPoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate DiskPoolPredicate) (resp ListBySubscriptionCompleteResult, err error)
- func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpoints(ctx context.Context, id DiskPoolId) (resp ListOutboundNetworkDependenciesEndpointsResponse, err error)
- func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsComplete(ctx context.Context, id DiskPoolId) (ListOutboundNetworkDependenciesEndpointsCompleteResult, error)
- func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate(ctx context.Context, id DiskPoolId, ...) (resp ListOutboundNetworkDependenciesEndpointsCompleteResult, err error)
- func (c DiskPoolsClient) Start(ctx context.Context, id DiskPoolId) (result StartResponse, err error)
- func (c DiskPoolsClient) StartThenPoll(ctx context.Context, id DiskPoolId) error
- func (c DiskPoolsClient) Update(ctx context.Context, id DiskPoolId, input DiskPoolUpdate) (result UpdateResponse, err error)
- func (c DiskPoolsClient) UpdateThenPoll(ctx context.Context, id DiskPoolId, input DiskPoolUpdate) error
- func (c DiskPoolsClient) Upgrade(ctx context.Context, id DiskPoolId) (result UpgradeResponse, err error)
- func (c DiskPoolsClient) UpgradeThenPoll(ctx context.Context, id DiskPoolId) error
- type EndpointDependency
- type EndpointDetail
- type GetResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionResponse
- type ListOutboundNetworkDependenciesEndpointsCompleteResult
- type ListOutboundNetworkDependenciesEndpointsResponse
- type OperationalStatus
- type OutboundEnvironmentEndpoint
- type OutboundEnvironmentEndpointPredicate
- type ProvisioningStates
- type ResourceGroupId
- type Sku
- type StartResponse
- type SubscriptionId
- type SystemMetadata
- type UpdateResponse
- type UpgradeResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCreatedByType ¶
func PossibleValuesForCreatedByType() []string
func PossibleValuesForOperationalStatus ¶
func PossibleValuesForOperationalStatus() []string
func PossibleValuesForProvisioningStates ¶
func PossibleValuesForProvisioningStates() []string
func ValidateDiskPoolID ¶
ValidateDiskPoolID checks that 'input' can be parsed as a Disk Pool ID
func ValidateResourceGroupID ¶
ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID
func ValidateSubscriptionID ¶
ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID
Types ¶
type CreateOrUpdateResponse ¶
type CreateOrUpdateResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CreatedByType ¶
type CreatedByType string
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
type DeallocateResponse ¶
type DeallocateResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteResponse ¶
type DeleteResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DiskPool ¶
type DiskPool struct { Id *string `json:"id,omitempty"` Location string `json:"location"` ManagedBy *string `json:"managedBy,omitempty"` ManagedByExtended *[]string `json:"managedByExtended,omitempty"` Name *string `json:"name,omitempty"` Properties DiskPoolProperties `json:"properties"` Sku *Sku `json:"sku,omitempty"` SystemData *SystemMetadata `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DiskPoolCreate ¶
type DiskPoolCreate struct { Id *string `json:"id,omitempty"` Location string `json:"location"` ManagedBy *string `json:"managedBy,omitempty"` ManagedByExtended *[]string `json:"managedByExtended,omitempty"` Name *string `json:"name,omitempty"` Properties DiskPoolCreateProperties `json:"properties"` Sku Sku `json:"sku"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DiskPoolId ¶
DiskPoolId is a struct representing the Resource ID for a Disk Pool
func NewDiskPoolID ¶
func NewDiskPoolID(subscriptionId string, resourceGroupName string, diskPoolName string) DiskPoolId
NewDiskPoolID returns a new DiskPoolId struct
func ParseDiskPoolID ¶
func ParseDiskPoolID(input string) (*DiskPoolId, error)
ParseDiskPoolID parses 'input' into a DiskPoolId
func ParseDiskPoolIDInsensitively ¶
func ParseDiskPoolIDInsensitively(input string) (*DiskPoolId, error)
ParseDiskPoolIDInsensitively parses 'input' case-insensitively into a DiskPoolId note: this method should only be used for API response data and not user input
func (DiskPoolId) Segments ¶
func (id DiskPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Disk Pool ID
func (DiskPoolId) String ¶
func (id DiskPoolId) String() string
String returns a human-readable description of this Disk Pool ID
type DiskPoolManagedDiskAttachmentId ¶
type DiskPoolManagedDiskAttachmentId struct { DiskPoolId DiskPoolId ManagedDiskId computeParse.ManagedDiskId }
func DiskPoolManagedDiskAttachmentID ¶
func DiskPoolManagedDiskAttachmentID(input string) (*DiskPoolManagedDiskAttachmentId, error)
func NewDiskPoolManagedDiskAttachmentId ¶
func NewDiskPoolManagedDiskAttachmentId(diskPoolId DiskPoolId, managedDiskId computeParse.ManagedDiskId) DiskPoolManagedDiskAttachmentId
func (DiskPoolManagedDiskAttachmentId) ID ¶
func (d DiskPoolManagedDiskAttachmentId) ID() string
type DiskPoolPredicate ¶
type DiskPoolPredicate struct { Id *string Location *string ManagedBy *string Name *string Type *string }
func (DiskPoolPredicate) Matches ¶
func (p DiskPoolPredicate) Matches(input DiskPool) bool
type DiskPoolProperties ¶
type DiskPoolProperties struct { AdditionalCapabilities *[]string `json:"additionalCapabilities,omitempty"` AvailabilityZones []string `json:"availabilityZones"` Disks *[]Disk `json:"disks,omitempty"` ProvisioningState ProvisioningStates `json:"provisioningState"` Status OperationalStatus `json:"status"` SubnetId string `json:"subnetId"` }
type DiskPoolUpdate ¶
type DiskPoolUpdateProperties ¶
type DiskPoolUpdateProperties struct {
Disks *[]Disk `json:"disks,omitempty"`
}
type DiskPoolsClient ¶
func NewDiskPoolsClientWithBaseURI ¶
func NewDiskPoolsClientWithBaseURI(endpoint string) DiskPoolsClient
func (DiskPoolsClient) CreateOrUpdate ¶
func (c DiskPoolsClient) CreateOrUpdate(ctx context.Context, id DiskPoolId, input DiskPoolCreate) (result CreateOrUpdateResponse, err error)
CreateOrUpdate ...
func (DiskPoolsClient) CreateOrUpdateThenPoll ¶
func (c DiskPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id DiskPoolId, input DiskPoolCreate) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DiskPoolsClient) Deallocate ¶
func (c DiskPoolsClient) Deallocate(ctx context.Context, id DiskPoolId) (result DeallocateResponse, err error)
Deallocate ...
func (DiskPoolsClient) DeallocateThenPoll ¶
func (c DiskPoolsClient) DeallocateThenPoll(ctx context.Context, id DiskPoolId) error
DeallocateThenPoll performs Deallocate then polls until it's completed
func (DiskPoolsClient) Delete ¶
func (c DiskPoolsClient) Delete(ctx context.Context, id DiskPoolId) (result DeleteResponse, err error)
Delete ...
func (DiskPoolsClient) DeleteThenPoll ¶
func (c DiskPoolsClient) DeleteThenPoll(ctx context.Context, id DiskPoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DiskPoolsClient) Get ¶
func (c DiskPoolsClient) Get(ctx context.Context, id DiskPoolId) (result GetResponse, err error)
Get ...
func (DiskPoolsClient) ListByResourceGroup ¶
func (c DiskPoolsClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
ListByResourceGroup ...
func (DiskPoolsClient) ListByResourceGroupComplete ¶
func (c DiskPoolsClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (DiskPoolsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DiskPoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate DiskPoolPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DiskPoolsClient) ListBySubscription ¶
func (c DiskPoolsClient) ListBySubscription(ctx context.Context, id SubscriptionId) (resp ListBySubscriptionResponse, err error)
ListBySubscription ...
func (DiskPoolsClient) ListBySubscriptionComplete ¶
func (c DiskPoolsClient) ListBySubscriptionComplete(ctx context.Context, id SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (DiskPoolsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c DiskPoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate DiskPoolPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DiskPoolsClient) ListOutboundNetworkDependenciesEndpoints ¶
func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpoints(ctx context.Context, id DiskPoolId) (resp ListOutboundNetworkDependenciesEndpointsResponse, err error)
ListOutboundNetworkDependenciesEndpoints ...
func (DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsComplete ¶
func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsComplete(ctx context.Context, id DiskPoolId) (ListOutboundNetworkDependenciesEndpointsCompleteResult, error)
ListOutboundNetworkDependenciesEndpointsComplete retrieves all of the results into a single object
func (DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate ¶
func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate(ctx context.Context, id DiskPoolId, predicate OutboundEnvironmentEndpointPredicate) (resp ListOutboundNetworkDependenciesEndpointsCompleteResult, err error)
ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DiskPoolsClient) Start ¶
func (c DiskPoolsClient) Start(ctx context.Context, id DiskPoolId) (result StartResponse, err error)
Start ...
func (DiskPoolsClient) StartThenPoll ¶
func (c DiskPoolsClient) StartThenPoll(ctx context.Context, id DiskPoolId) error
StartThenPoll performs Start then polls until it's completed
func (DiskPoolsClient) Update ¶
func (c DiskPoolsClient) Update(ctx context.Context, id DiskPoolId, input DiskPoolUpdate) (result UpdateResponse, err error)
Update ...
func (DiskPoolsClient) UpdateThenPoll ¶
func (c DiskPoolsClient) UpdateThenPoll(ctx context.Context, id DiskPoolId, input DiskPoolUpdate) error
UpdateThenPoll performs Update then polls until it's completed
func (DiskPoolsClient) Upgrade ¶
func (c DiskPoolsClient) Upgrade(ctx context.Context, id DiskPoolId) (result UpgradeResponse, err error)
Upgrade ...
func (DiskPoolsClient) UpgradeThenPoll ¶
func (c DiskPoolsClient) UpgradeThenPoll(ctx context.Context, id DiskPoolId) error
UpgradeThenPoll performs Upgrade then polls until it's completed
type EndpointDependency ¶
type EndpointDependency struct { DomainName *string `json:"domainName,omitempty"` EndpointDetails *[]EndpointDetail `json:"endpointDetails,omitempty"` }
type EndpointDetail ¶
type GetResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []DiskPool
}
type ListByResourceGroupResponse ¶
type ListByResourceGroupResponse struct { HttpResponse *http.Response Model *[]DiskPool // contains filtered or unexported fields }
func (ListByResourceGroupResponse) HasMore ¶
func (r ListByResourceGroupResponse) HasMore() bool
func (ListByResourceGroupResponse) LoadMore ¶
func (r ListByResourceGroupResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []DiskPool
}
type ListBySubscriptionResponse ¶
type ListBySubscriptionResponse struct { HttpResponse *http.Response Model *[]DiskPool // contains filtered or unexported fields }
func (ListBySubscriptionResponse) HasMore ¶
func (r ListBySubscriptionResponse) HasMore() bool
func (ListBySubscriptionResponse) LoadMore ¶
func (r ListBySubscriptionResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionResponse, err error)
type ListOutboundNetworkDependenciesEndpointsCompleteResult ¶
type ListOutboundNetworkDependenciesEndpointsCompleteResult struct {
Items []OutboundEnvironmentEndpoint
}
type ListOutboundNetworkDependenciesEndpointsResponse ¶
type ListOutboundNetworkDependenciesEndpointsResponse struct { HttpResponse *http.Response Model *[]OutboundEnvironmentEndpoint // contains filtered or unexported fields }
func (ListOutboundNetworkDependenciesEndpointsResponse) HasMore ¶
func (r ListOutboundNetworkDependenciesEndpointsResponse) HasMore() bool
func (ListOutboundNetworkDependenciesEndpointsResponse) LoadMore ¶
func (r ListOutboundNetworkDependenciesEndpointsResponse) LoadMore(ctx context.Context) (resp ListOutboundNetworkDependenciesEndpointsResponse, err error)
type OperationalStatus ¶
type OperationalStatus string
const ( OperationalStatusHealthy OperationalStatus = "Healthy" OperationalStatusInvalid OperationalStatus = "Invalid" OperationalStatusRunning OperationalStatus = "Running" OperationalStatusStopped OperationalStatus = "Stopped" OperationalStatusStoppedDeallocated OperationalStatus = "Stopped (deallocated)" OperationalStatusUnhealthy OperationalStatus = "Unhealthy" OperationalStatusUnknown OperationalStatus = "Unknown" OperationalStatusUpdating OperationalStatus = "Updating" )
type OutboundEnvironmentEndpoint ¶
type OutboundEnvironmentEndpoint struct { Category *string `json:"category,omitempty"` Endpoints *[]EndpointDependency `json:"endpoints,omitempty"` }
type OutboundEnvironmentEndpointPredicate ¶
type OutboundEnvironmentEndpointPredicate struct {
Category *string
}
func (OutboundEnvironmentEndpointPredicate) Matches ¶
func (p OutboundEnvironmentEndpointPredicate) Matches(input OutboundEnvironmentEndpoint) bool
type ProvisioningStates ¶
type ProvisioningStates string
const ( ProvisioningStatesCanceled ProvisioningStates = "Canceled" ProvisioningStatesCreating ProvisioningStates = "Creating" ProvisioningStatesDeleting ProvisioningStates = "Deleting" ProvisioningStatesFailed ProvisioningStates = "Failed" ProvisioningStatesInvalid ProvisioningStates = "Invalid" ProvisioningStatesPending ProvisioningStates = "Pending" ProvisioningStatesSucceeded ProvisioningStates = "Succeeded" ProvisioningStatesUpdating ProvisioningStates = "Updating" )
type ResourceGroupId ¶
ResourceGroupId is a struct representing the Resource ID for a Resource Group
func NewResourceGroupID ¶
func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId
NewResourceGroupID returns a new ResourceGroupId struct
func ParseResourceGroupID ¶
func ParseResourceGroupID(input string) (*ResourceGroupId, error)
ParseResourceGroupID parses 'input' into a ResourceGroupId
func ParseResourceGroupIDInsensitively ¶
func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)
ParseResourceGroupIDInsensitively parses 'input' case-insensitively into a ResourceGroupId note: this method should only be used for API response data and not user input
func (ResourceGroupId) ID ¶
func (id ResourceGroupId) ID() string
ID returns the formatted Resource Group ID
func (ResourceGroupId) Segments ¶
func (id ResourceGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Group ID
func (ResourceGroupId) String ¶
func (id ResourceGroupId) String() string
String returns a human-readable description of this Resource Group ID
type StartResponse ¶
type StartResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SubscriptionId ¶
type SubscriptionId struct {
SubscriptionId string
}
SubscriptionId is a struct representing the Resource ID for a Subscription
func NewSubscriptionID ¶
func NewSubscriptionID(subscriptionId string) SubscriptionId
NewSubscriptionID returns a new SubscriptionId struct
func ParseSubscriptionID ¶
func ParseSubscriptionID(input string) (*SubscriptionId, error)
ParseSubscriptionID parses 'input' into a SubscriptionId
func ParseSubscriptionIDInsensitively ¶
func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)
ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input
func (SubscriptionId) ID ¶
func (id SubscriptionId) ID() string
ID returns the formatted Subscription ID
func (SubscriptionId) Segments ¶
func (id SubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription ID
func (SubscriptionId) String ¶
func (id SubscriptionId) String() string
String returns a human-readable description of this Subscription ID
type SystemMetadata ¶
type SystemMetadata struct { CreatedAt *string `json:"createdAt,omitempty"` CreatedBy *string `json:"createdBy,omitempty"` CreatedByType *CreatedByType `json:"createdByType,omitempty"` LastModifiedAt *string `json:"lastModifiedAt,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` }
func (SystemMetadata) GetCreatedAtAsTime ¶
func (o SystemMetadata) GetCreatedAtAsTime() (*time.Time, error)
func (SystemMetadata) GetLastModifiedAtAsTime ¶
func (o SystemMetadata) GetLastModifiedAtAsTime() (*time.Time, error)
func (SystemMetadata) SetCreatedAtAsTime ¶
func (o SystemMetadata) SetCreatedAtAsTime(input time.Time)
func (SystemMetadata) SetLastModifiedAtAsTime ¶
func (o SystemMetadata) SetLastModifiedAtAsTime(input time.Time)
type UpdateResponse ¶
type UpdateResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UpgradeResponse ¶
type UpgradeResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_disk_pool_managed_disk_attachment.go
- id_diskpool.go
- id_resourcegroup.go
- id_subscription.go
- method_createorupdate_autorest.go
- method_deallocate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_listoutboundnetworkdependenciesendpoints_autorest.go
- method_start_autorest.go
- method_update_autorest.go
- method_upgrade_autorest.go
- model_disk.go
- model_diskpool.go
- model_diskpoolcreate.go
- model_diskpoolcreateproperties.go
- model_diskpoolproperties.go
- model_diskpoolupdate.go
- model_diskpoolupdateproperties.go
- model_endpointdependency.go
- model_endpointdetail.go
- model_outboundenvironmentendpoint.go
- model_sku.go
- model_systemmetadata.go
- predicates.go
- version.go