Documentation ¶
Index ¶
- func PossibleValuesForOperationalStatus() []string
- func PossibleValuesForProvisioningStates() []string
- func ValidateDiskPoolID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeallocateOperationResponse
- type DeleteOperationResponse
- type Disk
- type DiskPool
- type DiskPoolCreate
- type DiskPoolCreateProperties
- type DiskPoolId
- type DiskPoolOperationPredicate
- type DiskPoolProperties
- type DiskPoolUpdate
- type DiskPoolUpdateProperties
- type DiskPoolsClient
- func (c DiskPoolsClient) CreateOrUpdate(ctx context.Context, id DiskPoolId, input DiskPoolCreate) (result CreateOrUpdateOperationResponse, err error)
- func (c DiskPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id DiskPoolId, input DiskPoolCreate) error
- func (c DiskPoolsClient) Deallocate(ctx context.Context, id DiskPoolId) (result DeallocateOperationResponse, err error)
- func (c DiskPoolsClient) DeallocateThenPoll(ctx context.Context, id DiskPoolId) error
- func (c DiskPoolsClient) Delete(ctx context.Context, id DiskPoolId) (result DeleteOperationResponse, err error)
- func (c DiskPoolsClient) DeleteThenPoll(ctx context.Context, id DiskPoolId) error
- func (c DiskPoolsClient) Get(ctx context.Context, id DiskPoolId) (result GetOperationResponse, err error)
- func (c DiskPoolsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c DiskPoolsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c DiskPoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c DiskPoolsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c DiskPoolsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c DiskPoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpoints(ctx context.Context, id DiskPoolId) (resp ListOutboundNetworkDependenciesEndpointsOperationResponse, 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 StartOperationResponse, err error)
- func (c DiskPoolsClient) StartThenPoll(ctx context.Context, id DiskPoolId) error
- func (c DiskPoolsClient) Update(ctx context.Context, id DiskPoolId, input DiskPoolUpdate) (result UpdateOperationResponse, err error)
- func (c DiskPoolsClient) UpdateThenPoll(ctx context.Context, id DiskPoolId, input DiskPoolUpdate) error
- func (c DiskPoolsClient) Upgrade(ctx context.Context, id DiskPoolId) (result UpgradeOperationResponse, err error)
- func (c DiskPoolsClient) UpgradeThenPoll(ctx context.Context, id DiskPoolId) error
- type EndpointDependency
- type EndpointDetail
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListOutboundNetworkDependenciesEndpointsCompleteResult
- type ListOutboundNetworkDependenciesEndpointsOperationResponse
- type OperationalStatus
- type OutboundEnvironmentEndpoint
- type OutboundEnvironmentEndpointOperationPredicate
- type ProvisioningStates
- type Sku
- type StartOperationResponse
- type UpdateOperationResponse
- type UpgradeOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOperationalStatus ¶
func PossibleValuesForOperationalStatus() []string
func PossibleValuesForProvisioningStates ¶
func PossibleValuesForProvisioningStates() []string
func ValidateDiskPoolID ¶
ValidateDiskPoolID checks that 'input' can be parsed as a Disk Pool ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeallocateOperationResponse ¶
type DeallocateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse 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 *systemdata.SystemData `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 DiskPoolOperationPredicate ¶
type DiskPoolOperationPredicate struct { Id *string Location *string ManagedBy *string Name *string Type *string }
func (DiskPoolOperationPredicate) Matches ¶
func (p DiskPoolOperationPredicate) Matches(input DiskPool) bool
type DiskPoolProperties ¶
type DiskPoolProperties struct { AdditionalCapabilities *[]string `json:"additionalCapabilities,omitempty"` AvailabilityZones zones.Schema `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 CreateOrUpdateOperationResponse, 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 DeallocateOperationResponse, 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 DeleteOperationResponse, 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 GetOperationResponse, err error)
Get ...
func (DiskPoolsClient) ListByResourceGroup ¶
func (c DiskPoolsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DiskPoolsClient) ListByResourceGroupComplete ¶
func (c DiskPoolsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (DiskPoolsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DiskPoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DiskPoolOperationPredicate) (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 commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (DiskPoolsClient) ListBySubscriptionComplete ¶
func (c DiskPoolsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (DiskPoolsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c DiskPoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DiskPoolOperationPredicate) (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 ListOutboundNetworkDependenciesEndpointsOperationResponse, 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 OutboundEnvironmentEndpointOperationPredicate) (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 StartOperationResponse, 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 UpdateOperationResponse, 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 UpgradeOperationResponse, 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 GetOperationResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []DiskPool
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]DiskPool // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []DiskPool
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]DiskPool // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ListOutboundNetworkDependenciesEndpointsCompleteResult ¶
type ListOutboundNetworkDependenciesEndpointsCompleteResult struct {
Items []OutboundEnvironmentEndpoint
}
type ListOutboundNetworkDependenciesEndpointsOperationResponse ¶
type ListOutboundNetworkDependenciesEndpointsOperationResponse struct { HttpResponse *http.Response Model *[]OutboundEnvironmentEndpoint // contains filtered or unexported fields }
func (ListOutboundNetworkDependenciesEndpointsOperationResponse) HasMore ¶
func (r ListOutboundNetworkDependenciesEndpointsOperationResponse) HasMore() bool
func (ListOutboundNetworkDependenciesEndpointsOperationResponse) LoadMore ¶
func (r ListOutboundNetworkDependenciesEndpointsOperationResponse) LoadMore(ctx context.Context) (resp ListOutboundNetworkDependenciesEndpointsOperationResponse, 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 OutboundEnvironmentEndpointOperationPredicate ¶
type OutboundEnvironmentEndpointOperationPredicate struct {
Category *string
}
func (OutboundEnvironmentEndpointOperationPredicate) Matches ¶
func (p OutboundEnvironmentEndpointOperationPredicate) 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 StartOperationResponse ¶
type StartOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UpgradeOperationResponse ¶
type UpgradeOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_diskpool.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
- predicates.go
- version.go