virtualmachineimages

package
v0.20220822.1081404 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/compute/2021-11-01/virtualmachineimages Documentation

The virtualmachineimages SDK allows for interaction with the Azure Resource Manager Service compute (API Version 2021-11-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/compute/2021-11-01/virtualmachineimages"

Client Initialization

client := virtualmachineimages.NewVirtualMachineImagesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VirtualMachineImagesClient.EdgeZoneGet

ctx := context.TODO()
id := virtualmachineimages.NewOfferSkuVersionID("12345678-1234-9876-4563-123456789012", "locationValue", "edgeZoneValue", "publisherValue", "offerValue", "skusValue", "versionValue")

read, err := client.EdgeZoneGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachineImagesClient.EdgeZoneList

ctx := context.TODO()
id := virtualmachineimages.NewOfferSkuID("12345678-1234-9876-4563-123456789012", "locationValue", "edgeZoneValue", "publisherValue", "offerValue", "skusValue")

read, err := client.EdgeZoneList(ctx, id, virtualmachineimages.DefaultEdgeZoneListOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachineImagesClient.EdgeZoneListOffers

ctx := context.TODO()
id := virtualmachineimages.NewEdgeZonePublisherID("12345678-1234-9876-4563-123456789012", "locationValue", "edgeZoneValue", "publisherValue")

read, err := client.EdgeZoneListOffers(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachineImagesClient.EdgeZoneListPublishers

ctx := context.TODO()
id := virtualmachineimages.NewEdgeZoneID("12345678-1234-9876-4563-123456789012", "locationValue", "edgeZoneValue")

read, err := client.EdgeZoneListPublishers(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachineImagesClient.EdgeZoneListSkus

ctx := context.TODO()
id := virtualmachineimages.NewVmImageOfferID("12345678-1234-9876-4563-123456789012", "locationValue", "edgeZoneValue", "publisherValue", "offerValue")

read, err := client.EdgeZoneListSkus(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachineImagesClient.Get

ctx := context.TODO()
id := virtualmachineimages.NewSkuVersionID("12345678-1234-9876-4563-123456789012", "locationValue", "publisherValue", "offerValue", "skusValue", "versionValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachineImagesClient.List

ctx := context.TODO()
id := virtualmachineimages.NewSkuID("12345678-1234-9876-4563-123456789012", "locationValue", "publisherValue", "offerValue", "skusValue")

read, err := client.List(ctx, id, virtualmachineimages.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachineImagesClient.ListOffers

ctx := context.TODO()
id := virtualmachineimages.NewPublisherID("12345678-1234-9876-4563-123456789012", "locationValue", "publisherValue")

read, err := client.ListOffers(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachineImagesClient.ListPublishers

ctx := context.TODO()
id := virtualmachineimages.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")

read, err := client.ListPublishers(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualMachineImagesClient.ListSkus

ctx := context.TODO()
id := virtualmachineimages.NewOfferID("12345678-1234-9876-4563-123456789012", "locationValue", "publisherValue", "offerValue")

read, err := client.ListSkus(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForArchitectureTypes

func PossibleValuesForArchitectureTypes() []string

func PossibleValuesForHyperVGenerationTypes

func PossibleValuesForHyperVGenerationTypes() []string

func PossibleValuesForOperatingSystemTypes

func PossibleValuesForOperatingSystemTypes() []string

func PossibleValuesForVmDiskTypes

func PossibleValuesForVmDiskTypes() []string

func ValidateEdgeZoneID

func ValidateEdgeZoneID(input interface{}, key string) (warnings []string, errors []error)

ValidateEdgeZoneID checks that 'input' can be parsed as a Edge Zone ID

func ValidateEdgeZonePublisherID

func ValidateEdgeZonePublisherID(input interface{}, key string) (warnings []string, errors []error)

ValidateEdgeZonePublisherID checks that 'input' can be parsed as a Edge Zone Publisher ID

func ValidateLocationID

func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)

ValidateLocationID checks that 'input' can be parsed as a Location ID

func ValidateOfferID

func ValidateOfferID(input interface{}, key string) (warnings []string, errors []error)

ValidateOfferID checks that 'input' can be parsed as a Offer ID

func ValidateOfferSkuID

func ValidateOfferSkuID(input interface{}, key string) (warnings []string, errors []error)

ValidateOfferSkuID checks that 'input' can be parsed as a Offer Sku ID

func ValidateOfferSkuVersionID

func ValidateOfferSkuVersionID(input interface{}, key string) (warnings []string, errors []error)

ValidateOfferSkuVersionID checks that 'input' can be parsed as a Offer Sku Version ID

func ValidatePublisherID

func ValidatePublisherID(input interface{}, key string) (warnings []string, errors []error)

ValidatePublisherID checks that 'input' can be parsed as a Publisher ID

func ValidateSkuID

func ValidateSkuID(input interface{}, key string) (warnings []string, errors []error)

ValidateSkuID checks that 'input' can be parsed as a Sku ID

func ValidateSkuVersionID

func ValidateSkuVersionID(input interface{}, key string) (warnings []string, errors []error)

ValidateSkuVersionID checks that 'input' can be parsed as a Sku Version ID

func ValidateVmImageOfferID

func ValidateVmImageOfferID(input interface{}, key string) (warnings []string, errors []error)

ValidateVmImageOfferID checks that 'input' can be parsed as a Vm Image Offer ID

Types

type ArchitectureTypes

type ArchitectureTypes string
const (
	ArchitectureTypesArmSixFour ArchitectureTypes = "Arm64"
	ArchitectureTypesXSixFour   ArchitectureTypes = "x64"
)

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
	Model        *VirtualMachineImage
}

type EdgeZoneId

type EdgeZoneId struct {
	SubscriptionId string
	Location       string
	EdgeZone       string
}

EdgeZoneId is a struct representing the Resource ID for a Edge Zone

func NewEdgeZoneID

func NewEdgeZoneID(subscriptionId string, location string, edgeZone 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) ID

func (id EdgeZoneId) ID() string

ID returns the formatted Edge Zone ID

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
	Model        *[]VirtualMachineImageResource
}

type EdgeZoneListOperationOptions

type EdgeZoneListOperationOptions struct {
	Expand  *string
	Orderby *string
	Top     *int64
}

func DefaultEdgeZoneListOperationOptions

func DefaultEdgeZoneListOperationOptions() EdgeZoneListOperationOptions

type EdgeZoneListOperationResponse

type EdgeZoneListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualMachineImageResource
}

type EdgeZoneListPublishersOperationResponse

type EdgeZoneListPublishersOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualMachineImageResource
}

type EdgeZoneListSkusOperationResponse

type EdgeZoneListSkusOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualMachineImageResource
}

type EdgeZonePublisherId

type EdgeZonePublisherId struct {
	SubscriptionId string
	Location       string
	EdgeZone       string
	PublisherName  string
}

EdgeZonePublisherId is a struct representing the Resource ID for a Edge Zone Publisher

func NewEdgeZonePublisherID

func NewEdgeZonePublisherID(subscriptionId string, location string, edgeZone 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) 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
	Model        *VirtualMachineImage
}

type HyperVGenerationTypes

type HyperVGenerationTypes string
const (
	HyperVGenerationTypesVOne HyperVGenerationTypes = "V1"
	HyperVGenerationTypesVTwo HyperVGenerationTypes = "V2"
)

type ListOffersOperationResponse

type ListOffersOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualMachineImageResource
}

type ListOperationOptions

type ListOperationOptions struct {
	Expand  *string
	Orderby *string
	Top     *int64
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualMachineImageResource
}

type ListPublishersOperationResponse

type ListPublishersOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualMachineImageResource
}

type ListSkusOperationResponse

type ListSkusOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]VirtualMachineImageResource
}

type LocationId

type LocationId struct {
	SubscriptionId string
	Location       string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, location 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) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

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
	Location       string
	PublisherName  string
	Offer          string
}

OfferId is a struct representing the Resource ID for a Offer

func NewOfferID

func NewOfferID(subscriptionId string, location string, publisherName string, offer string) OfferId

NewOfferID returns a new OfferId struct

func ParseOfferID

func ParseOfferID(input string) (*OfferId, error)

ParseOfferID parses 'input' into a OfferId

func ParseOfferIDInsensitively

func ParseOfferIDInsensitively(input string) (*OfferId, error)

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) ID

func (id OfferId) ID() string

ID returns the formatted Offer ID

func (OfferId) Segments

func (id OfferId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Offer ID

func (OfferId) String

func (id OfferId) String() string

String returns a human-readable description of this Offer ID

type OfferSkuId

type OfferSkuId struct {
	SubscriptionId string
	Location       string
	EdgeZone       string
	PublisherName  string
	Offer          string
	Skus           string
}

OfferSkuId is a struct representing the Resource ID for a Offer Sku

func NewOfferSkuID

func NewOfferSkuID(subscriptionId string, location string, edgeZone string, publisherName string, offer string, skus 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) ID

func (id OfferSkuId) ID() string

ID returns the formatted Offer Sku ID

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
	Location       string
	EdgeZone       string
	PublisherName  string
	Offer          string
	Skus           string
	Version        string
}

OfferSkuVersionId is a struct representing the Resource ID for a Offer Sku Version

func NewOfferSkuVersionID

func NewOfferSkuVersionID(subscriptionId string, location string, edgeZone string, publisherName string, offer string, skus string, version 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) 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"
)

type PublisherId

type PublisherId struct {
	SubscriptionId string
	Location       string
	PublisherName  string
}

PublisherId is a struct representing the Resource ID for a Publisher

func NewPublisherID

func NewPublisherID(subscriptionId string, location 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) ID

func (id PublisherId) ID() string

ID returns the formatted Publisher ID

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 PurchasePlan struct {
	Name      string `json:"name"`
	Product   string `json:"product"`
	Publisher string `json:"publisher"`
}

type SkuId

type SkuId struct {
	SubscriptionId string
	Location       string
	PublisherName  string
	Offer          string
	Skus           string
}

SkuId is a struct representing the Resource ID for a Sku

func NewSkuID

func NewSkuID(subscriptionId string, location string, publisherName string, offer string, skus string) SkuId

NewSkuID returns a new SkuId struct

func ParseSkuID

func ParseSkuID(input string) (*SkuId, error)

ParseSkuID parses 'input' into a SkuId

func ParseSkuIDInsensitively

func ParseSkuIDInsensitively(input string) (*SkuId, error)

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) ID

func (id SkuId) ID() string

ID returns the formatted Sku ID

func (SkuId) Segments

func (id SkuId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Sku ID

func (SkuId) String

func (id SkuId) String() string

String returns a human-readable description of this Sku ID

type SkuVersionId

type SkuVersionId struct {
	SubscriptionId string
	Location       string
	PublisherName  string
	Offer          string
	Skus           string
	Version        string
}

SkuVersionId is a struct representing the Resource ID for a Sku Version

func NewSkuVersionID

func NewSkuVersionID(subscriptionId string, location string, publisherName string, offer string, skus string, version 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) ID

func (id SkuVersionId) ID() string

ID returns the formatted Sku Version ID

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 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 VirtualMachineImageFeature

type VirtualMachineImageFeature struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,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"`
	OsDiskImage                  *OSDiskImage                  `json:"osDiskImage,omitempty"`
	Plan                         *PurchasePlan                 `json:"plan,omitempty"`
}

type VirtualMachineImageResource

type VirtualMachineImageResource struct {
	ExtendedLocation *edgezones.Model   `json:"extendedLocation,omitempty"`
	Id               *string            `json:"id,omitempty"`
	Location         string             `json:"location"`
	Name             string             `json:"name"`
	Tags             *map[string]string `json:"tags,omitempty"`
}

type VirtualMachineImagesClient

type VirtualMachineImagesClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewVirtualMachineImagesClientWithBaseURI

func NewVirtualMachineImagesClientWithBaseURI(endpoint string) VirtualMachineImagesClient

func (VirtualMachineImagesClient) EdgeZoneGet

EdgeZoneGet ...

func (VirtualMachineImagesClient) EdgeZoneList

EdgeZoneList ...

func (VirtualMachineImagesClient) EdgeZoneListOffers

EdgeZoneListOffers ...

func (VirtualMachineImagesClient) EdgeZoneListPublishers

EdgeZoneListPublishers ...

func (VirtualMachineImagesClient) EdgeZoneListSkus

EdgeZoneListSkus ...

func (VirtualMachineImagesClient) Get

Get ...

func (VirtualMachineImagesClient) List

List ...

func (VirtualMachineImagesClient) ListOffers

ListOffers ...

func (VirtualMachineImagesClient) ListPublishers

ListPublishers ...

func (VirtualMachineImagesClient) ListSkus

ListSkus ...

type VmDiskTypes

type VmDiskTypes string
const (
	VmDiskTypesNone      VmDiskTypes = "None"
	VmDiskTypesUnmanaged VmDiskTypes = "Unmanaged"
)

type VmImageOfferId

type VmImageOfferId struct {
	SubscriptionId string
	Location       string
	EdgeZone       string
	PublisherName  string
	Offer          string
}

VmImageOfferId is a struct representing the Resource ID for a Vm Image Offer

func NewVmImageOfferID

func NewVmImageOfferID(subscriptionId string, location string, edgeZone string, publisherName string, offer 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) ID

func (id VmImageOfferId) ID() string

ID returns the formatted Vm Image Offer ID

func (VmImageOfferId) Segments

func (id VmImageOfferId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Vm Image Offer ID

func (VmImageOfferId) String

func (id VmImageOfferId) String() string

String returns a human-readable description of this Vm Image Offer ID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL