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) (resp ListByGalleryApplicationOperationResponse, err error)
- func (c GalleryApplicationVersionsClient) ListByGalleryApplicationComplete(ctx context.Context, id ApplicationId) (ListByGalleryApplicationCompleteResult, error)
- func (c GalleryApplicationVersionsClient) ListByGalleryApplicationCompleteMatchingPredicate(ctx context.Context, id ApplicationId, ...) (resp 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" )
type ApplicationId ¶
type ApplicationId struct { SubscriptionId string ResourceGroupName string GalleryName string GalleryApplicationName string }
ApplicationId is a struct representing the Resource ID for a Application
func NewApplicationID ¶
func NewApplicationID(subscriptionId string, resourceGroupName string, galleryName string, galleryApplicationName 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) 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 GalleryApplicationName string GalleryApplicationVersionName string }
ApplicationVersionId is a struct representing the Resource ID for a Application Version
func NewApplicationVersionID ¶
func NewApplicationVersionID(subscriptionId string, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName 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) 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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DataDiskImageEncryption ¶
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 autorest.Client // contains filtered or unexported fields }
func NewGalleryApplicationVersionsClientWithBaseURI ¶
func NewGalleryApplicationVersionsClientWithBaseURI(endpoint string) GalleryApplicationVersionsClient
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) (resp ListByGalleryApplicationOperationResponse, err error)
ListByGalleryApplication ...
func (GalleryApplicationVersionsClient) ListByGalleryApplicationComplete ¶
func (c GalleryApplicationVersionsClient) ListByGalleryApplicationComplete(ctx context.Context, id ApplicationId) (ListByGalleryApplicationCompleteResult, error)
ListByGalleryApplicationComplete retrieves all of the results into a single object
func (GalleryApplicationVersionsClient) ListByGalleryApplicationCompleteMatchingPredicate ¶
func (c GalleryApplicationVersionsClient) ListByGalleryApplicationCompleteMatchingPredicate(ctx context.Context, id ApplicationId, predicate GalleryApplicationVersionOperationPredicate) (resp ListByGalleryApplicationCompleteResult, err error)
ListByGalleryApplicationCompleteMatchingPredicate retrieves all of the results and then applied 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
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *GalleryApplicationVersion }
type ListByGalleryApplicationCompleteResult ¶
type ListByGalleryApplicationCompleteResult struct {
Items []GalleryApplicationVersion
}
type ListByGalleryApplicationOperationResponse ¶
type ListByGalleryApplicationOperationResponse struct { HttpResponse *http.Response Model *[]GalleryApplicationVersion // contains filtered or unexported fields }
func (ListByGalleryApplicationOperationResponse) HasMore ¶
func (r ListByGalleryApplicationOperationResponse) HasMore() bool
func (ListByGalleryApplicationOperationResponse) LoadMore ¶
func (r ListByGalleryApplicationOperationResponse) LoadMore(ctx context.Context) (resp ListByGalleryApplicationOperationResponse, err error)
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMigrating ProvisioningState = "Migrating" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
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" )
type ReplicationState ¶
type ReplicationState string
const ( ReplicationStateCompleted ReplicationState = "Completed" ReplicationStateFailed ReplicationState = "Failed" ReplicationStateReplicating ReplicationState = "Replicating" ReplicationStateUnknown ReplicationState = "Unknown" )
type ReplicationStatus ¶
type ReplicationStatus struct { AggregatedState *AggregatedReplicationState `json:"aggregatedState,omitempty"` Summary *[]RegionalReplicationStatus `json:"summary,omitempty"` }
type ReplicationStatusTypes ¶
type ReplicationStatusTypes string
const (
ReplicationStatusTypesReplicationStatus ReplicationStatusTypes = "ReplicationStatus"
)
type StorageAccountType ¶
type StorageAccountType string
const ( StorageAccountTypePremiumLRS StorageAccountType = "Premium_LRS" StorageAccountTypeStandardLRS StorageAccountType = "Standard_LRS" StorageAccountTypeStandardZRS StorageAccountType = "Standard_ZRS" )
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 UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UserArtifactManage ¶
type UserArtifactSource ¶
Source Files ¶
- client.go
- constants.go
- id_application.go
- id_applicationversion.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbygalleryapplication_autorest.go
- method_update_autorest.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