Documentation ¶
Index ¶
- func PossibleValuesForArchitecture() []string
- func PossibleValuesForHyperVGeneration() []string
- func PossibleValuesForOperatingSystemStateTypes() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func ValidateCommunityGalleryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCommunityGalleryImageID(input interface{}, key string) (warnings []string, errors []error)
- type Architecture
- type CommunityGalleryDisclaimer
- type CommunityGalleryId
- type CommunityGalleryIdentifier
- type CommunityGalleryImage
- type CommunityGalleryImageId
- func NewCommunityGalleryImageID(subscriptionId string, locationName string, communityGalleryName string, ...) CommunityGalleryImageId
- func ParseCommunityGalleryImageID(input string) (*CommunityGalleryImageId, error)
- func ParseCommunityGalleryImageIDInsensitively(input string) (*CommunityGalleryImageId, error)
- type CommunityGalleryImageIdentifier
- type CommunityGalleryImageOperationPredicate
- type CommunityGalleryImageProperties
- type CommunityGalleryImagesClient
- func (c CommunityGalleryImagesClient) Get(ctx context.Context, id CommunityGalleryImageId) (result GetOperationResponse, err error)
- func (c CommunityGalleryImagesClient) List(ctx context.Context, id CommunityGalleryId) (result ListOperationResponse, err error)
- func (c CommunityGalleryImagesClient) ListComplete(ctx context.Context, id CommunityGalleryId) (ListCompleteResult, error)
- func (c CommunityGalleryImagesClient) ListCompleteMatchingPredicate(ctx context.Context, id CommunityGalleryId, ...) (result ListCompleteResult, err error)
- type Disallowed
- type GalleryImageFeature
- type GetOperationResponse
- type HyperVGeneration
- type ImagePurchasePlan
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type OperatingSystemStateTypes
- type OperatingSystemTypes
- type RecommendedMachineConfiguration
- type ResourceRange
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 ValidateCommunityGalleryID ¶
ValidateCommunityGalleryID checks that 'input' can be parsed as a Community Gallery ID
func ValidateCommunityGalleryImageID ¶
func ValidateCommunityGalleryImageID(input interface{}, key string) (warnings []string, errors []error)
ValidateCommunityGalleryImageID checks that 'input' can be parsed as a Community Gallery Image 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 CommunityGalleryDisclaimer ¶
type CommunityGalleryDisclaimer struct {
Disclaimer *string `json:"disclaimer,omitempty"`
}
type CommunityGalleryId ¶
type CommunityGalleryId struct { SubscriptionId string LocationName string CommunityGalleryName string }
CommunityGalleryId is a struct representing the Resource ID for a Community Gallery
func NewCommunityGalleryID ¶
func NewCommunityGalleryID(subscriptionId string, locationName string, communityGalleryName string) CommunityGalleryId
NewCommunityGalleryID returns a new CommunityGalleryId struct
func ParseCommunityGalleryID ¶
func ParseCommunityGalleryID(input string) (*CommunityGalleryId, error)
ParseCommunityGalleryID parses 'input' into a CommunityGalleryId
func ParseCommunityGalleryIDInsensitively ¶
func ParseCommunityGalleryIDInsensitively(input string) (*CommunityGalleryId, error)
ParseCommunityGalleryIDInsensitively parses 'input' case-insensitively into a CommunityGalleryId note: this method should only be used for API response data and not user input
func (*CommunityGalleryId) FromParseResult ¶
func (id *CommunityGalleryId) FromParseResult(input resourceids.ParseResult) error
func (CommunityGalleryId) ID ¶
func (id CommunityGalleryId) ID() string
ID returns the formatted Community Gallery ID
func (CommunityGalleryId) Segments ¶
func (id CommunityGalleryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Community Gallery ID
func (CommunityGalleryId) String ¶
func (id CommunityGalleryId) String() string
String returns a human-readable description of this Community Gallery ID
type CommunityGalleryIdentifier ¶
type CommunityGalleryIdentifier struct {
UniqueId *string `json:"uniqueId,omitempty"`
}
type CommunityGalleryImage ¶
type CommunityGalleryImage struct { Identifier *CommunityGalleryIdentifier `json:"identifier,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *CommunityGalleryImageProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type CommunityGalleryImageId ¶
type CommunityGalleryImageId struct { SubscriptionId string LocationName string CommunityGalleryName string ImageName string }
CommunityGalleryImageId is a struct representing the Resource ID for a Community Gallery Image
func NewCommunityGalleryImageID ¶
func NewCommunityGalleryImageID(subscriptionId string, locationName string, communityGalleryName string, imageName string) CommunityGalleryImageId
NewCommunityGalleryImageID returns a new CommunityGalleryImageId struct
func ParseCommunityGalleryImageID ¶
func ParseCommunityGalleryImageID(input string) (*CommunityGalleryImageId, error)
ParseCommunityGalleryImageID parses 'input' into a CommunityGalleryImageId
func ParseCommunityGalleryImageIDInsensitively ¶
func ParseCommunityGalleryImageIDInsensitively(input string) (*CommunityGalleryImageId, error)
ParseCommunityGalleryImageIDInsensitively parses 'input' case-insensitively into a CommunityGalleryImageId note: this method should only be used for API response data and not user input
func (*CommunityGalleryImageId) FromParseResult ¶
func (id *CommunityGalleryImageId) FromParseResult(input resourceids.ParseResult) error
func (CommunityGalleryImageId) ID ¶
func (id CommunityGalleryImageId) ID() string
ID returns the formatted Community Gallery Image ID
func (CommunityGalleryImageId) Segments ¶
func (id CommunityGalleryImageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Community Gallery Image ID
func (CommunityGalleryImageId) String ¶
func (id CommunityGalleryImageId) String() string
String returns a human-readable description of this Community Gallery Image ID
type CommunityGalleryImageOperationPredicate ¶
func (CommunityGalleryImageOperationPredicate) Matches ¶
func (p CommunityGalleryImageOperationPredicate) Matches(input CommunityGalleryImage) bool
type CommunityGalleryImageProperties ¶
type CommunityGalleryImageProperties struct { Architecture *Architecture `json:"architecture,omitempty"` ArtifactTags *map[string]string `json:"artifactTags,omitempty"` Disallowed *Disallowed `json:"disallowed,omitempty"` Disclaimer *CommunityGalleryDisclaimer `json:"disclaimer,omitempty"` EndOfLifeDate *string `json:"endOfLifeDate,omitempty"` Eula *string `json:"eula,omitempty"` Features *[]GalleryImageFeature `json:"features,omitempty"` HyperVGeneration *HyperVGeneration `json:"hyperVGeneration,omitempty"` Identifier CommunityGalleryImageIdentifier `json:"identifier"` OsState OperatingSystemStateTypes `json:"osState"` OsType OperatingSystemTypes `json:"osType"` PrivacyStatementUri *string `json:"privacyStatementUri,omitempty"` PurchasePlan *ImagePurchasePlan `json:"purchasePlan,omitempty"` Recommended *RecommendedMachineConfiguration `json:"recommended,omitempty"` }
func (*CommunityGalleryImageProperties) GetEndOfLifeDateAsTime ¶
func (o *CommunityGalleryImageProperties) GetEndOfLifeDateAsTime() (*time.Time, error)
func (*CommunityGalleryImageProperties) SetEndOfLifeDateAsTime ¶
func (o *CommunityGalleryImageProperties) SetEndOfLifeDateAsTime(input time.Time)
type CommunityGalleryImagesClient ¶
type CommunityGalleryImagesClient struct {
Client *resourcemanager.Client
}
func NewCommunityGalleryImagesClientWithBaseURI ¶
func NewCommunityGalleryImagesClientWithBaseURI(sdkApi sdkEnv.Api) (*CommunityGalleryImagesClient, error)
func (CommunityGalleryImagesClient) Get ¶
func (c CommunityGalleryImagesClient) Get(ctx context.Context, id CommunityGalleryImageId) (result GetOperationResponse, err error)
Get ...
func (CommunityGalleryImagesClient) List ¶
func (c CommunityGalleryImagesClient) List(ctx context.Context, id CommunityGalleryId) (result ListOperationResponse, err error)
List ...
func (CommunityGalleryImagesClient) ListComplete ¶
func (c CommunityGalleryImagesClient) ListComplete(ctx context.Context, id CommunityGalleryId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CommunityGalleryImagesClient) ListCompleteMatchingPredicate ¶
func (c CommunityGalleryImagesClient) ListCompleteMatchingPredicate(ctx context.Context, id CommunityGalleryId, predicate CommunityGalleryImageOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type Disallowed ¶
type Disallowed struct {
DiskTypes *[]string `json:"diskTypes,omitempty"`
}
type GalleryImageFeature ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CommunityGalleryImage }
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 []CommunityGalleryImage }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CommunityGalleryImage }
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 ¶
Source Files ¶
- client.go
- constants.go
- id_communitygallery.go
- id_communitygalleryimage.go
- method_get.go
- method_list.go
- model_communitygallerydisclaimer.go
- model_communitygalleryidentifier.go
- model_communitygalleryimage.go
- model_communitygalleryimageidentifier.go
- model_communitygalleryimageproperties.go
- model_disallowed.go
- model_galleryimagefeature.go
- model_imagepurchaseplan.go
- model_recommendedmachineconfiguration.go
- model_resourcerange.go
- predicates.go
- version.go