public class DatabaseAccountGetResultsInner extends ArmResourceProperties
| Constructor and Description |
|---|
DatabaseAccountGetResultsInner() |
| Modifier and Type | Method and Description |
|---|---|
List<Capability> |
capabilities()
Get the capabilities property: List of Cosmos DB capabilities for the account.
|
ConnectorOffer |
connectorOffer()
Get the connectorOffer property: The cassandra connector offer type for the Cosmos DB database C* account.
|
ConsistencyPolicy |
consistencyPolicy()
Get the consistencyPolicy property: The consistency policy for the Cosmos DB database account.
|
DatabaseAccountOfferType |
databaseAccountOfferType()
Get the databaseAccountOfferType property: The offer type for the Cosmos DB database account.
|
Boolean |
disableKeyBasedMetadataWriteAccess()
Get the disableKeyBasedMetadataWriteAccess property: Disable write operations on metadata resources (databases,
containers, throughput) via account keys.
|
String |
documentEndpoint()
Get the documentEndpoint property: The connection endpoint for the Cosmos DB database account.
|
Boolean |
enableAutomaticFailover()
Get the enableAutomaticFailover property: Enables automatic failover of the write region in the rare event that
the region is unavailable due to an outage.
|
Boolean |
enableCassandraConnector()
Get the enableCassandraConnector property: Enables the cassandra connector on the Cosmos DB C* account.
|
Boolean |
enableMultipleWriteLocations()
Get the enableMultipleWriteLocations property: Enables the account to write in multiple locations.
|
List<FailoverPolicy> |
failoverPolicies()
Get the failoverPolicies property: An array that contains the regions ordered by their failover priorities.
|
String |
ipRangeFilter()
Get the ipRangeFilter property: 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.
|
Boolean |
isVirtualNetworkFilterEnabled()
Get the isVirtualNetworkFilterEnabled property: Flag to indicate whether to enable/disable Virtual Network ACL
rules.
|
DatabaseAccountKind |
kind()
Get the kind property: Indicates the type of database account.
|
List<Location> |
locations()
Get the locations property: An array that contains all of the locations enabled for the Cosmos DB account.
|
String |
provisioningState()
Get the provisioningState property: The status of the Cosmos DB account at the time the operation was called.
|
List<Location> |
readLocations()
Get the readLocations property: An array that contains of the read locations enabled for the Cosmos DB account.
|
void |
validate()
Validates the instance.
|
List<VirtualNetworkRule> |
virtualNetworkRules()
Get the virtualNetworkRules property: List of Virtual Network ACL rules configured for the Cosmos DB account.
|
DatabaseAccountGetResultsInner |
withCapabilities(List<Capability> capabilities)
Set the capabilities property: List of Cosmos DB capabilities for the account.
|
DatabaseAccountGetResultsInner |
withConnectorOffer(ConnectorOffer connectorOffer)
Set the connectorOffer property: The cassandra connector offer type for the Cosmos DB database C* account.
|
DatabaseAccountGetResultsInner |
withConsistencyPolicy(ConsistencyPolicy consistencyPolicy)
Set the consistencyPolicy property: The consistency policy for the Cosmos DB database account.
|
DatabaseAccountGetResultsInner |
withDisableKeyBasedMetadataWriteAccess(Boolean disableKeyBasedMetadataWriteAccess)
Set the disableKeyBasedMetadataWriteAccess property: Disable write operations on metadata resources (databases,
containers, throughput) via account keys.
|
DatabaseAccountGetResultsInner |
withEnableAutomaticFailover(Boolean enableAutomaticFailover)
Set the enableAutomaticFailover property: Enables automatic failover of the write region in the rare event that
the region is unavailable due to an outage.
|
DatabaseAccountGetResultsInner |
withEnableCassandraConnector(Boolean enableCassandraConnector)
Set the enableCassandraConnector property: Enables the cassandra connector on the Cosmos DB C* account.
|
DatabaseAccountGetResultsInner |
withEnableMultipleWriteLocations(Boolean enableMultipleWriteLocations)
Set the enableMultipleWriteLocations property: Enables the account to write in multiple locations.
|
DatabaseAccountGetResultsInner |
withIpRangeFilter(String ipRangeFilter)
Set the ipRangeFilter property: 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.
|
DatabaseAccountGetResultsInner |
withIsVirtualNetworkFilterEnabled(Boolean isVirtualNetworkFilterEnabled)
Set the isVirtualNetworkFilterEnabled property: Flag to indicate whether to enable/disable Virtual Network ACL
rules.
|
DatabaseAccountGetResultsInner |
withKind(DatabaseAccountKind kind)
Set the kind property: Indicates the type of database account.
|
DatabaseAccountGetResultsInner |
withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
Set the virtualNetworkRules property: List of Virtual Network ACL rules configured for the Cosmos DB account.
|
List<Location> |
writeLocations()
Get the writeLocations property: An array that contains the write location for the Cosmos DB account.
|
public DatabaseAccountKind kind()
public DatabaseAccountGetResultsInner withKind(DatabaseAccountKind kind)
kind - the kind value to set.public String provisioningState()
public String documentEndpoint()
public DatabaseAccountOfferType databaseAccountOfferType()
public String ipRangeFilter()
public DatabaseAccountGetResultsInner withIpRangeFilter(String ipRangeFilter)
ipRangeFilter - the ipRangeFilter value to set.public Boolean isVirtualNetworkFilterEnabled()
public DatabaseAccountGetResultsInner withIsVirtualNetworkFilterEnabled(Boolean isVirtualNetworkFilterEnabled)
isVirtualNetworkFilterEnabled - the isVirtualNetworkFilterEnabled value to set.public Boolean enableAutomaticFailover()
public DatabaseAccountGetResultsInner withEnableAutomaticFailover(Boolean enableAutomaticFailover)
enableAutomaticFailover - the enableAutomaticFailover value to set.public ConsistencyPolicy consistencyPolicy()
public DatabaseAccountGetResultsInner withConsistencyPolicy(ConsistencyPolicy consistencyPolicy)
consistencyPolicy - the consistencyPolicy value to set.public List<Capability> capabilities()
public DatabaseAccountGetResultsInner withCapabilities(List<Capability> capabilities)
capabilities - the capabilities value to set.public List<Location> writeLocations()
public List<Location> readLocations()
public List<Location> locations()
public List<FailoverPolicy> failoverPolicies()
public List<VirtualNetworkRule> virtualNetworkRules()
public DatabaseAccountGetResultsInner withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
virtualNetworkRules - the virtualNetworkRules value to set.public Boolean enableMultipleWriteLocations()
public DatabaseAccountGetResultsInner withEnableMultipleWriteLocations(Boolean enableMultipleWriteLocations)
enableMultipleWriteLocations - the enableMultipleWriteLocations value to set.public Boolean enableCassandraConnector()
public DatabaseAccountGetResultsInner withEnableCassandraConnector(Boolean enableCassandraConnector)
enableCassandraConnector - the enableCassandraConnector value to set.public ConnectorOffer connectorOffer()
public DatabaseAccountGetResultsInner withConnectorOffer(ConnectorOffer connectorOffer)
connectorOffer - the connectorOffer value to set.public Boolean disableKeyBasedMetadataWriteAccess()
public DatabaseAccountGetResultsInner withDisableKeyBasedMetadataWriteAccess(Boolean disableKeyBasedMetadataWriteAccess)
disableKeyBasedMetadataWriteAccess - the disableKeyBasedMetadataWriteAccess value to set.public void validate()
validate in class ArmResourcePropertiesIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.