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) (result ListByFleetOperationResponse, err error)
- func (c FleetUpdateStrategiesClient) ListByFleetComplete(ctx context.Context, id FleetId) (ListByFleetCompleteResult, error)
- func (c FleetUpdateStrategiesClient) ListByFleetCompleteMatchingPredicate(ctx context.Context, id FleetId, ...) (result ListByFleetCompleteResult, err error)
- type FleetUpdateStrategy
- type FleetUpdateStrategyOperationPredicate
- type FleetUpdateStrategyProperties
- type FleetUpdateStrategyProvisioningState
- type GetOperationResponse
- type ListByFleetCompleteResult
- type ListByFleetCustomPager
- 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
func (CreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20240213.1120950
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20240213.1120950
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20240213.1120950
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20240213.1120950
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20240213.1120950
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20240213.1120950
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
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 ¶
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 *resourcemanager.Client
}
func NewFleetUpdateStrategiesClientWithBaseURI ¶
func NewFleetUpdateStrategiesClientWithBaseURI(sdkApi sdkEnv.Api) (*FleetUpdateStrategiesClient, error)
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) (result ListByFleetOperationResponse, err error)
ListByFleet ...
func (FleetUpdateStrategiesClient) ListByFleetComplete ¶
func (c FleetUpdateStrategiesClient) ListByFleetComplete(ctx context.Context, id FleetId) (ListByFleetCompleteResult, error)
ListByFleetComplete retrieves all the results into a single object
func (FleetUpdateStrategiesClient) ListByFleetCompleteMatchingPredicate ¶
func (c FleetUpdateStrategiesClient) ListByFleetCompleteMatchingPredicate(ctx context.Context, id FleetId, predicate FleetUpdateStrategyOperationPredicate) (result ListByFleetCompleteResult, err error)
ListByFleetCompleteMatchingPredicate retrieves all the results and then applies 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" )
func (*FleetUpdateStrategyProvisioningState) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *FleetUpdateStrategyProvisioningState) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FleetUpdateStrategy }
type ListByFleetCompleteResult ¶
type ListByFleetCompleteResult struct { LatestHttpResponse *http.Response Items []FleetUpdateStrategy }
type ListByFleetCustomPager ¶ added in v0.20240628.1153531
func (*ListByFleetCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByFleetCustomPager) NextPageLink() *odata.Link
type ListByFleetOperationResponse ¶
type ListByFleetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]FleetUpdateStrategy }
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 ¶
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