Documentation ¶
Index ¶
- func PossibleValuesForHyperVGeneration() []string
- func PossibleValuesForOperatingSystemStateTypes() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForSharedToValues() []string
- func ValidateImageID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSharedGalleryID(input interface{}, key string) (warnings []string, errors []error)
- type Disallowed
- type GalleryImageFeature
- type GalleryImageIdentifier
- type GetOperationResponse
- type HyperVGeneration
- type ImageId
- type ImagePurchasePlan
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type OperatingSystemStateTypes
- type OperatingSystemTypes
- type RecommendedMachineConfiguration
- type ResourceRange
- type SharedGalleryId
- type SharedGalleryIdentifier
- type SharedGalleryImage
- type SharedGalleryImageOperationPredicate
- type SharedGalleryImageProperties
- type SharedGalleryImagesClient
- func (c SharedGalleryImagesClient) Get(ctx context.Context, id ImageId) (result GetOperationResponse, err error)
- func (c SharedGalleryImagesClient) List(ctx context.Context, id SharedGalleryId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c SharedGalleryImagesClient) ListComplete(ctx context.Context, id SharedGalleryId, options ListOperationOptions) (ListCompleteResult, error)
- func (c SharedGalleryImagesClient) ListCompleteMatchingPredicate(ctx context.Context, id SharedGalleryId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type SharedToValues
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 PossibleValuesForSharedToValues ¶
func PossibleValuesForSharedToValues() []string
func ValidateImageID ¶
ValidateImageID checks that 'input' can be parsed as a Image ID
func ValidateSharedGalleryID ¶
ValidateSharedGalleryID checks that 'input' can be parsed as a Shared Gallery ID
Types ¶
type Disallowed ¶
type Disallowed struct {
DiskTypes *[]string `json:"diskTypes,omitempty"`
}
type GalleryImageFeature ¶
type GalleryImageIdentifier ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *SharedGalleryImage }
type HyperVGeneration ¶
type HyperVGeneration string
const ( HyperVGenerationVOne HyperVGeneration = "V1" HyperVGenerationVTwo HyperVGeneration = "V2" )
type ImageId ¶
ImageId is a struct representing the Resource ID for a Image
func NewImageID ¶
func NewImageID(subscriptionId string, locationName string, sharedGalleryName string, imageName 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 ListCompleteResult ¶
type ListCompleteResult struct {
Items []SharedGalleryImage
}
type ListOperationOptions ¶
type ListOperationOptions struct {
}func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]SharedGalleryImage // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, 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 RecommendedMachineConfiguration ¶
type RecommendedMachineConfiguration struct { Memory *ResourceRange `json:"memory,omitempty"` VCPUs *ResourceRange `json:"vCPUs,omitempty"` }
type ResourceRange ¶
type SharedGalleryId ¶
type SharedGalleryId struct {}
SharedGalleryId is a struct representing the Resource ID for a Shared Gallery
func NewSharedGalleryID ¶
func NewSharedGalleryID(subscriptionId string, locationName string, sharedGalleryName string) SharedGalleryId
NewSharedGalleryID returns a new SharedGalleryId struct
func ParseSharedGalleryID ¶
func ParseSharedGalleryID(input string) (*SharedGalleryId, error)
ParseSharedGalleryID parses 'input' into a SharedGalleryId
func ParseSharedGalleryIDInsensitively ¶
func ParseSharedGalleryIDInsensitively(input string) (*SharedGalleryId, error)
ParseSharedGalleryIDInsensitively parses 'input' case-insensitively into a SharedGalleryId note: this method should only be used for API response data and not user input
func (SharedGalleryId) ID ¶
func (id SharedGalleryId) ID() string
ID returns the formatted Shared Gallery ID
func (SharedGalleryId) Segments ¶
func (id SharedGalleryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Shared Gallery ID
func (SharedGalleryId) String ¶
func (id SharedGalleryId) String() string
String returns a human-readable description of this Shared Gallery ID
type SharedGalleryIdentifier ¶
type SharedGalleryIdentifier struct {
}type SharedGalleryImage ¶
type SharedGalleryImage struct {}
type SharedGalleryImageOperationPredicate ¶
type SharedGalleryImageOperationPredicate struct {}
func (SharedGalleryImageOperationPredicate) Matches ¶
func (p SharedGalleryImageOperationPredicate) Matches(input SharedGalleryImage) bool
type SharedGalleryImageProperties ¶
type SharedGalleryImageProperties struct {}
func (*SharedGalleryImageProperties) GetEndOfLifeDateAsTime ¶
func (o *SharedGalleryImageProperties) GetEndOfLifeDateAsTime() (*time.Time, error)
func (*SharedGalleryImageProperties) SetEndOfLifeDateAsTime ¶
func (o *SharedGalleryImageProperties) SetEndOfLifeDateAsTime(input time.Time)
type SharedGalleryImagesClient ¶
type SharedGalleryImagesClient struct { // contains filtered or unexported fields }
func NewSharedGalleryImagesClientWithBaseURI ¶
func NewSharedGalleryImagesClientWithBaseURI(endpoint string) SharedGalleryImagesClient
func (SharedGalleryImagesClient) Get ¶
func (c SharedGalleryImagesClient) Get(ctx context.Context, id ImageId) (result GetOperationResponse, err error)
Get ...
func (SharedGalleryImagesClient) List ¶
func (c SharedGalleryImagesClient) List(ctx context.Context, id SharedGalleryId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (SharedGalleryImagesClient) ListComplete ¶
func (c SharedGalleryImagesClient) ListComplete(ctx context.Context, id SharedGalleryId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (SharedGalleryImagesClient) ListCompleteMatchingPredicate ¶
func (c SharedGalleryImagesClient) ListCompleteMatchingPredicate(ctx context.Context, id SharedGalleryId, options ListOperationOptions, predicate SharedGalleryImageOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
Source Files ¶
- client.go
- constants.go
- id_image.go
- id_sharedgallery.go
- method_get_autorest.go
- method_list_autorest.go
- model_disallowed.go
- model_galleryimagefeature.go
- model_galleryimageidentifier.go
- model_imagepurchaseplan.go
- model_recommendedmachineconfiguration.go
- model_resourcerange.go
- model_sharedgalleryidentifier.go
- model_sharedgalleryimage.go
- model_sharedgalleryimageproperties.go
- predicates.go
- version.go