Modifier

Partager via


Get-AzAksManagedClusterOSOption

Gets supported OS options in the specified subscription.

Syntax

Get-AzAksManagedClusterOSOption
   -Location <String>
   [-SubscriptionId <String[]>]
   [-ResourceType <String>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzAksManagedClusterOSOption
   -InputObject <IAksIdentity>
   [-ResourceType <String>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Gets supported OS options in the specified subscription.

Examples

Example 1: Get supported OS options

Get-AzAksManagedClusterOSOption -Location eastus

Name
----
default

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:IAksIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Location

The name of Azure region.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceType

The resource type for which the OS options needs to be returned

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

The ID of the target subscription.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

IAksIdentity

Outputs

IOSOptionProfile