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 ValidateImageID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Disallowed
- type GalleryId
- type GalleryImage
- type GalleryImageFeature
- type GalleryImageIdentifier
- type GalleryImageOperationPredicate
- type GalleryImageProperties
- type GalleryImageUpdate
- type GalleryImagesClient
- func (c GalleryImagesClient) CreateOrUpdate(ctx context.Context, id ImageId, input GalleryImage) (result CreateOrUpdateOperationResponse, err error)
- func (c GalleryImagesClient) CreateOrUpdateThenPoll(ctx context.Context, id ImageId, input GalleryImage) error
- func (c GalleryImagesClient) Delete(ctx context.Context, id ImageId) (result DeleteOperationResponse, err error)
- func (c GalleryImagesClient) DeleteThenPoll(ctx context.Context, id ImageId) error
- func (c GalleryImagesClient) Get(ctx context.Context, id ImageId) (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 ImageId, input GalleryImageUpdate) (result UpdateOperationResponse, err error)
- func (c GalleryImagesClient) UpdateThenPoll(ctx context.Context, id ImageId, input GalleryImageUpdate) error
- type GetOperationResponse
- type HyperVGeneration
- type ImageId
- 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 ValidateImageID ¶
ValidateImageID checks that 'input' can be parsed as a 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 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"` 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"` Recommended *RecommendedMachineConfiguration `json:"recommended"` 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 ImageId, input GalleryImage) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GalleryImagesClient) CreateOrUpdateThenPoll ¶
func (c GalleryImagesClient) CreateOrUpdateThenPoll(ctx context.Context, id ImageId, input GalleryImage) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GalleryImagesClient) Delete ¶
func (c GalleryImagesClient) Delete(ctx context.Context, id ImageId) (result DeleteOperationResponse, err error)
Delete ...
func (GalleryImagesClient) DeleteThenPoll ¶
func (c GalleryImagesClient) DeleteThenPoll(ctx context.Context, id ImageId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GalleryImagesClient) Get ¶
func (c GalleryImagesClient) Get(ctx context.Context, id ImageId) (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 ImageId, input GalleryImageUpdate) (result UpdateOperationResponse, err error)
Update ...
func (GalleryImagesClient) UpdateThenPoll ¶
func (c GalleryImagesClient) UpdateThenPoll(ctx context.Context, id ImageId, 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 ImageId ¶
type ImageId struct { SubscriptionId string Location string GalleryUniqueName string GalleryImageName string }
ImageId is a struct representing the Resource ID for a Image
func NewImageID ¶
func NewImageID(subscriptionId string, location string, galleryUniqueName string, galleryImageName string) ImageId
NewImageID returns a new ImageId struct
func ParseImageID ¶
ParseImageID parses 'input' into a ImageId
func ParseImageIDInsensitively ¶
ParseImageIDInsensitively parses 'input' case-insensitively into a ImageId note: this method should only be used for API response data and not user input
func (ImageId) Segments ¶
func (id ImageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Image ID
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"` VCPUs *ResourceRange `json:"vCPUs"` }
type ResourceRange ¶
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_gallery.go
- id_image.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