Documentation ¶
Index ¶
- func PossibleValuesForAggregatedReplicationState() []string
- func PossibleValuesForConfidentialVMEncryptionType() []string
- func PossibleValuesForEdgeZoneStorageAccountType() []string
- func PossibleValuesForGalleryExtendedLocationType() []string
- func PossibleValuesForGalleryProvisioningState() []string
- func PossibleValuesForHostCaching() []string
- func PossibleValuesForPolicyViolationCategory() []string
- func PossibleValuesForReplicationMode() []string
- func PossibleValuesForReplicationState() []string
- func PossibleValuesForReplicationStatusTypes() []string
- func PossibleValuesForStorageAccountType() []string
- func ValidateImageID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type AggregatedReplicationState
- type ConfidentialVMEncryptionType
- type CreateOrUpdateOperationResponse
- type DataDiskImageEncryption
- type DeleteOperationResponse
- type EdgeZoneStorageAccountType
- 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 GalleryArtifactVersionFullSource
- type GalleryDataDiskImage
- type GalleryDiskImage
- type GalleryDiskImageSource
- type GalleryExtendedLocation
- type GalleryExtendedLocationType
- type GalleryImageVersion
- type GalleryImageVersionOperationPredicate
- type GalleryImageVersionProperties
- type GalleryImageVersionSafetyProfile
- type GalleryImageVersionStorageProfile
- type GalleryImageVersionUpdate
- type GalleryImageVersionsClient
- func (c GalleryImageVersionsClient) CreateOrUpdate(ctx context.Context, id VersionId, input GalleryImageVersion) (result CreateOrUpdateOperationResponse, err error)
- func (c GalleryImageVersionsClient) CreateOrUpdateThenPoll(ctx context.Context, id VersionId, input GalleryImageVersion) error
- func (c GalleryImageVersionsClient) Delete(ctx context.Context, id VersionId) (result DeleteOperationResponse, err error)
- func (c GalleryImageVersionsClient) DeleteThenPoll(ctx context.Context, id VersionId) error
- func (c GalleryImageVersionsClient) Get(ctx context.Context, id VersionId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c GalleryImageVersionsClient) ListByGalleryImage(ctx context.Context, id ImageId) (resp ListByGalleryImageOperationResponse, err error)
- func (c GalleryImageVersionsClient) ListByGalleryImageComplete(ctx context.Context, id ImageId) (ListByGalleryImageCompleteResult, error)
- func (c GalleryImageVersionsClient) ListByGalleryImageCompleteMatchingPredicate(ctx context.Context, id ImageId, ...) (resp ListByGalleryImageCompleteResult, err error)
- func (c GalleryImageVersionsClient) Update(ctx context.Context, id VersionId, input GalleryImageVersionUpdate) (result UpdateOperationResponse, err error)
- func (c GalleryImageVersionsClient) UpdateThenPoll(ctx context.Context, id VersionId, input GalleryImageVersionUpdate) error
- type GalleryProvisioningState
- type GalleryTargetExtendedLocation
- type GetOperationOptions
- type GetOperationResponse
- type HostCaching
- type ImageId
- type ListByGalleryImageCompleteResult
- type ListByGalleryImageOperationResponse
- type OSDiskImageEncryption
- type OSDiskImageSecurityProfile
- type PolicyViolation
- type PolicyViolationCategory
- type RegionalReplicationStatus
- type ReplicationMode
- type ReplicationState
- type ReplicationStatus
- type ReplicationStatusTypes
- type StorageAccountType
- type TargetRegion
- type UpdateOperationResponse
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAggregatedReplicationState ¶
func PossibleValuesForAggregatedReplicationState() []string
func PossibleValuesForConfidentialVMEncryptionType ¶
func PossibleValuesForConfidentialVMEncryptionType() []string
func PossibleValuesForEdgeZoneStorageAccountType ¶
func PossibleValuesForEdgeZoneStorageAccountType() []string
func PossibleValuesForGalleryExtendedLocationType ¶
func PossibleValuesForGalleryExtendedLocationType() []string
func PossibleValuesForGalleryProvisioningState ¶
func PossibleValuesForGalleryProvisioningState() []string
func PossibleValuesForHostCaching ¶
func PossibleValuesForHostCaching() []string
func PossibleValuesForPolicyViolationCategory ¶
func PossibleValuesForPolicyViolationCategory() []string
func PossibleValuesForReplicationMode ¶
func PossibleValuesForReplicationMode() []string
func PossibleValuesForReplicationState ¶
func PossibleValuesForReplicationState() []string
func PossibleValuesForReplicationStatusTypes ¶
func PossibleValuesForReplicationStatusTypes() []string
func PossibleValuesForStorageAccountType ¶
func PossibleValuesForStorageAccountType() []string
func ValidateImageID ¶
ValidateImageID checks that 'input' can be parsed as a Image ID
func ValidateVersionID ¶
ValidateVersionID checks that 'input' can be parsed as a Version ID
Types ¶
type AggregatedReplicationState ¶
type AggregatedReplicationState string
const ( AggregatedReplicationStateCompleted AggregatedReplicationState = "Completed" AggregatedReplicationStateFailed AggregatedReplicationState = "Failed" AggregatedReplicationStateInProgress AggregatedReplicationState = "InProgress" AggregatedReplicationStateUnknown AggregatedReplicationState = "Unknown" )
type ConfidentialVMEncryptionType ¶
type ConfidentialVMEncryptionType string
const ( ConfidentialVMEncryptionTypeEncryptedVMGuestStateOnlyWithPmk ConfidentialVMEncryptionType = "EncryptedVMGuestStateOnlyWithPmk" ConfidentialVMEncryptionTypeEncryptedWithCmk ConfidentialVMEncryptionType = "EncryptedWithCmk" ConfidentialVMEncryptionTypeEncryptedWithPmk ConfidentialVMEncryptionType = "EncryptedWithPmk" )
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 EdgeZoneStorageAccountType ¶
type EdgeZoneStorageAccountType string
const ( EdgeZoneStorageAccountTypePremiumLRS EdgeZoneStorageAccountType = "Premium_LRS" EdgeZoneStorageAccountTypeStandardLRS EdgeZoneStorageAccountType = "Standard_LRS" EdgeZoneStorageAccountTypeStandardSSDLRS EdgeZoneStorageAccountType = "StandardSSD_LRS" EdgeZoneStorageAccountTypeStandardZRS EdgeZoneStorageAccountType = "Standard_ZRS" )
type EncryptionImages ¶
type EncryptionImages struct { DataDiskImages *[]DataDiskImageEncryption `json:"dataDiskImages,omitempty"` OsDiskImage *OSDiskImageEncryption `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"` TargetExtendedLocations *[]GalleryTargetExtendedLocation `json:"targetExtendedLocations,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 *GalleryDiskImageSource `json:"source,omitempty"` }
type GalleryDiskImage ¶
type GalleryDiskImage struct { HostCaching *HostCaching `json:"hostCaching,omitempty"` SizeInGB *int64 `json:"sizeInGB,omitempty"` Source *GalleryDiskImageSource `json:"source,omitempty"` }
type GalleryDiskImageSource ¶
type GalleryExtendedLocation ¶
type GalleryExtendedLocation struct { Name *string `json:"name,omitempty"` Type *GalleryExtendedLocationType `json:"type,omitempty"` }
type GalleryExtendedLocationType ¶
type GalleryExtendedLocationType string
const ( GalleryExtendedLocationTypeEdgeZone GalleryExtendedLocationType = "EdgeZone" GalleryExtendedLocationTypeUnknown GalleryExtendedLocationType = "Unknown" )
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 *GalleryProvisioningState `json:"provisioningState,omitempty"` PublishingProfile *GalleryArtifactPublishingProfileBase `json:"publishingProfile,omitempty"` ReplicationStatus *ReplicationStatus `json:"replicationStatus,omitempty"` SafetyProfile *GalleryImageVersionSafetyProfile `json:"safetyProfile,omitempty"` StorageProfile GalleryImageVersionStorageProfile `json:"storageProfile"` }
type GalleryImageVersionSafetyProfile ¶
type GalleryImageVersionSafetyProfile struct { AllowDeletionOfReplicatedLocations *bool `json:"allowDeletionOfReplicatedLocations,omitempty"` PolicyViolations *[]PolicyViolation `json:"policyViolations,omitempty"` ReportedForPolicyViolation *bool `json:"reportedForPolicyViolation,omitempty"` }
type GalleryImageVersionStorageProfile ¶
type GalleryImageVersionStorageProfile struct { DataDiskImages *[]GalleryDataDiskImage `json:"dataDiskImages,omitempty"` OsDiskImage *GalleryDiskImage `json:"osDiskImage,omitempty"` Source *GalleryArtifactVersionFullSource `json:"source,omitempty"` }
type GalleryImageVersionsClient ¶
type GalleryImageVersionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewGalleryImageVersionsClientWithBaseURI ¶
func NewGalleryImageVersionsClientWithBaseURI(endpoint string) GalleryImageVersionsClient
func (GalleryImageVersionsClient) CreateOrUpdate ¶
func (c GalleryImageVersionsClient) CreateOrUpdate(ctx context.Context, id VersionId, input GalleryImageVersion) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GalleryImageVersionsClient) CreateOrUpdateThenPoll ¶
func (c GalleryImageVersionsClient) CreateOrUpdateThenPoll(ctx context.Context, id VersionId, input GalleryImageVersion) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GalleryImageVersionsClient) Delete ¶
func (c GalleryImageVersionsClient) Delete(ctx context.Context, id VersionId) (result DeleteOperationResponse, err error)
Delete ...
func (GalleryImageVersionsClient) DeleteThenPoll ¶
func (c GalleryImageVersionsClient) DeleteThenPoll(ctx context.Context, id VersionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GalleryImageVersionsClient) Get ¶
func (c GalleryImageVersionsClient) Get(ctx context.Context, id VersionId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (GalleryImageVersionsClient) ListByGalleryImage ¶
func (c GalleryImageVersionsClient) ListByGalleryImage(ctx context.Context, id ImageId) (resp ListByGalleryImageOperationResponse, err error)
ListByGalleryImage ...
func (GalleryImageVersionsClient) ListByGalleryImageComplete ¶
func (c GalleryImageVersionsClient) ListByGalleryImageComplete(ctx context.Context, id ImageId) (ListByGalleryImageCompleteResult, error)
ListByGalleryImageComplete retrieves all of the results into a single object
func (GalleryImageVersionsClient) ListByGalleryImageCompleteMatchingPredicate ¶
func (c GalleryImageVersionsClient) ListByGalleryImageCompleteMatchingPredicate(ctx context.Context, id ImageId, predicate GalleryImageVersionOperationPredicate) (resp ListByGalleryImageCompleteResult, err error)
ListByGalleryImageCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (GalleryImageVersionsClient) Update ¶
func (c GalleryImageVersionsClient) Update(ctx context.Context, id VersionId, input GalleryImageVersionUpdate) (result UpdateOperationResponse, err error)
Update ...
func (GalleryImageVersionsClient) UpdateThenPoll ¶
func (c GalleryImageVersionsClient) UpdateThenPoll(ctx context.Context, id VersionId, input GalleryImageVersionUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type GalleryProvisioningState ¶
type GalleryProvisioningState string
const ( GalleryProvisioningStateCreating GalleryProvisioningState = "Creating" GalleryProvisioningStateDeleting GalleryProvisioningState = "Deleting" GalleryProvisioningStateFailed GalleryProvisioningState = "Failed" GalleryProvisioningStateMigrating GalleryProvisioningState = "Migrating" GalleryProvisioningStateSucceeded GalleryProvisioningState = "Succeeded" GalleryProvisioningStateUpdating GalleryProvisioningState = "Updating" )
type GalleryTargetExtendedLocation ¶
type GalleryTargetExtendedLocation struct { Encryption *EncryptionImages `json:"encryption,omitempty"` ExtendedLocation *GalleryExtendedLocation `json:"extendedLocation,omitempty"` ExtendedLocationReplicaCount *int64 `json:"extendedLocationReplicaCount,omitempty"` Name *string `json:"name,omitempty"` StorageAccountType *EdgeZoneStorageAccountType `json:"storageAccountType,omitempty"` }
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *ReplicationStatusTypes
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *GalleryImageVersion }
type HostCaching ¶
type HostCaching string
const ( HostCachingNone HostCaching = "None" HostCachingReadOnly HostCaching = "ReadOnly" HostCachingReadWrite HostCaching = "ReadWrite" )
type ImageId ¶
ImageId is a struct representing the Resource ID for a Image
func NewImageID ¶
func NewImageID(subscriptionId string, locationName string, sharedGalleryName string, imageName string) ImageId
NewImageID returns a new ImageId struct
func ParseImageID ¶
ParseImageID parses 'input' into a ImageId
func ParseImageIDInsensitively ¶
ParseImageIDInsensitively parses 'input' case-insensitively into a ImageId note: this method should only be used for API response data and not user input
func (ImageId) Segments ¶
func (id ImageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Image ID
type ListByGalleryImageCompleteResult ¶
type ListByGalleryImageCompleteResult struct {
Items []GalleryImageVersion
}
type ListByGalleryImageOperationResponse ¶
type ListByGalleryImageOperationResponse struct { HttpResponse *http.Response Model *[]GalleryImageVersion // contains filtered or unexported fields }
func (ListByGalleryImageOperationResponse) HasMore ¶
func (r ListByGalleryImageOperationResponse) HasMore() bool
func (ListByGalleryImageOperationResponse) LoadMore ¶
func (r ListByGalleryImageOperationResponse) LoadMore(ctx context.Context) (resp ListByGalleryImageOperationResponse, err error)
type OSDiskImageEncryption ¶
type OSDiskImageEncryption struct { DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"` SecurityProfile *OSDiskImageSecurityProfile `json:"securityProfile,omitempty"` }
type OSDiskImageSecurityProfile ¶
type OSDiskImageSecurityProfile struct { ConfidentialVMEncryptionType *ConfidentialVMEncryptionType `json:"confidentialVMEncryptionType,omitempty"` SecureVMDiskEncryptionSetId *string `json:"secureVMDiskEncryptionSetId,omitempty"` }
type PolicyViolation ¶
type PolicyViolation struct { Category *PolicyViolationCategory `json:"category,omitempty"` Details *string `json:"details,omitempty"` }
type PolicyViolationCategory ¶
type PolicyViolationCategory string
const ( PolicyViolationCategoryCopyrightValidation PolicyViolationCategory = "CopyrightValidation" PolicyViolationCategoryIPTheft PolicyViolationCategory = "IpTheft" PolicyViolationCategoryImageFlaggedUnsafe PolicyViolationCategory = "ImageFlaggedUnsafe" PolicyViolationCategoryOther PolicyViolationCategory = "Other" )
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"` ExcludeFromLatest *bool `json:"excludeFromLatest,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 VersionId ¶
type VersionId struct { SubscriptionId string LocationName string ImageName string VersionName string }
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
func NewVersionID(subscriptionId string, locationName string, sharedGalleryName string, imageName string, versionName string) VersionId
NewVersionID returns a new VersionId struct
func ParseVersionID ¶
ParseVersionID parses 'input' into a VersionId
func ParseVersionIDInsensitively ¶
ParseVersionIDInsensitively parses 'input' case-insensitively into a VersionId note: this method should only be used for API response data and not user input
func (VersionId) Segments ¶
func (id VersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version ID
Source Files ¶
- client.go
- constants.go
- id_image.go
- id_version.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbygalleryimage_autorest.go
- method_update_autorest.go
- model_datadiskimageencryption.go
- model_encryptionimages.go
- model_galleryartifactpublishingprofilebase.go
- model_galleryartifactversionfullsource.go
- model_gallerydatadiskimage.go
- model_gallerydiskimage.go
- model_gallerydiskimagesource.go
- model_galleryextendedlocation.go
- model_galleryimageversion.go
- model_galleryimageversionproperties.go
- model_galleryimageversionsafetyprofile.go
- model_galleryimageversionstorageprofile.go
- model_galleryimageversionupdate.go
- model_gallerytargetextendedlocation.go
- model_osdiskimageencryption.go
- model_osdiskimagesecurityprofile.go
- model_policyviolation.go
- model_regionalreplicationstatus.go
- model_replicationstatus.go
- model_targetregion.go
- predicates.go
- version.go