Documentation ¶
Index ¶
- func PossibleValuesForFleetUpdateStrategyProvisioningState() []string
- func ValidateFleetID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUpdateStrategyID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type FleetId
- type FleetUpdateStrategiesClient
- func (c FleetUpdateStrategiesClient) CreateOrUpdate(ctx context.Context, id UpdateStrategyId, input FleetUpdateStrategy, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c FleetUpdateStrategiesClient) CreateOrUpdateThenPoll(ctx context.Context, id UpdateStrategyId, input FleetUpdateStrategy, ...) error
- func (c FleetUpdateStrategiesClient) Delete(ctx context.Context, id UpdateStrategyId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c FleetUpdateStrategiesClient) DeleteThenPoll(ctx context.Context, id UpdateStrategyId, options DeleteOperationOptions) error
- func (c FleetUpdateStrategiesClient) Get(ctx context.Context, id UpdateStrategyId) (result GetOperationResponse, err error)
- func (c FleetUpdateStrategiesClient) ListByFleet(ctx context.Context, id FleetId) (resp ListByFleetOperationResponse, err error)
- func (c FleetUpdateStrategiesClient) ListByFleetComplete(ctx context.Context, id FleetId) (ListByFleetCompleteResult, error)
- func (c FleetUpdateStrategiesClient) ListByFleetCompleteMatchingPredicate(ctx context.Context, id FleetId, ...) (resp ListByFleetCompleteResult, err error)
- type FleetUpdateStrategy
- type FleetUpdateStrategyOperationPredicate
- type FleetUpdateStrategyProperties
- type FleetUpdateStrategyProvisioningState
- type GetOperationResponse
- type ListByFleetCompleteResult
- type ListByFleetOperationResponse
- type UpdateGroup
- type UpdateRunStrategy
- type UpdateStage
- type UpdateStrategyId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFleetUpdateStrategyProvisioningState ¶
func PossibleValuesForFleetUpdateStrategyProvisioningState() []string
func ValidateFleetID ¶
ValidateFleetID checks that 'input' can be parsed as a Fleet ID
func ValidateUpdateStrategyID ¶
ValidateUpdateStrategyID checks that 'input' can be parsed as a Update Strategy ID
Types ¶
type CreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type FleetId ¶
FleetId is a struct representing the Resource ID for a Fleet
func NewFleetID ¶
NewFleetID returns a new FleetId struct
func ParseFleetID ¶
ParseFleetID parses 'input' into a FleetId
func ParseFleetIDInsensitively ¶
ParseFleetIDInsensitively parses 'input' case-insensitively into a FleetId note: this method should only be used for API response data and not user input
func (*FleetId) FromParseResult ¶ added in v0.20231127.1171502
func (id *FleetId) FromParseResult(input resourceids.ParseResult) error
func (FleetId) Segments ¶
func (id FleetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Fleet ID
type FleetUpdateStrategiesClient ¶
type FleetUpdateStrategiesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewFleetUpdateStrategiesClientWithBaseURI ¶
func NewFleetUpdateStrategiesClientWithBaseURI(endpoint string) FleetUpdateStrategiesClient
func (FleetUpdateStrategiesClient) CreateOrUpdate ¶
func (c FleetUpdateStrategiesClient) CreateOrUpdate(ctx context.Context, id UpdateStrategyId, input FleetUpdateStrategy, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (FleetUpdateStrategiesClient) CreateOrUpdateThenPoll ¶
func (c FleetUpdateStrategiesClient) CreateOrUpdateThenPoll(ctx context.Context, id UpdateStrategyId, input FleetUpdateStrategy, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (FleetUpdateStrategiesClient) Delete ¶
func (c FleetUpdateStrategiesClient) Delete(ctx context.Context, id UpdateStrategyId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (FleetUpdateStrategiesClient) DeleteThenPoll ¶
func (c FleetUpdateStrategiesClient) DeleteThenPoll(ctx context.Context, id UpdateStrategyId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (FleetUpdateStrategiesClient) Get ¶
func (c FleetUpdateStrategiesClient) Get(ctx context.Context, id UpdateStrategyId) (result GetOperationResponse, err error)
Get ...
func (FleetUpdateStrategiesClient) ListByFleet ¶
func (c FleetUpdateStrategiesClient) ListByFleet(ctx context.Context, id FleetId) (resp ListByFleetOperationResponse, err error)
ListByFleet ...
func (FleetUpdateStrategiesClient) ListByFleetComplete ¶
func (c FleetUpdateStrategiesClient) ListByFleetComplete(ctx context.Context, id FleetId) (ListByFleetCompleteResult, error)
ListByFleetComplete retrieves all of the results into a single object
func (FleetUpdateStrategiesClient) ListByFleetCompleteMatchingPredicate ¶
func (c FleetUpdateStrategiesClient) ListByFleetCompleteMatchingPredicate(ctx context.Context, id FleetId, predicate FleetUpdateStrategyOperationPredicate) (resp ListByFleetCompleteResult, err error)
ListByFleetCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type FleetUpdateStrategy ¶
type FleetUpdateStrategy struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *FleetUpdateStrategyProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type FleetUpdateStrategyOperationPredicate ¶
type FleetUpdateStrategyOperationPredicate struct { ETag *string Id *string Name *string Type *string }
func (FleetUpdateStrategyOperationPredicate) Matches ¶
func (p FleetUpdateStrategyOperationPredicate) Matches(input FleetUpdateStrategy) bool
type FleetUpdateStrategyProperties ¶
type FleetUpdateStrategyProperties struct { ProvisioningState *FleetUpdateStrategyProvisioningState `json:"provisioningState,omitempty"` Strategy UpdateRunStrategy `json:"strategy"` }
type FleetUpdateStrategyProvisioningState ¶
type FleetUpdateStrategyProvisioningState string
const ( FleetUpdateStrategyProvisioningStateCanceled FleetUpdateStrategyProvisioningState = "Canceled" FleetUpdateStrategyProvisioningStateFailed FleetUpdateStrategyProvisioningState = "Failed" FleetUpdateStrategyProvisioningStateSucceeded FleetUpdateStrategyProvisioningState = "Succeeded" )
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *FleetUpdateStrategy }
type ListByFleetCompleteResult ¶
type ListByFleetCompleteResult struct {
Items []FleetUpdateStrategy
}
type ListByFleetOperationResponse ¶
type ListByFleetOperationResponse struct { HttpResponse *http.Response Model *[]FleetUpdateStrategy // contains filtered or unexported fields }
func (ListByFleetOperationResponse) HasMore ¶
func (r ListByFleetOperationResponse) HasMore() bool
func (ListByFleetOperationResponse) LoadMore ¶
func (r ListByFleetOperationResponse) LoadMore(ctx context.Context) (resp ListByFleetOperationResponse, err error)
type UpdateGroup ¶
type UpdateGroup struct {
Name string `json:"name"`
}
type UpdateRunStrategy ¶
type UpdateRunStrategy struct {
Stages []UpdateStage `json:"stages"`
}
type UpdateStage ¶
type UpdateStage struct { AfterStageWaitInSeconds *int64 `json:"afterStageWaitInSeconds,omitempty"` Groups *[]UpdateGroup `json:"groups,omitempty"` Name string `json:"name"` }
type UpdateStrategyId ¶
type UpdateStrategyId struct { SubscriptionId string ResourceGroupName string FleetName string UpdateStrategyName string }
UpdateStrategyId is a struct representing the Resource ID for a Update Strategy
func NewUpdateStrategyID ¶
func NewUpdateStrategyID(subscriptionId string, resourceGroupName string, fleetName string, updateStrategyName string) UpdateStrategyId
NewUpdateStrategyID returns a new UpdateStrategyId struct
func ParseUpdateStrategyID ¶
func ParseUpdateStrategyID(input string) (*UpdateStrategyId, error)
ParseUpdateStrategyID parses 'input' into a UpdateStrategyId
func ParseUpdateStrategyIDInsensitively ¶
func ParseUpdateStrategyIDInsensitively(input string) (*UpdateStrategyId, error)
ParseUpdateStrategyIDInsensitively parses 'input' case-insensitively into a UpdateStrategyId note: this method should only be used for API response data and not user input
func (*UpdateStrategyId) FromParseResult ¶ added in v0.20231127.1171502
func (id *UpdateStrategyId) FromParseResult(input resourceids.ParseResult) error
func (UpdateStrategyId) ID ¶
func (id UpdateStrategyId) ID() string
ID returns the formatted Update Strategy ID
func (UpdateStrategyId) Segments ¶
func (id UpdateStrategyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Update Strategy ID
func (UpdateStrategyId) String ¶
func (id UpdateStrategyId) String() string
String returns a human-readable description of this Update Strategy ID
Source Files ¶
- client.go
- constants.go
- id_fleet.go
- id_updatestrategy.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyfleet_autorest.go
- model_fleetupdatestrategy.go
- model_fleetupdatestrategyproperties.go
- model_updategroup.go
- model_updaterunstrategy.go
- model_updatestage.go
- predicates.go
- version.go