Documentation ¶
Index ¶
- func PossibleValuesForArchitecture() []string
- 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 Architecture
- 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) (result 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, ...) (result ListCompleteResult, err error)
- type SharedToValues
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForArchitecture ¶
func PossibleValuesForArchitecture() []string
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 Architecture ¶
type Architecture string
const ( ArchitectureArmSixFour Architecture = "Arm64" ArchitectureXSixFour Architecture = "x64" )
func (*Architecture) UnmarshalJSON ¶
func (s *Architecture) UnmarshalJSON(bytes []byte) error
type Disallowed ¶
type Disallowed struct {
DiskTypes *[]string `json:"diskTypes,omitempty"`
}
type GalleryImageFeature ¶
type GalleryImageIdentifier ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SharedGalleryImage }
type HyperVGeneration ¶
type HyperVGeneration string
const ( HyperVGenerationVOne HyperVGeneration = "V1" HyperVGenerationVTwo HyperVGeneration = "V2" )
func (*HyperVGeneration) UnmarshalJSON ¶
func (s *HyperVGeneration) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶
func (id *ImageId) FromParseResult(input resourceids.ParseResult) error
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 { LatestHttpResponse *http.Response Items []SharedGalleryImage }
type ListOperationOptions ¶
type ListOperationOptions struct {
}func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SharedGalleryImage }
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 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) FromParseResult ¶
func (id *SharedGalleryId) FromParseResult(input resourceids.ParseResult) error
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 {
}func NewSharedGalleryImagesClientWithBaseURI ¶
func NewSharedGalleryImagesClientWithBaseURI(sdkApi sdkEnv.Api) (*SharedGalleryImagesClient, error)
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) (result ListOperationResponse, err error)
List ...
func (SharedGalleryImagesClient) ListComplete ¶
func (c SharedGalleryImagesClient) ListComplete(ctx context.Context, id SharedGalleryId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SharedGalleryImagesClient) ListCompleteMatchingPredicate ¶
func (c SharedGalleryImagesClient) ListCompleteMatchingPredicate(ctx context.Context, id SharedGalleryId, options ListOperationOptions, predicate SharedGalleryImageOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type SharedToValues ¶
type SharedToValues string
const (
)func (*SharedToValues) UnmarshalJSON ¶
func (s *SharedToValues) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_image.go
- id_sharedgallery.go
- method_get.go
- method_list.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