Skip to content

Commit

Permalink
CodeGen from PR 12800 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 57f2a4e9df61fa0d15d13f266290e1ed84949c8c into fed2c0c
  • Loading branch information
SDKAuto committed Feb 5, 2021
1 parent 5aa3396 commit 01004e8
Show file tree
Hide file tree
Showing 33 changed files with 2,246 additions and 5,014 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,14 @@
from .operations import TableResourcesOperations
from .operations import CassandraResourcesOperations
from .operations import GremlinResourcesOperations
from .operations import RestorableDatabaseAccountsOperations
from .operations import NotebookWorkspacesOperations
from .operations import RestorableSqlDatabasesOperations
from .operations import RestorableSqlContainersOperations
from .operations import RestorableSqlResourcesOperations
from .operations import RestorableMongodbDatabasesOperations
from .operations import RestorableMongodbCollectionsOperations
from .operations import RestorableMongodbResourcesOperations
from .operations import PrivateLinkResourcesOperations
from .operations import PrivateEndpointConnectionsOperations
from . import models


class CosmosDBManagementClient(SDKClient):
"""CosmosDBManagementClient
"""Azure Cosmos DB Database Service Resource Provider REST API
:ivar config: Configuration for client.
:vartype config: CosmosDBManagementClientConfiguration
Expand Down Expand Up @@ -86,22 +79,8 @@ class CosmosDBManagementClient(SDKClient):
:vartype cassandra_resources: azure.mgmt.cosmosdb.operations.CassandraResourcesOperations
:ivar gremlin_resources: GremlinResources operations
:vartype gremlin_resources: azure.mgmt.cosmosdb.operations.GremlinResourcesOperations
:ivar restorable_database_accounts: RestorableDatabaseAccounts operations
:vartype restorable_database_accounts: azure.mgmt.cosmosdb.operations.RestorableDatabaseAccountsOperations
:ivar notebook_workspaces: NotebookWorkspaces operations
:vartype notebook_workspaces: azure.mgmt.cosmosdb.operations.NotebookWorkspacesOperations
:ivar restorable_sql_databases: RestorableSqlDatabases operations
:vartype restorable_sql_databases: azure.mgmt.cosmosdb.operations.RestorableSqlDatabasesOperations
:ivar restorable_sql_containers: RestorableSqlContainers operations
:vartype restorable_sql_containers: azure.mgmt.cosmosdb.operations.RestorableSqlContainersOperations
:ivar restorable_sql_resources: RestorableSqlResources operations
:vartype restorable_sql_resources: azure.mgmt.cosmosdb.operations.RestorableSqlResourcesOperations
:ivar restorable_mongodb_databases: RestorableMongodbDatabases operations
:vartype restorable_mongodb_databases: azure.mgmt.cosmosdb.operations.RestorableMongodbDatabasesOperations
:ivar restorable_mongodb_collections: RestorableMongodbCollections operations
:vartype restorable_mongodb_collections: azure.mgmt.cosmosdb.operations.RestorableMongodbCollectionsOperations
:ivar restorable_mongodb_resources: RestorableMongodbResources operations
:vartype restorable_mongodb_resources: azure.mgmt.cosmosdb.operations.RestorableMongodbResourcesOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.cosmosdb.operations.PrivateLinkResourcesOperations
:ivar private_endpoint_connections: PrivateEndpointConnections operations
Expand Down Expand Up @@ -161,22 +140,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.gremlin_resources = GremlinResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.restorable_database_accounts = RestorableDatabaseAccountsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.notebook_workspaces = NotebookWorkspacesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.restorable_sql_databases = RestorableSqlDatabasesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.restorable_sql_containers = RestorableSqlContainersOperations(
self._client, self.config, self._serialize, self._deserialize)
self.restorable_sql_resources = RestorableSqlResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.restorable_mongodb_databases = RestorableMongodbDatabasesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.restorable_mongodb_collections = RestorableMongodbCollectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.restorable_mongodb_resources = RestorableMongodbResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
Expand Down
113 changes: 5 additions & 108 deletions sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,14 @@
from ._models_py3 import CreateUpdateOptions
from ._models_py3 import DatabaseAccountConnectionString
from ._models_py3 import DatabaseAccountCreateUpdateParameters
from ._models_py3 import DatabaseAccountCreateUpdateProperties
from ._models_py3 import DatabaseAccountGetResults
from ._models_py3 import DatabaseAccountListConnectionStringsResult
from ._models_py3 import DatabaseAccountListKeysResult
from ._models_py3 import DatabaseAccountListReadOnlyKeysResult
from ._models_py3 import DatabaseAccountRegenerateKeyParameters
from ._models_py3 import DatabaseAccountUpdateParameters
from ._models_py3 import DatabaseRestoreResource
from ._models_py3 import DefaultErrorResponse, DefaultErrorResponseException
from ._models_py3 import DefaultRequestDatabaseAccountCreateUpdateProperties
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import ErrorResponseUpdatedFormat, ErrorResponseUpdatedFormatException
from ._models_py3 import ExcludedPath
from ._models_py3 import ExtendedResourceProperties
from ._models_py3 import FailoverPolicies
Expand All @@ -72,8 +69,6 @@
from ._models_py3 import IndexingPolicy
from ._models_py3 import IpAddressOrRange
from ._models_py3 import Location
from ._models_py3 import ManagedServiceIdentity
from ._models_py3 import ManagedServiceIdentityUserAssignedIdentitiesValue
from ._models_py3 import Metric
from ._models_py3 import MetricAvailability
from ._models_py3 import MetricDefinition
Expand Down Expand Up @@ -104,28 +99,13 @@
from ._models_py3 import PercentileMetricValue
from ._models_py3 import PeriodicModeBackupPolicy
from ._models_py3 import PeriodicModeProperties
from ._models_py3 import Permission
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateEndpointProperty
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkServiceConnectionStateProperty
from ._models_py3 import ProxyResource
from ._models_py3 import RegionForOnlineOffline
from ._models_py3 import Resource
from ._models_py3 import RestorableDatabaseAccountGetResult
from ._models_py3 import RestorableLocationResource
from ._models_py3 import RestorableMongodbCollectionGetResult
from ._models_py3 import RestorableMongodbCollectionPropertiesResource
from ._models_py3 import RestorableMongodbDatabaseGetResult
from ._models_py3 import RestorableMongodbDatabasePropertiesResource
from ._models_py3 import RestorableSqlContainerGetResult
from ._models_py3 import RestorableSqlContainerPropertiesResource
from ._models_py3 import RestorableSqlContainerPropertiesResourceContainer
from ._models_py3 import RestorableSqlDatabaseGetResult
from ._models_py3 import RestorableSqlDatabasePropertiesResource
from ._models_py3 import RestorableSqlDatabasePropertiesResourceDatabase
from ._models_py3 import RestoreParameters
from ._models_py3 import RestoreReqeustDatabaseAccountCreateUpdateProperties
from ._models_py3 import SpatialSpec
from ._models_py3 import SqlContainerCreateUpdateParameters
from ._models_py3 import SqlContainerGetPropertiesOptions
Expand All @@ -137,10 +117,6 @@
from ._models_py3 import SqlDatabaseGetPropertiesResource
from ._models_py3 import SqlDatabaseGetResults
from ._models_py3 import SqlDatabaseResource
from ._models_py3 import SqlRoleAssignmentCreateUpdateParameters
from ._models_py3 import SqlRoleAssignmentGetResults
from ._models_py3 import SqlRoleDefinitionCreateUpdateParameters
from ._models_py3 import SqlRoleDefinitionGetResults
from ._models_py3 import SqlStoredProcedureCreateUpdateParameters
from ._models_py3 import SqlStoredProcedureGetPropertiesResource
from ._models_py3 import SqlStoredProcedureGetResults
Expand All @@ -153,7 +129,6 @@
from ._models_py3 import SqlUserDefinedFunctionGetPropertiesResource
from ._models_py3 import SqlUserDefinedFunctionGetResults
from ._models_py3 import SqlUserDefinedFunctionResource
from ._models_py3 import SystemData
from ._models_py3 import TableCreateUpdateParameters
from ._models_py3 import TableGetPropertiesOptions
from ._models_py3 import TableGetPropertiesResource
Expand Down Expand Up @@ -202,17 +177,14 @@
from ._models import CreateUpdateOptions
from ._models import DatabaseAccountConnectionString
from ._models import DatabaseAccountCreateUpdateParameters
from ._models import DatabaseAccountCreateUpdateProperties
from ._models import DatabaseAccountGetResults
from ._models import DatabaseAccountListConnectionStringsResult
from ._models import DatabaseAccountListKeysResult
from ._models import DatabaseAccountListReadOnlyKeysResult
from ._models import DatabaseAccountRegenerateKeyParameters
from ._models import DatabaseAccountUpdateParameters
from ._models import DatabaseRestoreResource
from ._models import DefaultErrorResponse, DefaultErrorResponseException
from ._models import DefaultRequestDatabaseAccountCreateUpdateProperties
from ._models import ErrorResponse, ErrorResponseException
from ._models import ErrorResponseUpdatedFormat, ErrorResponseUpdatedFormatException
from ._models import ExcludedPath
from ._models import ExtendedResourceProperties
from ._models import FailoverPolicies
Expand All @@ -232,8 +204,6 @@
from ._models import IndexingPolicy
from ._models import IpAddressOrRange
from ._models import Location
from ._models import ManagedServiceIdentity
from ._models import ManagedServiceIdentityUserAssignedIdentitiesValue
from ._models import Metric
from ._models import MetricAvailability
from ._models import MetricDefinition
Expand Down Expand Up @@ -264,28 +234,13 @@
from ._models import PercentileMetricValue
from ._models import PeriodicModeBackupPolicy
from ._models import PeriodicModeProperties
from ._models import Permission
from ._models import PrivateEndpointConnection
from ._models import PrivateEndpointProperty
from ._models import PrivateLinkResource
from ._models import PrivateLinkServiceConnectionStateProperty
from ._models import ProxyResource
from ._models import RegionForOnlineOffline
from ._models import Resource
from ._models import RestorableDatabaseAccountGetResult
from ._models import RestorableLocationResource
from ._models import RestorableMongodbCollectionGetResult
from ._models import RestorableMongodbCollectionPropertiesResource
from ._models import RestorableMongodbDatabaseGetResult
from ._models import RestorableMongodbDatabasePropertiesResource
from ._models import RestorableSqlContainerGetResult
from ._models import RestorableSqlContainerPropertiesResource
from ._models import RestorableSqlContainerPropertiesResourceContainer
from ._models import RestorableSqlDatabaseGetResult
from ._models import RestorableSqlDatabasePropertiesResource
from ._models import RestorableSqlDatabasePropertiesResourceDatabase
from ._models import RestoreParameters
from ._models import RestoreReqeustDatabaseAccountCreateUpdateProperties
from ._models import SpatialSpec
from ._models import SqlContainerCreateUpdateParameters
from ._models import SqlContainerGetPropertiesOptions
Expand All @@ -297,10 +252,6 @@
from ._models import SqlDatabaseGetPropertiesResource
from ._models import SqlDatabaseGetResults
from ._models import SqlDatabaseResource
from ._models import SqlRoleAssignmentCreateUpdateParameters
from ._models import SqlRoleAssignmentGetResults
from ._models import SqlRoleDefinitionCreateUpdateParameters
from ._models import SqlRoleDefinitionGetResults
from ._models import SqlStoredProcedureCreateUpdateParameters
from ._models import SqlStoredProcedureGetPropertiesResource
from ._models import SqlStoredProcedureGetResults
Expand All @@ -313,7 +264,6 @@
from ._models import SqlUserDefinedFunctionGetPropertiesResource
from ._models import SqlUserDefinedFunctionGetResults
from ._models import SqlUserDefinedFunctionResource
from ._models import SystemData
from ._models import TableCreateUpdateParameters
from ._models import TableGetPropertiesOptions
from ._models import TableGetPropertiesResource
Expand All @@ -332,7 +282,6 @@
from ._paged_models import CassandraKeyspaceGetResultsPaged
from ._paged_models import CassandraTableGetResultsPaged
from ._paged_models import DatabaseAccountGetResultsPaged
from ._paged_models import DatabaseRestoreResourcePaged
from ._paged_models import GremlinDatabaseGetResultsPaged
from ._paged_models import GremlinGraphGetResultsPaged
from ._paged_models import MetricDefinitionPaged
Expand All @@ -346,15 +295,8 @@
from ._paged_models import PercentileMetricPaged
from ._paged_models import PrivateEndpointConnectionPaged
from ._paged_models import PrivateLinkResourcePaged
from ._paged_models import RestorableDatabaseAccountGetResultPaged
from ._paged_models import RestorableMongodbCollectionGetResultPaged
from ._paged_models import RestorableMongodbDatabaseGetResultPaged
from ._paged_models import RestorableSqlContainerGetResultPaged
from ._paged_models import RestorableSqlDatabaseGetResultPaged
from ._paged_models import SqlContainerGetResultsPaged
from ._paged_models import SqlDatabaseGetResultsPaged
from ._paged_models import SqlRoleAssignmentGetResultsPaged
from ._paged_models import SqlRoleDefinitionGetResultsPaged
from ._paged_models import SqlStoredProcedureGetResultsPaged
from ._paged_models import SqlTriggerGetResultsPaged
from ._paged_models import SqlUserDefinedFunctionGetResultsPaged
Expand All @@ -367,9 +309,6 @@
ConnectorOffer,
PublicNetworkAccess,
ServerVersion,
CreateMode,
RestoreMode,
CreatedByType,
IndexingMode,
DataType,
IndexKind,
Expand All @@ -379,13 +318,10 @@
ConflictResolutionMode,
TriggerType,
TriggerOperation,
ResourceIdentityType,
KeyKind,
UnitType,
PrimaryAggregationType,
ApiType,
RoleDefinitionType,
OperationType,
BackupPolicyType,
)

__all__ = [
Expand Down Expand Up @@ -421,17 +357,14 @@
'CreateUpdateOptions',
'DatabaseAccountConnectionString',
'DatabaseAccountCreateUpdateParameters',
'DatabaseAccountCreateUpdateProperties',
'DatabaseAccountGetResults',
'DatabaseAccountListConnectionStringsResult',
'DatabaseAccountListKeysResult',
'DatabaseAccountListReadOnlyKeysResult',
'DatabaseAccountRegenerateKeyParameters',
'DatabaseAccountUpdateParameters',
'DatabaseRestoreResource',
'DefaultErrorResponse', 'DefaultErrorResponseException',
'DefaultRequestDatabaseAccountCreateUpdateProperties',
'ErrorResponse', 'ErrorResponseException',
'ErrorResponseUpdatedFormat', 'ErrorResponseUpdatedFormatException',
'ExcludedPath',
'ExtendedResourceProperties',
'FailoverPolicies',
Expand All @@ -451,8 +384,6 @@
'IndexingPolicy',
'IpAddressOrRange',
'Location',
'ManagedServiceIdentity',
'ManagedServiceIdentityUserAssignedIdentitiesValue',
'Metric',
'MetricAvailability',
'MetricDefinition',
Expand Down Expand Up @@ -483,28 +414,13 @@
'PercentileMetricValue',
'PeriodicModeBackupPolicy',
'PeriodicModeProperties',
'Permission',
'PrivateEndpointConnection',
'PrivateEndpointProperty',
'PrivateLinkResource',
'PrivateLinkServiceConnectionStateProperty',
'ProxyResource',
'RegionForOnlineOffline',
'Resource',
'RestorableDatabaseAccountGetResult',
'RestorableLocationResource',
'RestorableMongodbCollectionGetResult',
'RestorableMongodbCollectionPropertiesResource',
'RestorableMongodbDatabaseGetResult',
'RestorableMongodbDatabasePropertiesResource',
'RestorableSqlContainerGetResult',
'RestorableSqlContainerPropertiesResource',
'RestorableSqlContainerPropertiesResourceContainer',
'RestorableSqlDatabaseGetResult',
'RestorableSqlDatabasePropertiesResource',
'RestorableSqlDatabasePropertiesResourceDatabase',
'RestoreParameters',
'RestoreReqeustDatabaseAccountCreateUpdateProperties',
'SpatialSpec',
'SqlContainerCreateUpdateParameters',
'SqlContainerGetPropertiesOptions',
Expand All @@ -516,10 +432,6 @@
'SqlDatabaseGetPropertiesResource',
'SqlDatabaseGetResults',
'SqlDatabaseResource',
'SqlRoleAssignmentCreateUpdateParameters',
'SqlRoleAssignmentGetResults',
'SqlRoleDefinitionCreateUpdateParameters',
'SqlRoleDefinitionGetResults',
'SqlStoredProcedureCreateUpdateParameters',
'SqlStoredProcedureGetPropertiesResource',
'SqlStoredProcedureGetResults',
Expand All @@ -532,7 +444,6 @@
'SqlUserDefinedFunctionGetPropertiesResource',
'SqlUserDefinedFunctionGetResults',
'SqlUserDefinedFunctionResource',
'SystemData',
'TableCreateUpdateParameters',
'TableGetPropertiesOptions',
'TableGetPropertiesResource',
Expand Down Expand Up @@ -561,22 +472,14 @@
'SqlStoredProcedureGetResultsPaged',
'SqlUserDefinedFunctionGetResultsPaged',
'SqlTriggerGetResultsPaged',
'SqlRoleDefinitionGetResultsPaged',
'SqlRoleAssignmentGetResultsPaged',
'MongoDBDatabaseGetResultsPaged',
'MongoDBCollectionGetResultsPaged',
'TableGetResultsPaged',
'CassandraKeyspaceGetResultsPaged',
'CassandraTableGetResultsPaged',
'GremlinDatabaseGetResultsPaged',
'GremlinGraphGetResultsPaged',
'RestorableDatabaseAccountGetResultPaged',
'NotebookWorkspacePaged',
'RestorableSqlDatabaseGetResultPaged',
'RestorableSqlContainerGetResultPaged',
'DatabaseRestoreResourcePaged',
'RestorableMongodbDatabaseGetResultPaged',
'RestorableMongodbCollectionGetResultPaged',
'PrivateLinkResourcePaged',
'PrivateEndpointConnectionPaged',
'DatabaseAccountKind',
Expand All @@ -585,9 +488,6 @@
'ConnectorOffer',
'PublicNetworkAccess',
'ServerVersion',
'CreateMode',
'RestoreMode',
'CreatedByType',
'IndexingMode',
'DataType',
'IndexKind',
Expand All @@ -597,11 +497,8 @@
'ConflictResolutionMode',
'TriggerType',
'TriggerOperation',
'ResourceIdentityType',
'KeyKind',
'UnitType',
'PrimaryAggregationType',
'ApiType',
'RoleDefinitionType',
'OperationType',
'BackupPolicyType',
]
Loading

0 comments on commit 01004e8

Please sign in to comment.