Class DatabaseAccountUpdateParameters
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
Parameters for patching Azure Cosmos DB database account properties.
public class DatabaseAccountUpdateParameters
- Inheritance
-
DatabaseAccountUpdateParameters
- Inherited Members
Constructors
DatabaseAccountUpdateParameters()
Initializes a new instance of the DatabaseAccountUpdateParameters class.
public DatabaseAccountUpdateParameters()
DatabaseAccountUpdateParameters(IDictionary<string, string>, string, ConsistencyPolicy, IList<Location>, string, bool?, bool?, IList<Capability>, IList<VirtualNetworkRule>, bool?, bool?, ConnectorOffer, bool?, string)
Initializes a new instance of the DatabaseAccountUpdateParameters class.
public DatabaseAccountUpdateParameters(IDictionary<string, string> tags = null, string location = null, ConsistencyPolicy consistencyPolicy = null, IList<Location> locations = null, string ipRangeFilter = null, bool? isVirtualNetworkFilterEnabled = null, bool? enableAutomaticFailover = null, IList<Capability> capabilities = null, IList<VirtualNetworkRule> virtualNetworkRules = null, bool? enableMultipleWriteLocations = null, bool? enableCassandraConnector = null, ConnectorOffer connectorOffer = null, bool? disableKeyBasedMetadataWriteAccess = null, string keyVaultKeyUri = null)
Parameters
tags
IDictionary<string, string>location
stringThe location of the resource group to which the resource belongs.
consistencyPolicy
ConsistencyPolicyThe consistency policy for the Cosmos DB account.
locations
IList<Location>An array that contains the georeplication locations enabled for the Cosmos DB account.
ipRangeFilter
stringCosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.
isVirtualNetworkFilterEnabled
bool?Flag to indicate whether to enable/disable Virtual Network ACL rules.
enableAutomaticFailover
bool?Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
capabilities
IList<Capability>List of Cosmos DB capabilities for the account
virtualNetworkRules
IList<VirtualNetworkRule>List of Virtual Network ACL rules configured for the Cosmos DB account.
enableMultipleWriteLocations
bool?Enables the account to write in multiple locations
enableCassandraConnector
bool?Enables the cassandra connector on the Cosmos DB C* account
connectorOffer
ConnectorOfferThe cassandra connector offer type for the Cosmos DB database C* account. Possible values include: 'Small'
disableKeyBasedMetadataWriteAccess
bool?Disable write operations on metadata resources (databases, containers, throughput) via account keys
keyVaultKeyUri
stringThe URI of the key vault
Properties
Capabilities
Gets or sets list of Cosmos DB capabilities for the account
public IList<Capability> Capabilities { get; set; }
Property Value
ConnectorOffer
Gets or sets the cassandra connector offer type for the Cosmos DB database C* account. Possible values include: 'Small'
public ConnectorOffer ConnectorOffer { get; set; }
Property Value
ConsistencyPolicy
Gets or sets the consistency policy for the Cosmos DB account.
public ConsistencyPolicy ConsistencyPolicy { get; set; }
Property Value
DisableKeyBasedMetadataWriteAccess
Gets or sets disable write operations on metadata resources (databases, containers, throughput) via account keys
public bool? DisableKeyBasedMetadataWriteAccess { get; set; }
Property Value
- bool?
EnableAutomaticFailover
Gets or sets enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
public bool? EnableAutomaticFailover { get; set; }
Property Value
- bool?
EnableCassandraConnector
Gets or sets enables the cassandra connector on the Cosmos DB C* account
public bool? EnableCassandraConnector { get; set; }
Property Value
- bool?
EnableMultipleWriteLocations
Gets or sets enables the account to write in multiple locations
public bool? EnableMultipleWriteLocations { get; set; }
Property Value
- bool?
IpRangeFilter
Gets or sets cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.
public string IpRangeFilter { get; set; }
Property Value
IsVirtualNetworkFilterEnabled
Gets or sets flag to indicate whether to enable/disable Virtual Network ACL rules.
public bool? IsVirtualNetworkFilterEnabled { get; set; }
Property Value
- bool?
KeyVaultKeyUri
Gets or sets the URI of the key vault
public string KeyVaultKeyUri { get; set; }
Property Value
Location
Gets or sets the location of the resource group to which the resource belongs.
public string Location { get; set; }
Property Value
Locations
Gets or sets an array that contains the georeplication locations enabled for the Cosmos DB account.
public IList<Location> Locations { get; set; }
Property Value
Tags
public IDictionary<string, string> Tags { get; set; }
Property Value
VirtualNetworkRules
Gets or sets list of Virtual Network ACL rules configured for the Cosmos DB account.
public IList<VirtualNetworkRule> VirtualNetworkRules { get; set; }
Property Value
Methods
Validate()
Validate the object.
public virtual void Validate()
Exceptions
- Microsoft.Rest.ValidationException
Thrown if validation fails