Documentation ¶
Index ¶
- func PossibleValuesForAggregatedReplicationState() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForReplicationMode() []string
- func PossibleValuesForReplicationState() []string
- func PossibleValuesForReplicationStatusTypes() []string
- func PossibleValuesForStorageAccountType() []string
- func ValidateApplicationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateApplicationVersionID(input interface{}, key string) (warnings []string, errors []error)
- type AggregatedReplicationState
- type ApplicationId
- type ApplicationVersionId
- type CreateOrUpdateOperationResponse
- type DataDiskImageEncryption
- type DeleteOperationResponse
- type DiskImageEncryption
- type EncryptionImages
- type GalleryApplicationVersion
- type GalleryApplicationVersionOperationPredicate
- type GalleryApplicationVersionProperties
- type GalleryApplicationVersionPublishingProfile
- func (o *GalleryApplicationVersionPublishingProfile) GetEndOfLifeDateAsTime() (*time.Time, error)
- func (o *GalleryApplicationVersionPublishingProfile) GetPublishedDateAsTime() (*time.Time, error)
- func (o *GalleryApplicationVersionPublishingProfile) SetEndOfLifeDateAsTime(input time.Time)
- func (o *GalleryApplicationVersionPublishingProfile) SetPublishedDateAsTime(input time.Time)
- type GalleryApplicationVersionUpdate
- type GalleryApplicationVersionsClient
- func (c GalleryApplicationVersionsClient) CreateOrUpdate(ctx context.Context, id ApplicationVersionId, input GalleryApplicationVersion) (result CreateOrUpdateOperationResponse, err error)
- func (c GalleryApplicationVersionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ApplicationVersionId, input GalleryApplicationVersion) error
- func (c GalleryApplicationVersionsClient) Delete(ctx context.Context, id ApplicationVersionId) (result DeleteOperationResponse, err error)
- func (c GalleryApplicationVersionsClient) DeleteThenPoll(ctx context.Context, id ApplicationVersionId) error
- func (c GalleryApplicationVersionsClient) Get(ctx context.Context, id ApplicationVersionId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c GalleryApplicationVersionsClient) ListByGalleryApplication(ctx context.Context, id ApplicationId) (result ListByGalleryApplicationOperationResponse, err error)
- func (c GalleryApplicationVersionsClient) ListByGalleryApplicationComplete(ctx context.Context, id ApplicationId) (ListByGalleryApplicationCompleteResult, error)
- func (c GalleryApplicationVersionsClient) ListByGalleryApplicationCompleteMatchingPredicate(ctx context.Context, id ApplicationId, ...) (result ListByGalleryApplicationCompleteResult, err error)
- func (c GalleryApplicationVersionsClient) Update(ctx context.Context, id ApplicationVersionId, ...) (result UpdateOperationResponse, err error)
- func (c GalleryApplicationVersionsClient) UpdateThenPoll(ctx context.Context, id ApplicationVersionId, ...) error
- type GetOperationOptions
- type GetOperationResponse
- type ListByGalleryApplicationCompleteResult
- type ListByGalleryApplicationOperationResponse
- type ProvisioningState
- type RegionalReplicationStatus
- type ReplicationMode
- type ReplicationState
- type ReplicationStatus
- type ReplicationStatusTypes
- type StorageAccountType
- type TargetRegion
- type UpdateOperationResponse
- type UserArtifactManage
- type UserArtifactSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAggregatedReplicationState ¶
func PossibleValuesForAggregatedReplicationState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForReplicationMode ¶
func PossibleValuesForReplicationMode() []string
func PossibleValuesForReplicationState ¶
func PossibleValuesForReplicationState() []string
func PossibleValuesForReplicationStatusTypes ¶
func PossibleValuesForReplicationStatusTypes() []string
func PossibleValuesForStorageAccountType ¶
func PossibleValuesForStorageAccountType() []string
func ValidateApplicationID ¶
ValidateApplicationID checks that 'input' can be parsed as a Application ID
func ValidateApplicationVersionID ¶
func ValidateApplicationVersionID(input interface{}, key string) (warnings []string, errors []error)
ValidateApplicationVersionID checks that 'input' can be parsed as a Application Version ID
Types ¶
type AggregatedReplicationState ¶
type AggregatedReplicationState string
const ( AggregatedReplicationStateCompleted AggregatedReplicationState = "Completed" AggregatedReplicationStateFailed AggregatedReplicationState = "Failed" AggregatedReplicationStateInProgress AggregatedReplicationState = "InProgress" AggregatedReplicationStateUnknown AggregatedReplicationState = "Unknown" )
func (*AggregatedReplicationState) UnmarshalJSON ¶
func (s *AggregatedReplicationState) UnmarshalJSON(bytes []byte) error
type ApplicationId ¶
type ApplicationId struct { SubscriptionId string ResourceGroupName string GalleryName string ApplicationName string }
ApplicationId is a struct representing the Resource ID for a Application
func NewApplicationID ¶
func NewApplicationID(subscriptionId string, resourceGroupName string, galleryName string, applicationName string) ApplicationId
NewApplicationID returns a new ApplicationId struct
func ParseApplicationID ¶
func ParseApplicationID(input string) (*ApplicationId, error)
ParseApplicationID parses 'input' into a ApplicationId
func ParseApplicationIDInsensitively ¶
func ParseApplicationIDInsensitively(input string) (*ApplicationId, error)
ParseApplicationIDInsensitively parses 'input' case-insensitively into a ApplicationId note: this method should only be used for API response data and not user input
func (*ApplicationId) FromParseResult ¶
func (id *ApplicationId) FromParseResult(input resourceids.ParseResult) error
func (ApplicationId) ID ¶
func (id ApplicationId) ID() string
ID returns the formatted Application ID
func (ApplicationId) Segments ¶
func (id ApplicationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Application ID
func (ApplicationId) String ¶
func (id ApplicationId) String() string
String returns a human-readable description of this Application ID
type ApplicationVersionId ¶
type ApplicationVersionId struct { SubscriptionId string ResourceGroupName string GalleryName string ApplicationName string VersionName string }
ApplicationVersionId is a struct representing the Resource ID for a Application Version
func NewApplicationVersionID ¶
func NewApplicationVersionID(subscriptionId string, resourceGroupName string, galleryName string, applicationName string, versionName string) ApplicationVersionId
NewApplicationVersionID returns a new ApplicationVersionId struct
func ParseApplicationVersionID ¶
func ParseApplicationVersionID(input string) (*ApplicationVersionId, error)
ParseApplicationVersionID parses 'input' into a ApplicationVersionId
func ParseApplicationVersionIDInsensitively ¶
func ParseApplicationVersionIDInsensitively(input string) (*ApplicationVersionId, error)
ParseApplicationVersionIDInsensitively parses 'input' case-insensitively into a ApplicationVersionId note: this method should only be used for API response data and not user input
func (*ApplicationVersionId) FromParseResult ¶
func (id *ApplicationVersionId) FromParseResult(input resourceids.ParseResult) error
func (ApplicationVersionId) ID ¶
func (id ApplicationVersionId) ID() string
ID returns the formatted Application Version ID
func (ApplicationVersionId) Segments ¶
func (id ApplicationVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Application Version ID
func (ApplicationVersionId) String ¶
func (id ApplicationVersionId) String() string
String returns a human-readable description of this Application Version ID
type DataDiskImageEncryption ¶
type DeleteOperationResponse ¶
type DiskImageEncryption ¶
type DiskImageEncryption struct {
DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"`
}
type EncryptionImages ¶
type EncryptionImages struct { DataDiskImages *[]DataDiskImageEncryption `json:"dataDiskImages,omitempty"` OsDiskImage *DiskImageEncryption `json:"osDiskImage,omitempty"` }
type GalleryApplicationVersion ¶
type GalleryApplicationVersion struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *GalleryApplicationVersionProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type GalleryApplicationVersionOperationPredicate ¶
type GalleryApplicationVersionOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (GalleryApplicationVersionOperationPredicate) Matches ¶
func (p GalleryApplicationVersionOperationPredicate) Matches(input GalleryApplicationVersion) bool
type GalleryApplicationVersionProperties ¶
type GalleryApplicationVersionProperties struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublishingProfile GalleryApplicationVersionPublishingProfile `json:"publishingProfile"` ReplicationStatus *ReplicationStatus `json:"replicationStatus,omitempty"` }
type GalleryApplicationVersionPublishingProfile ¶
type GalleryApplicationVersionPublishingProfile struct { EnableHealthCheck *bool `json:"enableHealthCheck,omitempty"` EndOfLifeDate *string `json:"endOfLifeDate,omitempty"` ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty"` ManageActions *UserArtifactManage `json:"manageActions,omitempty"` PublishedDate *string `json:"publishedDate,omitempty"` ReplicaCount *int64 `json:"replicaCount,omitempty"` ReplicationMode *ReplicationMode `json:"replicationMode,omitempty"` Source UserArtifactSource `json:"source"` StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"` TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"` }
func (*GalleryApplicationVersionPublishingProfile) GetEndOfLifeDateAsTime ¶
func (o *GalleryApplicationVersionPublishingProfile) GetEndOfLifeDateAsTime() (*time.Time, error)
func (*GalleryApplicationVersionPublishingProfile) GetPublishedDateAsTime ¶
func (o *GalleryApplicationVersionPublishingProfile) GetPublishedDateAsTime() (*time.Time, error)
func (*GalleryApplicationVersionPublishingProfile) SetEndOfLifeDateAsTime ¶
func (o *GalleryApplicationVersionPublishingProfile) SetEndOfLifeDateAsTime(input time.Time)
func (*GalleryApplicationVersionPublishingProfile) SetPublishedDateAsTime ¶
func (o *GalleryApplicationVersionPublishingProfile) SetPublishedDateAsTime(input time.Time)
type GalleryApplicationVersionsClient ¶
type GalleryApplicationVersionsClient struct {
Client *resourcemanager.Client
}
func NewGalleryApplicationVersionsClientWithBaseURI ¶
func NewGalleryApplicationVersionsClientWithBaseURI(sdkApi sdkEnv.Api) (*GalleryApplicationVersionsClient, error)
func (GalleryApplicationVersionsClient) CreateOrUpdate ¶
func (c GalleryApplicationVersionsClient) CreateOrUpdate(ctx context.Context, id ApplicationVersionId, input GalleryApplicationVersion) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GalleryApplicationVersionsClient) CreateOrUpdateThenPoll ¶
func (c GalleryApplicationVersionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ApplicationVersionId, input GalleryApplicationVersion) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GalleryApplicationVersionsClient) Delete ¶
func (c GalleryApplicationVersionsClient) Delete(ctx context.Context, id ApplicationVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (GalleryApplicationVersionsClient) DeleteThenPoll ¶
func (c GalleryApplicationVersionsClient) DeleteThenPoll(ctx context.Context, id ApplicationVersionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GalleryApplicationVersionsClient) Get ¶
func (c GalleryApplicationVersionsClient) Get(ctx context.Context, id ApplicationVersionId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (GalleryApplicationVersionsClient) ListByGalleryApplication ¶
func (c GalleryApplicationVersionsClient) ListByGalleryApplication(ctx context.Context, id ApplicationId) (result ListByGalleryApplicationOperationResponse, err error)
ListByGalleryApplication ...
func (GalleryApplicationVersionsClient) ListByGalleryApplicationComplete ¶
func (c GalleryApplicationVersionsClient) ListByGalleryApplicationComplete(ctx context.Context, id ApplicationId) (ListByGalleryApplicationCompleteResult, error)
ListByGalleryApplicationComplete retrieves all the results into a single object
func (GalleryApplicationVersionsClient) ListByGalleryApplicationCompleteMatchingPredicate ¶
func (c GalleryApplicationVersionsClient) ListByGalleryApplicationCompleteMatchingPredicate(ctx context.Context, id ApplicationId, predicate GalleryApplicationVersionOperationPredicate) (result ListByGalleryApplicationCompleteResult, err error)
ListByGalleryApplicationCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GalleryApplicationVersionsClient) Update ¶
func (c GalleryApplicationVersionsClient) Update(ctx context.Context, id ApplicationVersionId, input GalleryApplicationVersionUpdate) (result UpdateOperationResponse, err error)
Update ...
func (GalleryApplicationVersionsClient) UpdateThenPoll ¶
func (c GalleryApplicationVersionsClient) UpdateThenPoll(ctx context.Context, id ApplicationVersionId, input GalleryApplicationVersionUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *ReplicationStatusTypes
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GalleryApplicationVersion }
type ListByGalleryApplicationCompleteResult ¶
type ListByGalleryApplicationCompleteResult struct { LatestHttpResponse *http.Response Items []GalleryApplicationVersion }
type ListByGalleryApplicationOperationResponse ¶
type ListByGalleryApplicationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GalleryApplicationVersion }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMigrating ProvisioningState = "Migrating" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RegionalReplicationStatus ¶
type RegionalReplicationStatus struct { Details *string `json:"details,omitempty"` Progress *int64 `json:"progress,omitempty"` Region *string `json:"region,omitempty"` State *ReplicationState `json:"state,omitempty"` }
type ReplicationMode ¶
type ReplicationMode string
const ( ReplicationModeFull ReplicationMode = "Full" ReplicationModeShallow ReplicationMode = "Shallow" )
func (*ReplicationMode) UnmarshalJSON ¶
func (s *ReplicationMode) UnmarshalJSON(bytes []byte) error
type ReplicationState ¶
type ReplicationState string
const ( ReplicationStateCompleted ReplicationState = "Completed" ReplicationStateFailed ReplicationState = "Failed" ReplicationStateReplicating ReplicationState = "Replicating" ReplicationStateUnknown ReplicationState = "Unknown" )
func (*ReplicationState) UnmarshalJSON ¶
func (s *ReplicationState) UnmarshalJSON(bytes []byte) error
type ReplicationStatus ¶
type ReplicationStatus struct { AggregatedState *AggregatedReplicationState `json:"aggregatedState,omitempty"` Summary *[]RegionalReplicationStatus `json:"summary,omitempty"` }
type ReplicationStatusTypes ¶
type ReplicationStatusTypes string
const (
ReplicationStatusTypesReplicationStatus ReplicationStatusTypes = "ReplicationStatus"
)
func (*ReplicationStatusTypes) UnmarshalJSON ¶
func (s *ReplicationStatusTypes) UnmarshalJSON(bytes []byte) error
type StorageAccountType ¶
type StorageAccountType string
const ( StorageAccountTypePremiumLRS StorageAccountType = "Premium_LRS" StorageAccountTypeStandardLRS StorageAccountType = "Standard_LRS" StorageAccountTypeStandardZRS StorageAccountType = "Standard_ZRS" )
func (*StorageAccountType) UnmarshalJSON ¶
func (s *StorageAccountType) UnmarshalJSON(bytes []byte) error
type TargetRegion ¶
type TargetRegion struct { Encryption *EncryptionImages `json:"encryption,omitempty"` Name string `json:"name"` RegionalReplicaCount *int64 `json:"regionalReplicaCount,omitempty"` StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"` }
type UpdateOperationResponse ¶
type UserArtifactManage ¶
type UserArtifactSource ¶
Source Files ¶
- client.go
- constants.go
- id_application.go
- id_applicationversion.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbygalleryapplication.go
- method_update.go
- model_datadiskimageencryption.go
- model_diskimageencryption.go
- model_encryptionimages.go
- model_galleryapplicationversion.go
- model_galleryapplicationversionproperties.go
- model_galleryapplicationversionpublishingprofile.go
- model_galleryapplicationversionupdate.go
- model_regionalreplicationstatus.go
- model_replicationstatus.go
- model_targetregion.go
- model_userartifactmanage.go
- model_userartifactsource.go
- predicates.go
- version.go