Key |
Returned |
Description |
accounts
complex
|
always |
A list of dictionaries containing facts for Database Account.
|
|
connection_strings
list
/ elements=string
|
when requested |
List of connection strings.
|
|
|
connection_string
string
|
always |
Description of connection string.
Sample:
Primary SQL Connection String
|
|
|
description
string
|
always |
Connection string.
Sample:
AccountEndpoint=https://testaccount.documents.azure.com:443/;AccountKey=xxxxx
|
|
consistency_policy
complex
|
always |
Consistency policy.
|
|
|
default_consistency_level
string
|
always |
Default consistency level.
Sample:
session
|
|
|
max_interval_in_seconds
integer
|
always |
Maximum interval in seconds.
Sample:
5
|
|
|
max_staleness_prefix
integer
|
always |
Maximum staleness prefix.
Sample:
100
|
|
database_account_offer_type
string
|
always |
Offer type.
Sample:
Standard
|
|
document_endpoint
string
|
always |
Document endpoint.
Sample:
https://testaccount.documents.azure.com:443/
|
|
enable_automatic_failover
boolean
|
always |
Enable automatic failover.
Sample:
True
|
|
enable_cassandra
boolean
|
always |
Enable Cassandra.
Sample:
True
|
|
enable_gremlin
boolean
|
always |
Enable Gremlin.
Sample:
True
|
|
enable_multiple_write_locations
boolean
|
always |
Enable multiple write locations.
Sample:
True
|
|
enable_table
boolean
|
always |
Enable Table.
Sample:
True
|
|
failover_policies
complex
|
always |
The list of new failover policies for the failover priority change.
|
|
|
failover_priority
integer
|
always |
Failover priority.
|
|
|
id
string
|
always |
Read location ID.
Sample:
testaccount-eastus
|
|
|
name
string
|
always |
Location name.
Sample:
eastus
|
|
id
string
|
always |
The unique resource identifier of the database account.
Sample:
/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccount s/testaccount
|
|
ip_range_filter
string
|
always |
Enable IP range filter.
Sample:
10.10.10.10
|
|
is_virtual_network_filter_enabled
boolean
|
always |
Enable virtual network filter.
Sample:
True
|
|
kind
string
|
always |
Indicates the type of database account.
Sample:
global_document_db
|
|
location
string
|
always |
The location of the resource group to which the resource belongs.
Sample:
westus
|
|
name
string
|
always |
The name of the database account.
Sample:
testaccount
|
|
primary_master_key
string
|
when requested |
Primary master key.
Sample:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
primary_readonly_master_key
string
|
when requested |
Primary master key.
Sample:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
provisioning_state
string
|
always |
Provisioning state of Cosmos DB.
Sample:
Succeeded
|
|
read_locations
complex
|
always |
Read locations.
|
|
|
document_endpoint
string
|
always |
Document endpoint.
Sample:
https://testaccount-eastus.documents.azure.com:443/
|
|
|
failover_priority
integer
|
always |
Failover priority.
|
|
|
id
string
|
always |
Read location ID.
Sample:
testaccount-eastus
|
|
|
name
string
|
always |
Location name.
Sample:
eastus
|
|
|
provisioning_state
string
|
always |
Provisioning state.
Sample:
Succeeded
|
|
resource_group
string
|
always |
Name of an Azure resource group.
Sample:
myResourceGroup
|
|
secondary_master_key
string
|
when requested |
Primary master key.
Sample:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
secondary_readonly_master_key
string
|
when requested |
Primary master key.
Sample:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
tags
dictionary
|
always |
Tags assigned to the resource. Dictionary of "string":"string" pairs.
Sample:
{'tag1': 'abc'}
|
|
virtual_network_rules
list
/ elements=string
|
success |
List of Virtual Network ACL rules configured for the Cosmos DB account.
|
|
|
ignore_missing_vnet_service_endpoint
boolean
|
success |
Create Cosmos DB account without existing virtual network service endpoint.
|
|
|
subnet
string
|
success |
Resource id of a subnet.
Sample:
/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNet works/testvnet/subnets/testsubnet1
|
|
write_locations
complex
|
always |
Write locations.
|
|
|
document_endpoint
string
|
always |
Document endpoint.
Sample:
https://testaccount-eastus.documents.azure.com:443/
|
|
|
failover_priority
integer
|
always |
Failover priority.
|
|
|
id
string
|
always |
Read location ID.
Sample:
testaccount-eastus
|
|
|
name
string
|
always |
Location name.
Sample:
eastus
|
|
|
provisioning_state
string
|
always |
Provisioning state.
Sample:
Succeeded
|