New-AzApiManagementResourceLocationObject
Maak een nieuw resourcelocatiecontract (gebruikt in gateways).
Syntax
New-AzApiManagementResourceLocationObject
-Name <String>
[-City <String>]
[-District <String>]
[-CountryOrRegion <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
De cmdlet New-AzApiManagementResourceLocationObject maakt een nieuw resourcelocatiecontract (gebruikt in Gateways).
Voorbeelden
Voorbeeld 1: Een resourcelocatiecontract maken
$location = New-AzApiManagementResourceLocationObject -Name "n1" -City "c1" -District "d1" -CountryOrRegion "r1"
Met deze opdracht maakt u een resourcelocatie.
Parameters
-City
Plaats van locatie. Deze parameter is optioneel.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CountryOrRegion
Land of regio van locatie. Deze parameter is optioneel.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-District
Locatie district. Deze parameter is optioneel.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Locatienaam. Deze parameter is vereist.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Invoerwaarden
None
Uitvoerwaarden
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor