Documentation ¶
Index ¶
- func PossibleValuesForAggregatedReplicationState() []string
- func PossibleValuesForHostCaching() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForReplicationMode() []string
- func PossibleValuesForReplicationState() []string
- func PossibleValuesForReplicationStatusTypes() []string
- func PossibleValuesForStorageAccountType() []string
- func ValidateGalleryImageID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateImageVersionID(input interface{}, key string) (warnings []string, errors []error)
- type AggregatedReplicationState
- type CreateOrUpdateOperationResponse
- type DataDiskImageEncryption
- type DeleteOperationResponse
- type DiskImageEncryption
- type EncryptionImages
- type GalleryArtifactPublishingProfileBase
- func (o *GalleryArtifactPublishingProfileBase) GetEndOfLifeDateAsTime() (*time.Time, error)
- func (o *GalleryArtifactPublishingProfileBase) GetPublishedDateAsTime() (*time.Time, error)
- func (o *GalleryArtifactPublishingProfileBase) SetEndOfLifeDateAsTime(input time.Time)
- func (o *GalleryArtifactPublishingProfileBase) SetPublishedDateAsTime(input time.Time)
- type GalleryArtifactVersionSource
- type GalleryDataDiskImage
- type GalleryDiskImage
- type GalleryImageId
- type GalleryImageVersion
- type GalleryImageVersionOperationPredicate
- type GalleryImageVersionProperties
- type GalleryImageVersionStorageProfile
- type GalleryImageVersionUpdate
- type GalleryImageVersionsClient
- func (c GalleryImageVersionsClient) CreateOrUpdate(ctx context.Context, id ImageVersionId, input GalleryImageVersion) (result CreateOrUpdateOperationResponse, err error)
- func (c GalleryImageVersionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ImageVersionId, input GalleryImageVersion) error
- func (c GalleryImageVersionsClient) Delete(ctx context.Context, id ImageVersionId) (result DeleteOperationResponse, err error)
- func (c GalleryImageVersionsClient) DeleteThenPoll(ctx context.Context, id ImageVersionId) error
- func (c GalleryImageVersionsClient) Get(ctx context.Context, id ImageVersionId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c GalleryImageVersionsClient) ListByGalleryImage(ctx context.Context, id GalleryImageId) (result ListByGalleryImageOperationResponse, err error)
- func (c GalleryImageVersionsClient) ListByGalleryImageComplete(ctx context.Context, id GalleryImageId) (ListByGalleryImageCompleteResult, error)
- func (c GalleryImageVersionsClient) ListByGalleryImageCompleteMatchingPredicate(ctx context.Context, id GalleryImageId, ...) (result ListByGalleryImageCompleteResult, err error)
- func (c GalleryImageVersionsClient) Update(ctx context.Context, id ImageVersionId, input GalleryImageVersionUpdate) (result UpdateOperationResponse, err error)
- func (c GalleryImageVersionsClient) UpdateThenPoll(ctx context.Context, id ImageVersionId, input GalleryImageVersionUpdate) error
- type GetOperationOptions
- type GetOperationResponse
- type HostCaching
- type ImageVersionId
- type ListByGalleryImageCompleteResult
- type ListByGalleryImageOperationResponse
- type ProvisioningState
- type RegionalReplicationStatus
- type ReplicationMode
- type ReplicationState
- type ReplicationStatus
- type ReplicationStatusTypes
- type StorageAccountType
- type TargetRegion
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAggregatedReplicationState ¶
func PossibleValuesForAggregatedReplicationState() []string
func PossibleValuesForHostCaching ¶
func PossibleValuesForHostCaching() []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 ValidateGalleryImageID ¶ added in v0.20230523.1140858
ValidateGalleryImageID checks that 'input' can be parsed as a Gallery Image ID
func ValidateImageVersionID ¶ added in v0.20230523.1140858
ValidateImageVersionID checks that 'input' can be parsed as a Image Version ID
Types ¶
type AggregatedReplicationState ¶
type AggregatedReplicationState string
const ( AggregatedReplicationStateCompleted AggregatedReplicationState = "Completed" AggregatedReplicationStateFailed AggregatedReplicationState = "Failed" AggregatedReplicationStateInProgress AggregatedReplicationState = "InProgress" AggregatedReplicationStateUnknown AggregatedReplicationState = "Unknown" )
func (*AggregatedReplicationState) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *AggregatedReplicationState) UnmarshalJSON(bytes []byte) error
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 GalleryArtifactPublishingProfileBase ¶
type GalleryArtifactPublishingProfileBase struct { EndOfLifeDate *string `json:"endOfLifeDate,omitempty"` ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty"` PublishedDate *string `json:"publishedDate,omitempty"` ReplicaCount *int64 `json:"replicaCount,omitempty"` ReplicationMode *ReplicationMode `json:"replicationMode,omitempty"` StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"` TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"` }
func (*GalleryArtifactPublishingProfileBase) GetEndOfLifeDateAsTime ¶
func (o *GalleryArtifactPublishingProfileBase) GetEndOfLifeDateAsTime() (*time.Time, error)
func (*GalleryArtifactPublishingProfileBase) GetPublishedDateAsTime ¶
func (o *GalleryArtifactPublishingProfileBase) GetPublishedDateAsTime() (*time.Time, error)
func (*GalleryArtifactPublishingProfileBase) SetEndOfLifeDateAsTime ¶
func (o *GalleryArtifactPublishingProfileBase) SetEndOfLifeDateAsTime(input time.Time)
func (*GalleryArtifactPublishingProfileBase) SetPublishedDateAsTime ¶
func (o *GalleryArtifactPublishingProfileBase) SetPublishedDateAsTime(input time.Time)
type GalleryDataDiskImage ¶
type GalleryDataDiskImage struct { HostCaching *HostCaching `json:"hostCaching,omitempty"` Lun int64 `json:"lun"` SizeInGB *int64 `json:"sizeInGB,omitempty"` Source *GalleryArtifactVersionSource `json:"source,omitempty"` }
type GalleryDiskImage ¶
type GalleryDiskImage struct { HostCaching *HostCaching `json:"hostCaching,omitempty"` SizeInGB *int64 `json:"sizeInGB,omitempty"` Source *GalleryArtifactVersionSource `json:"source,omitempty"` }
type GalleryImageId ¶ added in v0.20230523.1140858
type GalleryImageId struct { SubscriptionId string ResourceGroupName string GalleryName string ImageName string }
GalleryImageId is a struct representing the Resource ID for a Gallery Image
func NewGalleryImageID ¶ added in v0.20230523.1140858
func NewGalleryImageID(subscriptionId string, resourceGroupName string, galleryName string, imageName string) GalleryImageId
NewGalleryImageID returns a new GalleryImageId struct
func ParseGalleryImageID ¶ added in v0.20230523.1140858
func ParseGalleryImageID(input string) (*GalleryImageId, error)
ParseGalleryImageID parses 'input' into a GalleryImageId
func ParseGalleryImageIDInsensitively ¶ added in v0.20230523.1140858
func ParseGalleryImageIDInsensitively(input string) (*GalleryImageId, error)
ParseGalleryImageIDInsensitively parses 'input' case-insensitively into a GalleryImageId note: this method should only be used for API response data and not user input
func (*GalleryImageId) FromParseResult ¶ added in v0.20231127.1171502
func (id *GalleryImageId) FromParseResult(input resourceids.ParseResult) error
func (GalleryImageId) ID ¶ added in v0.20230523.1140858
func (id GalleryImageId) ID() string
ID returns the formatted Gallery Image ID
func (GalleryImageId) Segments ¶ added in v0.20230523.1140858
func (id GalleryImageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gallery Image ID
func (GalleryImageId) String ¶ added in v0.20230523.1140858
func (id GalleryImageId) String() string
String returns a human-readable description of this Gallery Image ID
type GalleryImageVersion ¶
type GalleryImageVersionOperationPredicate ¶
type GalleryImageVersionOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (GalleryImageVersionOperationPredicate) Matches ¶
func (p GalleryImageVersionOperationPredicate) Matches(input GalleryImageVersion) bool
type GalleryImageVersionProperties ¶
type GalleryImageVersionProperties struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublishingProfile *GalleryArtifactPublishingProfileBase `json:"publishingProfile,omitempty"` ReplicationStatus *ReplicationStatus `json:"replicationStatus,omitempty"` StorageProfile GalleryImageVersionStorageProfile `json:"storageProfile"` }
type GalleryImageVersionStorageProfile ¶
type GalleryImageVersionStorageProfile struct { DataDiskImages *[]GalleryDataDiskImage `json:"dataDiskImages,omitempty"` OsDiskImage *GalleryDiskImage `json:"osDiskImage,omitempty"` Source *GalleryArtifactVersionSource `json:"source,omitempty"` }
type GalleryImageVersionsClient ¶
type GalleryImageVersionsClient struct {
Client *resourcemanager.Client
}
func NewGalleryImageVersionsClientWithBaseURI ¶
func NewGalleryImageVersionsClientWithBaseURI(sdkApi sdkEnv.Api) (*GalleryImageVersionsClient, error)
func (GalleryImageVersionsClient) CreateOrUpdate ¶
func (c GalleryImageVersionsClient) CreateOrUpdate(ctx context.Context, id ImageVersionId, input GalleryImageVersion) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GalleryImageVersionsClient) CreateOrUpdateThenPoll ¶
func (c GalleryImageVersionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ImageVersionId, input GalleryImageVersion) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GalleryImageVersionsClient) Delete ¶
func (c GalleryImageVersionsClient) Delete(ctx context.Context, id ImageVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (GalleryImageVersionsClient) DeleteThenPoll ¶
func (c GalleryImageVersionsClient) DeleteThenPoll(ctx context.Context, id ImageVersionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GalleryImageVersionsClient) Get ¶
func (c GalleryImageVersionsClient) Get(ctx context.Context, id ImageVersionId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (GalleryImageVersionsClient) ListByGalleryImage ¶
func (c GalleryImageVersionsClient) ListByGalleryImage(ctx context.Context, id GalleryImageId) (result ListByGalleryImageOperationResponse, err error)
ListByGalleryImage ...
func (GalleryImageVersionsClient) ListByGalleryImageComplete ¶
func (c GalleryImageVersionsClient) ListByGalleryImageComplete(ctx context.Context, id GalleryImageId) (ListByGalleryImageCompleteResult, error)
ListByGalleryImageComplete retrieves all the results into a single object
func (GalleryImageVersionsClient) ListByGalleryImageCompleteMatchingPredicate ¶
func (c GalleryImageVersionsClient) ListByGalleryImageCompleteMatchingPredicate(ctx context.Context, id GalleryImageId, predicate GalleryImageVersionOperationPredicate) (result ListByGalleryImageCompleteResult, err error)
ListByGalleryImageCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GalleryImageVersionsClient) Update ¶
func (c GalleryImageVersionsClient) Update(ctx context.Context, id ImageVersionId, input GalleryImageVersionUpdate) (result UpdateOperationResponse, err error)
Update ...
func (GalleryImageVersionsClient) UpdateThenPoll ¶
func (c GalleryImageVersionsClient) UpdateThenPoll(ctx context.Context, id ImageVersionId, input GalleryImageVersionUpdate) 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 ¶ added in v0.20230808.1103829
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶ added in v0.20230808.1103829
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶ added in v0.20230808.1103829
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GalleryImageVersion }
type HostCaching ¶
type HostCaching string
const ( HostCachingNone HostCaching = "None" HostCachingReadOnly HostCaching = "ReadOnly" HostCachingReadWrite HostCaching = "ReadWrite" )
func (*HostCaching) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *HostCaching) UnmarshalJSON(bytes []byte) error
type ImageVersionId ¶ added in v0.20230523.1140858
type ImageVersionId struct { SubscriptionId string ResourceGroupName string GalleryName string ImageName string VersionName string }
ImageVersionId is a struct representing the Resource ID for a Image Version
func NewImageVersionID ¶ added in v0.20230523.1140858
func NewImageVersionID(subscriptionId string, resourceGroupName string, galleryName string, imageName string, versionName string) ImageVersionId
NewImageVersionID returns a new ImageVersionId struct
func ParseImageVersionID ¶ added in v0.20230523.1140858
func ParseImageVersionID(input string) (*ImageVersionId, error)
ParseImageVersionID parses 'input' into a ImageVersionId
func ParseImageVersionIDInsensitively ¶ added in v0.20230523.1140858
func ParseImageVersionIDInsensitively(input string) (*ImageVersionId, error)
ParseImageVersionIDInsensitively parses 'input' case-insensitively into a ImageVersionId note: this method should only be used for API response data and not user input
func (*ImageVersionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ImageVersionId) FromParseResult(input resourceids.ParseResult) error
func (ImageVersionId) ID ¶ added in v0.20230523.1140858
func (id ImageVersionId) ID() string
ID returns the formatted Image Version ID
func (ImageVersionId) Segments ¶ added in v0.20230523.1140858
func (id ImageVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Image Version ID
func (ImageVersionId) String ¶ added in v0.20230523.1140858
func (id ImageVersionId) String() string
String returns a human-readable description of this Image Version ID
type ListByGalleryImageCompleteResult ¶
type ListByGalleryImageCompleteResult struct {
Items []GalleryImageVersion
}
type ListByGalleryImageOperationResponse ¶
type ListByGalleryImageOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GalleryImageVersion }
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 ¶ added in v0.20230808.1103829
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 ¶ added in v0.20230808.1103829
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 ¶ added in v0.20230808.1103829
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 ¶ added in v0.20230808.1103829
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 ¶ added in v0.20230808.1103829
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"` }
Source Files ¶
- client.go
- constants.go
- id_galleryimage.go
- id_imageversion.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbygalleryimage.go
- method_update.go
- model_datadiskimageencryption.go
- model_diskimageencryption.go
- model_encryptionimages.go
- model_galleryartifactpublishingprofilebase.go
- model_galleryartifactversionsource.go
- model_gallerydatadiskimage.go
- model_gallerydiskimage.go
- model_galleryimageversion.go
- model_galleryimageversionproperties.go
- model_galleryimageversionstorageprofile.go
- model_galleryimageversionupdate.go
- model_regionalreplicationstatus.go
- model_replicationstatus.go
- model_targetregion.go
- predicates.go
- version.go