Documentation ¶
Index ¶
- func PossibleValuesForAlternativeType() []string
- func PossibleValuesForArchitectureTypes() []string
- func PossibleValuesForHyperVGenerationTypes() []string
- func PossibleValuesForImageState() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForVMDiskTypes() []string
- func ValidateEdgeZoneID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateEdgeZonePublisherID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOfferID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOfferSkuID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOfferSkuVersionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePublisherID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSkuID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSkuVersionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVMImageOfferID(input interface{}, key string) (warnings []string, errors []error)
- type AlternativeOption
- type AlternativeType
- type ArchitectureTypes
- type AutomaticOSUpgradeProperties
- type DataDiskImage
- type DisallowedConfiguration
- type EdgeZoneGetOperationResponse
- type EdgeZoneId
- type EdgeZoneListOffersOperationResponse
- type EdgeZoneListOperationOptions
- type EdgeZoneListOperationResponse
- type EdgeZoneListPublishersOperationResponse
- type EdgeZoneListSkusOperationResponse
- type EdgeZonePublisherId
- type GetOperationResponse
- type HyperVGenerationTypes
- type ImageDeprecationStatus
- type ImageState
- type ListByEdgeZoneCompleteResult
- type ListByEdgeZoneCustomPager
- type ListByEdgeZoneOperationResponse
- type ListOffersOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type ListPublishersOperationResponse
- type ListSkusOperationResponse
- type LocationId
- type OSDiskImage
- type OfferId
- type OfferSkuId
- type OfferSkuVersionId
- type OperatingSystemTypes
- type PublisherId
- type PurchasePlan
- type SkuId
- type SkuVersionId
- type VMDiskTypes
- type VMImageOfferId
- type VirtualMachineImage
- type VirtualMachineImageFeature
- type VirtualMachineImageProperties
- type VirtualMachineImageResource
- type VirtualMachineImageResourceOperationPredicate
- type VirtualMachineImagesClient
- func (c VirtualMachineImagesClient) EdgeZoneGet(ctx context.Context, id OfferSkuVersionId) (result EdgeZoneGetOperationResponse, err error)
- func (c VirtualMachineImagesClient) EdgeZoneList(ctx context.Context, id OfferSkuId, options EdgeZoneListOperationOptions) (result EdgeZoneListOperationResponse, err error)
- func (c VirtualMachineImagesClient) EdgeZoneListOffers(ctx context.Context, id EdgeZonePublisherId) (result EdgeZoneListOffersOperationResponse, err error)
- func (c VirtualMachineImagesClient) EdgeZoneListPublishers(ctx context.Context, id EdgeZoneId) (result EdgeZoneListPublishersOperationResponse, err error)
- func (c VirtualMachineImagesClient) EdgeZoneListSkus(ctx context.Context, id VMImageOfferId) (result EdgeZoneListSkusOperationResponse, err error)
- func (c VirtualMachineImagesClient) Get(ctx context.Context, id SkuVersionId) (result GetOperationResponse, err error)
- func (c VirtualMachineImagesClient) List(ctx context.Context, id SkuId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c VirtualMachineImagesClient) ListByEdgeZone(ctx context.Context, id EdgeZoneId) (result ListByEdgeZoneOperationResponse, err error)
- func (c VirtualMachineImagesClient) ListByEdgeZoneComplete(ctx context.Context, id EdgeZoneId) (ListByEdgeZoneCompleteResult, error)
- func (c VirtualMachineImagesClient) ListByEdgeZoneCompleteMatchingPredicate(ctx context.Context, id EdgeZoneId, ...) (result ListByEdgeZoneCompleteResult, err error)
- func (c VirtualMachineImagesClient) ListOffers(ctx context.Context, id PublisherId) (result ListOffersOperationResponse, err error)
- func (c VirtualMachineImagesClient) ListPublishers(ctx context.Context, id LocationId) (result ListPublishersOperationResponse, err error)
- func (c VirtualMachineImagesClient) ListSkus(ctx context.Context, id OfferId) (result ListSkusOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAlternativeType ¶
func PossibleValuesForAlternativeType() []string
func PossibleValuesForArchitectureTypes ¶
func PossibleValuesForArchitectureTypes() []string
func PossibleValuesForHyperVGenerationTypes ¶
func PossibleValuesForHyperVGenerationTypes() []string
func PossibleValuesForImageState ¶
func PossibleValuesForImageState() []string
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func PossibleValuesForVMDiskTypes ¶
func PossibleValuesForVMDiskTypes() []string
func ValidateEdgeZoneID ¶
ValidateEdgeZoneID checks that 'input' can be parsed as a Edge Zone ID
func ValidateEdgeZonePublisherID ¶
ValidateEdgeZonePublisherID checks that 'input' can be parsed as a Edge Zone Publisher ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateOfferID ¶
ValidateOfferID checks that 'input' can be parsed as a Offer ID
func ValidateOfferSkuID ¶
ValidateOfferSkuID checks that 'input' can be parsed as a Offer Sku ID
func ValidateOfferSkuVersionID ¶
ValidateOfferSkuVersionID checks that 'input' can be parsed as a Offer Sku Version ID
func ValidatePublisherID ¶
ValidatePublisherID checks that 'input' can be parsed as a Publisher ID
func ValidateSkuID ¶
ValidateSkuID checks that 'input' can be parsed as a Sku ID
func ValidateSkuVersionID ¶
ValidateSkuVersionID checks that 'input' can be parsed as a Sku Version ID
func ValidateVMImageOfferID ¶
ValidateVMImageOfferID checks that 'input' can be parsed as a V M Image Offer ID
Types ¶
type AlternativeOption ¶
type AlternativeOption struct { Type *AlternativeType `json:"type,omitempty"` Value *string `json:"value,omitempty"` }
type AlternativeType ¶
type AlternativeType string
const ( AlternativeTypeNone AlternativeType = "None" AlternativeTypeOffer AlternativeType = "Offer" AlternativeTypePlan AlternativeType = "Plan" )
func (*AlternativeType) UnmarshalJSON ¶
func (s *AlternativeType) UnmarshalJSON(bytes []byte) error
type ArchitectureTypes ¶
type ArchitectureTypes string
const ( ArchitectureTypesArmSixFour ArchitectureTypes = "Arm64" ArchitectureTypesXSixFour ArchitectureTypes = "x64" )
func (*ArchitectureTypes) UnmarshalJSON ¶
func (s *ArchitectureTypes) UnmarshalJSON(bytes []byte) error
type AutomaticOSUpgradeProperties ¶
type AutomaticOSUpgradeProperties struct {
AutomaticOSUpgradeSupported bool `json:"automaticOSUpgradeSupported"`
}
type DataDiskImage ¶
type DataDiskImage struct {
Lun *int64 `json:"lun,omitempty"`
}
type DisallowedConfiguration ¶
type DisallowedConfiguration struct {
VMDiskType *VMDiskTypes `json:"vmDiskType,omitempty"`
}
type EdgeZoneGetOperationResponse ¶
type EdgeZoneGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualMachineImage }
type EdgeZoneId ¶
EdgeZoneId is a struct representing the Resource ID for a Edge Zone
func NewEdgeZoneID ¶
func NewEdgeZoneID(subscriptionId string, locationName string, edgeZoneName string) EdgeZoneId
NewEdgeZoneID returns a new EdgeZoneId struct
func ParseEdgeZoneID ¶
func ParseEdgeZoneID(input string) (*EdgeZoneId, error)
ParseEdgeZoneID parses 'input' into a EdgeZoneId
func ParseEdgeZoneIDInsensitively ¶
func ParseEdgeZoneIDInsensitively(input string) (*EdgeZoneId, error)
ParseEdgeZoneIDInsensitively parses 'input' case-insensitively into a EdgeZoneId note: this method should only be used for API response data and not user input
func (*EdgeZoneId) FromParseResult ¶
func (id *EdgeZoneId) FromParseResult(input resourceids.ParseResult) error
func (EdgeZoneId) Segments ¶
func (id EdgeZoneId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Edge Zone ID
func (EdgeZoneId) String ¶
func (id EdgeZoneId) String() string
String returns a human-readable description of this Edge Zone ID
type EdgeZoneListOffersOperationResponse ¶
type EdgeZoneListOffersOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineImageResource }
type EdgeZoneListOperationOptions ¶
func DefaultEdgeZoneListOperationOptions ¶
func DefaultEdgeZoneListOperationOptions() EdgeZoneListOperationOptions
func (EdgeZoneListOperationOptions) ToHeaders ¶
func (o EdgeZoneListOperationOptions) ToHeaders() *client.Headers
func (EdgeZoneListOperationOptions) ToOData ¶
func (o EdgeZoneListOperationOptions) ToOData() *odata.Query
func (EdgeZoneListOperationOptions) ToQuery ¶
func (o EdgeZoneListOperationOptions) ToQuery() *client.QueryParams
type EdgeZoneListOperationResponse ¶
type EdgeZoneListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineImageResource }
type EdgeZoneListPublishersOperationResponse ¶
type EdgeZoneListPublishersOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineImageResource }
type EdgeZoneListSkusOperationResponse ¶
type EdgeZoneListSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineImageResource }
type EdgeZonePublisherId ¶
type EdgeZonePublisherId struct { SubscriptionId string LocationName string EdgeZoneName string PublisherName string }
EdgeZonePublisherId is a struct representing the Resource ID for a Edge Zone Publisher
func NewEdgeZonePublisherID ¶
func NewEdgeZonePublisherID(subscriptionId string, locationName string, edgeZoneName string, publisherName string) EdgeZonePublisherId
NewEdgeZonePublisherID returns a new EdgeZonePublisherId struct
func ParseEdgeZonePublisherID ¶
func ParseEdgeZonePublisherID(input string) (*EdgeZonePublisherId, error)
ParseEdgeZonePublisherID parses 'input' into a EdgeZonePublisherId
func ParseEdgeZonePublisherIDInsensitively ¶
func ParseEdgeZonePublisherIDInsensitively(input string) (*EdgeZonePublisherId, error)
ParseEdgeZonePublisherIDInsensitively parses 'input' case-insensitively into a EdgeZonePublisherId note: this method should only be used for API response data and not user input
func (*EdgeZonePublisherId) FromParseResult ¶
func (id *EdgeZonePublisherId) FromParseResult(input resourceids.ParseResult) error
func (EdgeZonePublisherId) ID ¶
func (id EdgeZonePublisherId) ID() string
ID returns the formatted Edge Zone Publisher ID
func (EdgeZonePublisherId) Segments ¶
func (id EdgeZonePublisherId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Edge Zone Publisher ID
func (EdgeZonePublisherId) String ¶
func (id EdgeZonePublisherId) String() string
String returns a human-readable description of this Edge Zone Publisher ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualMachineImage }
type HyperVGenerationTypes ¶
type HyperVGenerationTypes string
const ( HyperVGenerationTypesVOne HyperVGenerationTypes = "V1" HyperVGenerationTypesVTwo HyperVGenerationTypes = "V2" )
func (*HyperVGenerationTypes) UnmarshalJSON ¶
func (s *HyperVGenerationTypes) UnmarshalJSON(bytes []byte) error
type ImageDeprecationStatus ¶
type ImageDeprecationStatus struct { AlternativeOption *AlternativeOption `json:"alternativeOption,omitempty"` ImageState *ImageState `json:"imageState,omitempty"` ScheduledDeprecationTime *string `json:"scheduledDeprecationTime,omitempty"` }
func (*ImageDeprecationStatus) GetScheduledDeprecationTimeAsTime ¶
func (o *ImageDeprecationStatus) GetScheduledDeprecationTimeAsTime() (*time.Time, error)
func (*ImageDeprecationStatus) SetScheduledDeprecationTimeAsTime ¶
func (o *ImageDeprecationStatus) SetScheduledDeprecationTimeAsTime(input time.Time)
type ImageState ¶
type ImageState string
const ( ImageStateActive ImageState = "Active" ImageStateDeprecated ImageState = "Deprecated" ImageStateScheduledForDeprecation ImageState = "ScheduledForDeprecation" )
func (*ImageState) UnmarshalJSON ¶
func (s *ImageState) UnmarshalJSON(bytes []byte) error
type ListByEdgeZoneCompleteResult ¶ added in v0.20240226.1173038
type ListByEdgeZoneCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualMachineImageResource }
type ListByEdgeZoneCustomPager ¶ added in v0.20240628.1153531
func (*ListByEdgeZoneCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByEdgeZoneCustomPager) NextPageLink() *odata.Link
type ListByEdgeZoneOperationResponse ¶
type ListByEdgeZoneOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineImageResource }
type ListOffersOperationResponse ¶
type ListOffersOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineImageResource }
type ListOperationOptions ¶
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 *[]VirtualMachineImageResource }
type ListPublishersOperationResponse ¶
type ListPublishersOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineImageResource }
type ListSkusOperationResponse ¶
type ListSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineImageResource }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type OSDiskImage ¶
type OSDiskImage struct {
OperatingSystem OperatingSystemTypes `json:"operatingSystem"`
}
type OfferId ¶
type OfferId struct { SubscriptionId string LocationName string PublisherName string OfferName string }
OfferId is a struct representing the Resource ID for a Offer
func NewOfferID ¶
func NewOfferID(subscriptionId string, locationName string, publisherName string, offerName string) OfferId
NewOfferID returns a new OfferId struct
func ParseOfferID ¶
ParseOfferID parses 'input' into a OfferId
func ParseOfferIDInsensitively ¶
ParseOfferIDInsensitively parses 'input' case-insensitively into a OfferId note: this method should only be used for API response data and not user input
func (*OfferId) FromParseResult ¶
func (id *OfferId) FromParseResult(input resourceids.ParseResult) error
func (OfferId) Segments ¶
func (id OfferId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Offer ID
type OfferSkuId ¶
type OfferSkuId struct { SubscriptionId string LocationName string EdgeZoneName string PublisherName string OfferName string SkuName string }
OfferSkuId is a struct representing the Resource ID for a Offer Sku
func NewOfferSkuID ¶
func NewOfferSkuID(subscriptionId string, locationName string, edgeZoneName string, publisherName string, offerName string, skuName string) OfferSkuId
NewOfferSkuID returns a new OfferSkuId struct
func ParseOfferSkuID ¶
func ParseOfferSkuID(input string) (*OfferSkuId, error)
ParseOfferSkuID parses 'input' into a OfferSkuId
func ParseOfferSkuIDInsensitively ¶
func ParseOfferSkuIDInsensitively(input string) (*OfferSkuId, error)
ParseOfferSkuIDInsensitively parses 'input' case-insensitively into a OfferSkuId note: this method should only be used for API response data and not user input
func (*OfferSkuId) FromParseResult ¶
func (id *OfferSkuId) FromParseResult(input resourceids.ParseResult) error
func (OfferSkuId) Segments ¶
func (id OfferSkuId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Offer Sku ID
func (OfferSkuId) String ¶
func (id OfferSkuId) String() string
String returns a human-readable description of this Offer Sku ID
type OfferSkuVersionId ¶
type OfferSkuVersionId struct { SubscriptionId string LocationName string EdgeZoneName string PublisherName string OfferName string SkuName string VersionName string }
OfferSkuVersionId is a struct representing the Resource ID for a Offer Sku Version
func NewOfferSkuVersionID ¶
func NewOfferSkuVersionID(subscriptionId string, locationName string, edgeZoneName string, publisherName string, offerName string, skuName string, versionName string) OfferSkuVersionId
NewOfferSkuVersionID returns a new OfferSkuVersionId struct
func ParseOfferSkuVersionID ¶
func ParseOfferSkuVersionID(input string) (*OfferSkuVersionId, error)
ParseOfferSkuVersionID parses 'input' into a OfferSkuVersionId
func ParseOfferSkuVersionIDInsensitively ¶
func ParseOfferSkuVersionIDInsensitively(input string) (*OfferSkuVersionId, error)
ParseOfferSkuVersionIDInsensitively parses 'input' case-insensitively into a OfferSkuVersionId note: this method should only be used for API response data and not user input
func (*OfferSkuVersionId) FromParseResult ¶
func (id *OfferSkuVersionId) FromParseResult(input resourceids.ParseResult) error
func (OfferSkuVersionId) ID ¶
func (id OfferSkuVersionId) ID() string
ID returns the formatted Offer Sku Version ID
func (OfferSkuVersionId) Segments ¶
func (id OfferSkuVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Offer Sku Version ID
func (OfferSkuVersionId) String ¶
func (id OfferSkuVersionId) String() string
String returns a human-readable description of this Offer Sku Version ID
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
func (*OperatingSystemTypes) UnmarshalJSON ¶
func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) error
type PublisherId ¶
PublisherId is a struct representing the Resource ID for a Publisher
func NewPublisherID ¶
func NewPublisherID(subscriptionId string, locationName string, publisherName string) PublisherId
NewPublisherID returns a new PublisherId struct
func ParsePublisherID ¶
func ParsePublisherID(input string) (*PublisherId, error)
ParsePublisherID parses 'input' into a PublisherId
func ParsePublisherIDInsensitively ¶
func ParsePublisherIDInsensitively(input string) (*PublisherId, error)
ParsePublisherIDInsensitively parses 'input' case-insensitively into a PublisherId note: this method should only be used for API response data and not user input
func (*PublisherId) FromParseResult ¶
func (id *PublisherId) FromParseResult(input resourceids.ParseResult) error
func (PublisherId) Segments ¶
func (id PublisherId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Publisher ID
func (PublisherId) String ¶
func (id PublisherId) String() string
String returns a human-readable description of this Publisher ID
type PurchasePlan ¶
type SkuId ¶
type SkuId struct { SubscriptionId string LocationName string PublisherName string OfferName string SkuName string }
SkuId is a struct representing the Resource ID for a Sku
func NewSkuID ¶
func NewSkuID(subscriptionId string, locationName string, publisherName string, offerName string, skuName string) SkuId
NewSkuID returns a new SkuId struct
func ParseSkuID ¶
ParseSkuID parses 'input' into a SkuId
func ParseSkuIDInsensitively ¶
ParseSkuIDInsensitively parses 'input' case-insensitively into a SkuId note: this method should only be used for API response data and not user input
func (*SkuId) FromParseResult ¶
func (id *SkuId) FromParseResult(input resourceids.ParseResult) error
func (SkuId) Segments ¶
func (id SkuId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sku ID
type SkuVersionId ¶
type SkuVersionId struct { SubscriptionId string LocationName string PublisherName string OfferName string SkuName string VersionName string }
SkuVersionId is a struct representing the Resource ID for a Sku Version
func NewSkuVersionID ¶
func NewSkuVersionID(subscriptionId string, locationName string, publisherName string, offerName string, skuName string, versionName string) SkuVersionId
NewSkuVersionID returns a new SkuVersionId struct
func ParseSkuVersionID ¶
func ParseSkuVersionID(input string) (*SkuVersionId, error)
ParseSkuVersionID parses 'input' into a SkuVersionId
func ParseSkuVersionIDInsensitively ¶
func ParseSkuVersionIDInsensitively(input string) (*SkuVersionId, error)
ParseSkuVersionIDInsensitively parses 'input' case-insensitively into a SkuVersionId note: this method should only be used for API response data and not user input
func (*SkuVersionId) FromParseResult ¶
func (id *SkuVersionId) FromParseResult(input resourceids.ParseResult) error
func (SkuVersionId) Segments ¶
func (id SkuVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sku Version ID
func (SkuVersionId) String ¶
func (id SkuVersionId) String() string
String returns a human-readable description of this Sku Version ID
type VMDiskTypes ¶
type VMDiskTypes string
const ( VMDiskTypesNone VMDiskTypes = "None" VMDiskTypesUnmanaged VMDiskTypes = "Unmanaged" )
func (*VMDiskTypes) UnmarshalJSON ¶
func (s *VMDiskTypes) UnmarshalJSON(bytes []byte) error
type VMImageOfferId ¶
type VMImageOfferId struct { SubscriptionId string LocationName string EdgeZoneName string PublisherName string OfferName string }
VMImageOfferId is a struct representing the Resource ID for a V M Image Offer
func NewVMImageOfferID ¶
func NewVMImageOfferID(subscriptionId string, locationName string, edgeZoneName string, publisherName string, offerName string) VMImageOfferId
NewVMImageOfferID returns a new VMImageOfferId struct
func ParseVMImageOfferID ¶
func ParseVMImageOfferID(input string) (*VMImageOfferId, error)
ParseVMImageOfferID parses 'input' into a VMImageOfferId
func ParseVMImageOfferIDInsensitively ¶
func ParseVMImageOfferIDInsensitively(input string) (*VMImageOfferId, error)
ParseVMImageOfferIDInsensitively parses 'input' case-insensitively into a VMImageOfferId note: this method should only be used for API response data and not user input
func (*VMImageOfferId) FromParseResult ¶
func (id *VMImageOfferId) FromParseResult(input resourceids.ParseResult) error
func (VMImageOfferId) ID ¶
func (id VMImageOfferId) ID() string
ID returns the formatted V M Image Offer ID
func (VMImageOfferId) Segments ¶
func (id VMImageOfferId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this V M Image Offer ID
func (VMImageOfferId) String ¶
func (id VMImageOfferId) String() string
String returns a human-readable description of this V M Image Offer ID
type VirtualMachineImage ¶
type VirtualMachineImage struct { ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name string `json:"name"` Properties *VirtualMachineImageProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type VirtualMachineImageProperties ¶
type VirtualMachineImageProperties struct { Architecture *ArchitectureTypes `json:"architecture,omitempty"` AutomaticOSUpgradeProperties *AutomaticOSUpgradeProperties `json:"automaticOSUpgradeProperties,omitempty"` DataDiskImages *[]DataDiskImage `json:"dataDiskImages,omitempty"` Disallowed *DisallowedConfiguration `json:"disallowed,omitempty"` Features *[]VirtualMachineImageFeature `json:"features,omitempty"` HyperVGeneration *HyperVGenerationTypes `json:"hyperVGeneration,omitempty"` ImageDeprecationStatus *ImageDeprecationStatus `json:"imageDeprecationStatus,omitempty"` OsDiskImage *OSDiskImage `json:"osDiskImage,omitempty"` Plan *PurchasePlan `json:"plan,omitempty"` }
type VirtualMachineImageResourceOperationPredicate ¶ added in v0.20240226.1173038
type VirtualMachineImageResourceOperationPredicate struct { Id *string Location *string Name *string }
func (VirtualMachineImageResourceOperationPredicate) Matches ¶ added in v0.20240226.1173038
func (p VirtualMachineImageResourceOperationPredicate) Matches(input VirtualMachineImageResource) bool
type VirtualMachineImagesClient ¶
type VirtualMachineImagesClient struct {
Client *resourcemanager.Client
}
func NewVirtualMachineImagesClientWithBaseURI ¶
func NewVirtualMachineImagesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineImagesClient, error)
func (VirtualMachineImagesClient) EdgeZoneGet ¶
func (c VirtualMachineImagesClient) EdgeZoneGet(ctx context.Context, id OfferSkuVersionId) (result EdgeZoneGetOperationResponse, err error)
EdgeZoneGet ...
func (VirtualMachineImagesClient) EdgeZoneList ¶
func (c VirtualMachineImagesClient) EdgeZoneList(ctx context.Context, id OfferSkuId, options EdgeZoneListOperationOptions) (result EdgeZoneListOperationResponse, err error)
EdgeZoneList ...
func (VirtualMachineImagesClient) EdgeZoneListOffers ¶
func (c VirtualMachineImagesClient) EdgeZoneListOffers(ctx context.Context, id EdgeZonePublisherId) (result EdgeZoneListOffersOperationResponse, err error)
EdgeZoneListOffers ...
func (VirtualMachineImagesClient) EdgeZoneListPublishers ¶
func (c VirtualMachineImagesClient) EdgeZoneListPublishers(ctx context.Context, id EdgeZoneId) (result EdgeZoneListPublishersOperationResponse, err error)
EdgeZoneListPublishers ...
func (VirtualMachineImagesClient) EdgeZoneListSkus ¶
func (c VirtualMachineImagesClient) EdgeZoneListSkus(ctx context.Context, id VMImageOfferId) (result EdgeZoneListSkusOperationResponse, err error)
EdgeZoneListSkus ...
func (VirtualMachineImagesClient) Get ¶
func (c VirtualMachineImagesClient) Get(ctx context.Context, id SkuVersionId) (result GetOperationResponse, err error)
Get ...
func (VirtualMachineImagesClient) List ¶
func (c VirtualMachineImagesClient) List(ctx context.Context, id SkuId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (VirtualMachineImagesClient) ListByEdgeZone ¶
func (c VirtualMachineImagesClient) ListByEdgeZone(ctx context.Context, id EdgeZoneId) (result ListByEdgeZoneOperationResponse, err error)
ListByEdgeZone ...
func (VirtualMachineImagesClient) ListByEdgeZoneComplete ¶ added in v0.20240226.1173038
func (c VirtualMachineImagesClient) ListByEdgeZoneComplete(ctx context.Context, id EdgeZoneId) (ListByEdgeZoneCompleteResult, error)
ListByEdgeZoneComplete retrieves all the results into a single object
func (VirtualMachineImagesClient) ListByEdgeZoneCompleteMatchingPredicate ¶ added in v0.20240226.1173038
func (c VirtualMachineImagesClient) ListByEdgeZoneCompleteMatchingPredicate(ctx context.Context, id EdgeZoneId, predicate VirtualMachineImageResourceOperationPredicate) (result ListByEdgeZoneCompleteResult, err error)
ListByEdgeZoneCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualMachineImagesClient) ListOffers ¶
func (c VirtualMachineImagesClient) ListOffers(ctx context.Context, id PublisherId) (result ListOffersOperationResponse, err error)
ListOffers ...
func (VirtualMachineImagesClient) ListPublishers ¶
func (c VirtualMachineImagesClient) ListPublishers(ctx context.Context, id LocationId) (result ListPublishersOperationResponse, err error)
ListPublishers ...
func (VirtualMachineImagesClient) ListSkus ¶
func (c VirtualMachineImagesClient) ListSkus(ctx context.Context, id OfferId) (result ListSkusOperationResponse, err error)
ListSkus ...
Source Files ¶
- client.go
- constants.go
- id_edgezone.go
- id_edgezonepublisher.go
- id_location.go
- id_offer.go
- id_offersku.go
- id_offerskuversion.go
- id_publisher.go
- id_sku.go
- id_skuversion.go
- id_vmimageoffer.go
- method_edgezoneget.go
- method_edgezonelist.go
- method_edgezonelistoffers.go
- method_edgezonelistpublishers.go
- method_edgezonelistskus.go
- method_get.go
- method_list.go
- method_listbyedgezone.go
- method_listoffers.go
- method_listpublishers.go
- method_listskus.go
- model_alternativeoption.go
- model_automaticosupgradeproperties.go
- model_datadiskimage.go
- model_disallowedconfiguration.go
- model_imagedeprecationstatus.go
- model_osdiskimage.go
- model_purchaseplan.go
- model_virtualmachineimage.go
- model_virtualmachineimagefeature.go
- model_virtualmachineimageproperties.go
- model_virtualmachineimageresource.go
- predicates.go
- version.go