Documentation ¶
Index ¶
- func PossibleValuesForHyperVGeneration() []string
- func PossibleValuesForOperatingSystemStateTypes() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateGalleryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateGalleryImageID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Disallowed
- type GalleryId
- 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 GalleryId) (resp ListByGalleryOperationResponse, err error)
- func (c GalleryImagesClient) ListByGalleryComplete(ctx context.Context, id GalleryId) (ListByGalleryCompleteResult, error)
- func (c GalleryImagesClient) ListByGalleryCompleteMatchingPredicate(ctx context.Context, id GalleryId, predicate GalleryImageOperationPredicate) (resp 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 ValidateGalleryID ¶
ValidateGalleryID checks that 'input' can be parsed as a Gallery ID
func ValidateGalleryImageID ¶ added in v0.20230523.1140858
ValidateGalleryImageID checks that 'input' can be parsed as a Gallery Image ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type Disallowed ¶
type Disallowed struct {
DiskTypes *[]string `json:"diskTypes,omitempty"`
}
type GalleryId ¶
GalleryId is a struct representing the Resource ID for a Gallery
func NewGalleryID ¶
NewGalleryID returns a new GalleryId struct
func ParseGalleryID ¶
ParseGalleryID parses 'input' into a GalleryId
func ParseGalleryIDInsensitively ¶
ParseGalleryIDInsensitively parses 'input' case-insensitively into a GalleryId note: this method should only be used for API response data and not user input
func (GalleryId) Segments ¶
func (id GalleryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gallery ID
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) 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 autorest.Client // contains filtered or unexported fields }
func NewGalleryImagesClientWithBaseURI ¶
func NewGalleryImagesClientWithBaseURI(endpoint string) GalleryImagesClient
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 GalleryId) (resp ListByGalleryOperationResponse, err error)
ListByGallery ...
func (GalleryImagesClient) ListByGalleryComplete ¶
func (c GalleryImagesClient) ListByGalleryComplete(ctx context.Context, id GalleryId) (ListByGalleryCompleteResult, error)
ListByGalleryComplete retrieves all of the results into a single object
func (GalleryImagesClient) ListByGalleryCompleteMatchingPredicate ¶
func (c GalleryImagesClient) ListByGalleryCompleteMatchingPredicate(ctx context.Context, id GalleryId, predicate GalleryImageOperationPredicate) (resp ListByGalleryCompleteResult, err error)
ListByGalleryCompleteMatchingPredicate retrieves all of the results and then applied 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 Model *GalleryImage }
type HyperVGeneration ¶
type HyperVGeneration string
const ( HyperVGenerationVOne HyperVGeneration = "V1" HyperVGenerationVTwo HyperVGeneration = "V2" )
type ImagePurchasePlan ¶
type ListByGalleryCompleteResult ¶
type ListByGalleryCompleteResult struct {
Items []GalleryImage
}
type ListByGalleryOperationResponse ¶
type ListByGalleryOperationResponse struct { HttpResponse *http.Response Model *[]GalleryImage // contains filtered or unexported fields }
func (ListByGalleryOperationResponse) HasMore ¶
func (r ListByGalleryOperationResponse) HasMore() bool
func (ListByGalleryOperationResponse) LoadMore ¶
func (r ListByGalleryOperationResponse) LoadMore(ctx context.Context) (resp ListByGalleryOperationResponse, err error)
type OperatingSystemStateTypes ¶
type OperatingSystemStateTypes string
const ( OperatingSystemStateTypesGeneralized OperatingSystemStateTypes = "Generalized" OperatingSystemStateTypesSpecialized OperatingSystemStateTypes = "Specialized" )
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMigrating ProvisioningState = "Migrating" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type RecommendedMachineConfiguration ¶
type RecommendedMachineConfiguration struct { Memory *ResourceRange `json:"memory,omitempty"` VCPUs *ResourceRange `json:"vCPUs,omitempty"` }
type ResourceRange ¶
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_gallery.go
- id_galleryimage.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbygallery_autorest.go
- method_update_autorest.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