Get-AzsComputeFeature
Een bestaande functie ophalen.
Syntax
Get-AzsComputeFeature
[-Location <String>]
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzsComputeFeature
-Name <String>
[-Location <String>]
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzsComputeFeature
-INPUTOBJECT \<IComputeAdminIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Een bestaande functie ophalen.
Voorbeelden
-------------------------- VOORBEELD 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-f2873757c7c7c0", "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/52cc3943-24b0-45bc-8403-466ccf5775a3/providers/Microsoft.Compute.Admin/locations/local/features/Microsoft.Compute.EmergencyVMAccess",
"Location": "local",
"Name": "Microsoft.Compute.EmergencyVMAccess",
"Type": "Microsoft.Compute.Admin/locations/features"
}
Parameters
De referenties, het account, de tenant en het abonnement dat wordt gebruikt voor communicatie met Azure.
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Identiteitsparameter Om te maken, raadpleegt u de sectie NOTES voor INPUTOBJECT-eigenschappen en maakt u een hash-tabel.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.IComputeAdminIdentity |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Locatie van de resource.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzLocation)[0].Location |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Naam van de functie.
| Type: | String |
| Aliases: | FeatureName |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.
| Type: | String[] |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Invoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.IComputeAdminIdentity
Uitvoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20201101.IFeature
Notities
ALIASSEN
EIGENSCHAPPEN VAN COMPLEXE PARAMETERS
Als u de hieronder beschreven parameters wilt maken, maakt u een hash-tabel met de juiste eigenschappen. Voer Get-Help about_Hash_Tables uit voor informatie over hashtabellen.
INPUTOBJECT <IComputeAdminIdentity>: Identiteitsparameter
[DiskId <String>]: de schijf-GUID als identiteit.[FeatureName <String>]: Naam van de functie.[Id <String>]: Pad naar resource-id[Location <String>]: Locatie van de resource.[MigrationId <String>]: de guid-naam van de migratietaak.[Offer <String>]: Naam van de aanbieding.[Publisher <String>]: Naam van de uitgever.[QuotaName <String>]: Naam van het quotum.[ScaleUnitName <String>]: Naam van de schaaleenheid.[Sku <String>]: Naam van de SKU.[SubscriptionId <String>]: Abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.[Type <String>]: Type extensie.[Version <String>]: De versie van de resource.