Documentation ¶
Index ¶
- func PossibleValuesForCloudInitDataSource() []string
- func PossibleValuesForExtendedLocationTypes() []string
- func PossibleValuesForHyperVGeneration() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForProvisioningStateEnum() []string
- func PossibleValuesForStatus() []string
- func ValidateGalleryImageID(input interface{}, key string) (warnings []string, errors []error)
- type CloudInitDataSource
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExtendedLocation
- type ExtendedLocationTypes
- type GalleryDiskImage
- type GalleryImageId
- type GalleryImageIdentifier
- type GalleryImageProperties
- type GalleryImageStatus
- type GalleryImageStatusDownloadStatus
- type GalleryImageStatusProvisioningStatus
- type GalleryImageVersion
- type GalleryImageVersionProperties
- type GalleryImageVersionStorageProfile
- type GalleryImages
- type GalleryImagesClient
- func (c GalleryImagesClient) CreateOrUpdate(ctx context.Context, id GalleryImageId, input GalleryImages) (result CreateOrUpdateOperationResponse, err error)
- func (c GalleryImagesClient) CreateOrUpdateThenPoll(ctx context.Context, id GalleryImageId, input GalleryImages) error
- func (c GalleryImagesClient) Delete(ctx context.Context, id GalleryImageId) (result DeleteOperationResponse, err error)
- func (c GalleryImagesClient) DeleteThenPoll(ctx context.Context, id GalleryImageId) error
- func (c GalleryImagesClient) Get(ctx context.Context, id GalleryImageId) (result GetOperationResponse, err error)
- func (c GalleryImagesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c GalleryImagesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
- func (c GalleryImagesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
- func (c GalleryImagesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllCompleteResult, err error)
- func (c GalleryImagesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c GalleryImagesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c GalleryImagesClient) Update(ctx context.Context, id GalleryImageId, input GalleryImagesUpdateRequest) (result UpdateOperationResponse, err error)
- func (c GalleryImagesClient) UpdateThenPoll(ctx context.Context, id GalleryImageId, input GalleryImagesUpdateRequest) error
- type GalleryImagesOperationPredicate
- type GalleryImagesUpdateRequest
- type GetOperationResponse
- type HyperVGeneration
- type ListAllCompleteResult
- type ListAllOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type OperatingSystemTypes
- type ProvisioningStateEnum
- type Status
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCloudInitDataSource ¶
func PossibleValuesForCloudInitDataSource() []string
func PossibleValuesForExtendedLocationTypes ¶
func PossibleValuesForExtendedLocationTypes() []string
func PossibleValuesForHyperVGeneration ¶
func PossibleValuesForHyperVGeneration() []string
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func PossibleValuesForProvisioningStateEnum ¶
func PossibleValuesForProvisioningStateEnum() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateGalleryImageID ¶
ValidateGalleryImageID checks that 'input' can be parsed as a Gallery Image ID
Types ¶
type CloudInitDataSource ¶
type CloudInitDataSource string
const ( CloudInitDataSourceAzure CloudInitDataSource = "Azure" CloudInitDataSourceNoCloud CloudInitDataSource = "NoCloud" )
func (*CloudInitDataSource) UnmarshalJSON ¶
func (s *CloudInitDataSource) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type ExtendedLocation ¶
type ExtendedLocation struct { Name *string `json:"name,omitempty"` Type *ExtendedLocationTypes `json:"type,omitempty"` }
type ExtendedLocationTypes ¶
type ExtendedLocationTypes string
const (
ExtendedLocationTypesCustomLocation ExtendedLocationTypes = "CustomLocation"
)
func (*ExtendedLocationTypes) UnmarshalJSON ¶
func (s *ExtendedLocationTypes) UnmarshalJSON(bytes []byte) error
type GalleryDiskImage ¶
type GalleryDiskImage struct {
SizeInMB *int64 `json:"sizeInMB,omitempty"`
}
type GalleryImageId ¶
type GalleryImageId struct { SubscriptionId string ResourceGroupName string GalleryImageName string }
GalleryImageId is a struct representing the Resource ID for a Gallery Image
func NewGalleryImageID ¶
func NewGalleryImageID(subscriptionId string, resourceGroupName string, galleryImageName string) GalleryImageId
NewGalleryImageID returns a new GalleryImageId struct
func ParseGalleryImageID ¶
func ParseGalleryImageID(input string) (*GalleryImageId, error)
ParseGalleryImageID parses 'input' into a GalleryImageId
func ParseGalleryImageIDInsensitively ¶
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 ¶
func (id *GalleryImageId) FromParseResult(input resourceids.ParseResult) error
func (GalleryImageId) ID ¶
func (id GalleryImageId) ID() string
ID returns the formatted Gallery Image ID
func (GalleryImageId) Segments ¶
func (id GalleryImageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gallery Image ID
func (GalleryImageId) String ¶
func (id GalleryImageId) String() string
String returns a human-readable description of this Gallery Image ID
type GalleryImageIdentifier ¶
type GalleryImageProperties ¶
type GalleryImageProperties struct { CloudInitDataSource *CloudInitDataSource `json:"cloudInitDataSource,omitempty"` ContainerId *string `json:"containerId,omitempty"` HyperVGeneration *HyperVGeneration `json:"hyperVGeneration,omitempty"` Identifier *GalleryImageIdentifier `json:"identifier,omitempty"` ImagePath *string `json:"imagePath,omitempty"` OsType OperatingSystemTypes `json:"osType"` ProvisioningState *ProvisioningStateEnum `json:"provisioningState,omitempty"` Status *GalleryImageStatus `json:"status,omitempty"` Version *GalleryImageVersion `json:"version,omitempty"` }
type GalleryImageStatus ¶
type GalleryImageStatus struct { DownloadStatus *GalleryImageStatusDownloadStatus `json:"downloadStatus,omitempty"` ErrorCode *string `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ProgressPercentage *int64 `json:"progressPercentage,omitempty"` ProvisioningStatus *GalleryImageStatusProvisioningStatus `json:"provisioningStatus,omitempty"` }
type GalleryImageStatusDownloadStatus ¶
type GalleryImageStatusDownloadStatus struct {
DownloadSizeInMB *int64 `json:"downloadSizeInMB,omitempty"`
}
type GalleryImageVersion ¶
type GalleryImageVersion struct { Name *string `json:"name,omitempty"` Properties *GalleryImageVersionProperties `json:"properties,omitempty"` }
type GalleryImageVersionProperties ¶
type GalleryImageVersionProperties struct {
StorageProfile GalleryImageVersionStorageProfile `json:"storageProfile"`
}
type GalleryImageVersionStorageProfile ¶
type GalleryImageVersionStorageProfile struct {
OsDiskImage *GalleryDiskImage `json:"osDiskImage,omitempty"`
}
type GalleryImages ¶
type GalleryImages struct { ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *GalleryImageProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type GalleryImagesClient ¶
type GalleryImagesClient struct {
Client *resourcemanager.Client
}
func NewGalleryImagesClientWithBaseURI ¶
func NewGalleryImagesClientWithBaseURI(sdkApi sdkEnv.Api) (*GalleryImagesClient, error)
func (GalleryImagesClient) CreateOrUpdate ¶
func (c GalleryImagesClient) CreateOrUpdate(ctx context.Context, id GalleryImageId, input GalleryImages) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GalleryImagesClient) CreateOrUpdateThenPoll ¶
func (c GalleryImagesClient) CreateOrUpdateThenPoll(ctx context.Context, id GalleryImageId, input GalleryImages) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GalleryImagesClient) Delete ¶
func (c GalleryImagesClient) Delete(ctx context.Context, id GalleryImageId) (result DeleteOperationResponse, err error)
Delete ...
func (GalleryImagesClient) DeleteThenPoll ¶
func (c GalleryImagesClient) DeleteThenPoll(ctx context.Context, id GalleryImageId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GalleryImagesClient) Get ¶
func (c GalleryImagesClient) Get(ctx context.Context, id GalleryImageId) (result GetOperationResponse, err error)
Get ...
func (GalleryImagesClient) List ¶
func (c GalleryImagesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (GalleryImagesClient) ListAll ¶
func (c GalleryImagesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
ListAll ...
func (GalleryImagesClient) ListAllComplete ¶
func (c GalleryImagesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
ListAllComplete retrieves all the results into a single object
func (GalleryImagesClient) ListAllCompleteMatchingPredicate ¶
func (c GalleryImagesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate GalleryImagesOperationPredicate) (result ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GalleryImagesClient) ListComplete ¶
func (c GalleryImagesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (GalleryImagesClient) ListCompleteMatchingPredicate ¶
func (c GalleryImagesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate GalleryImagesOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GalleryImagesClient) Update ¶
func (c GalleryImagesClient) Update(ctx context.Context, id GalleryImageId, input GalleryImagesUpdateRequest) (result UpdateOperationResponse, err error)
Update ...
func (GalleryImagesClient) UpdateThenPoll ¶
func (c GalleryImagesClient) UpdateThenPoll(ctx context.Context, id GalleryImageId, input GalleryImagesUpdateRequest) error
UpdateThenPoll performs Update then polls until it's completed
type GalleryImagesOperationPredicate ¶
type GalleryImagesOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (GalleryImagesOperationPredicate) Matches ¶
func (p GalleryImagesOperationPredicate) Matches(input GalleryImages) bool
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GalleryImages }
type HyperVGeneration ¶
type HyperVGeneration string
const ( HyperVGenerationVOne HyperVGeneration = "V1" HyperVGenerationVTwo HyperVGeneration = "V2" )
func (*HyperVGeneration) UnmarshalJSON ¶
func (s *HyperVGeneration) UnmarshalJSON(bytes []byte) error
type ListAllCompleteResult ¶
type ListAllCompleteResult struct { LatestHttpResponse *http.Response Items []GalleryImages }
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GalleryImages }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []GalleryImages }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GalleryImages }
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
func (*OperatingSystemTypes) UnmarshalJSON ¶
func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) error
type ProvisioningStateEnum ¶
type ProvisioningStateEnum string
const ( ProvisioningStateEnumAccepted ProvisioningStateEnum = "Accepted" ProvisioningStateEnumCanceled ProvisioningStateEnum = "Canceled" ProvisioningStateEnumDeleting ProvisioningStateEnum = "Deleting" ProvisioningStateEnumFailed ProvisioningStateEnum = "Failed" ProvisioningStateEnumInProgress ProvisioningStateEnum = "InProgress" ProvisioningStateEnumSucceeded ProvisioningStateEnum = "Succeeded" )
func (*ProvisioningStateEnum) UnmarshalJSON ¶
func (s *ProvisioningStateEnum) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_galleryimage.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listall.go
- method_update.go
- model_extendedlocation.go
- model_gallerydiskimage.go
- model_galleryimageidentifier.go
- model_galleryimageproperties.go
- model_galleryimages.go
- model_galleryimagestatus.go
- model_galleryimagestatusdownloadstatus.go
- model_galleryimagestatusprovisioningstatus.go
- model_galleryimagesupdaterequest.go
- model_galleryimageversion.go
- model_galleryimageversionproperties.go
- model_galleryimageversionstorageprofile.go
- predicates.go
- version.go