Documentation ¶
Index ¶
- func PossibleValuesForArchitecture() []string
- func PossibleValuesForGalleryProvisioningState() []string
- func PossibleValuesForHyperVGeneration() []string
- func PossibleValuesForOperatingSystemStateTypes() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func ValidateGalleryImageID(input interface{}, key string) (warnings []string, errors []error)
- type Architecture
- 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 GalleryProvisioningState
- type GetOperationResponse
- type HyperVGeneration
- type ImagePurchasePlan
- type ListByGalleryCompleteResult
- type ListByGalleryCustomPager
- type ListByGalleryOperationResponse
- type OperatingSystemStateTypes
- type OperatingSystemTypes
- type RecommendedMachineConfiguration
- type ResourceRange
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForArchitecture ¶
func PossibleValuesForArchitecture() []string
func PossibleValuesForGalleryProvisioningState ¶
func PossibleValuesForGalleryProvisioningState() []string
func PossibleValuesForHyperVGeneration ¶
func PossibleValuesForHyperVGeneration() []string
func PossibleValuesForOperatingSystemStateTypes ¶
func PossibleValuesForOperatingSystemStateTypes() []string
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func ValidateGalleryImageID ¶
ValidateGalleryImageID checks that 'input' can be parsed as a Gallery Image ID
Types ¶
type Architecture ¶
type Architecture string
const ( ArchitectureArmSixFour Architecture = "Arm64" ArchitectureXSixFour Architecture = "x64" )
func (*Architecture) UnmarshalJSON ¶
func (s *Architecture) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type Disallowed ¶
type Disallowed struct {
DiskTypes *[]string `json:"diskTypes,omitempty"`
}
type GalleryImage ¶
type GalleryImageFeature ¶
type GalleryImageId ¶
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 ¶
func NewGalleryImageID(subscriptionId string, resourceGroupName string, galleryName string, imageName 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 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 { Architecture *Architecture `json:"architecture,omitempty"` 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 *GalleryProvisioningState `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 GalleryProvisioningState ¶
type GalleryProvisioningState string
const ( GalleryProvisioningStateCreating GalleryProvisioningState = "Creating" GalleryProvisioningStateDeleting GalleryProvisioningState = "Deleting" GalleryProvisioningStateFailed GalleryProvisioningState = "Failed" GalleryProvisioningStateMigrating GalleryProvisioningState = "Migrating" GalleryProvisioningStateSucceeded GalleryProvisioningState = "Succeeded" GalleryProvisioningStateUpdating GalleryProvisioningState = "Updating" )
func (*GalleryProvisioningState) UnmarshalJSON ¶
func (s *GalleryProvisioningState) UnmarshalJSON(bytes []byte) error
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 ¶
func (s *HyperVGeneration) UnmarshalJSON(bytes []byte) error
type ImagePurchasePlan ¶
type ListByGalleryCompleteResult ¶
type ListByGalleryCompleteResult struct { LatestHttpResponse *http.Response Items []GalleryImage }
type ListByGalleryCustomPager ¶ added in v0.20240628.1153531
func (*ListByGalleryCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByGalleryCustomPager) NextPageLink() *odata.Link
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 ¶
func (s *OperatingSystemStateTypes) UnmarshalJSON(bytes []byte) error
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
func (*OperatingSystemTypes) UnmarshalJSON ¶
func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) error
type RecommendedMachineConfiguration ¶
type RecommendedMachineConfiguration struct { Memory *ResourceRange `json:"memory,omitempty"` VCPUs *ResourceRange `json:"vCPUs,omitempty"` }
type ResourceRange ¶
type UpdateOperationResponse ¶
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