Documentation ¶
Index ¶
- func PossibleValuesForHyperVGeneration() []string
- func PossibleValuesForOperatingSystemStateTypes() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateGalleryImageID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Disallowed
- type GalleryImage
- type GalleryImageFeature
- type GalleryImageId
- type GalleryImageIdentifier
- type GalleryImageOperationPredicate
- type GalleryImageProperties
- type GalleryImageUpdate
- type GalleryImagesClient
- func (c GalleryImagesClient) CreateOrUpdate(ctx context.Context, id GalleryImageId, input GalleryImage) (result CreateOrUpdateOperationResponse, err error)
- func (c GalleryImagesClient) CreateOrUpdateThenPoll(ctx context.Context, id GalleryImageId, input GalleryImage) 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) ListByGallery(ctx context.Context, id commonids.SharedImageGalleryId) (result ListByGalleryOperationResponse, err error)
- func (c GalleryImagesClient) ListByGalleryComplete(ctx context.Context, id commonids.SharedImageGalleryId) (ListByGalleryCompleteResult, error)
- func (c GalleryImagesClient) ListByGalleryCompleteMatchingPredicate(ctx context.Context, id commonids.SharedImageGalleryId, ...) (result ListByGalleryCompleteResult, err error)
- func (c GalleryImagesClient) Update(ctx context.Context, id GalleryImageId, input GalleryImageUpdate) (result UpdateOperationResponse, err error)
- func (c GalleryImagesClient) UpdateThenPoll(ctx context.Context, id GalleryImageId, input GalleryImageUpdate) error
- type GetOperationResponse
- type HyperVGeneration
- type ImagePurchasePlan
- type ListByGalleryCompleteResult
- type ListByGalleryOperationResponse
- type OperatingSystemStateTypes
- type OperatingSystemTypes
- type ProvisioningState
- type RecommendedMachineConfiguration
- type ResourceRange
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHyperVGeneration ¶
func PossibleValuesForHyperVGeneration() []string
func PossibleValuesForOperatingSystemStateTypes ¶
func PossibleValuesForOperatingSystemStateTypes() []string
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateGalleryImageID ¶ added in v0.20230523.1140858
ValidateGalleryImageID checks that 'input' can be parsed as a Gallery Image ID
Types ¶
type DeleteOperationResponse ¶
type Disallowed ¶
type Disallowed struct {
DiskTypes *[]string `json:"diskTypes,omitempty"`
}
type GalleryImage ¶
type GalleryImageFeature ¶
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 GalleryImageIdentifier ¶
type GalleryImageOperationPredicate ¶
type GalleryImageOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (GalleryImageOperationPredicate) Matches ¶
func (p GalleryImageOperationPredicate) Matches(input GalleryImage) bool
type GalleryImageProperties ¶
type GalleryImageProperties struct { Description *string `json:"description,omitempty"` Disallowed *Disallowed `json:"disallowed,omitempty"` EndOfLifeDate *string `json:"endOfLifeDate,omitempty"` Eula *string `json:"eula,omitempty"` Features *[]GalleryImageFeature `json:"features,omitempty"` HyperVGeneration *HyperVGeneration `json:"hyperVGeneration,omitempty"` Identifier GalleryImageIdentifier `json:"identifier"` OsState OperatingSystemStateTypes `json:"osState"` OsType OperatingSystemTypes `json:"osType"` PrivacyStatementUri *string `json:"privacyStatementUri,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PurchasePlan *ImagePurchasePlan `json:"purchasePlan,omitempty"` Recommended *RecommendedMachineConfiguration `json:"recommended,omitempty"` ReleaseNoteUri *string `json:"releaseNoteUri,omitempty"` }
func (*GalleryImageProperties) GetEndOfLifeDateAsTime ¶
func (o *GalleryImageProperties) GetEndOfLifeDateAsTime() (*time.Time, error)
func (*GalleryImageProperties) SetEndOfLifeDateAsTime ¶
func (o *GalleryImageProperties) SetEndOfLifeDateAsTime(input time.Time)
type GalleryImageUpdate ¶
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 GalleryImage) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GalleryImagesClient) CreateOrUpdateThenPoll ¶
func (c GalleryImagesClient) CreateOrUpdateThenPoll(ctx context.Context, id GalleryImageId, input GalleryImage) 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) ListByGallery ¶
func (c GalleryImagesClient) ListByGallery(ctx context.Context, id commonids.SharedImageGalleryId) (result ListByGalleryOperationResponse, err error)
ListByGallery ...
func (GalleryImagesClient) ListByGalleryComplete ¶
func (c GalleryImagesClient) ListByGalleryComplete(ctx context.Context, id commonids.SharedImageGalleryId) (ListByGalleryCompleteResult, error)
ListByGalleryComplete retrieves all the results into a single object
func (GalleryImagesClient) ListByGalleryCompleteMatchingPredicate ¶
func (c GalleryImagesClient) ListByGalleryCompleteMatchingPredicate(ctx context.Context, id commonids.SharedImageGalleryId, predicate GalleryImageOperationPredicate) (result ListByGalleryCompleteResult, err error)
ListByGalleryCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GalleryImagesClient) Update ¶
func (c GalleryImagesClient) Update(ctx context.Context, id GalleryImageId, input GalleryImageUpdate) (result UpdateOperationResponse, err error)
Update ...
func (GalleryImagesClient) UpdateThenPoll ¶
func (c GalleryImagesClient) UpdateThenPoll(ctx context.Context, id GalleryImageId, input GalleryImageUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GalleryImage }
type HyperVGeneration ¶
type HyperVGeneration string
const ( HyperVGenerationVOne HyperVGeneration = "V1" HyperVGenerationVTwo HyperVGeneration = "V2" )
func (*HyperVGeneration) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *HyperVGeneration) UnmarshalJSON(bytes []byte) error
type ImagePurchasePlan ¶
type ListByGalleryCompleteResult ¶
type ListByGalleryCompleteResult struct {
Items []GalleryImage
}
type ListByGalleryOperationResponse ¶
type ListByGalleryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GalleryImage }
type OperatingSystemStateTypes ¶
type OperatingSystemStateTypes string
const ( OperatingSystemStateTypesGeneralized OperatingSystemStateTypes = "Generalized" OperatingSystemStateTypesSpecialized OperatingSystemStateTypes = "Specialized" )
func (*OperatingSystemStateTypes) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *OperatingSystemStateTypes) UnmarshalJSON(bytes []byte) error
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
func (*OperatingSystemTypes) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) 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" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RecommendedMachineConfiguration ¶
type RecommendedMachineConfiguration struct { Memory *ResourceRange `json:"memory,omitempty"` VCPUs *ResourceRange `json:"vCPUs,omitempty"` }
type ResourceRange ¶
Source Files ¶
- client.go
- constants.go
- id_galleryimage.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbygallery.go
- method_update.go
- model_disallowed.go
- model_galleryimage.go
- model_galleryimagefeature.go
- model_galleryimageidentifier.go
- model_galleryimageproperties.go
- model_galleryimageupdate.go
- model_imagepurchaseplan.go
- model_recommendedmachineconfiguration.go
- model_resourcerange.go
- predicates.go
- version.go