共用方式為


Get-AzureVMImageOffer

Get-AzureVMImageOffer

Gets VMImage offer types.

Syntax

Parameter Set: Default
Get-AzureVMImageOffer -Location <String> -PublisherName <String> [-Profile <AzureProfile> ] [ <CommonParameters>]

Detailed Description

The Get-AzureVMImageOffer cmdlet gets the VMImage offer types.

Parameters

-Location<String>

Specifies the location of the VMImage.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-Profile<AzureProfile>

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PublisherName<String>

Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureVMImagePublisher cmdlet.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get offer types for a publisher

This command gets the offer types for the specified publisher in the Central US region.

PS C:\> Get-AzureVMImageOffer -Location "Central US" -PublisherName "Fabrikam"

Get-AzureVMImage

Get-AzureVMImagePublisher

Get-AzureVMImageSku

Save-AzureVMImage