Documentation ¶
Index ¶
- func PossibleValuesForUpdateStatus() []string
- func ValidateScopedApplyUpdateID(input interface{}, key string) (warnings []string, errors []error)
- type ApplyUpdate
- type ApplyUpdateProperties
- type ApplyUpdatesClient
- func (c ApplyUpdatesClient) CreateOrUpdate(ctx context.Context, id commonids.ScopeId) (result CreateOrUpdateOperationResponse, err error)
- func (c ApplyUpdatesClient) CreateOrUpdateParent(ctx context.Context, id commonids.ScopeId) (result CreateOrUpdateParentOperationResponse, err error)
- func (c ApplyUpdatesClient) Get(ctx context.Context, id ScopedApplyUpdateId) (result GetOperationResponse, err error)
- func (c ApplyUpdatesClient) GetParent(ctx context.Context, id ScopedApplyUpdateId) (result GetParentOperationResponse, err error)
- type CreateOrUpdateOperationResponse
- type CreateOrUpdateParentOperationResponse
- type GetOperationResponse
- type GetParentOperationResponse
- type ScopedApplyUpdateId
- type UpdateStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForUpdateStatus ¶
func PossibleValuesForUpdateStatus() []string
func ValidateScopedApplyUpdateID ¶ added in v0.20230714.1170806
ValidateScopedApplyUpdateID checks that 'input' can be parsed as a Scoped Apply Update ID
Types ¶
type ApplyUpdate ¶
type ApplyUpdate struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ApplyUpdateProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ApplyUpdateProperties ¶
type ApplyUpdateProperties struct { LastUpdateTime *string `json:"lastUpdateTime,omitempty"` ResourceId *string `json:"resourceId,omitempty"` Status *UpdateStatus `json:"status,omitempty"` }
func (*ApplyUpdateProperties) GetLastUpdateTimeAsTime ¶
func (o *ApplyUpdateProperties) GetLastUpdateTimeAsTime() (*time.Time, error)
func (*ApplyUpdateProperties) SetLastUpdateTimeAsTime ¶
func (o *ApplyUpdateProperties) SetLastUpdateTimeAsTime(input time.Time)
type ApplyUpdatesClient ¶
func NewApplyUpdatesClientWithBaseURI ¶
func NewApplyUpdatesClientWithBaseURI(endpoint string) ApplyUpdatesClient
func (ApplyUpdatesClient) CreateOrUpdate ¶
func (c ApplyUpdatesClient) CreateOrUpdate(ctx context.Context, id commonids.ScopeId) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApplyUpdatesClient) CreateOrUpdateParent ¶
func (c ApplyUpdatesClient) CreateOrUpdateParent(ctx context.Context, id commonids.ScopeId) (result CreateOrUpdateParentOperationResponse, err error)
CreateOrUpdateParent ...
func (ApplyUpdatesClient) Get ¶
func (c ApplyUpdatesClient) Get(ctx context.Context, id ScopedApplyUpdateId) (result GetOperationResponse, err error)
Get ...
func (ApplyUpdatesClient) GetParent ¶
func (c ApplyUpdatesClient) GetParent(ctx context.Context, id ScopedApplyUpdateId) (result GetParentOperationResponse, err error)
GetParent ...
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ApplyUpdate }
type CreateOrUpdateParentOperationResponse ¶
type CreateOrUpdateParentOperationResponse struct { HttpResponse *http.Response Model *ApplyUpdate }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ApplyUpdate }
type GetParentOperationResponse ¶
type GetParentOperationResponse struct { HttpResponse *http.Response Model *ApplyUpdate }
type ScopedApplyUpdateId ¶ added in v0.20230714.1170806
ScopedApplyUpdateId is a struct representing the Resource ID for a Scoped Apply Update
func NewScopedApplyUpdateID ¶ added in v0.20230714.1170806
func NewScopedApplyUpdateID(scope string, applyUpdateName string) ScopedApplyUpdateId
NewScopedApplyUpdateID returns a new ScopedApplyUpdateId struct
func ParseScopedApplyUpdateID ¶ added in v0.20230714.1170806
func ParseScopedApplyUpdateID(input string) (*ScopedApplyUpdateId, error)
ParseScopedApplyUpdateID parses 'input' into a ScopedApplyUpdateId
func ParseScopedApplyUpdateIDInsensitively ¶ added in v0.20230714.1170806
func ParseScopedApplyUpdateIDInsensitively(input string) (*ScopedApplyUpdateId, error)
ParseScopedApplyUpdateIDInsensitively parses 'input' case-insensitively into a ScopedApplyUpdateId note: this method should only be used for API response data and not user input
func (ScopedApplyUpdateId) ID ¶ added in v0.20230714.1170806
func (id ScopedApplyUpdateId) ID() string
ID returns the formatted Scoped Apply Update ID
func (ScopedApplyUpdateId) Segments ¶ added in v0.20230714.1170806
func (id ScopedApplyUpdateId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Apply Update ID
func (ScopedApplyUpdateId) String ¶ added in v0.20230714.1170806
func (id ScopedApplyUpdateId) String() string
String returns a human-readable description of this Scoped Apply Update ID
type UpdateStatus ¶
type UpdateStatus string
const ( UpdateStatusCompleted UpdateStatus = "Completed" UpdateStatusInProgress UpdateStatus = "InProgress" UpdateStatusPending UpdateStatus = "Pending" UpdateStatusRetryLater UpdateStatus = "RetryLater" UpdateStatusRetryNow UpdateStatus = "RetryNow" )