Reference: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbaccount?view=azps-4.5.0
PS version -> 5.1
The command Update-AzCosmosDBAccount throws error when running with below fields.
Update-AzCosmosDBAccount
-ResourceGroupName
-Name
[-DefaultConsistencyLevel ]
[-EnableAutomaticFailover ]
[-EnableMultipleWriteLocations ]
[-EnableVirtualNetwork ]
[-IpRules <String[]>]
[-MaxStalenessIntervalInSeconds ]
[-MaxStalenessPrefix ]
[-Tag ]
[-VirtualNetworkRule <String[]>]
[-VirtualNetworkRuleObject <PSVirtualNetworkRule[]>]
[-DisableKeyBasedMetadataWriteAccess ]
[-PublicNetworkAccess ]
[-KeyVaultKeyUri ]
[-AsJob]
[-DefaultProfile ]
[-WhatIf]
[-Confirm]
[]
The IpRules field has to be IpRule instead. Is there any variance in the documentation or any difference between the two.
Reference: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/update-azcosmosdbaccount?view=azps-4.5.0
PS version -> 5.1
The command Update-AzCosmosDBAccount throws error when running with below fields.
Update-AzCosmosDBAccount
-ResourceGroupName
-Name
[-DefaultConsistencyLevel ]
[-EnableAutomaticFailover ]
[-EnableMultipleWriteLocations ]
[-EnableVirtualNetwork ]
[-IpRules <String[]>]
[-MaxStalenessIntervalInSeconds ]
[-MaxStalenessPrefix ]
[-Tag ]
[-VirtualNetworkRule <String[]>]
[-VirtualNetworkRuleObject <PSVirtualNetworkRule[]>]
[-DisableKeyBasedMetadataWriteAccess ]
[-PublicNetworkAccess ]
[-KeyVaultKeyUri ]
[-AsJob]
[-DefaultProfile ]
[-WhatIf]
[-Confirm]
[]
The IpRules field has to be IpRule instead. Is there any variance in the documentation or any difference between the two.