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) (result 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, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c DiskPoolsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpoints(ctx context.Context, id DiskPoolId) (result ListOutboundNetworkDependenciesEndpointsOperationResponse, err error)
- func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsComplete(ctx context.Context, id DiskPoolId) (ListOutboundNetworkDependenciesEndpointsCompleteResult, error)
- func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate(ctx context.Context, id DiskPoolId, ...) (result 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 ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ListOutboundNetworkDependenciesEndpointsCompleteResult
- type ListOutboundNetworkDependenciesEndpointsCustomPager
- 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 DeleteOperationResponse ¶
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) FromParseResult ¶
func (id *DiskPoolId) FromParseResult(input resourceids.ParseResult) error
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 ¶
type DiskPoolsClient struct {
Client *resourcemanager.Client
}
func NewDiskPoolsClientWithBaseURI ¶
func NewDiskPoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*DiskPoolsClient, error)
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) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DiskPoolsClient) ListByResourceGroupComplete ¶
func (c DiskPoolsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (DiskPoolsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DiskPoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DiskPoolOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DiskPoolsClient) ListBySubscription ¶
func (c DiskPoolsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (DiskPoolsClient) ListBySubscriptionComplete ¶
func (c DiskPoolsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (DiskPoolsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c DiskPoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DiskPoolOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DiskPoolsClient) ListOutboundNetworkDependenciesEndpoints ¶
func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpoints(ctx context.Context, id DiskPoolId) (result ListOutboundNetworkDependenciesEndpointsOperationResponse, err error)
ListOutboundNetworkDependenciesEndpoints ...
func (DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsComplete ¶
func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsComplete(ctx context.Context, id DiskPoolId) (ListOutboundNetworkDependenciesEndpointsCompleteResult, error)
ListOutboundNetworkDependenciesEndpointsComplete retrieves all the results into a single object
func (DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate ¶
func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate(ctx context.Context, id DiskPoolId, predicate OutboundEnvironmentEndpointOperationPredicate) (result ListOutboundNetworkDependenciesEndpointsCompleteResult, err error)
ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate retrieves all the results and then applies 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 ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListOutboundNetworkDependenciesEndpointsCompleteResult ¶
type ListOutboundNetworkDependenciesEndpointsCompleteResult struct { LatestHttpResponse *http.Response Items []OutboundEnvironmentEndpoint }
type ListOutboundNetworkDependenciesEndpointsCustomPager ¶
type ListOutboundNetworkDependenciesEndpointsCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*ListOutboundNetworkDependenciesEndpointsCustomPager) NextPageLink ¶
func (p *ListOutboundNetworkDependenciesEndpointsCustomPager) NextPageLink() *odata.Link
type ListOutboundNetworkDependenciesEndpointsOperationResponse ¶
type ListOutboundNetworkDependenciesEndpointsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OutboundEnvironmentEndpoint }
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" )
func (*OperationalStatus) UnmarshalJSON ¶
func (s *OperationalStatus) UnmarshalJSON(bytes []byte) error
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" )
func (*ProvisioningStates) UnmarshalJSON ¶
func (s *ProvisioningStates) UnmarshalJSON(bytes []byte) error
type StartOperationResponse ¶
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_diskpool.go
- method_createorupdate.go
- method_deallocate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listoutboundnetworkdependenciesendpoints.go
- method_start.go
- method_update.go
- method_upgrade.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