Key |
Returned |
Description |
accounts
complex
|
always |
A list of dictionaries containing facts for Database Account.
|
|
connection_strings
list
|
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=fSEjathnk6ZeBTrXkud9j5kfhtSEQ q3dpJxJga76h9BZkK2BJJrDzSO6DDn6yKads017OZBZ1YZWyq1cW4iuvA==
|
|
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:
UIWoYD4YaD4LxW6k3Jy69qcHDMLX4aSttECQkEcwWF1RflLd6crWSGJs0R9kJwujehtfLGeQx4ISVSJfTpJkYw==
|
|
primary_readonly_master_key
string
|
when requested |
Primary master key.
Sample:
UIWoYD4YaD4LxW6k3Jy69qcHDMLX4aSttECQkEcwWF1RflLd6crWSGJs0R9kJwujehtfLGeQx4ISVSJfTpJkYw==
|
|
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:
UIWoYD4YaD4LxW6k3Jy69qcHDMLX4aSttECQkEcwWF1RflLd6crWSGJs0R9kJwujehtfLGeQx4ISVSJfTpJkYw==
|
|
secondary_readonly_master_key
string
|
when requested |
Primary master key.
Sample:
UIWoYD4YaD4LxW6k3Jy69qcHDMLX4aSttECQkEcwWF1RflLd6crWSGJs0R9kJwujehtfLGeQx4ISVSJfTpJkYw==
|
|
tags
dictionary
|
always |
Tags assigned to the resource. Dictionary of "string":"string" pairs.
Sample:
{'tag1': 'abc'}
|
|
virtual_network_rules
list
|
|
List of Virtual Network ACL rules configured for the Cosmos DB account.
|
|
|
ignore_missing_vnet_service_endpoint
boolean
|
|
Create Cosmos DB account without existing virtual network service endpoint.
|
|
|
subnet
string
|
|
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
|