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 ¶
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 ¶
type ApplyUpdatesClient struct {
Client *resourcemanager.Client
}
func NewApplyUpdatesClientWithBaseURI ¶
func NewApplyUpdatesClientWithBaseURI(sdkApi sdkEnv.Api) (*ApplyUpdatesClient, error)
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 OData *odata.OData Model *ApplyUpdate }
type CreateOrUpdateParentOperationResponse ¶
type CreateOrUpdateParentOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplyUpdate }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplyUpdate }
type GetParentOperationResponse ¶
type GetParentOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplyUpdate }
type ScopedApplyUpdateId ¶
ScopedApplyUpdateId is a struct representing the Resource ID for a Scoped Apply Update
func NewScopedApplyUpdateID ¶
func NewScopedApplyUpdateID(scope string, applyUpdateName string) ScopedApplyUpdateId
NewScopedApplyUpdateID returns a new ScopedApplyUpdateId struct
func ParseScopedApplyUpdateID ¶
func ParseScopedApplyUpdateID(input string) (*ScopedApplyUpdateId, error)
ParseScopedApplyUpdateID parses 'input' into a ScopedApplyUpdateId
func ParseScopedApplyUpdateIDInsensitively ¶
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) FromParseResult ¶
func (id *ScopedApplyUpdateId) FromParseResult(input resourceids.ParseResult) error
func (ScopedApplyUpdateId) ID ¶
func (id ScopedApplyUpdateId) ID() string
ID returns the formatted Scoped Apply Update ID
func (ScopedApplyUpdateId) Segments ¶
func (id ScopedApplyUpdateId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Apply Update ID
func (ScopedApplyUpdateId) String ¶
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" )
func (*UpdateStatus) UnmarshalJSON ¶ added in v0.20240208.1165011
func (s *UpdateStatus) UnmarshalJSON(bytes []byte) error