Documentation ¶
Index ¶
- func PossibleValuesForCloudInitDataSource() []string
- func PossibleValuesForExtendedLocationTypes() []string
- func PossibleValuesForHyperVGeneration() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForProvisioningStateEnum() []string
- func PossibleValuesForStatus() []string
- func ValidateMarketplaceGalleryImageID(input interface{}, key string) (warnings []string, errors []error)
- type CloudInitDataSource
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExtendedLocation
- type ExtendedLocationTypes
- type GalleryDiskImage
- type GalleryImageIdentifier
- type GalleryImageVersion
- type GalleryImageVersionProperties
- type GalleryImageVersionStorageProfile
- type GetOperationResponse
- type HyperVGeneration
- type ListAllCompleteResult
- type ListAllOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type MarketplaceGalleryImageId
- type MarketplaceGalleryImageProperties
- type MarketplaceGalleryImageStatus
- type MarketplaceGalleryImageStatusDownloadStatus
- type MarketplaceGalleryImageStatusProvisioningStatus
- type MarketplaceGalleryImages
- type MarketplaceGalleryImagesClient
- func (c MarketplaceGalleryImagesClient) CreateOrUpdate(ctx context.Context, id MarketplaceGalleryImageId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c MarketplaceGalleryImagesClient) CreateOrUpdateThenPoll(ctx context.Context, id MarketplaceGalleryImageId, ...) error
- func (c MarketplaceGalleryImagesClient) Delete(ctx context.Context, id MarketplaceGalleryImageId) (result DeleteOperationResponse, err error)
- func (c MarketplaceGalleryImagesClient) DeleteThenPoll(ctx context.Context, id MarketplaceGalleryImageId) error
- func (c MarketplaceGalleryImagesClient) Get(ctx context.Context, id MarketplaceGalleryImageId) (result GetOperationResponse, err error)
- func (c MarketplaceGalleryImagesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c MarketplaceGalleryImagesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
- func (c MarketplaceGalleryImagesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
- func (c MarketplaceGalleryImagesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllCompleteResult, err error)
- func (c MarketplaceGalleryImagesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c MarketplaceGalleryImagesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c MarketplaceGalleryImagesClient) Update(ctx context.Context, id MarketplaceGalleryImageId, ...) (result UpdateOperationResponse, err error)
- func (c MarketplaceGalleryImagesClient) UpdateThenPoll(ctx context.Context, id MarketplaceGalleryImageId, ...) error
- type MarketplaceGalleryImagesOperationPredicate
- type MarketplaceGalleryImagesUpdateRequest
- 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 ValidateMarketplaceGalleryImageID ¶
func ValidateMarketplaceGalleryImageID(input interface{}, key string) (warnings []string, errors []error)
ValidateMarketplaceGalleryImageID checks that 'input' can be parsed as a Marketplace 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 GalleryImageIdentifier ¶
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MarketplaceGalleryImages }
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 []MarketplaceGalleryImages }
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MarketplaceGalleryImages }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []MarketplaceGalleryImages }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MarketplaceGalleryImages }
type MarketplaceGalleryImageId ¶
type MarketplaceGalleryImageId struct { SubscriptionId string ResourceGroupName string MarketplaceGalleryImageName string }
MarketplaceGalleryImageId is a struct representing the Resource ID for a Marketplace Gallery Image
func NewMarketplaceGalleryImageID ¶
func NewMarketplaceGalleryImageID(subscriptionId string, resourceGroupName string, marketplaceGalleryImageName string) MarketplaceGalleryImageId
NewMarketplaceGalleryImageID returns a new MarketplaceGalleryImageId struct
func ParseMarketplaceGalleryImageID ¶
func ParseMarketplaceGalleryImageID(input string) (*MarketplaceGalleryImageId, error)
ParseMarketplaceGalleryImageID parses 'input' into a MarketplaceGalleryImageId
func ParseMarketplaceGalleryImageIDInsensitively ¶
func ParseMarketplaceGalleryImageIDInsensitively(input string) (*MarketplaceGalleryImageId, error)
ParseMarketplaceGalleryImageIDInsensitively parses 'input' case-insensitively into a MarketplaceGalleryImageId note: this method should only be used for API response data and not user input
func (*MarketplaceGalleryImageId) FromParseResult ¶
func (id *MarketplaceGalleryImageId) FromParseResult(input resourceids.ParseResult) error
func (MarketplaceGalleryImageId) ID ¶
func (id MarketplaceGalleryImageId) ID() string
ID returns the formatted Marketplace Gallery Image ID
func (MarketplaceGalleryImageId) Segments ¶
func (id MarketplaceGalleryImageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Marketplace Gallery Image ID
func (MarketplaceGalleryImageId) String ¶
func (id MarketplaceGalleryImageId) String() string
String returns a human-readable description of this Marketplace Gallery Image ID
type MarketplaceGalleryImageProperties ¶
type MarketplaceGalleryImageProperties struct { CloudInitDataSource *CloudInitDataSource `json:"cloudInitDataSource,omitempty"` ContainerId *string `json:"containerId,omitempty"` HyperVGeneration *HyperVGeneration `json:"hyperVGeneration,omitempty"` Identifier *GalleryImageIdentifier `json:"identifier,omitempty"` OsType OperatingSystemTypes `json:"osType"` ProvisioningState *ProvisioningStateEnum `json:"provisioningState,omitempty"` Status *MarketplaceGalleryImageStatus `json:"status,omitempty"` Version *GalleryImageVersion `json:"version,omitempty"` }
type MarketplaceGalleryImageStatus ¶
type MarketplaceGalleryImageStatus struct { DownloadStatus *MarketplaceGalleryImageStatusDownloadStatus `json:"downloadStatus,omitempty"` ErrorCode *string `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ProgressPercentage *int64 `json:"progressPercentage,omitempty"` ProvisioningStatus *MarketplaceGalleryImageStatusProvisioningStatus `json:"provisioningStatus,omitempty"` }
type MarketplaceGalleryImageStatusDownloadStatus ¶
type MarketplaceGalleryImageStatusDownloadStatus struct {
DownloadSizeInMB *int64 `json:"downloadSizeInMB,omitempty"`
}
type MarketplaceGalleryImages ¶
type MarketplaceGalleryImages struct { ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *MarketplaceGalleryImageProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type MarketplaceGalleryImagesClient ¶
type MarketplaceGalleryImagesClient struct {
Client *resourcemanager.Client
}
func NewMarketplaceGalleryImagesClientWithBaseURI ¶
func NewMarketplaceGalleryImagesClientWithBaseURI(sdkApi sdkEnv.Api) (*MarketplaceGalleryImagesClient, error)
func (MarketplaceGalleryImagesClient) CreateOrUpdate ¶
func (c MarketplaceGalleryImagesClient) CreateOrUpdate(ctx context.Context, id MarketplaceGalleryImageId, input MarketplaceGalleryImages) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (MarketplaceGalleryImagesClient) CreateOrUpdateThenPoll ¶
func (c MarketplaceGalleryImagesClient) CreateOrUpdateThenPoll(ctx context.Context, id MarketplaceGalleryImageId, input MarketplaceGalleryImages) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (MarketplaceGalleryImagesClient) Delete ¶
func (c MarketplaceGalleryImagesClient) Delete(ctx context.Context, id MarketplaceGalleryImageId) (result DeleteOperationResponse, err error)
Delete ...
func (MarketplaceGalleryImagesClient) DeleteThenPoll ¶
func (c MarketplaceGalleryImagesClient) DeleteThenPoll(ctx context.Context, id MarketplaceGalleryImageId) error
DeleteThenPoll performs Delete then polls until it's completed
func (MarketplaceGalleryImagesClient) Get ¶
func (c MarketplaceGalleryImagesClient) Get(ctx context.Context, id MarketplaceGalleryImageId) (result GetOperationResponse, err error)
Get ...
func (MarketplaceGalleryImagesClient) List ¶
func (c MarketplaceGalleryImagesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (MarketplaceGalleryImagesClient) ListAll ¶
func (c MarketplaceGalleryImagesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
ListAll ...
func (MarketplaceGalleryImagesClient) ListAllComplete ¶
func (c MarketplaceGalleryImagesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
ListAllComplete retrieves all the results into a single object
func (MarketplaceGalleryImagesClient) ListAllCompleteMatchingPredicate ¶
func (c MarketplaceGalleryImagesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate MarketplaceGalleryImagesOperationPredicate) (result ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MarketplaceGalleryImagesClient) ListComplete ¶
func (c MarketplaceGalleryImagesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (MarketplaceGalleryImagesClient) ListCompleteMatchingPredicate ¶
func (c MarketplaceGalleryImagesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate MarketplaceGalleryImagesOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MarketplaceGalleryImagesClient) Update ¶
func (c MarketplaceGalleryImagesClient) Update(ctx context.Context, id MarketplaceGalleryImageId, input MarketplaceGalleryImagesUpdateRequest) (result UpdateOperationResponse, err error)
Update ...
func (MarketplaceGalleryImagesClient) UpdateThenPoll ¶
func (c MarketplaceGalleryImagesClient) UpdateThenPoll(ctx context.Context, id MarketplaceGalleryImageId, input MarketplaceGalleryImagesUpdateRequest) error
UpdateThenPoll performs Update then polls until it's completed
type MarketplaceGalleryImagesOperationPredicate ¶
type MarketplaceGalleryImagesOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (MarketplaceGalleryImagesOperationPredicate) Matches ¶
func (p MarketplaceGalleryImagesOperationPredicate) Matches(input MarketplaceGalleryImages) bool
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_marketplacegalleryimage.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_galleryimageversion.go
- model_galleryimageversionproperties.go
- model_galleryimageversionstorageprofile.go
- model_marketplacegalleryimageproperties.go
- model_marketplacegalleryimages.go
- model_marketplacegalleryimagestatus.go
- model_marketplacegalleryimagestatusdownloadstatus.go
- model_marketplacegalleryimagestatusprovisioningstatus.go
- model_marketplacegalleryimagesupdaterequest.go
- predicates.go
- version.go