Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-cosmosdb] [CosmosDB] Add new APIversion stable/2020-09-01 #1960

Closed
Closed
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: 0 additions & 4 deletions sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ class CosmosDBManagementClient extends CosmosDBManagementClientContext {
cassandraResources: operations.CassandraResources;
gremlinResources: operations.GremlinResources;
notebookWorkspaces: operations.NotebookWorkspaces;
privateLinkResources: operations.PrivateLinkResources;
privateEndpointConnections: operations.PrivateEndpointConnections;

/**
* Initializes a new instance of the CosmosDBManagementClient class.
Expand Down Expand Up @@ -66,8 +64,6 @@ class CosmosDBManagementClient extends CosmosDBManagementClientContext {
this.cassandraResources = new operations.CassandraResources(this);
this.gremlinResources = new operations.GremlinResources(this);
this.notebookWorkspaces = new operations.NotebookWorkspaces(this);
this.privateLinkResources = new operations.PrivateLinkResources(this);
this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const packageVersion = "9.1.0";

export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceClient {
credentials: msRest.ServiceClientCredentials;
apiVersion?: string;
subscriptionId: string;

/**
Expand All @@ -43,6 +44,7 @@ export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceCli

super(credentials, options);

this.apiVersion = '2020-09-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
*/

export {
discriminators,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
AutoscaleSettings,
AutoscaleSettingsResource,
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
Expand All @@ -37,10 +39,13 @@ export {
ConflictResolutionPolicy,
ConsistencyPolicy,
ContainerPartitionKey,
ContinuousModeBackupPolicy,
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
DatabaseAccountGetResults,
ErrorResponse,
ErrorResponseUpdatedFormat,
ExcludedPath,
FailoverPolicy,
GremlinDatabaseCreateUpdateParameters,
Expand Down Expand Up @@ -74,9 +79,10 @@ export {
NotebookWorkspace,
NotebookWorkspaceCreateUpdateParameters,
OptionsResource,
PeriodicModeBackupPolicy,
PeriodicModeProperties,
PrivateEndpointConnection,
PrivateEndpointProperty,
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
Resource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

export {
discriminators,
CloudError,
Metric,
MetricAvailability,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

export {
discriminators,
CloudError,
Metric,
MetricName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

export {
discriminators,
CloudError,
Metric,
MetricName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

export {
discriminators,
CloudError,
Metric,
MetricListResult,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

export {
discriminators,
CloudError,
Metric,
MetricListResult,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
*/

export {
discriminators,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
AutoscaleSettings,
AutoscaleSettingsResource,
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
Expand All @@ -35,6 +37,7 @@ export {
ConflictResolutionPolicy,
ConsistencyPolicy,
ContainerPartitionKey,
ContinuousModeBackupPolicy,
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountConnectionString,
Expand Down Expand Up @@ -91,9 +94,10 @@ export {
PartitionMetric,
PartitionUsage,
PercentileMetricValue,
PeriodicModeBackupPolicy,
PeriodicModeProperties,
PrivateEndpointConnection,
PrivateEndpointProperty,
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
RegionForOnlineOffline,
Expand Down
1 change: 1 addition & 0 deletions sdk/cosmosdb/arm-cosmosdb/src/models/databaseMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

export {
discriminators,
CloudError,
Metric,
MetricAvailability,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
*/

export {
discriminators,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
AutoscaleSettings,
AutoscaleSettingsResource,
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
Expand All @@ -35,10 +37,13 @@ export {
ConflictResolutionPolicy,
ConsistencyPolicy,
ContainerPartitionKey,
ContinuousModeBackupPolicy,
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
DatabaseAccountGetResults,
ErrorResponse,
ErrorResponseUpdatedFormat,
ExcludedPath,
FailoverPolicy,
GremlinDatabaseCreateUpdateParameters,
Expand Down Expand Up @@ -74,9 +79,10 @@ export {
NotebookWorkspace,
NotebookWorkspaceCreateUpdateParameters,
OptionsResource,
PeriodicModeBackupPolicy,
PeriodicModeProperties,
PrivateEndpointConnection,
PrivateEndpointProperty,
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
Resource,
Expand Down
Loading