Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForUpdateRunPropertiesState() []string
- func ValidateUpdateID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUpdateRunID(input interface{}, key string) (warnings []string, errors []error)
- type ProvisioningState
- type Step
- func (o *Step) GetEndTimeUtcAsTime() (*time.Time, error)
- func (o *Step) GetLastUpdatedTimeUtcAsTime() (*time.Time, error)
- func (o *Step) GetStartTimeUtcAsTime() (*time.Time, error)
- func (o *Step) SetEndTimeUtcAsTime(input time.Time)
- func (o *Step) SetLastUpdatedTimeUtcAsTime(input time.Time)
- func (o *Step) SetStartTimeUtcAsTime(input time.Time)
- type UpdateId
- type UpdateRun
- type UpdateRunId
- type UpdateRunOperationPredicate
- type UpdateRunProperties
- type UpdateRunPropertiesState
- type UpdateRunsClient
- func (c UpdateRunsClient) UpdateRunsDelete(ctx context.Context, id UpdateRunId) (result UpdateRunsDeleteOperationResponse, err error)
- func (c UpdateRunsClient) UpdateRunsDeleteThenPoll(ctx context.Context, id UpdateRunId) error
- func (c UpdateRunsClient) UpdateRunsGet(ctx context.Context, id UpdateRunId) (result UpdateRunsGetOperationResponse, err error)
- func (c UpdateRunsClient) UpdateRunsList(ctx context.Context, id UpdateId) (resp UpdateRunsListOperationResponse, err error)
- func (c UpdateRunsClient) UpdateRunsListComplete(ctx context.Context, id UpdateId) (UpdateRunsListCompleteResult, error)
- func (c UpdateRunsClient) UpdateRunsListCompleteMatchingPredicate(ctx context.Context, id UpdateId, predicate UpdateRunOperationPredicate) (resp UpdateRunsListCompleteResult, err error)
- func (c UpdateRunsClient) UpdateRunsPut(ctx context.Context, id UpdateRunId, input UpdateRun) (result UpdateRunsPutOperationResponse, err error)
- type UpdateRunsDeleteOperationResponse
- type UpdateRunsGetOperationResponse
- type UpdateRunsListCompleteResult
- type UpdateRunsListOperationResponse
- type UpdateRunsPutOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForUpdateRunPropertiesState ¶
func PossibleValuesForUpdateRunPropertiesState() []string
func ValidateUpdateID ¶
ValidateUpdateID checks that 'input' can be parsed as a Update ID
func ValidateUpdateRunID ¶
ValidateUpdateRunID checks that 'input' can be parsed as a Update Run ID
Types ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
type Step ¶
type Step struct { Description *string `json:"description,omitempty"` EndTimeUtc *string `json:"endTimeUtc,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` LastUpdatedTimeUtc *string `json:"lastUpdatedTimeUtc,omitempty"` Name *string `json:"name,omitempty"` StartTimeUtc *string `json:"startTimeUtc,omitempty"` Status *string `json:"status,omitempty"` Steps *[]Step `json:"steps,omitempty"` }
func (*Step) GetLastUpdatedTimeUtcAsTime ¶
func (*Step) SetEndTimeUtcAsTime ¶
func (*Step) SetLastUpdatedTimeUtcAsTime ¶
func (*Step) SetStartTimeUtcAsTime ¶
type UpdateId ¶
type UpdateId struct { SubscriptionId string ResourceGroupName string ClusterName string UpdateName string }
UpdateId is a struct representing the Resource ID for a Update
func NewUpdateID ¶
func NewUpdateID(subscriptionId string, resourceGroupName string, clusterName string, updateName string) UpdateId
NewUpdateID returns a new UpdateId struct
func ParseUpdateID ¶
ParseUpdateID parses 'input' into a UpdateId
func ParseUpdateIDInsensitively ¶
ParseUpdateIDInsensitively parses 'input' case-insensitively into a UpdateId note: this method should only be used for API response data and not user input
func (UpdateId) Segments ¶
func (id UpdateId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Update ID
type UpdateRun ¶
type UpdateRun struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *UpdateRunProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type UpdateRunId ¶
type UpdateRunId struct { SubscriptionId string ResourceGroupName string ClusterName string UpdateName string UpdateRunName string }
UpdateRunId is a struct representing the Resource ID for a Update Run
func NewUpdateRunID ¶
func NewUpdateRunID(subscriptionId string, resourceGroupName string, clusterName string, updateName string, updateRunName string) UpdateRunId
NewUpdateRunID returns a new UpdateRunId struct
func ParseUpdateRunID ¶
func ParseUpdateRunID(input string) (*UpdateRunId, error)
ParseUpdateRunID parses 'input' into a UpdateRunId
func ParseUpdateRunIDInsensitively ¶
func ParseUpdateRunIDInsensitively(input string) (*UpdateRunId, error)
ParseUpdateRunIDInsensitively parses 'input' case-insensitively into a UpdateRunId note: this method should only be used for API response data and not user input
func (UpdateRunId) Segments ¶
func (id UpdateRunId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Update Run ID
func (UpdateRunId) String ¶
func (id UpdateRunId) String() string
String returns a human-readable description of this Update Run ID
type UpdateRunOperationPredicate ¶
func (UpdateRunOperationPredicate) Matches ¶
func (p UpdateRunOperationPredicate) Matches(input UpdateRun) bool
type UpdateRunProperties ¶
type UpdateRunProperties struct { Duration *string `json:"duration,omitempty"` LastUpdatedTime *string `json:"lastUpdatedTime,omitempty"` Progress *Step `json:"progress,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` State *UpdateRunPropertiesState `json:"state,omitempty"` TimeStarted *string `json:"timeStarted,omitempty"` }
func (*UpdateRunProperties) GetLastUpdatedTimeAsTime ¶
func (o *UpdateRunProperties) GetLastUpdatedTimeAsTime() (*time.Time, error)
func (*UpdateRunProperties) GetTimeStartedAsTime ¶
func (o *UpdateRunProperties) GetTimeStartedAsTime() (*time.Time, error)
func (*UpdateRunProperties) SetLastUpdatedTimeAsTime ¶
func (o *UpdateRunProperties) SetLastUpdatedTimeAsTime(input time.Time)
func (*UpdateRunProperties) SetTimeStartedAsTime ¶
func (o *UpdateRunProperties) SetTimeStartedAsTime(input time.Time)
type UpdateRunPropertiesState ¶
type UpdateRunPropertiesState string
const ( UpdateRunPropertiesStateFailed UpdateRunPropertiesState = "Failed" UpdateRunPropertiesStateInProgress UpdateRunPropertiesState = "InProgress" UpdateRunPropertiesStateSucceeded UpdateRunPropertiesState = "Succeeded" UpdateRunPropertiesStateUnknown UpdateRunPropertiesState = "Unknown" )
type UpdateRunsClient ¶
func NewUpdateRunsClientWithBaseURI ¶
func NewUpdateRunsClientWithBaseURI(endpoint string) UpdateRunsClient
func (UpdateRunsClient) UpdateRunsDelete ¶
func (c UpdateRunsClient) UpdateRunsDelete(ctx context.Context, id UpdateRunId) (result UpdateRunsDeleteOperationResponse, err error)
UpdateRunsDelete ...
func (UpdateRunsClient) UpdateRunsDeleteThenPoll ¶
func (c UpdateRunsClient) UpdateRunsDeleteThenPoll(ctx context.Context, id UpdateRunId) error
UpdateRunsDeleteThenPoll performs UpdateRunsDelete then polls until it's completed
func (UpdateRunsClient) UpdateRunsGet ¶
func (c UpdateRunsClient) UpdateRunsGet(ctx context.Context, id UpdateRunId) (result UpdateRunsGetOperationResponse, err error)
UpdateRunsGet ...
func (UpdateRunsClient) UpdateRunsList ¶
func (c UpdateRunsClient) UpdateRunsList(ctx context.Context, id UpdateId) (resp UpdateRunsListOperationResponse, err error)
UpdateRunsList ...
func (UpdateRunsClient) UpdateRunsListComplete ¶
func (c UpdateRunsClient) UpdateRunsListComplete(ctx context.Context, id UpdateId) (UpdateRunsListCompleteResult, error)
UpdateRunsListComplete retrieves all of the results into a single object
func (UpdateRunsClient) UpdateRunsListCompleteMatchingPredicate ¶
func (c UpdateRunsClient) UpdateRunsListCompleteMatchingPredicate(ctx context.Context, id UpdateId, predicate UpdateRunOperationPredicate) (resp UpdateRunsListCompleteResult, err error)
UpdateRunsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (UpdateRunsClient) UpdateRunsPut ¶
func (c UpdateRunsClient) UpdateRunsPut(ctx context.Context, id UpdateRunId, input UpdateRun) (result UpdateRunsPutOperationResponse, err error)
UpdateRunsPut ...
type UpdateRunsDeleteOperationResponse ¶
type UpdateRunsDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UpdateRunsListCompleteResult ¶
type UpdateRunsListCompleteResult struct {
Items []UpdateRun
}
type UpdateRunsListOperationResponse ¶
type UpdateRunsListOperationResponse struct { HttpResponse *http.Response Model *[]UpdateRun // contains filtered or unexported fields }
func (UpdateRunsListOperationResponse) HasMore ¶
func (r UpdateRunsListOperationResponse) HasMore() bool
func (UpdateRunsListOperationResponse) LoadMore ¶
func (r UpdateRunsListOperationResponse) LoadMore(ctx context.Context) (resp UpdateRunsListOperationResponse, err error)