Documentation ¶
Index ¶
- func PossibleValuesForHyperVGeneration() []string
- func PossibleValuesForOperatingSystemStateTypes() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForSharedToValues() []string
- func ValidateSharedGalleryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSharedGalleryImageID(input interface{}, key string) (warnings []string, errors []error)
- type Disallowed
- type GalleryImageFeature
- type GalleryImageIdentifier
- type GetOperationResponse
- type HyperVGeneration
- type ImagePurchasePlan
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type OperatingSystemStateTypes
- type OperatingSystemTypes
- type RecommendedMachineConfiguration
- type ResourceRange
- type SharedGalleryId
- type SharedGalleryIdentifier
- type SharedGalleryImage
- type SharedGalleryImageId
- type SharedGalleryImageOperationPredicate
- type SharedGalleryImageProperties
- type SharedGalleryImagesClient
- func (c SharedGalleryImagesClient) Get(ctx context.Context, id SharedGalleryImageId) (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 PossibleValuesForHyperVGeneration ¶
func PossibleValuesForHyperVGeneration() []string
func PossibleValuesForOperatingSystemStateTypes ¶
func PossibleValuesForOperatingSystemStateTypes() []string
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func PossibleValuesForSharedToValues ¶
func PossibleValuesForSharedToValues() []string
func ValidateSharedGalleryID ¶
ValidateSharedGalleryID checks that 'input' can be parsed as a Shared Gallery ID
func ValidateSharedGalleryImageID ¶
func ValidateSharedGalleryImageID(input interface{}, key string) (warnings []string, errors []error)
ValidateSharedGalleryImageID checks that 'input' can be parsed as a Shared Gallery Image ID
Types ¶
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 ImagePurchasePlan ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []SharedGalleryImage }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
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 SharedGalleryImageId ¶
type SharedGalleryImageId struct {}
SharedGalleryImageId is a struct representing the Resource ID for a Shared Gallery Image
func NewSharedGalleryImageID ¶
func NewSharedGalleryImageID(subscriptionId string, locationName string, sharedGalleryName string, imageName string) SharedGalleryImageId
NewSharedGalleryImageID returns a new SharedGalleryImageId struct
func ParseSharedGalleryImageID ¶
func ParseSharedGalleryImageID(input string) (*SharedGalleryImageId, error)
ParseSharedGalleryImageID parses 'input' into a SharedGalleryImageId
func ParseSharedGalleryImageIDInsensitively ¶
func ParseSharedGalleryImageIDInsensitively(input string) (*SharedGalleryImageId, error)
ParseSharedGalleryImageIDInsensitively parses 'input' case-insensitively into a SharedGalleryImageId note: this method should only be used for API response data and not user input
func (*SharedGalleryImageId) FromParseResult ¶
func (id *SharedGalleryImageId) FromParseResult(input resourceids.ParseResult) error
func (SharedGalleryImageId) ID ¶
func (id SharedGalleryImageId) ID() string
ID returns the formatted Shared Gallery Image ID
func (SharedGalleryImageId) Segments ¶
func (id SharedGalleryImageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Shared Gallery Image ID
func (SharedGalleryImageId) String ¶
func (id SharedGalleryImageId) String() string
String returns a human-readable description of this Shared Gallery Image ID
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 SharedGalleryImageId) (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_sharedgallery.go
- id_sharedgalleryimage.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