Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/documentdb/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

1.0.0
++++++
* Stable release of the Azure DocumentDB extension.

1.0.0b2
+++++++
* Rename ``az documentdb mongocluster user`` to ``entra-user``; the group only supports
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"documentdb",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Azure DocumentDB clusters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"documentdb mongocluster",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Azure DocumentDB mongo clusters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster check-name-availability",
is_preview=True,
)
class CheckNameAvailability(AAZCommand):
"""Check if mongo cluster name is available for use.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster create",
is_preview=True,
)
class Create(AAZCommand):
"""Create a mongo cluster. Update overwrites all properties for the resource. To only modify some of the properties, use PATCH.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster delete",
is_preview=True,
confirmation="Are you sure you want to perform this operation?",
)
class Delete(AAZCommand):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster list",
is_preview=True,
)
class List(AAZCommand):
"""List all the mongo clusters in a given subscription.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster list-connection-strings",
is_preview=True,
)
class ListConnectionStrings(AAZCommand):
"""List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster show",
is_preview=True,
)
class Show(AAZCommand):
"""Get information about a mongo cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster update",
is_preview=True,
)
class Update(AAZCommand):
"""Update a mongo cluster. Only the properties specified in the request are modified; all other properties are left unchanged (HTTP PATCH). Generic update arguments (--set, --add, --remove) are supported.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"documentdb mongocluster microsoft-entra-user",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Microsoft Entra ID users on a mongo cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster microsoft-entra-user assign",
is_preview=True,
)
class Assign(AAZCommand):
"""Grant a Microsoft Entra ID principal access to a mongo cluster by assigning it database roles.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster microsoft-entra-user list",
is_preview=True,
)
class List(AAZCommand):
"""List the Microsoft Entra ID users on a mongo cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster microsoft-entra-user remove",
is_preview=True,
confirmation="Are you sure you want to perform this operation?",
)
class Remove(AAZCommand):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster microsoft-entra-user show",
is_preview=True,
)
class Show(AAZCommand):
"""Get the definition of a Microsoft Entra ID user on a mongo cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"documentdb mongocluster firewall-rule",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Firewall Rule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster firewall-rule create",
is_preview=True,
)
class Create(AAZCommand):
"""Create a new firewall rule or updates an existing firewall rule on a mongo cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster firewall-rule delete",
is_preview=True,
confirmation="Are you sure you want to perform this operation?",
)
class Delete(AAZCommand):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster firewall-rule list",
is_preview=True,
)
class List(AAZCommand):
"""List all the firewall rules in a given mongo cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster firewall-rule show",
is_preview=True,
)
class Show(AAZCommand):
"""Get information about a mongo cluster firewall rule.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster firewall-rule update",
is_preview=True,
)
class Update(AAZCommand):
"""Update a new firewall rule or updates an existing firewall rule on a mongo cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"documentdb mongocluster identity",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Identity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster identity assign",
is_preview=True,
)
class Assign(AAZCommand):
"""Assign the user or system managed identities.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

@register_command(
"documentdb mongocluster identity list",
is_preview=True,
)
class List(AAZCommand):
"""List the managed identities assigned to a mongo cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster identity remove",
is_preview=True,
confirmation="Are you sure you want to perform this operation?",
)
class Remove(AAZCommand):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster identity show",
is_preview=True,
)
class Show(AAZCommand):
"""Show the details of managed identities.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"documentdb mongocluster replica",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Replica
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster replica list",
is_preview=True,
)
class List(AAZCommand):
"""List all the replicas for the mongo cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"documentdb mongocluster replica promote",
is_preview=True,
confirmation="Are you sure you want to promote this replica? This is a destructive operation.",
)
class Promote(AAZCommand):
Expand Down
1 change: 0 additions & 1 deletion src/documentdb/azext_documentdb/azext_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"azext.isPreview": true,
"azext.minCliCoreVersion": "2.75.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ interactions:
User-Agent:
- AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.10.11 (Windows-10-10.0.26100-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2025-05-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2026-02-01
response:
body:
string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.KeyVault/vaults/climckv000004''
Expand Down Expand Up @@ -180,7 +180,7 @@ interactions:
User-Agent:
- AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.10.11 (Windows-10-10.0.26100-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2025-05-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2026-02-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004","name":"climckv000004","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-07-15T22:09:31.228Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-07-15T22:09:31.228Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"71581c6f-df31-4790-bc49-26c6b38df8bd","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":false,"enablePurgeProtection":true,"vaultUri":"https://climckv000004.vault.azure.net","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}'
Expand Down Expand Up @@ -237,7 +237,7 @@ interactions:
User-Agent:
- AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.10.11 (Windows-10-10.0.26100-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2025-05-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2026-02-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004","name":"climckv000004","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-07-15T22:09:31.228Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-07-15T22:09:31.228Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"71581c6f-df31-4790-bc49-26c6b38df8bd","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":false,"enablePurgeProtection":true,"vaultUri":"https://climckv000004.vault.azure.net/","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}'
Expand Down Expand Up @@ -290,7 +290,7 @@ interactions:
User-Agent:
- AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.10.11 (Windows-10-10.0.26100-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2025-05-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2026-02-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004","name":"climckv000004","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-07-15T22:09:31.228Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-07-15T22:09:31.228Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"71581c6f-df31-4790-bc49-26c6b38df8bd","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":false,"enablePurgeProtection":true,"vaultUri":"https://climckv000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}'
Expand Down Expand Up @@ -343,7 +343,7 @@ interactions:
User-Agent:
- AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.10.11 (Windows-10-10.0.26100-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2025-05-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2026-02-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004","name":"climckv000004","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-07-15T22:09:31.228Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-07-15T22:09:31.228Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"71581c6f-df31-4790-bc49-26c6b38df8bd","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":false,"enablePurgeProtection":true,"vaultUri":"https://climckv000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}'
Expand Down Expand Up @@ -410,7 +410,7 @@ interactions:
User-Agent:
- AZURECLI/2.87.0 azsdk-python-core/1.39.0 Python/3.10.11 (Windows-10-10.0.26100-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2025-05-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004?api-version=2026-02-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_documentdb_cmk000001/providers/Microsoft.KeyVault/vaults/climckv000004","name":"climckv000004","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-07-15T22:09:31.228Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-07-15T22:10:04.186Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"71581c6f-df31-4790-bc49-26c6b38df8bd","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"ef2873ab-5071-4cf0-811c-31dd21933487","permissions":{"keys":["wrapKey","unwrapKey","get","list"]}}],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":false,"enablePurgeProtection":true,"vaultUri":"https://climckv000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}'
Expand Down
4 changes: 2 additions & 2 deletions src/documentdb/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@


# HISTORY.rst entry.
VERSION = '1.0.0b2'
VERSION = '1.0.0'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python',
Expand Down
Loading