Get-AzsComputeFeature
Get an existing feature.
Syntax
List (Default)
Get-AzsComputeFeature
[-Location <String>]
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzsComputeFeature
-Name <String>
[-Location <String>]
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzsComputeFeature
-INPUTOBJECT
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get an existing feature.
Examples
-------------------------- EXAMPLE 1 --------------------------
Get-AzsComputeFeature -Location local -Name Microsoft.Compute.EmergencyVMAccess | ConvertTo-Json
{ "EnabledTenantSubscriptionId": [ "e9f233f4-6251-441e-a8e4-5e0165a5ff84", "a6293671-ca91-4040-8edc-5a5bc8bb10f2", "77df6e8d-c86b-4184-a7da-35217afdb7e8", "078fcd45-e064-4f1b-a546-f2873757c7c0", "88e0ade6-f94a-4a75-8b32-b8f07daf2ad0", "22c12f96-7352-4165-a7e4-ccebd1257f15", "a40a4cdf-0054-4b41-8692-0c0de49958b5", "d23289dc-887a-4e68-8c84-8a0e4d8dec51", "3f843028-3d49-4ae9-8185-148745b4a231" ], "FeatureName": "Microsoft.Compute.EmergencyVMAccess", "GlobalFeatureSettingGlobalFeatureState": {
},
"Id": "/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/providers/Microsoft.Compute.Admin/locations/local/features/Microsoft.Compute.EmergencyVMAccess",
"Location": "local",
"Name": "Microsoft.Compute.EmergencyVMAccess",
"Type": "Microsoft.Compute.Admin/locations/features"
}
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
| Type: | System.Management.Automation.PSObject |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzureRMContext, AzureCredential |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Parameter properties
| Type: | Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.IComputeAdminIdentity |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
GetViaIdentity
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Location
Location of the resource.
Parameter properties
| Type: | System.String |
| Default value: | (Get-AzLocation)[0].Location |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
Get
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
List
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Name
Name of the feature.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | FeatureName |
Parameter sets
Get
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-SubscriptionId
Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
Parameter properties
| Type: | System.String[] |
| Default value: | (Get-AzContext).Subscription.Id |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
Get
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
List
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.IComputeAdminIdentity
Outputs
Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20201101.IFeature
Notes
ALIASES
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT <IComputeAdminIdentity>: Identity Parameter
[DiskId <String>]: The disk guid as identity.[FeatureName <String>]: Name of the feature.[Id <String>]: Resource identity path[Location <String>]: Location of the resource.[MigrationId <String>]: The migration job guid name.[Offer <String>]: Name of the offer.[Publisher <String>]: Name of the publisher.[QuotaName <String>]: Name of the quota.[ScaleUnitName <String>]: Name of the scale unit.[Sku <String>]: Name of the SKU.[SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.[Type <String>]: Type of extension.[Version <String>]: The version of the resource.