New-AzCosmosDBLocationObject
Maak een nieuw CosmosDB-locatieobject (PSLocation).
Syntaxis
New-AzCosmosDBLocationObject
-LocationName <String>
[-FailoverPriority <Int32>]
[-IsZoneRedundant <Boolean>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Maak een nieuw CosmosDB-locatieobject (PSLocation).
Voorbeelden
Voorbeeld 1
New-AzCosmosDBLocationObject -LocationName "locationName" -FailoverPriority 2 -IsZoneRedundant 0
LocationName FailoverPriority IsZoneRedundant
------------ ---------------- ---------------
{locationName} 2 False
Parameters
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliassen: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-FailoverPriority
Failoverprioriteit van de locatie.
Type: | Nullable<T>[Int32] |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-IsZoneRedundant
Booleaanse waarde die aangeeft of deze regio een AvailabilityZone is.
Type: | Nullable<T>[Boolean] |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-LocationName
Naam van de locatie in tekenreeks.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
Invoerwaarden
None
Uitvoerwaarden
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure PowerShell