Skip to content

Commit

Permalink
CodeGen from PR 16211 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge e112c4b95c3fb11a7ee26d63bf8648bdbc7061a3 into 99171fc262cf5a72d939a5273406c24f745836d3
  • Loading branch information
SDKAuto committed Oct 26, 2021
1 parent 81915b2 commit 633f35d
Show file tree
Hide file tree
Showing 23 changed files with 3,752 additions and 137 deletions.
2 changes: 1 addition & 1 deletion sdk/cosmosdb/arm-cosmosdb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/cosmosdb/arm-cosmosdb",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cosmosdb/arm-cosmosdb",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
6 changes: 6 additions & 0 deletions sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class CosmosDBManagementClient extends CosmosDBManagementClientContext {
tableResources: operations.TableResources;
cassandraResources: operations.CassandraResources;
gremlinResources: operations.GremlinResources;
locations: operations.Locations;
notebookWorkspaces: operations.NotebookWorkspaces;
privateEndpointConnections: operations.PrivateEndpointConnections;
privateLinkResources: operations.PrivateLinkResources;
Expand All @@ -45,6 +46,8 @@ class CosmosDBManagementClient extends CosmosDBManagementClientContext {
restorableMongodbDatabases: operations.RestorableMongodbDatabases;
restorableMongodbCollections: operations.RestorableMongodbCollections;
restorableMongodbResources: operations.RestorableMongodbResources;
cassandraClusters: operations.CassandraClusters;
cassandraDataCenters: operations.CassandraDataCenters;

/**
* Initializes a new instance of the CosmosDBManagementClient class.
Expand Down Expand Up @@ -77,6 +80,7 @@ class CosmosDBManagementClient extends CosmosDBManagementClientContext {
this.tableResources = new operations.TableResources(this);
this.cassandraResources = new operations.CassandraResources(this);
this.gremlinResources = new operations.GremlinResources(this);
this.locations = new operations.Locations(this);
this.notebookWorkspaces = new operations.NotebookWorkspaces(this);
this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
this.privateLinkResources = new operations.PrivateLinkResources(this);
Expand All @@ -87,6 +91,8 @@ class CosmosDBManagementClient extends CosmosDBManagementClientContext {
this.restorableMongodbDatabases = new operations.RestorableMongodbDatabases(this);
this.restorableMongodbCollections = new operations.RestorableMongodbCollections(this);
this.restorableMongodbResources = new operations.RestorableMongodbResources(this);
this.cassandraClusters = new operations.CassandraClusters(this);
this.cassandraDataCenters = new operations.CassandraDataCenters(this);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const packageVersion = "14.1.1";

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

/**
* Initializes a new instance of the CosmosDBManagementClient class.
Expand Down Expand Up @@ -49,7 +49,7 @@ export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceCli

super(credentials, options);

this.apiVersion = '2021-06-15';
this.apiVersion = '2021-10-15';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
153 changes: 153 additions & 0 deletions sdk/cosmosdb/arm-cosmosdb/src/models/cassandraClustersMappers.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

export {
discriminators,
AnalyticalStorageConfiguration,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
AutoscaleSettings,
AutoscaleSettingsResource,
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
BackupPolicyMigrationState,
BaseResource,
Capability,
Capacity,
CassandraClusterPublicStatus,
CassandraClusterPublicStatusDataCentersItem,
CassandraClusterPublicStatusDataCentersItemNodesItem,
CassandraKeyspaceCreateUpdateParameters,
CassandraKeyspaceGetPropertiesOptions,
CassandraKeyspaceGetPropertiesResource,
CassandraKeyspaceGetResults,
CassandraKeyspaceResource,
CassandraPartitionKey,
CassandraSchema,
CassandraTableCreateUpdateParameters,
CassandraTableGetPropertiesOptions,
CassandraTableGetPropertiesResource,
CassandraTableGetResults,
CassandraTableResource,
Certificate,
CloudError,
ClusterKey,
ClusterResource,
ClusterResourceProperties,
Column,
CommandOutput,
CommandPostBody,
CompositePath,
ConflictResolutionPolicy,
ConnectionError,
ConsistencyPolicy,
ContainerPartitionKey,
ContinuousModeBackupPolicy,
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
DatabaseAccountGetResults,
DatabaseRestoreResource,
DataCenterResource,
DataCenterResourceProperties,
ErrorResponse,
ExcludedPath,
FailoverPolicy,
GremlinDatabaseCreateUpdateParameters,
GremlinDatabaseGetPropertiesOptions,
GremlinDatabaseGetPropertiesResource,
GremlinDatabaseGetResults,
GremlinDatabaseResource,
GremlinGraphCreateUpdateParameters,
GremlinGraphGetPropertiesOptions,
GremlinGraphGetPropertiesResource,
GremlinGraphGetResults,
GremlinGraphResource,
IncludedPath,
Indexes,
IndexingPolicy,
IpAddressOrRange,
ListClusters,
Location,
LocationGetResult,
LocationProperties,
ManagedCassandraARMResourceProperties,
ManagedCassandraManagedServiceIdentity,
ManagedCassandraReaperStatus,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MongoDBCollectionCreateUpdateParameters,
MongoDBCollectionGetPropertiesOptions,
MongoDBCollectionGetPropertiesResource,
MongoDBCollectionGetResults,
MongoDBCollectionResource,
MongoDBDatabaseCreateUpdateParameters,
MongoDBDatabaseGetPropertiesOptions,
MongoDBDatabaseGetPropertiesResource,
MongoDBDatabaseGetResults,
MongoDBDatabaseResource,
MongoIndex,
MongoIndexKeys,
MongoIndexOptions,
NotebookWorkspace,
NotebookWorkspaceCreateUpdateParameters,
OptionsResource,
PeriodicModeBackupPolicy,
PeriodicModeProperties,
Permission,
PrivateEndpointConnection,
PrivateEndpointProperty,
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
Resource,
RestoreParameters,
SeedNode,
SpatialSpec,
SqlContainerCreateUpdateParameters,
SqlContainerGetPropertiesOptions,
SqlContainerGetPropertiesResource,
SqlContainerGetResults,
SqlContainerResource,
SqlDatabaseCreateUpdateParameters,
SqlDatabaseGetPropertiesOptions,
SqlDatabaseGetPropertiesResource,
SqlDatabaseGetResults,
SqlDatabaseResource,
SqlRoleAssignmentGetResults,
SqlRoleDefinitionGetResults,
SqlStoredProcedureCreateUpdateParameters,
SqlStoredProcedureGetPropertiesResource,
SqlStoredProcedureGetResults,
SqlStoredProcedureResource,
SqlTriggerCreateUpdateParameters,
SqlTriggerGetPropertiesResource,
SqlTriggerGetResults,
SqlTriggerResource,
SqlUserDefinedFunctionCreateUpdateParameters,
SqlUserDefinedFunctionGetPropertiesResource,
SqlUserDefinedFunctionGetResults,
SqlUserDefinedFunctionResource,
SystemData,
TableCreateUpdateParameters,
TableGetPropertiesOptions,
TableGetPropertiesResource,
TableGetResults,
TableResource,
ThroughputPolicyResource,
ThroughputSettingsGetPropertiesResource,
ThroughputSettingsGetResults,
ThroughputSettingsResource,
ThroughputSettingsUpdateParameters,
TrackedResource,
UniqueKey,
UniqueKeyPolicy,
VirtualNetworkRule
} from "../models/mappers";
146 changes: 146 additions & 0 deletions sdk/cosmosdb/arm-cosmosdb/src/models/cassandraDataCentersMappers.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

export {
discriminators,
AnalyticalStorageConfiguration,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
AutoscaleSettings,
AutoscaleSettingsResource,
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
BackupPolicyMigrationState,
BaseResource,
Capability,
Capacity,
CassandraKeyspaceCreateUpdateParameters,
CassandraKeyspaceGetPropertiesOptions,
CassandraKeyspaceGetPropertiesResource,
CassandraKeyspaceGetResults,
CassandraKeyspaceResource,
CassandraPartitionKey,
CassandraSchema,
CassandraTableCreateUpdateParameters,
CassandraTableGetPropertiesOptions,
CassandraTableGetPropertiesResource,
CassandraTableGetResults,
CassandraTableResource,
Certificate,
CloudError,
ClusterKey,
ClusterResource,
ClusterResourceProperties,
Column,
CompositePath,
ConflictResolutionPolicy,
ConsistencyPolicy,
ContainerPartitionKey,
ContinuousModeBackupPolicy,
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
DatabaseAccountGetResults,
DatabaseRestoreResource,
DataCenterResource,
DataCenterResourceProperties,
ErrorResponse,
ExcludedPath,
FailoverPolicy,
GremlinDatabaseCreateUpdateParameters,
GremlinDatabaseGetPropertiesOptions,
GremlinDatabaseGetPropertiesResource,
GremlinDatabaseGetResults,
GremlinDatabaseResource,
GremlinGraphCreateUpdateParameters,
GremlinGraphGetPropertiesOptions,
GremlinGraphGetPropertiesResource,
GremlinGraphGetResults,
GremlinGraphResource,
IncludedPath,
Indexes,
IndexingPolicy,
IpAddressOrRange,
ListDataCenters,
Location,
LocationGetResult,
LocationProperties,
ManagedCassandraARMResourceProperties,
ManagedCassandraManagedServiceIdentity,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MongoDBCollectionCreateUpdateParameters,
MongoDBCollectionGetPropertiesOptions,
MongoDBCollectionGetPropertiesResource,
MongoDBCollectionGetResults,
MongoDBCollectionResource,
MongoDBDatabaseCreateUpdateParameters,
MongoDBDatabaseGetPropertiesOptions,
MongoDBDatabaseGetPropertiesResource,
MongoDBDatabaseGetResults,
MongoDBDatabaseResource,
MongoIndex,
MongoIndexKeys,
MongoIndexOptions,
NotebookWorkspace,
NotebookWorkspaceCreateUpdateParameters,
OptionsResource,
PeriodicModeBackupPolicy,
PeriodicModeProperties,
Permission,
PrivateEndpointConnection,
PrivateEndpointProperty,
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
Resource,
RestoreParameters,
SeedNode,
SpatialSpec,
SqlContainerCreateUpdateParameters,
SqlContainerGetPropertiesOptions,
SqlContainerGetPropertiesResource,
SqlContainerGetResults,
SqlContainerResource,
SqlDatabaseCreateUpdateParameters,
SqlDatabaseGetPropertiesOptions,
SqlDatabaseGetPropertiesResource,
SqlDatabaseGetResults,
SqlDatabaseResource,
SqlRoleAssignmentGetResults,
SqlRoleDefinitionGetResults,
SqlStoredProcedureCreateUpdateParameters,
SqlStoredProcedureGetPropertiesResource,
SqlStoredProcedureGetResults,
SqlStoredProcedureResource,
SqlTriggerCreateUpdateParameters,
SqlTriggerGetPropertiesResource,
SqlTriggerGetResults,
SqlTriggerResource,
SqlUserDefinedFunctionCreateUpdateParameters,
SqlUserDefinedFunctionGetPropertiesResource,
SqlUserDefinedFunctionGetResults,
SqlUserDefinedFunctionResource,
SystemData,
TableCreateUpdateParameters,
TableGetPropertiesOptions,
TableGetPropertiesResource,
TableGetResults,
TableResource,
ThroughputPolicyResource,
ThroughputSettingsGetPropertiesResource,
ThroughputSettingsGetResults,
ThroughputSettingsResource,
ThroughputSettingsUpdateParameters,
TrackedResource,
UniqueKey,
UniqueKeyPolicy,
VirtualNetworkRule
} from "../models/mappers";
Loading

0 comments on commit 633f35d

Please sign in to comment.