Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForRefillPolicy() []string
- func ValidateStandbyContainerGroupPoolID(input interface{}, key string) (warnings []string, errors []error)
- type ContainerGroupProfile
- type ContainerGroupProperties
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type RefillPolicy
- type StandbyContainerGroupPoolElasticityProfile
- type StandbyContainerGroupPoolId
- func NewStandbyContainerGroupPoolID(subscriptionId string, resourceGroupName string, ...) StandbyContainerGroupPoolId
- func ParseStandbyContainerGroupPoolID(input string) (*StandbyContainerGroupPoolId, error)
- func ParseStandbyContainerGroupPoolIDInsensitively(input string) (*StandbyContainerGroupPoolId, error)
- type StandbyContainerGroupPoolResource
- type StandbyContainerGroupPoolResourceOperationPredicate
- type StandbyContainerGroupPoolResourceProperties
- type StandbyContainerGroupPoolResourceUpdate
- type StandbyContainerGroupPoolResourceUpdateProperties
- type StandbyContainerGroupPoolsClient
- func (c StandbyContainerGroupPoolsClient) CreateOrUpdate(ctx context.Context, id StandbyContainerGroupPoolId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c StandbyContainerGroupPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id StandbyContainerGroupPoolId, ...) error
- func (c StandbyContainerGroupPoolsClient) Delete(ctx context.Context, id StandbyContainerGroupPoolId) (result DeleteOperationResponse, err error)
- func (c StandbyContainerGroupPoolsClient) DeleteThenPoll(ctx context.Context, id StandbyContainerGroupPoolId) error
- func (c StandbyContainerGroupPoolsClient) Get(ctx context.Context, id StandbyContainerGroupPoolId) (result GetOperationResponse, err error)
- func (c StandbyContainerGroupPoolsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c StandbyContainerGroupPoolsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c StandbyContainerGroupPoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c StandbyContainerGroupPoolsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c StandbyContainerGroupPoolsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c StandbyContainerGroupPoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c StandbyContainerGroupPoolsClient) Update(ctx context.Context, id StandbyContainerGroupPoolId, ...) (result UpdateOperationResponse, err error)
- type Subnet
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForRefillPolicy ¶
func PossibleValuesForRefillPolicy() []string
func ValidateStandbyContainerGroupPoolID ¶
func ValidateStandbyContainerGroupPoolID(input interface{}, key string) (warnings []string, errors []error)
ValidateStandbyContainerGroupPoolID checks that 'input' can be parsed as a Standby Container Group Pool ID
Types ¶
type ContainerGroupProfile ¶
type ContainerGroupProperties ¶
type ContainerGroupProperties struct { ContainerGroupProfile ContainerGroupProfile `json:"containerGroupProfile"` SubnetIds *[]Subnet `json:"subnetIds,omitempty"` }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StandbyContainerGroupPoolResource }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []StandbyContainerGroupPoolResource }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StandbyContainerGroupPoolResource }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []StandbyContainerGroupPoolResource }
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StandbyContainerGroupPoolResource }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RefillPolicy ¶
type RefillPolicy string
const (
RefillPolicyAlways RefillPolicy = "always"
)
func (*RefillPolicy) UnmarshalJSON ¶
func (s *RefillPolicy) UnmarshalJSON(bytes []byte) error
type StandbyContainerGroupPoolElasticityProfile ¶
type StandbyContainerGroupPoolElasticityProfile struct { MaxReadyCapacity int64 `json:"maxReadyCapacity"` RefillPolicy *RefillPolicy `json:"refillPolicy,omitempty"` }
type StandbyContainerGroupPoolId ¶
type StandbyContainerGroupPoolId struct { SubscriptionId string ResourceGroupName string StandbyContainerGroupPoolName string }
StandbyContainerGroupPoolId is a struct representing the Resource ID for a Standby Container Group Pool
func NewStandbyContainerGroupPoolID ¶
func NewStandbyContainerGroupPoolID(subscriptionId string, resourceGroupName string, standbyContainerGroupPoolName string) StandbyContainerGroupPoolId
NewStandbyContainerGroupPoolID returns a new StandbyContainerGroupPoolId struct
func ParseStandbyContainerGroupPoolID ¶
func ParseStandbyContainerGroupPoolID(input string) (*StandbyContainerGroupPoolId, error)
ParseStandbyContainerGroupPoolID parses 'input' into a StandbyContainerGroupPoolId
func ParseStandbyContainerGroupPoolIDInsensitively ¶
func ParseStandbyContainerGroupPoolIDInsensitively(input string) (*StandbyContainerGroupPoolId, error)
ParseStandbyContainerGroupPoolIDInsensitively parses 'input' case-insensitively into a StandbyContainerGroupPoolId note: this method should only be used for API response data and not user input
func (*StandbyContainerGroupPoolId) FromParseResult ¶
func (id *StandbyContainerGroupPoolId) FromParseResult(input resourceids.ParseResult) error
func (StandbyContainerGroupPoolId) ID ¶
func (id StandbyContainerGroupPoolId) ID() string
ID returns the formatted Standby Container Group Pool ID
func (StandbyContainerGroupPoolId) Segments ¶
func (id StandbyContainerGroupPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Standby Container Group Pool ID
func (StandbyContainerGroupPoolId) String ¶
func (id StandbyContainerGroupPoolId) String() string
String returns a human-readable description of this Standby Container Group Pool ID
type StandbyContainerGroupPoolResource ¶
type StandbyContainerGroupPoolResource struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *StandbyContainerGroupPoolResourceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type StandbyContainerGroupPoolResourceOperationPredicate ¶
type StandbyContainerGroupPoolResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (StandbyContainerGroupPoolResourceOperationPredicate) Matches ¶
func (p StandbyContainerGroupPoolResourceOperationPredicate) Matches(input StandbyContainerGroupPoolResource) bool
type StandbyContainerGroupPoolResourceProperties ¶
type StandbyContainerGroupPoolResourceProperties struct { ContainerGroupProperties ContainerGroupProperties `json:"containerGroupProperties"` ElasticityProfile StandbyContainerGroupPoolElasticityProfile `json:"elasticityProfile"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type StandbyContainerGroupPoolResourceUpdate ¶
type StandbyContainerGroupPoolResourceUpdate struct { Properties *StandbyContainerGroupPoolResourceUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type StandbyContainerGroupPoolResourceUpdateProperties ¶
type StandbyContainerGroupPoolResourceUpdateProperties struct { ContainerGroupProperties *ContainerGroupProperties `json:"containerGroupProperties,omitempty"` ElasticityProfile *StandbyContainerGroupPoolElasticityProfile `json:"elasticityProfile,omitempty"` }
type StandbyContainerGroupPoolsClient ¶
type StandbyContainerGroupPoolsClient struct {
Client *resourcemanager.Client
}
func NewStandbyContainerGroupPoolsClientWithBaseURI ¶
func NewStandbyContainerGroupPoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*StandbyContainerGroupPoolsClient, error)
func (StandbyContainerGroupPoolsClient) CreateOrUpdate ¶
func (c StandbyContainerGroupPoolsClient) CreateOrUpdate(ctx context.Context, id StandbyContainerGroupPoolId, input StandbyContainerGroupPoolResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (StandbyContainerGroupPoolsClient) CreateOrUpdateThenPoll ¶
func (c StandbyContainerGroupPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id StandbyContainerGroupPoolId, input StandbyContainerGroupPoolResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (StandbyContainerGroupPoolsClient) Delete ¶
func (c StandbyContainerGroupPoolsClient) Delete(ctx context.Context, id StandbyContainerGroupPoolId) (result DeleteOperationResponse, err error)
Delete ...
func (StandbyContainerGroupPoolsClient) DeleteThenPoll ¶
func (c StandbyContainerGroupPoolsClient) DeleteThenPoll(ctx context.Context, id StandbyContainerGroupPoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (StandbyContainerGroupPoolsClient) Get ¶
func (c StandbyContainerGroupPoolsClient) Get(ctx context.Context, id StandbyContainerGroupPoolId) (result GetOperationResponse, err error)
Get ...
func (StandbyContainerGroupPoolsClient) ListByResourceGroup ¶
func (c StandbyContainerGroupPoolsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (StandbyContainerGroupPoolsClient) ListByResourceGroupComplete ¶
func (c StandbyContainerGroupPoolsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (StandbyContainerGroupPoolsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c StandbyContainerGroupPoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate StandbyContainerGroupPoolResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StandbyContainerGroupPoolsClient) ListBySubscription ¶
func (c StandbyContainerGroupPoolsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (StandbyContainerGroupPoolsClient) ListBySubscriptionComplete ¶
func (c StandbyContainerGroupPoolsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (StandbyContainerGroupPoolsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c StandbyContainerGroupPoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate StandbyContainerGroupPoolResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StandbyContainerGroupPoolsClient) Update ¶
func (c StandbyContainerGroupPoolsClient) Update(ctx context.Context, id StandbyContainerGroupPoolId, input StandbyContainerGroupPoolResourceUpdate) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StandbyContainerGroupPoolResource }
Source Files ¶
- client.go
- constants.go
- id_standbycontainergrouppool.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_containergroupprofile.go
- model_containergroupproperties.go
- model_standbycontainergrouppoolelasticityprofile.go
- model_standbycontainergrouppoolresource.go
- model_standbycontainergrouppoolresourceproperties.go
- model_standbycontainergrouppoolresourceupdate.go
- model_standbycontainergrouppoolresourceupdateproperties.go
- model_subnet.go
- predicates.go
- version.go