diff --git a/sdk/cosmosdb/arm-cosmosdb/README.md b/sdk/cosmosdb/arm-cosmosdb/README.md
index 49e09733ceb6..73e3db480ef7 100644
--- a/sdk/cosmosdb/arm-cosmosdb/README.md
+++ b/sdk/cosmosdb/arm-cosmosdb/README.md
@@ -1,93 +1,101 @@
## Azure CosmosDBManagementClient SDK for JavaScript
-This package contains an isomorphic SDK for CosmosDBManagementClient.
+This package contains an isomorphic SDK (runs both in node.js and in browsers) for CosmosDBManagementClient.
### Currently supported environments
-- Node.js version 6.x.x or higher
-- Browser JavaScript
+- [LTS versions of Node.js](https://nodejs.org/about/releases/)
+- Latest versions of Safari, Chrome, Edge and Firefox.
-### How to Install
+### Prerequisites
+You must have an [Azure subscription](https://azure.microsoft.com/free/).
+
+### How to install
+
+To use this SDK in your project, you will need to install two packages.
+- `@azure/arm-cosmosdb` that contains the client.
+- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory.
+
+Install both packages using the below command:
```bash
-npm install @azure/arm-cosmosdb
+npm install --save @azure/arm-cosmosdb @azure/identity
```
+> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features.
+If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options.
### How to use
-#### nodejs - client creation and get databaseAccounts as an example written in TypeScript.
+- If you are writing a client side browser application,
+ - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions.
+ - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below.
+- If you are writing a server side application,
+ - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples)
+ - Complete the set up steps required by the credential if any.
+ - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below.
-##### Install @azure/ms-rest-nodeauth
-
-- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
-```bash
-npm install @azure/ms-rest-nodeauth@"^3.0.0"
-```
+In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
+Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started.
+#### nodejs - Authentication, client creation, and get databaseAccounts as an example written in JavaScript.
##### Sample code
-While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
-```typescript
-const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
+```javascript
+const { DefaultAzureCredential } = require("@azure/identity");
const { CosmosDBManagementClient } = require("@azure/arm-cosmosdb");
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
-msRestNodeAuth.interactiveLogin().then((creds) => {
- const client = new CosmosDBManagementClient(creds, subscriptionId);
- const resourceGroupName = "testresourceGroupName";
- const accountName = "testaccountName";
- client.databaseAccounts.get(resourceGroupName, accountName).then((result) => {
- console.log("The result is:");
- console.log(result);
- });
+// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples
+// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead.
+const creds = new DefaultAzureCredential();
+const client = new CosmosDBManagementClient(creds, subscriptionId);
+const resourceGroupName = "testresourceGroupName";
+const accountName = "testaccountName";
+client.databaseAccounts.get(resourceGroupName, accountName).then((result) => {
+ console.log("The result is:");
+ console.log(result);
}).catch((err) => {
+ console.log("An error occurred:");
console.error(err);
});
```
-#### browser - Authentication, client creation and get databaseAccounts as an example written in JavaScript.
+#### browser - Authentication, client creation, and get databaseAccounts as an example written in JavaScript.
-##### Install @azure/ms-rest-browserauth
-
-```bash
-npm install @azure/ms-rest-browserauth
-```
+In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser.
+ - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser.
+ - Note down the client Id from the previous step and use it in the browser sample below.
##### Sample code
-See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser.
-
- index.html
+
```html
@azure/arm-cosmosdb sample
-
-
+
diff --git a/sdk/cosmosdb/arm-cosmosdb/package.json b/sdk/cosmosdb/arm-cosmosdb/package.json
index 71ccc5cc4a9e..2e0d0751d3ae 100644
--- a/sdk/cosmosdb/arm-cosmosdb/package.json
+++ b/sdk/cosmosdb/arm-cosmosdb/package.json
@@ -4,8 +4,9 @@
"description": "CosmosDBManagementClient Library with typescript type definitions for node.js and browser.",
"version": "13.0.0",
"dependencies": {
- "@azure/ms-rest-azure-js": "^2.0.1",
- "@azure/ms-rest-js": "^2.0.4",
+ "@azure/ms-rest-azure-js": "^2.1.0",
+ "@azure/ms-rest-js": "^2.2.0",
+ "@azure/core-auth": "^1.1.4",
"tslib": "^1.10.0"
},
"keywords": [
@@ -20,7 +21,7 @@
"module": "./esm/cosmosDBManagementClient.js",
"types": "./esm/cosmosDBManagementClient.d.ts",
"devDependencies": {
- "typescript": "^3.5.3",
+ "typescript": "^3.6.0",
"rollup": "^1.18.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.4.2",
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts b/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts
index 21d46d89a9ef..bb1862208b62 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts
@@ -8,12 +8,13 @@
*/
import * as msRest from "@azure/ms-rest-js";
+import { TokenCredential } from "@azure/core-auth";
import * as Models from "./models";
import * as Mappers from "./models/mappers";
-import * as Parameters from "./models/parameters";
import * as operations from "./operations";
import { CosmosDBManagementClientContext } from "./cosmosDBManagementClientContext";
+
class CosmosDBManagementClient extends CosmosDBManagementClientContext {
// Operation groups
databaseAccounts: operations.DatabaseAccounts;
@@ -34,31 +35,29 @@ class CosmosDBManagementClient extends CosmosDBManagementClientContext {
tableResources: operations.TableResources;
cassandraResources: operations.CassandraResources;
gremlinResources: operations.GremlinResources;
- restorableDatabaseAccounts: operations.RestorableDatabaseAccounts;
notebookWorkspaces: operations.NotebookWorkspaces;
+ privateEndpointConnections: operations.PrivateEndpointConnections;
+ privateLinkResources: operations.PrivateLinkResources;
+ restorableDatabaseAccounts: operations.RestorableDatabaseAccounts;
restorableSqlDatabases: operations.RestorableSqlDatabases;
restorableSqlContainers: operations.RestorableSqlContainers;
restorableSqlResources: operations.RestorableSqlResources;
restorableMongodbDatabases: operations.RestorableMongodbDatabases;
restorableMongodbCollections: operations.RestorableMongodbCollections;
restorableMongodbResources: operations.RestorableMongodbResources;
- cassandraClusters: operations.CassandraClusters;
- cassandraDataCenters: operations.CassandraDataCenters;
- privateLinkResources: operations.PrivateLinkResources;
- privateEndpointConnections: operations.PrivateEndpointConnections;
- service: operations.Service;
/**
* Initializes a new instance of the CosmosDBManagementClient class.
- * @param credentials Credentials needed for the client to connect to Azure.
+ * @param credentials Credentials needed for the client to connect to Azure. Credentials
+ * implementing the TokenCredential interface from the @azure/identity package are recommended. For
+ * more information about these credentials, see
+ * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
+ * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
+ * @azure/ms-rest-browserauth are also supported.
* @param subscriptionId The ID of the target subscription.
* @param [options] The parameter options
*/
- constructor(
- credentials: msRest.ServiceClientCredentials,
- subscriptionId: string,
- options?: Models.CosmosDBManagementClientOptions
- ) {
+ constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.CosmosDBManagementClientOptions) {
super(credentials, subscriptionId, options);
this.databaseAccounts = new operations.DatabaseAccounts(this);
this.operations = new operations.Operations(this);
@@ -78,128 +77,20 @@ class CosmosDBManagementClient extends CosmosDBManagementClientContext {
this.tableResources = new operations.TableResources(this);
this.cassandraResources = new operations.CassandraResources(this);
this.gremlinResources = new operations.GremlinResources(this);
- this.restorableDatabaseAccounts = new operations.RestorableDatabaseAccounts(this);
this.notebookWorkspaces = new operations.NotebookWorkspaces(this);
+ this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
+ this.privateLinkResources = new operations.PrivateLinkResources(this);
+ this.restorableDatabaseAccounts = new operations.RestorableDatabaseAccounts(this);
this.restorableSqlDatabases = new operations.RestorableSqlDatabases(this);
this.restorableSqlContainers = new operations.RestorableSqlContainers(this);
this.restorableSqlResources = new operations.RestorableSqlResources(this);
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);
- this.privateLinkResources = new operations.PrivateLinkResources(this);
- this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
- this.service = new operations.Service(this);
- }
-
- /**
- * List Cosmos DB locations and their properties
- * @param [options] The optional parameters
- * @returns Promise
- */
- locationList(options?: msRest.RequestOptionsBase): Promise;
- /**
- * @param callback The callback
- */
- locationList(callback: msRest.ServiceCallback): void;
- /**
- * @param options The optional parameters
- * @param callback The callback
- */
- locationList(
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- locationList(
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.sendOperationRequest(
- {
- options
- },
- locationListOperationSpec,
- callback
- ) as Promise;
- }
-
- /**
- * Get the properties of an existing Cosmos DB location
- * @param location Cosmos DB region, with spaces between words and each word capitalized.
- * @param [options] The optional parameters
- * @returns Promise
- */
- locationGet(
- location: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param location Cosmos DB region, with spaces between words and each word capitalized.
- * @param callback The callback
- */
- locationGet(location: string, callback: msRest.ServiceCallback): void;
- /**
- * @param location Cosmos DB region, with spaces between words and each word capitalized.
- * @param options The optional parameters
- * @param callback The callback
- */
- locationGet(
- location: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- locationGet(
- location: string,
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.sendOperationRequest(
- {
- location,
- options
- },
- locationGetOperationSpec,
- callback
- ) as Promise;
}
}
// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const locationListOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations",
- urlParameters: [Parameters.subscriptionId],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.LocationListResult
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const locationGetOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}",
- urlParameters: [Parameters.subscriptionId, Parameters.location],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.LocationGetResult
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
export {
CosmosDBManagementClient,
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClientContext.ts b/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClientContext.ts
index d86495da1fe1..22944136c4ab 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClientContext.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClientContext.ts
@@ -10,31 +10,33 @@
import * as Models from "./models";
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
+import { TokenCredential } from "@azure/core-auth";
const packageName = "@azure/arm-cosmosdb";
const packageVersion = "13.0.0";
export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceClient {
- credentials: msRest.ServiceClientCredentials;
+ credentials: msRest.ServiceClientCredentials | TokenCredential;
apiVersion?: string;
subscriptionId: string;
/**
* Initializes a new instance of the CosmosDBManagementClient class.
- * @param credentials Credentials needed for the client to connect to Azure.
+ * @param credentials Credentials needed for the client to connect to Azure. Credentials
+ * implementing the TokenCredential interface from the @azure/identity package are recommended. For
+ * more information about these credentials, see
+ * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
+ * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
+ * @azure/ms-rest-browserauth are also supported.
* @param subscriptionId The ID of the target subscription.
* @param [options] The parameter options
*/
- constructor(
- credentials: msRest.ServiceClientCredentials,
- subscriptionId: string,
- options?: Models.CosmosDBManagementClientOptions
- ) {
+ constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.CosmosDBManagementClientOptions) {
if (credentials == undefined) {
- throw new Error("'credentials' cannot be null.");
+ throw new Error('\'credentials\' cannot be null.');
}
if (subscriptionId == undefined) {
- throw new Error("'subscriptionId' cannot be null.");
+ throw new Error('\'subscriptionId\' cannot be null.');
}
if (!options) {
@@ -47,8 +49,8 @@ export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceCli
super(credentials, options);
- this.apiVersion = "2021-04-01-preview";
- this.acceptLanguage = "en-US";
+ this.apiVersion = '2021-06-15';
+ this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
this.requestContentType = "application/json; charset=utf-8";
@@ -58,10 +60,7 @@ export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceCli
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
- if (
- options.longRunningOperationRetryTimeout !== null &&
- options.longRunningOperationRetryTimeout !== undefined
- ) {
+ if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
}
}
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraClustersMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraClustersMappers.ts
deleted file mode 100644
index 9e67fdfb9e8f..000000000000
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraClustersMappers.ts
+++ /dev/null
@@ -1,157 +0,0 @@
-/*
- * 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,
- ApiProperties,
- ARMProxyResource,
- ARMResourceProperties,
- AutoscaleSettings,
- AutoscaleSettingsResource,
- AutoUpgradePolicyResource,
- AzureEntityResource,
- BackupPolicy,
- BackupResource,
- BackupResourceProperties,
- BaseResource,
- Capability,
- CassandraKeyspaceCreateUpdateParameters,
- CassandraKeyspaceGetPropertiesOptions,
- CassandraKeyspaceGetPropertiesResource,
- CassandraKeyspaceGetResults,
- CassandraKeyspaceResource,
- CassandraPartitionKey,
- CassandraSchema,
- CassandraTableCreateUpdateParameters,
- CassandraTableGetPropertiesOptions,
- CassandraTableGetPropertiesResource,
- CassandraTableGetResults,
- CassandraTableResource,
- Certificate,
- CloudError,
- ClusterKey,
- ClusterNodeStatus,
- ClusterNodeStatusNodesItem,
- ClusterResource,
- ClusterResourceProperties,
- Column,
- CompositePath,
- ConflictResolutionPolicy,
- ConsistencyPolicy,
- ContainerPartitionKey,
- ContinuousModeBackupPolicy,
- CorsPolicy,
- CreateUpdateOptions,
- DatabaseAccountCreateUpdateParameters,
- DatabaseAccountCreateUpdateProperties,
- DatabaseAccountGetResults,
- DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
- ErrorResponse,
- ExcludedPath,
- FailoverPolicy,
- GremlinDatabaseCreateUpdateParameters,
- GremlinDatabaseGetPropertiesOptions,
- GremlinDatabaseGetPropertiesResource,
- GremlinDatabaseGetResults,
- GremlinDatabaseResource,
- GremlinGraphCreateUpdateParameters,
- GremlinGraphGetPropertiesOptions,
- GremlinGraphGetPropertiesResource,
- GremlinGraphGetResults,
- GremlinGraphResource,
- IncludedPath,
- Indexes,
- IndexingPolicy,
- IpAddressOrRange,
- ListBackups,
- ListClusters,
- Location,
- LocationGetResult,
- LocationProperties,
- 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,
- RegionalServiceResource,
- RepairPostBody,
- Resource,
- RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceProperties,
- SpatialSpec,
- SqlContainerCreateUpdateParameters,
- SqlContainerGetPropertiesOptions,
- SqlContainerGetPropertiesResource,
- SqlContainerGetResults,
- SqlContainerResource,
- SqlDatabaseCreateUpdateParameters,
- SqlDatabaseGetPropertiesOptions,
- SqlDatabaseGetPropertiesResource,
- SqlDatabaseGetResults,
- SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
- 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";
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraDataCentersMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraDataCentersMappers.ts
deleted file mode 100644
index d57558e9a0f3..000000000000
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraDataCentersMappers.ts
+++ /dev/null
@@ -1,153 +0,0 @@
-/*
- * 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,
- ApiProperties,
- ARMProxyResource,
- ARMResourceProperties,
- AutoscaleSettings,
- AutoscaleSettingsResource,
- AutoUpgradePolicyResource,
- AzureEntityResource,
- BackupPolicy,
- BackupResource,
- BackupResourceProperties,
- BaseResource,
- Capability,
- 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,
- DatabaseAccountCreateUpdateProperties,
- DatabaseAccountGetResults,
- DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
- ErrorResponse,
- ExcludedPath,
- FailoverPolicy,
- GremlinDatabaseCreateUpdateParameters,
- GremlinDatabaseGetPropertiesOptions,
- GremlinDatabaseGetPropertiesResource,
- GremlinDatabaseGetResults,
- GremlinDatabaseResource,
- GremlinGraphCreateUpdateParameters,
- GremlinGraphGetPropertiesOptions,
- GremlinGraphGetPropertiesResource,
- GremlinGraphGetResults,
- GremlinGraphResource,
- IncludedPath,
- Indexes,
- IndexingPolicy,
- IpAddressOrRange,
- ListDataCenters,
- Location,
- LocationGetResult,
- LocationProperties,
- 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,
- RegionalServiceResource,
- Resource,
- RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceProperties,
- SpatialSpec,
- SqlContainerCreateUpdateParameters,
- SqlContainerGetPropertiesOptions,
- SqlContainerGetPropertiesResource,
- SqlContainerGetResults,
- SqlContainerResource,
- SqlDatabaseCreateUpdateParameters,
- SqlDatabaseGetPropertiesOptions,
- SqlDatabaseGetPropertiesResource,
- SqlDatabaseGetResults,
- SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
- 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";
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraResourcesMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraResourcesMappers.ts
index c591def4958d..74398ce35f03 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraResourcesMappers.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraResourcesMappers.ts
@@ -8,6 +8,7 @@
export {
discriminators,
+ AnalyticalStorageConfiguration,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
@@ -16,8 +17,7 @@ export {
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
- BackupResource,
- BackupResourceProperties,
+ BackupPolicyMigrationState,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
@@ -34,11 +34,8 @@ export {
CassandraTableGetResults,
CassandraTableListResult,
CassandraTableResource,
- Certificate,
CloudError,
ClusterKey,
- ClusterResource,
- ClusterResourceProperties,
Column,
CompositePath,
ConflictResolutionPolicy,
@@ -48,14 +45,8 @@ export {
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
- DatabaseAccountCreateUpdateProperties,
DatabaseAccountGetResults,
DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
ExcludedPath,
FailoverPolicy,
GremlinDatabaseCreateUpdateParameters,
@@ -73,8 +64,6 @@ export {
IndexingPolicy,
IpAddressOrRange,
Location,
- LocationGetResult,
- LocationProperties,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MongoDBCollectionCreateUpdateParameters,
@@ -101,13 +90,8 @@ export {
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
- RegionalServiceResource,
Resource,
RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceProperties,
SpatialSpec,
SqlContainerCreateUpdateParameters,
SqlContainerGetPropertiesOptions,
@@ -119,8 +103,6 @@ export {
SqlDatabaseGetPropertiesResource,
SqlDatabaseGetResults,
SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
SqlRoleAssignmentGetResults,
SqlRoleDefinitionGetResults,
SqlStoredProcedureCreateUpdateParameters,
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/databaseAccountsMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/databaseAccountsMappers.ts
index f649a0bbf516..daf8a890c4d4 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/databaseAccountsMappers.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/databaseAccountsMappers.ts
@@ -8,6 +8,7 @@
export {
discriminators,
+ AnalyticalStorageConfiguration,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
@@ -16,8 +17,7 @@ export {
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
- BackupResource,
- BackupResourceProperties,
+ BackupPolicyMigrationState,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
@@ -32,11 +32,8 @@ export {
CassandraTableGetPropertiesResource,
CassandraTableGetResults,
CassandraTableResource,
- Certificate,
CloudError,
ClusterKey,
- ClusterResource,
- ClusterResourceProperties,
Column,
CompositePath,
ConflictResolutionPolicy,
@@ -47,7 +44,6 @@ export {
CreateUpdateOptions,
DatabaseAccountConnectionString,
DatabaseAccountCreateUpdateParameters,
- DatabaseAccountCreateUpdateProperties,
DatabaseAccountGetResults,
DatabaseAccountListConnectionStringsResult,
DatabaseAccountListKeysResult,
@@ -56,11 +52,6 @@ export {
DatabaseAccountsListResult,
DatabaseAccountUpdateParameters,
DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
ErrorResponse,
ExcludedPath,
FailoverPolicies,
@@ -80,8 +71,6 @@ export {
IndexingPolicy,
IpAddressOrRange,
Location,
- LocationGetResult,
- LocationProperties,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
Metric,
@@ -118,14 +107,9 @@ export {
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
- RegionalServiceResource,
RegionForOnlineOffline,
Resource,
RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceProperties,
SpatialSpec,
SqlContainerCreateUpdateParameters,
SqlContainerGetPropertiesOptions,
@@ -137,8 +121,6 @@ export {
SqlDatabaseGetPropertiesResource,
SqlDatabaseGetResults,
SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
SqlRoleAssignmentGetResults,
SqlRoleDefinitionGetResults,
SqlStoredProcedureCreateUpdateParameters,
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/gremlinResourcesMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/gremlinResourcesMappers.ts
index 6729f9193f42..c950ad92168e 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/gremlinResourcesMappers.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/gremlinResourcesMappers.ts
@@ -8,6 +8,7 @@
export {
discriminators,
+ AnalyticalStorageConfiguration,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
@@ -16,8 +17,7 @@ export {
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
- BackupResource,
- BackupResourceProperties,
+ BackupPolicyMigrationState,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
@@ -32,11 +32,8 @@ export {
CassandraTableGetPropertiesResource,
CassandraTableGetResults,
CassandraTableResource,
- Certificate,
CloudError,
ClusterKey,
- ClusterResource,
- ClusterResourceProperties,
Column,
CompositePath,
ConflictResolutionPolicy,
@@ -46,14 +43,8 @@ export {
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
- DatabaseAccountCreateUpdateProperties,
DatabaseAccountGetResults,
DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
ExcludedPath,
FailoverPolicy,
GremlinDatabaseCreateUpdateParameters,
@@ -73,8 +64,6 @@ export {
IndexingPolicy,
IpAddressOrRange,
Location,
- LocationGetResult,
- LocationProperties,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MongoDBCollectionCreateUpdateParameters,
@@ -101,13 +90,8 @@ export {
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
- RegionalServiceResource,
Resource,
RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceProperties,
SpatialSpec,
SqlContainerCreateUpdateParameters,
SqlContainerGetPropertiesOptions,
@@ -119,8 +103,6 @@ export {
SqlDatabaseGetPropertiesResource,
SqlDatabaseGetResults,
SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
SqlRoleAssignmentGetResults,
SqlRoleDefinitionGetResults,
SqlStoredProcedureCreateUpdateParameters,
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts
index 363ffc4e526a..957f3666b2df 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts
@@ -11,6 +11,53 @@ import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
+/**
+ * An interface representing ManagedServiceIdentityUserAssignedIdentitiesValue.
+ */
+export interface ManagedServiceIdentityUserAssignedIdentitiesValue {
+ /**
+ * The principal id of user assigned identity.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly principalId?: string;
+ /**
+ * The client id of user assigned identity.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly clientId?: string;
+}
+
+/**
+ * Identity for the resource.
+ */
+export interface ManagedServiceIdentity {
+ /**
+ * The principal id of the system assigned identity. This property will only be provided for a
+ * system assigned identity.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly principalId?: string;
+ /**
+ * The tenant id of the system assigned identity. This property will only be provided for a
+ * system assigned identity.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly tenantId?: string;
+ /**
+ * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes
+ * both an implicitly created identity and a set of user assigned identities. The type 'None'
+ * will remove any identities from the service. Possible values include: 'SystemAssigned',
+ * 'UserAssigned', 'SystemAssigned,UserAssigned', 'None'
+ */
+ type?: ResourceIdentityType;
+ /**
+ * The list of user identities associated with resource. The user identity dictionary key
+ * references will be ARM resource ids in the form:
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ */
+ userAssignedIdentities?: { [propertyName: string]: ManagedServiceIdentityUserAssignedIdentitiesValue };
+}
+
/**
* IpAddressOrRange object
*/
@@ -186,7 +233,8 @@ export interface Resource extends BaseResource {
* and a location
* @summary Proxy Resource
*/
-export interface ProxyResource extends Resource {}
+export interface ProxyResource extends Resource {
+}
/**
* A private endpoint connection
@@ -221,6 +269,16 @@ export interface ApiProperties {
serverVersion?: ServerVersion;
}
+/**
+ * Analytical storage specific properties.
+ */
+export interface AnalyticalStorageConfiguration {
+ /**
+ * Possible values include: 'WellDefined', 'FullFidelity'
+ */
+ schemaType?: AnalyticalStorageSchemaType;
+}
+
/**
* Specific Databases to restore.
*/
@@ -259,13 +317,30 @@ export interface RestoreParameters {
databasesToRestore?: DatabaseRestoreResource[];
}
+/**
+ * The object representing the state of the migration between the backup policies.
+ */
+export interface BackupPolicyMigrationState {
+ /**
+ * Describes the status of migration between backup policy types. Possible values include:
+ * 'Invalid', 'InProgress', 'Completed', 'Failed'
+ */
+ status?: BackupPolicyMigrationStatus;
+ /**
+ * Describes the target backup policy type of the backup policy migration. Possible values
+ * include: 'Periodic', 'Continuous'
+ */
+ targetType?: BackupPolicyType;
+ /**
+ * Time at which the backup policy migration started (ISO-8601 format).
+ */
+ startTime?: Date;
+}
+
/**
* Contains the possible cases for BackupPolicy.
*/
-export type BackupPolicyUnion =
- | BackupPolicy
- | PeriodicModeBackupPolicy
- | ContinuousModeBackupPolicy;
+export type BackupPolicyUnion = BackupPolicy | PeriodicModeBackupPolicy | ContinuousModeBackupPolicy;
/**
* The object representing the policy for taking backups on an account.
@@ -275,6 +350,10 @@ export interface BackupPolicy {
* Polymorphic Discriminator
*/
type: "BackupPolicy";
+ /**
+ * The object representing the state of the migration between the backup policies.
+ */
+ migrationState?: BackupPolicyMigrationState;
}
/**
@@ -360,7 +439,6 @@ export interface ARMResourceProperties extends BaseResource {
*/
location?: string;
tags?: { [propertyName: string]: string };
- identity?: ManagedServiceIdentity;
}
/**
@@ -373,6 +451,7 @@ export interface DatabaseAccountGetResults extends ARMResourceProperties {
* 'GlobalDocumentDB'.
*/
kind?: DatabaseAccountKind;
+ identity?: ManagedServiceIdentity;
provisioningState?: string;
/**
* The connection endpoint for the Cosmos DB database account.
@@ -481,6 +560,10 @@ export interface DatabaseAccountGetResults extends ARMResourceProperties {
* Flag to indicate whether to enable storage analytics.
*/
enableAnalyticalStorage?: boolean;
+ /**
+ * Analytical storage specific properties.
+ */
+ analyticalStorageConfiguration?: AnalyticalStorageConfiguration;
/**
* A unique identifier assigned to the database account
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -512,6 +595,11 @@ export interface DatabaseAccountGetResults extends ARMResourceProperties {
* An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
*/
networkAclBypassResourceIds?: string[];
+ /**
+ * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for
+ * authentication.
+ */
+ disableLocalAuth?: boolean;
/**
* The system meta data relating to this resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -571,7 +659,8 @@ export interface OptionsResource {
/**
* An interface representing SqlDatabaseGetPropertiesOptions.
*/
-export interface SqlDatabaseGetPropertiesOptions extends OptionsResource {}
+export interface SqlDatabaseGetPropertiesOptions extends OptionsResource {
+}
/**
* An Azure Cosmos DB SQL database.
@@ -811,7 +900,8 @@ export interface SqlContainerGetPropertiesResource {
/**
* An interface representing SqlContainerGetPropertiesOptions.
*/
-export interface SqlContainerGetPropertiesOptions extends OptionsResource {}
+export interface SqlContainerGetPropertiesOptions extends OptionsResource {
+}
/**
* An Azure Cosmos DB container.
@@ -970,7 +1060,8 @@ export interface MongoDBDatabaseGetPropertiesResource {
/**
* An interface representing MongoDBDatabaseGetPropertiesOptions.
*/
-export interface MongoDBDatabaseGetPropertiesOptions extends OptionsResource {}
+export interface MongoDBDatabaseGetPropertiesOptions extends OptionsResource {
+}
/**
* An Azure Cosmos DB MongoDB database.
@@ -1059,7 +1150,8 @@ export interface MongoDBCollectionGetPropertiesResource {
/**
* An interface representing MongoDBCollectionGetPropertiesOptions.
*/
-export interface MongoDBCollectionGetPropertiesOptions extends OptionsResource {}
+export interface MongoDBCollectionGetPropertiesOptions extends OptionsResource {
+}
/**
* An Azure Cosmos DB MongoDB collection.
@@ -1098,7 +1190,8 @@ export interface TableGetPropertiesResource {
/**
* An interface representing TableGetPropertiesOptions.
*/
-export interface TableGetPropertiesOptions extends OptionsResource {}
+export interface TableGetPropertiesOptions extends OptionsResource {
+}
/**
* An Azure Cosmos DB Table.
@@ -1137,7 +1230,8 @@ export interface CassandraKeyspaceGetPropertiesResource {
/**
* An interface representing CassandraKeyspaceGetPropertiesOptions.
*/
-export interface CassandraKeyspaceGetPropertiesOptions extends OptionsResource {}
+export interface CassandraKeyspaceGetPropertiesOptions extends OptionsResource {
+}
/**
* An Azure Cosmos DB Cassandra keyspace.
@@ -1244,7 +1338,8 @@ export interface CassandraTableGetPropertiesResource {
/**
* An interface representing CassandraTableGetPropertiesOptions.
*/
-export interface CassandraTableGetPropertiesOptions extends OptionsResource {}
+export interface CassandraTableGetPropertiesOptions extends OptionsResource {
+}
/**
* An Azure Cosmos DB Cassandra table.
@@ -1283,7 +1378,8 @@ export interface GremlinDatabaseGetPropertiesResource {
/**
* An interface representing GremlinDatabaseGetPropertiesOptions.
*/
-export interface GremlinDatabaseGetPropertiesOptions extends OptionsResource {}
+export interface GremlinDatabaseGetPropertiesOptions extends OptionsResource {
+}
/**
* An Azure Cosmos DB Gremlin database.
@@ -1345,7 +1441,8 @@ export interface GremlinGraphGetPropertiesResource {
/**
* An interface representing GremlinGraphGetPropertiesOptions.
*/
-export interface GremlinGraphGetPropertiesOptions extends OptionsResource {}
+export interface GremlinGraphGetPropertiesOptions extends OptionsResource {
+}
/**
* An Azure Cosmos DB Gremlin graph.
@@ -1389,55 +1486,6 @@ export interface RegionForOnlineOffline {
region: string;
}
-/**
- * An interface representing ManagedServiceIdentityUserAssignedIdentitiesValue.
- */
-export interface ManagedServiceIdentityUserAssignedIdentitiesValue {
- /**
- * The principal id of user assigned identity.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly principalId?: string;
- /**
- * The client id of user assigned identity.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly clientId?: string;
-}
-
-/**
- * Identity for the resource.
- */
-export interface ManagedServiceIdentity {
- /**
- * The principal id of the system assigned identity. This property will only be provided for a
- * system assigned identity.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly principalId?: string;
- /**
- * The tenant id of the system assigned identity. This property will only be provided for a
- * system assigned identity.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly tenantId?: string;
- /**
- * The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes
- * both an implicitly created identity and a set of user assigned identities. The type 'None'
- * will remove any identities from the service. Possible values include: 'SystemAssigned',
- * 'UserAssigned', 'SystemAssigned,UserAssigned', 'None'
- */
- type?: ResourceIdentityType;
- /**
- * The list of user identities associated with resource. The user identity dictionary key
- * references will be ARM resource ids in the form:
- * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- */
- userAssignedIdentities?: {
- [propertyName: string]: ManagedServiceIdentityUserAssignedIdentitiesValue;
- };
-}
-
/**
* The resource model definition for a ARM proxy resource. It will have everything other than
* required location and tags
@@ -1578,21 +1626,16 @@ export interface ThroughputSettingsGetResults extends ARMResourceProperties {
}
/**
- * Contains the possible cases for DatabaseAccountCreateUpdateProperties.
- */
-export type DatabaseAccountCreateUpdatePropertiesUnion =
- | DatabaseAccountCreateUpdateProperties
- | DefaultRequestDatabaseAccountCreateUpdateProperties
- | RestoreReqeustDatabaseAccountCreateUpdateProperties;
-
-/**
- * Properties to create and update Azure Cosmos DB database accounts.
+ * Parameters to create and update Cosmos DB database accounts.
*/
-export interface DatabaseAccountCreateUpdateProperties {
+export interface DatabaseAccountCreateUpdateParameters extends ARMResourceProperties {
/**
- * Polymorphic Discriminator
+ * Indicates the type of database account. This can only be set at database account creation.
+ * Possible values include: 'GlobalDocumentDB', 'MongoDB', 'Parse'. Default value:
+ * 'GlobalDocumentDB'.
*/
- createMode: "DatabaseAccountCreateUpdateProperties";
+ kind?: DatabaseAccountKind;
+ identity?: ManagedServiceIdentity;
/**
* The consistency policy for the Cosmos DB account.
*/
@@ -1668,6 +1711,15 @@ export interface DatabaseAccountCreateUpdateProperties {
* Flag to indicate whether to enable storage analytics.
*/
enableAnalyticalStorage?: boolean;
+ /**
+ * Analytical storage specific properties.
+ */
+ analyticalStorageConfiguration?: AnalyticalStorageConfiguration;
+ /**
+ * Enum to indicate the mode of account creation. Possible values include: 'Default', 'Restore'.
+ * Default value: 'Default'.
+ */
+ createMode?: CreateMode;
/**
* The object representing the policy for taking backups on an account.
*/
@@ -1685,16 +1737,27 @@ export interface DatabaseAccountCreateUpdateProperties {
* An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
*/
networkAclBypassResourceIds?: string[];
+ /**
+ * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for
+ * authentication.
+ */
+ disableLocalAuth?: boolean;
+ /**
+ * Parameters to indicate the information about the restore.
+ */
+ restoreParameters?: RestoreParameters;
}
/**
- * Properties for non-restore Azure Cosmos DB database account requests.
+ * Parameters for patching Azure Cosmos DB database account properties.
*/
-export interface DefaultRequestDatabaseAccountCreateUpdateProperties {
+export interface DatabaseAccountUpdateParameters {
+ tags?: { [propertyName: string]: string };
/**
- * Polymorphic Discriminator
+ * The location of the resource group to which the resource belongs.
*/
- createMode: "Default";
+ location?: string;
+ identity?: ManagedServiceIdentity;
/**
* The consistency policy for the Cosmos DB account.
*/
@@ -1702,7 +1765,7 @@ export interface DefaultRequestDatabaseAccountCreateUpdateProperties {
/**
* An array that contains the georeplication locations enabled for the Cosmos DB account.
*/
- locations: Location[];
+ locations?: Location[];
/**
* List of IpRules.
*/
@@ -1770,6 +1833,10 @@ export interface DefaultRequestDatabaseAccountCreateUpdateProperties {
* Flag to indicate whether to enable storage analytics.
*/
enableAnalyticalStorage?: boolean;
+ /**
+ * Analytical storage specific properties.
+ */
+ analyticalStorageConfiguration?: AnalyticalStorageConfiguration;
/**
* The object representing the policy for taking backups on an account.
*/
@@ -1787,323 +1854,105 @@ export interface DefaultRequestDatabaseAccountCreateUpdateProperties {
* An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
*/
networkAclBypassResourceIds?: string[];
+ /**
+ * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for
+ * authentication.
+ */
+ disableLocalAuth?: boolean;
}
/**
- * Properties to restore Azure Cosmos DB database account.
+ * The read-only access keys for the given database account.
*/
-export interface RestoreReqeustDatabaseAccountCreateUpdateProperties {
+export interface DatabaseAccountListReadOnlyKeysResult {
/**
- * Polymorphic Discriminator
+ * Base 64 encoded value of the primary read-only key.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- createMode: "Restore";
+ readonly primaryReadonlyMasterKey?: string;
/**
- * The consistency policy for the Cosmos DB account.
+ * Base 64 encoded value of the secondary read-only key.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- consistencyPolicy?: ConsistencyPolicy;
+ readonly secondaryReadonlyMasterKey?: string;
+}
+
+/**
+ * The access keys for the given database account.
+ */
+export interface DatabaseAccountListKeysResult extends DatabaseAccountListReadOnlyKeysResult {
/**
- * An array that contains the georeplication locations enabled for the Cosmos DB account.
+ * Base 64 encoded value of the primary read-write key.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- locations: Location[];
+ readonly primaryMasterKey?: string;
/**
- * List of IpRules.
+ * Base 64 encoded value of the secondary read-write key.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- ipRules?: IpAddressOrRange[];
+ readonly secondaryMasterKey?: string;
+}
+
+/**
+ * Connection string for the Cosmos DB account
+ */
+export interface DatabaseAccountConnectionString {
/**
- * Flag to indicate whether to enable/disable Virtual Network ACL rules.
+ * Value of the connection string
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- isVirtualNetworkFilterEnabled?: boolean;
+ readonly connectionString?: string;
/**
- * Enables automatic failover of the write region in the rare event that the region is
- * unavailable due to an outage. Automatic failover will result in a new write region for the
- * account and is chosen based on the failover priorities configured for the account.
+ * Description of the connection string
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- enableAutomaticFailover?: boolean;
+ readonly description?: string;
+}
+
+/**
+ * The connection strings for the given database account.
+ */
+export interface DatabaseAccountListConnectionStringsResult {
/**
- * List of Cosmos DB capabilities for the account
+ * An array that contains the connection strings for the Cosmos DB account.
*/
- capabilities?: Capability[];
+ connectionStrings?: DatabaseAccountConnectionString[];
+}
+
+/**
+ * Parameters to regenerate the keys within the database account.
+ */
+export interface DatabaseAccountRegenerateKeyParameters {
/**
- * List of Virtual Network ACL rules configured for the Cosmos DB account.
+ * The access key to regenerate. Possible values include: 'primary', 'secondary',
+ * 'primaryReadonly', 'secondaryReadonly'
*/
- virtualNetworkRules?: VirtualNetworkRule[];
+ keyKind: KeyKind;
+}
+
+/**
+ * Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is
+ * required, but not both.
+ */
+export interface ThroughputSettingsResource {
/**
- * Enables the account to write in multiple locations
+ * Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings
+ * is required, but not both.
*/
- enableMultipleWriteLocations?: boolean;
+ throughput?: number;
/**
- * Enables the cassandra connector on the Cosmos DB C* account
+ * Cosmos DB resource for autoscale settings. Either throughput is required or autoscaleSettings
+ * is required, but not both.
*/
- enableCassandraConnector?: boolean;
+ autoscaleSettings?: AutoscaleSettingsResource;
/**
- * The cassandra connector offer type for the Cosmos DB database C* account. Possible values
- * include: 'Small'
+ * The minimum throughput of the resource
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- connectorOffer?: ConnectorOffer;
+ readonly minimumThroughput?: string;
/**
- * Disable write operations on metadata resources (databases, containers, throughput) via account
- * keys
- */
- disableKeyBasedMetadataWriteAccess?: boolean;
- /**
- * The URI of the key vault
- */
- keyVaultKeyUri?: string;
- /**
- * The default identity for accessing key vault used in features like customer managed keys. The
- * default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity",
- * "SystemAssignedIdentity" and more.
- */
- defaultIdentity?: string;
- /**
- * Whether requests from Public Network are allowed. Possible values include: 'Enabled',
- * 'Disabled'
- */
- publicNetworkAccess?: PublicNetworkAccess;
- /**
- * Flag to indicate whether Free Tier is enabled.
- */
- enableFreeTier?: boolean;
- /**
- * API specific properties. Currently, supported only for MongoDB API.
- */
- apiProperties?: ApiProperties;
- /**
- * Flag to indicate whether to enable storage analytics.
- */
- enableAnalyticalStorage?: boolean;
- /**
- * The object representing the policy for taking backups on an account.
- */
- backupPolicy?: BackupPolicyUnion;
- /**
- * The CORS policy for the Cosmos DB database account.
- */
- cors?: CorsPolicy[];
- /**
- * Indicates what services are allowed to bypass firewall checks. Possible values include:
- * 'None', 'AzureServices'
- */
- networkAclBypass?: NetworkAclBypass;
- /**
- * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- */
- networkAclBypassResourceIds?: string[];
- /**
- * Parameters to indicate the information about the restore.
- */
- restoreParameters?: RestoreParameters;
-}
-
-/**
- * Parameters to create and update Cosmos DB database accounts.
- */
-export interface DatabaseAccountCreateUpdateParameters extends ARMResourceProperties {
- /**
- * Indicates the type of database account. This can only be set at database account creation.
- * Possible values include: 'GlobalDocumentDB', 'MongoDB', 'Parse'. Default value:
- * 'GlobalDocumentDB'.
- */
- kind?: DatabaseAccountKind;
- properties: DatabaseAccountCreateUpdatePropertiesUnion;
-}
-
-/**
- * Parameters for patching Azure Cosmos DB database account properties.
- */
-export interface DatabaseAccountUpdateParameters {
- tags?: { [propertyName: string]: string };
- /**
- * The location of the resource group to which the resource belongs.
- */
- location?: string;
- /**
- * The consistency policy for the Cosmos DB account.
- */
- consistencyPolicy?: ConsistencyPolicy;
- /**
- * An array that contains the georeplication locations enabled for the Cosmos DB account.
- */
- locations?: Location[];
- /**
- * List of IpRules.
- */
- ipRules?: IpAddressOrRange[];
- /**
- * Flag to indicate whether to enable/disable Virtual Network ACL rules.
- */
- isVirtualNetworkFilterEnabled?: boolean;
- /**
- * Enables automatic failover of the write region in the rare event that the region is
- * unavailable due to an outage. Automatic failover will result in a new write region for the
- * account and is chosen based on the failover priorities configured for the account.
- */
- enableAutomaticFailover?: boolean;
- /**
- * List of Cosmos DB capabilities for the account
- */
- capabilities?: Capability[];
- /**
- * List of Virtual Network ACL rules configured for the Cosmos DB account.
- */
- virtualNetworkRules?: VirtualNetworkRule[];
- /**
- * Enables the account to write in multiple locations
- */
- enableMultipleWriteLocations?: boolean;
- /**
- * Enables the cassandra connector on the Cosmos DB C* account
- */
- enableCassandraConnector?: boolean;
- /**
- * The cassandra connector offer type for the Cosmos DB database C* account. Possible values
- * include: 'Small'
- */
- connectorOffer?: ConnectorOffer;
- /**
- * Disable write operations on metadata resources (databases, containers, throughput) via account
- * keys
- */
- disableKeyBasedMetadataWriteAccess?: boolean;
- /**
- * The URI of the key vault
- */
- keyVaultKeyUri?: string;
- /**
- * The default identity for accessing key vault used in features like customer managed keys. The
- * default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity",
- * "SystemAssignedIdentity" and more.
- */
- defaultIdentity?: string;
- /**
- * Whether requests from Public Network are allowed. Possible values include: 'Enabled',
- * 'Disabled'
- */
- publicNetworkAccess?: PublicNetworkAccess;
- /**
- * Flag to indicate whether Free Tier is enabled.
- */
- enableFreeTier?: boolean;
- /**
- * API specific properties. Currently, supported only for MongoDB API.
- */
- apiProperties?: ApiProperties;
- /**
- * Flag to indicate whether to enable storage analytics.
- */
- enableAnalyticalStorage?: boolean;
- /**
- * The object representing the policy for taking backups on an account.
- */
- backupPolicy?: BackupPolicyUnion;
- /**
- * The CORS policy for the Cosmos DB database account.
- */
- cors?: CorsPolicy[];
- /**
- * Indicates what services are allowed to bypass firewall checks. Possible values include:
- * 'None', 'AzureServices'
- */
- networkAclBypass?: NetworkAclBypass;
- /**
- * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
- */
- networkAclBypassResourceIds?: string[];
- identity?: ManagedServiceIdentity;
-}
-
-/**
- * The read-only access keys for the given database account.
- */
-export interface DatabaseAccountListReadOnlyKeysResult {
- /**
- * Base 64 encoded value of the primary read-only key.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly primaryReadonlyMasterKey?: string;
- /**
- * Base 64 encoded value of the secondary read-only key.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly secondaryReadonlyMasterKey?: string;
-}
-
-/**
- * The access keys for the given database account.
- */
-export interface DatabaseAccountListKeysResult extends DatabaseAccountListReadOnlyKeysResult {
- /**
- * Base 64 encoded value of the primary read-write key.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly primaryMasterKey?: string;
- /**
- * Base 64 encoded value of the secondary read-write key.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly secondaryMasterKey?: string;
-}
-
-/**
- * Connection string for the Cosmos DB account
- */
-export interface DatabaseAccountConnectionString {
- /**
- * Value of the connection string
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly connectionString?: string;
- /**
- * Description of the connection string
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly description?: string;
-}
-
-/**
- * The connection strings for the given database account.
- */
-export interface DatabaseAccountListConnectionStringsResult {
- /**
- * An array that contains the connection strings for the Cosmos DB account.
- */
- connectionStrings?: DatabaseAccountConnectionString[];
-}
-
-/**
- * Parameters to regenerate the keys within the database account.
- */
-export interface DatabaseAccountRegenerateKeyParameters {
- /**
- * The access key to regenerate. Possible values include: 'primary', 'secondary',
- * 'primaryReadonly', 'secondaryReadonly'
- */
- keyKind: KeyKind;
-}
-
-/**
- * Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is
- * required, but not both.
- */
-export interface ThroughputSettingsResource {
- /**
- * Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings
- * is required, but not both.
- */
- throughput?: number;
- /**
- * Cosmos DB resource for autoscale settings. Either throughput is required or autoscaleSettings
- * is required, but not both.
- */
- autoscaleSettings?: AutoscaleSettingsResource;
- /**
- * The minimum throughput of the resource
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly minimumThroughput?: string;
- /**
- * The throughput replace is pending
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The throughput replace is pending
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly offerReplacePending?: string;
}
@@ -2862,10 +2711,6 @@ export interface PeriodicModeProperties {
* An integer representing the time (in hours) that each backup is retained
*/
backupRetentionIntervalInHours?: number;
- /**
- * Enum to indicate type of backup residency. Possible values include: 'Geo', 'Local', 'Zone'
- */
- backupStorageRedundancy?: BackupStorageRedundancy;
}
/**
@@ -2876,6 +2721,10 @@ export interface PeriodicModeBackupPolicy {
* Polymorphic Discriminator
*/
type: "Periodic";
+ /**
+ * The object representing the state of the migration between the backup policies.
+ */
+ migrationState?: BackupPolicyMigrationState;
/**
* Configuration values for periodic mode backup
*/
@@ -2890,143 +2739,10 @@ export interface ContinuousModeBackupPolicy {
* Polymorphic Discriminator
*/
type: "Continuous";
-}
-
-/**
- * Properties of the regional restorable account.
- */
-export interface RestorableLocationResource {
/**
- * The location of the regional restorable account.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The object representing the state of the migration between the backup policies.
*/
- readonly locationName?: string;
- /**
- * The instance id of the regional restorable account.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly regionalDatabaseAccountInstanceId?: string;
- /**
- * The creation time of the regional restorable database account (ISO-8601 format).
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly creationTime?: Date;
- /**
- * The time at which the regional restorable database account has been deleted (ISO-8601 format).
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly deletionTime?: Date;
-}
-
-/**
- * A Azure Cosmos DB restorable database account.
- */
-export interface RestorableDatabaseAccountGetResult {
- /**
- * The name of the global database account
- */
- accountName?: string;
- /**
- * The creation time of the restorable database account (ISO-8601 format).
- */
- creationTime?: Date;
- /**
- * The time at which the restorable database account has been deleted (ISO-8601 format).
- */
- deletionTime?: Date;
- /**
- * The API type of the restorable database account. Possible values include: 'MongoDB',
- * 'Gremlin', 'Cassandra', 'Table', 'Sql', 'GremlinV2'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly apiType?: ApiType;
- /**
- * List of regions where the of the database account can be restored from.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly restorableLocations?: RestorableLocationResource[];
- /**
- * The unique resource identifier of the ARM resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly id?: string;
- /**
- * The name of the ARM resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly name?: string;
- /**
- * The type of Azure resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: string;
- /**
- * The location of the resource group to which the resource belongs.
- */
- location?: string;
-}
-
-/**
- * Cosmos DB location metadata
- */
-export interface LocationProperties {
- /**
- * The current status of location in Azure.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly status?: string;
- /**
- * Flag indicating whether the location supports availability zones or not.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly supportsAvailabilityZone?: boolean;
- /**
- * Flag indicating whether the location is residency sensitive.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly isResidencyRestricted?: boolean;
- /**
- * The properties of available backup storage redundancies.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly backupStorageRedundancies?: BackupStorageRedundancy[];
-}
-
-/**
- * Cosmos DB location get result
- */
-export interface LocationGetResult extends ARMProxyResource {
- /**
- * Cosmos DB location metadata
- */
- properties?: LocationProperties;
-}
-
-/**
- * Properties of the regional restorable account.
- */
-export interface ContinuousBackupRestoreLocation {
- /**
- * The name of the continuous backup restore location.
- */
- location?: string;
-}
-
-/**
- * Continuous backup description.
- */
-export interface ContinuousBackupInformation {
- /**
- * The latest restorable timestamp for a resource.
- */
- latestRestorableTimestamp?: string;
-}
-
-/**
- * Backup information of a resource.
- */
-export interface BackupInformation {
- continuousBackupInformation?: ContinuousBackupInformation;
+ migrationState?: BackupPolicyMigrationState;
}
/**
@@ -3060,7 +2776,8 @@ export interface AzureEntityResource extends Resource {
/**
* Parameters to create a notebook workspace resource
*/
-export interface NotebookWorkspaceCreateUpdateParameters extends ARMProxyResource {}
+export interface NotebookWorkspaceCreateUpdateParameters extends ARMProxyResource {
+}
/**
* A notebook workspace resource
@@ -3092,7 +2809,28 @@ export interface NotebookWorkspaceConnectionInfoResult {
* Specifies the endpoint of Notebook server.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly notebookServerEndpoint?: string;
+ readonly notebookServerEndpoint?: string;
+}
+
+/**
+ * A private link resource
+ */
+export interface PrivateLinkResource extends ARMProxyResource {
+ /**
+ * The private link resource group id.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly groupId?: string;
+ /**
+ * The private link resource required member names.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly requiredMembers?: string[];
+ /**
+ * The private link resource required zone names.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly requiredZoneNames?: string[];
}
/**
@@ -3186,343 +2924,78 @@ export interface SqlRoleAssignmentCreateUpdateParameters {
/**
* An Azure Cosmos DB Role Assignment
*/
-export interface SqlRoleAssignmentGetResults extends ARMProxyResource {
- /**
- * The unique identifier for the associated Role Definition.
- */
- roleDefinitionId?: string;
- /**
- * The data plane resource path for which access is being granted through this Role Assignment.
- */
- scope?: string;
- /**
- * The unique identifier for the associated AAD principal in the AAD graph to which access is
- * being granted through this Role Assignment. Tenant ID for the principal is inferred using the
- * tenant associated with the subscription.
- */
- principalId?: string;
-}
-
-/**
- * Cosmos DB SQL database resource object
- */
-export interface RestorableSqlDatabasePropertiesResourceDatabase {
- /**
- * Name of the Cosmos DB SQL database
- */
- id: string;
- /**
- * A system generated property. A unique identifier.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _rid?: string;
- /**
- * A system generated property that denotes the last updated timestamp of the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _ts?: number;
- /**
- * A system generated property representing the resource etag required for optimistic concurrency
- * control.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _etag?: string;
- /**
- * A system generated property that specified the addressable path of the collections resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _colls?: string;
- /**
- * A system generated property that specifies the addressable path of the users resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _users?: string;
- /**
- * A system generated property that specifies the addressable path of the database resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _self?: string;
-}
-
-/**
- * The resource of an Azure Cosmos DB SQL database event
- */
-export interface RestorableSqlDatabasePropertiesResource {
- /**
- * A system generated property. A unique identifier.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _rid?: string;
- /**
- * The operation type of this database event. Possible values include: 'Create', 'Replace',
- * 'Delete', 'SystemOperation'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly operationType?: OperationType;
- /**
- * The time when this database event happened.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly eventTimestamp?: string;
- /**
- * The name of the SQL database.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly ownerId?: string;
- /**
- * The resource ID of the SQL database.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly ownerResourceId?: string;
- /**
- * Cosmos DB SQL database resource object
- */
- database?: RestorableSqlDatabasePropertiesResourceDatabase;
-}
-
-/**
- * An Azure Cosmos DB SQL database event
- */
-export interface RestorableSqlDatabaseGetResult {
- /**
- * The resource of an Azure Cosmos DB SQL database event
- */
- resource?: RestorableSqlDatabasePropertiesResource;
- /**
- * The unique resource Identifier of the ARM resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly id?: string;
- /**
- * The name of the ARM resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly name?: string;
- /**
- * The type of Azure resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: string;
-}
-
-/**
- * Cosmos DB SQL container resource object
- */
-export interface RestorableSqlContainerPropertiesResourceContainer {
- /**
- * Name of the Cosmos DB SQL container
- */
- id: string;
- /**
- * The configuration of the indexing policy. By default, the indexing is automatic for all
- * document paths within the container
- */
- indexingPolicy?: IndexingPolicy;
- /**
- * The configuration of the partition key to be used for partitioning data into multiple
- * partitions
- */
- partitionKey?: ContainerPartitionKey;
- /**
- * Default time to live
- */
- defaultTtl?: number;
- /**
- * The unique key policy configuration for specifying uniqueness constraints on documents in the
- * collection in the Azure Cosmos DB service.
- */
- uniqueKeyPolicy?: UniqueKeyPolicy;
- /**
- * The conflict resolution policy for the container.
- */
- conflictResolutionPolicy?: ConflictResolutionPolicy;
- /**
- * Analytical TTL.
- */
- analyticalStorageTtl?: number;
- /**
- * A system generated property. A unique identifier.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _rid?: string;
- /**
- * A system generated property that denotes the last updated timestamp of the resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _ts?: number;
- /**
- * A system generated property representing the resource etag required for optimistic concurrency
- * control.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _etag?: string;
- /**
- * A system generated property that specifies the addressable path of the container resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _self?: string;
-}
-
-/**
- * The resource of an Azure Cosmos DB SQL container event
- */
-export interface RestorableSqlContainerPropertiesResource {
- /**
- * A system generated property. A unique identifier.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _rid?: string;
- /**
- * The operation type of this container event. Possible values include: 'Create', 'Replace',
- * 'Delete', 'SystemOperation'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly operationType?: OperationType;
- /**
- * The when this container event happened.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly eventTimestamp?: string;
- /**
- * The name of this SQL container.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly ownerId?: string;
- /**
- * The resource ID of this SQL container.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly ownerResourceId?: string;
- /**
- * Cosmos DB SQL container resource object
- */
- container?: RestorableSqlContainerPropertiesResourceContainer;
-}
-
-/**
- * An Azure Cosmos DB SQL container event
- */
-export interface RestorableSqlContainerGetResult {
- /**
- * The resource of an Azure Cosmos DB SQL container event
- */
- resource?: RestorableSqlContainerPropertiesResource;
- /**
- * The unique resource Identifier of the ARM resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly id?: string;
- /**
- * The name of the ARM resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly name?: string;
- /**
- * The type of Azure resource.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly type?: string;
-}
-
-/**
- * The resource of an Azure Cosmos DB MongoDB database event
- */
-export interface RestorableMongodbDatabasePropertiesResource {
- /**
- * A system generated property. A unique identifier.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly _rid?: string;
- /**
- * The operation type of this database event. Possible values include: 'Create', 'Replace',
- * 'Delete', 'SystemOperation'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly operationType?: OperationType;
+export interface SqlRoleAssignmentGetResults extends ARMProxyResource {
/**
- * The time when this database event happened.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The unique identifier for the associated Role Definition.
*/
- readonly eventTimestamp?: string;
+ roleDefinitionId?: string;
/**
- * The name of this MongoDB database.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The data plane resource path for which access is being granted through this Role Assignment.
*/
- readonly ownerId?: string;
+ scope?: string;
/**
- * The resource ID of this MongoDB database.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The unique identifier for the associated AAD principal in the AAD graph to which access is
+ * being granted through this Role Assignment. Tenant ID for the principal is inferred using the
+ * tenant associated with the subscription.
*/
- readonly ownerResourceId?: string;
+ principalId?: string;
}
/**
- * An Azure Cosmos DB MongoDB database event
+ * Properties of the regional restorable account.
*/
-export interface RestorableMongodbDatabaseGetResult {
+export interface RestorableLocationResource {
/**
- * The resource of an Azure Cosmos DB MongoDB database event
+ * The location of the regional restorable account.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- resource?: RestorableMongodbDatabasePropertiesResource;
+ readonly locationName?: string;
/**
- * The unique resource Identifier of the ARM resource.
+ * The instance id of the regional restorable account.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly id?: string;
+ readonly regionalDatabaseAccountInstanceId?: string;
/**
- * The name of the ARM resource.
+ * The creation time of the regional restorable database account (ISO-8601 format).
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly name?: string;
+ readonly creationTime?: Date;
/**
- * The type of Azure resource.
+ * The time at which the regional restorable database account has been deleted (ISO-8601 format).
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly type?: string;
+ readonly deletionTime?: Date;
}
/**
- * The resource of an Azure Cosmos DB MongoDB collection event
+ * A Azure Cosmos DB restorable database account.
*/
-export interface RestorableMongodbCollectionPropertiesResource {
+export interface RestorableDatabaseAccountGetResult {
/**
- * A system generated property. A unique identifier.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The name of the global database account
*/
- readonly _rid?: string;
+ accountName?: string;
/**
- * The operation type of this collection event. Possible values include: 'Create', 'Replace',
- * 'Delete', 'SystemOperation'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The creation time of the restorable database account (ISO-8601 format).
*/
- readonly operationType?: OperationType;
+ creationTime?: Date;
/**
- * The time when this collection event happened.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The time at which the restorable database account has been deleted (ISO-8601 format).
*/
- readonly eventTimestamp?: string;
+ deletionTime?: Date;
/**
- * The name of this MongoDB collection.
+ * The API type of the restorable database account. Possible values include: 'MongoDB',
+ * 'Gremlin', 'Cassandra', 'Table', 'Sql', 'GremlinV2'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly ownerId?: string;
+ readonly apiType?: ApiType;
/**
- * The resource ID of this MongoDB collection.
+ * List of regions where the of the database account can be restored from.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly ownerResourceId?: string;
-}
-
-/**
- * An Azure Cosmos DB MongoDB collection event
- */
-export interface RestorableMongodbCollectionGetResult {
- /**
- * The resource of an Azure Cosmos DB MongoDB collection event
- */
- resource?: RestorableMongodbCollectionPropertiesResource;
+ readonly restorableLocations?: RestorableLocationResource[];
/**
- * The unique resource Identifier of the ARM resource.
+ * The unique resource identifier of the ARM resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly id?: string;
@@ -3536,458 +3009,375 @@ export interface RestorableMongodbCollectionGetResult {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly type?: string;
-}
-
-/**
- * An interface representing SeedNode.
- */
-export interface SeedNode {
- /**
- * IP address of this seed node.
- */
- ipAddress?: string;
-}
-
-/**
- * An interface representing Certificate.
- */
-export interface Certificate {
/**
- * PEM formatted public key.
+ * The location of the resource group to which the resource belongs.
*/
- pem?: string;
+ location?: string;
}
/**
- * Properties of a managed Cassandra cluster.
+ * Cosmos DB SQL database resource object
*/
-export interface ClusterResourceProperties {
- /**
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- */
- provisioningState?: ManagedCassandraProvisioningState;
- /**
- * To create an empty cluster, omit this field or set it to null. To restore a backup into a new
- * cluster, set this field to the resource id of the backup.
- */
- restoreFromBackupId?: string;
+export interface RestorableSqlDatabasePropertiesResourceDatabase {
/**
- * Resource id of a subnet that this cluster's management service should have its network
- * interface attached to. The subnet must be routable to all subnets that will be delegated to
- * data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'
+ * Name of the Cosmos DB SQL database
*/
- delegatedManagementSubnetId?: string;
+ id: string;
/**
- * Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated,
- * the cluster may take some time to migrate to the new version.
+ * A system generated property. A unique identifier.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- cassandraVersion?: string;
+ readonly _rid?: string;
/**
- * If you need to set the clusterName property in cassandra.yaml to something besides the
- * resource name of the cluster, set the value to use on this property.
+ * A system generated property that denotes the last updated timestamp of the resource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- clusterNameOverride?: string;
+ readonly _ts?: number;
/**
- * Which authentication method Cassandra should use to authenticate clients. 'None' turns off
- * authentication, so should not be used except in emergencies. 'Cassandra' is the default
- * password based authentication. The default is 'Cassandra'. Possible values include: 'None',
- * 'Cassandra'
+ * A system generated property representing the resource etag required for optimistic concurrency
+ * control.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- authenticationMethod?: AuthenticationMethod;
+ readonly _etag?: string;
/**
- * Initial password for clients connecting as admin to the cluster. Should be changed after
- * cluster creation. Returns null on GET. This field only applies when the authenticationMethod
- * field is 'Cassandra'.
+ * A system generated property that specified the addressable path of the collections resource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- initialCassandraAdminPassword?: string;
+ readonly _colls?: string;
/**
- * Number of hours to wait between taking a backup of the cluster. To disable backups, set this
- * property to 0.
+ * A system generated property that specifies the addressable path of the users resource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- hoursBetweenBackups?: number;
+ readonly _users?: string;
/**
- * Hostname or IP address where the Prometheus endpoint containing data about the managed
- * Cassandra nodes can be reached.
+ * A system generated property that specifies the addressable path of the database resource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- prometheusEndpoint?: SeedNode;
+ readonly _self?: string;
+}
+
+/**
+ * The resource of an Azure Cosmos DB SQL database event
+ */
+export interface RestorableSqlDatabasePropertiesResource {
/**
- * Should automatic repairs run on this cluster? If omitted, this is true, and should stay true
- * unless you are running a hybrid cluster where you are already doing your own repairs.
+ * A system generated property. A unique identifier.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- repairEnabled?: boolean;
+ readonly _rid?: string;
/**
- * List of TLS certificates used to authorize clients connecting to the cluster. All connections
- * are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set,
- * the managed Cassandra cluster will reject all connections not bearing a TLS client certificate
- * that can be validated from one or more of the public certificates in this property.
+ * The operation type of this database event. Possible values include: 'Create', 'Replace',
+ * 'Delete', 'SystemOperation'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- clientCertificates?: Certificate[];
+ readonly operationType?: OperationType;
/**
- * List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS
- * certificates of all nodes in unmanaged data centers must be verifiable using one of the
- * certificates provided in this property.
+ * The time when this database event happened.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- externalGossipCertificates?: Certificate[];
+ readonly eventTimestamp?: string;
/**
- * List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All
- * managed nodes will present TLS client certificates that are verifiable using one of the
- * certificates provided in this property.
+ * The name of the SQL database.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly gossipCertificates?: Certificate[];
+ readonly ownerId?: string;
/**
- * List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed
- * node lists of all managed nodes.
+ * The resource ID of the SQL database.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- externalSeedNodes?: SeedNode[];
+ readonly ownerResourceId?: string;
/**
- * List of IP addresses of seed nodes in the managed data centers. These should be added to the
- * seed node lists of all unmanaged nodes.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * Cosmos DB SQL database resource object
*/
- readonly seedNodes?: SeedNode[];
+ database?: RestorableSqlDatabasePropertiesResourceDatabase;
}
/**
- * Representation of a managed Cassandra cluster.
+ * An Azure Cosmos DB SQL database event
*/
-export interface ClusterResource extends ARMResourceProperties {
+export interface RestorableSqlDatabaseGetResult {
/**
- * Properties of a managed Cassandra cluster.
+ * The resource of an Azure Cosmos DB SQL database event
*/
- properties?: ClusterResourceProperties;
-}
-
-/**
- * Specification of the keyspaces and tables to run repair on.
- */
-export interface RepairPostBody {
+ resource?: RestorableSqlDatabasePropertiesResource;
+ /**
+ * The unique resource Identifier of the ARM resource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly id?: string;
/**
- * The name of the keyspace that repair should be run on.
+ * The name of the ARM resource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- keyspace: string;
+ readonly name?: string;
/**
- * List of tables in the keyspace to repair. If omitted, repair all tables in the keyspace.
+ * The type of Azure resource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- tables?: string[];
+ readonly type?: string;
}
/**
- * An interface representing ClusterNodeStatusNodesItem.
+ * Cosmos DB SQL container resource object
*/
-export interface ClusterNodeStatusNodesItem {
+export interface RestorableSqlContainerPropertiesResourceContainer {
/**
- * The Cassandra data center this node resides in.
+ * Name of the Cosmos DB SQL container
*/
- datacenter?: string;
+ id: string;
/**
- * Indicates whether the node is functioning or not. Possible values include: 'Up', 'Down'
+ * The configuration of the indexing policy. By default, the indexing is automatic for all
+ * document paths within the container
*/
- status?: NodeStatus;
+ indexingPolicy?: IndexingPolicy;
/**
- * The state of the node in relation to the cluster. Possible values include: 'Normal',
- * 'Leaving', 'Joining', 'Moving', 'Stopped'
+ * The configuration of the partition key to be used for partitioning data into multiple
+ * partitions
*/
- state?: NodeState;
+ partitionKey?: ContainerPartitionKey;
/**
- * The node's URL.
+ * Default time to live
*/
- address?: string;
+ defaultTtl?: number;
/**
- * The amount of file system data in the data directory (e.g., 47.66 KB), excluding all content
- * in the snapshots subdirectories. Because all SSTable data files are included, any data that is
- * not cleaned up (such as TTL-expired cell or tombstoned data) is counted.
+ * The unique key policy configuration for specifying uniqueness constraints on documents in the
+ * collection in the Azure Cosmos DB service.
*/
- load?: string;
+ uniqueKeyPolicy?: UniqueKeyPolicy;
/**
- * List of tokens.
+ * The conflict resolution policy for the container.
*/
- tokens?: string[];
+ conflictResolutionPolicy?: ConflictResolutionPolicy;
/**
- * The percentage of the data owned by the node per datacenter times the replication factor
- * (e.g., 33.3, or null if the data is not available). For example, a node can own 33% of the
- * ring, but shows 100% if the replication factor is 3. For non-system keyspaces, the endpoint
- * percentage ownership information is shown.
+ * Analytical TTL.
*/
- owns?: number;
+ analyticalStorageTtl?: number;
/**
- * The network ID of the node.
+ * A system generated property. A unique identifier.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- hostId?: string;
+ readonly _rid?: string;
/**
- * The rack this node is part of.
+ * A system generated property that denotes the last updated timestamp of the resource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- rack?: string;
-}
-
-/**
- * The status of all nodes in the cluster (as returned by 'nodetool status').
- */
-export interface ClusterNodeStatus {
+ readonly _ts?: number;
/**
- * Information about nodes in the cluster (corresponds to what is returned from nodetool info).
+ * A system generated property representing the resource etag required for optimistic concurrency
+ * control.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- nodes?: ClusterNodeStatusNodesItem[];
-}
-
-/**
- * An interface representing BackupResourceProperties.
- */
-export interface BackupResourceProperties {
+ readonly _etag?: string;
/**
- * The time this backup was taken, formatted like 2021-01-21T17:35:21
+ * A system generated property that specifies the addressable path of the container resource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- timestamp?: Date;
-}
-
-/**
- * A restorable backup of a Cassandra cluster.
- */
-export interface BackupResource extends ARMProxyResource {
- properties?: BackupResourceProperties;
+ readonly _self?: string;
}
/**
- * Properties of a managed Cassandra data center.
+ * The resource of an Azure Cosmos DB SQL container event
*/
-export interface DataCenterResourceProperties {
+export interface RestorableSqlContainerPropertiesResource {
/**
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
+ * A system generated property. A unique identifier.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- provisioningState?: ManagedCassandraProvisioningState;
+ readonly _rid?: string;
/**
- * The region this data center should be created in.
+ * The operation type of this container event. Possible values include: 'Create', 'Replace',
+ * 'Delete', 'SystemOperation'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- dataCenterLocation?: string;
+ readonly operationType?: OperationType;
/**
- * Resource id of a subnet the nodes in this data center should have their network interfaces
- * connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must
- * be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId'
- * property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'.
+ * The when this container event happened.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- delegatedSubnetId?: string;
+ readonly eventTimestamp?: string;
/**
- * The number of nodes the data center should have. This is the desired number. After it is set,
- * it may take some time for the data center to be scaled to match. To monitor the number of
- * nodes and their status, use the fetchNodeStatus method on the cluster.
+ * The name of this SQL container.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- nodeCount?: number;
+ readonly ownerId?: string;
/**
- * IP addresses for seed nodes in this data center. This is for reference. Generally you will
- * want to use the seedNodes property on the cluster, which aggregates the seed nodes from all
- * data centers in the cluster.
+ * The resource ID of this SQL container.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly seedNodes?: SeedNode[];
+ readonly ownerResourceId?: string;
/**
- * A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all
- * nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys
- * are allowed.
+ * Cosmos DB SQL container resource object
*/
- base64EncodedCassandraYamlFragment?: string;
+ container?: RestorableSqlContainerPropertiesResourceContainer;
}
/**
- * A managed Cassandra data center.
+ * An Azure Cosmos DB SQL container event
*/
-export interface DataCenterResource extends ARMProxyResource {
+export interface RestorableSqlContainerGetResult {
/**
- * Properties of a managed Cassandra data center.
+ * The resource of an Azure Cosmos DB SQL container event
*/
- properties?: DataCenterResourceProperties;
-}
-
-/**
- * A private link resource
- */
-export interface PrivateLinkResource extends ARMProxyResource {
+ resource?: RestorableSqlContainerPropertiesResource;
/**
- * The private link resource group id.
+ * The unique resource Identifier of the ARM resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly groupId?: string;
+ readonly id?: string;
/**
- * The private link resource required member names.
+ * The name of the ARM resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly requiredMembers?: string[];
+ readonly name?: string;
/**
- * The private link resource required zone names.
+ * The type of Azure resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly requiredZoneNames?: string[];
+ readonly type?: string;
}
/**
- * Contains the possible cases for ServiceResourceProperties.
- */
-export type ServiceResourcePropertiesUnion =
- | ServiceResourceProperties
- | DataTransferServiceResourceProperties
- | SqlDedicatedGatewayServiceResourceProperties;
-
-/**
- * Services response resource.
+ * The resource of an Azure Cosmos DB MongoDB database event
*/
-export interface ServiceResourceProperties {
- /**
- * Polymorphic Discriminator
- */
- serviceType: "ServiceResourceProperties";
+export interface RestorableMongodbDatabasePropertiesResource {
/**
- * Time of the last state change (ISO-8601 format).
+ * A system generated property. A unique identifier.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly creationTime?: Date;
+ readonly _rid?: string;
/**
- * Possible values include: 'Cosmos.D4s', 'Cosmos.D8s', 'Cosmos.D16s'
+ * The operation type of this database event. Possible values include: 'Create', 'Replace',
+ * 'Delete', 'SystemOperation'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- instanceSize?: ServiceSize;
+ readonly operationType?: OperationType;
/**
- * Instance count for the service.
+ * The time when this database event happened.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- instanceCount?: number;
+ readonly eventTimestamp?: string;
/**
- * Possible values include: 'Creating', 'Running', 'Updating', 'Deleting', 'Error', 'Stopped'
+ * The name of this MongoDB database.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly status?: ServiceStatus;
+ readonly ownerId?: string;
/**
- * Describes unknown properties. The value of an unknown property can be of "any" type.
+ * The resource ID of this MongoDB database.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- [property: string]: any;
-}
-
-/**
- * Properties for the database account.
- */
-export interface ServiceResource extends ARMProxyResource {
- properties?: ServiceResourcePropertiesUnion;
+ readonly ownerResourceId?: string;
}
/**
- * Resource for a regional service location.
+ * An Azure Cosmos DB MongoDB database event
*/
-export interface RegionalServiceResource {
+export interface RestorableMongodbDatabaseGetResult {
+ /**
+ * The resource of an Azure Cosmos DB MongoDB database event
+ */
+ resource?: RestorableMongodbDatabasePropertiesResource;
/**
- * The regional service name.
+ * The unique resource Identifier of the ARM resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly name?: string;
+ readonly id?: string;
/**
- * The location name.
+ * The name of the ARM resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly location?: string;
+ readonly name?: string;
/**
- * Possible values include: 'Creating', 'Running', 'Updating', 'Deleting', 'Error', 'Stopped'
+ * The type of Azure resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly status?: ServiceStatus;
+ readonly type?: string;
}
/**
- * Resource for a regional service location.
- */
-export interface DataTransferRegionalServiceResource extends RegionalServiceResource {}
-
-/**
- * Properties for DataTransferServiceResource.
+ * The resource of an Azure Cosmos DB MongoDB collection event
*/
-export interface DataTransferServiceResourceProperties {
- /**
- * Polymorphic Discriminator
- */
- serviceType: "DataTransferServiceResourceProperties";
+export interface RestorableMongodbCollectionPropertiesResource {
/**
- * Time of the last state change (ISO-8601 format).
+ * A system generated property. A unique identifier.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly creationTime?: Date;
- /**
- * Possible values include: 'Cosmos.D4s', 'Cosmos.D8s', 'Cosmos.D16s'
- */
- instanceSize?: ServiceSize;
+ readonly _rid?: string;
/**
- * Instance count for the service.
+ * The operation type of this collection event. Possible values include: 'Create', 'Replace',
+ * 'Delete', 'SystemOperation'
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- instanceCount?: number;
+ readonly operationType?: OperationType;
/**
- * Possible values include: 'Creating', 'Running', 'Updating', 'Deleting', 'Error', 'Stopped'
+ * The time when this collection event happened.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly status?: ServiceStatus;
+ readonly eventTimestamp?: string;
/**
- * An array that contains all of the locations for the service.
+ * The name of this MongoDB collection.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly locations?: DataTransferRegionalServiceResource[];
-}
-
-/**
- * Describes the service response property.
- */
-export interface DataTransferServiceResource {
- properties?: DataTransferServiceResourceProperties;
-}
-
-/**
- * Resource for a regional service location.
- */
-export interface SqlDedicatedGatewayRegionalServiceResource extends RegionalServiceResource {
+ readonly ownerId?: string;
/**
- * The regional endpoint for SqlDedicatedGateway.
+ * The resource ID of this MongoDB collection.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly sqlDedicatedGatewayEndpoint?: string;
+ readonly ownerResourceId?: string;
}
/**
- * Properties for SqlDedicatedGatewayServiceResource.
+ * An Azure Cosmos DB MongoDB collection event
*/
-export interface SqlDedicatedGatewayServiceResourceProperties {
+export interface RestorableMongodbCollectionGetResult {
/**
- * Polymorphic Discriminator
+ * The resource of an Azure Cosmos DB MongoDB collection event
*/
- serviceType: "SqlDedicatedGatewayServiceResourceProperties";
+ resource?: RestorableMongodbCollectionPropertiesResource;
/**
- * Time of the last state change (ISO-8601 format).
+ * The unique resource Identifier of the ARM resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly creationTime?: Date;
- /**
- * Possible values include: 'Cosmos.D4s', 'Cosmos.D8s', 'Cosmos.D16s'
- */
- instanceSize?: ServiceSize;
+ readonly id?: string;
/**
- * Instance count for the service.
+ * The name of the ARM resource.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- instanceCount?: number;
+ readonly name?: string;
/**
- * Possible values include: 'Creating', 'Running', 'Updating', 'Deleting', 'Error', 'Stopped'
+ * The type of Azure resource.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly status?: ServiceStatus;
+ readonly type?: string;
+}
+
+/**
+ * Properties of the regional restorable account.
+ */
+export interface ContinuousBackupRestoreLocation {
/**
- * SqlDedicatedGateway endpoint for the service.
+ * The name of the continuous backup restore location.
*/
- sqlDedicatedGatewayEndpoint?: string;
+ location?: string;
+}
+
+/**
+ * Information about the status of continuous backups.
+ */
+export interface ContinuousBackupInformation {
/**
- * An array that contains all of the locations for the service.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ * The latest restorable timestamp for a resource.
*/
- readonly locations?: SqlDedicatedGatewayRegionalServiceResource[];
+ latestRestorableTimestamp?: string;
}
/**
- * Describes the service response property for SqlDedicatedGateway.
+ * Backup information of a resource.
*/
-export interface SqlDedicatedGatewayServiceResource {
- properties?: SqlDedicatedGatewayServiceResourceProperties;
+export interface BackupInformation {
+ /**
+ * Information about the status of continuous backups.
+ */
+ continuousBackupInformation?: ContinuousBackupInformation;
}
/**
@@ -4102,28 +3492,32 @@ export interface CosmosDBManagementClientOptions extends AzureServiceClientOptio
* The List operation response, that contains the database accounts and their properties.
* @extends Array
*/
-export interface DatabaseAccountsListResult extends Array {}
+export interface DatabaseAccountsListResult extends Array {
+}
/**
* @interface
* The response to a list metrics request.
* @extends Array
*/
-export interface MetricListResult extends Array {}
+export interface MetricListResult extends Array {
+}
/**
* @interface
* The response to a list usage request.
* @extends Array
*/
-export interface UsagesResult extends Array {}
+export interface UsagesResult extends Array {
+}
/**
* @interface
* The response to a list metric definitions request.
* @extends Array
*/
-export interface MetricDefinitionsListResult extends Array {}
+export interface MetricDefinitionsListResult extends Array {
+}
/**
* @interface
@@ -4143,236 +3537,233 @@ export interface OperationListResult extends Array {
* The response to a list percentile metrics request.
* @extends Array
*/
-export interface PercentileMetricListResult extends Array {}
+export interface PercentileMetricListResult extends Array {
+}
/**
* @interface
* The response to a list partition metrics request.
* @extends Array
*/
-export interface PartitionMetricListResult extends Array {}
+export interface PartitionMetricListResult extends Array {
+}
/**
* @interface
* The response to a list partition level usage request.
* @extends Array
*/
-export interface PartitionUsagesResult extends Array {}
+export interface PartitionUsagesResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the SQL databases and their properties.
* @extends Array
*/
-export interface SqlDatabaseListResult extends Array {}
+export interface SqlDatabaseListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the containers and their properties.
* @extends Array
*/
-export interface SqlContainerListResult extends Array {}
+export interface SqlContainerListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the storedProcedures and their properties.
* @extends Array
*/
-export interface SqlStoredProcedureListResult extends Array {}
+export interface SqlStoredProcedureListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the userDefinedFunctions and their properties.
* @extends Array
*/
-export interface SqlUserDefinedFunctionListResult extends Array {}
+export interface SqlUserDefinedFunctionListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the triggers and their properties.
* @extends Array
*/
-export interface SqlTriggerListResult extends Array {}
+export interface SqlTriggerListResult extends Array {
+}
/**
* @interface
* The relevant Role Definitions.
* @extends Array
*/
-export interface SqlRoleDefinitionListResult extends Array {}
+export interface SqlRoleDefinitionListResult extends Array {
+}
/**
* @interface
* The relevant Role Assignments.
* @extends Array
*/
-export interface SqlRoleAssignmentListResult extends Array {}
+export interface SqlRoleAssignmentListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the MongoDB databases and their properties.
* @extends Array
*/
-export interface MongoDBDatabaseListResult extends Array {}
+export interface MongoDBDatabaseListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the MongoDB collections and their properties.
* @extends Array
*/
-export interface MongoDBCollectionListResult extends Array {}
+export interface MongoDBCollectionListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the Table and their properties.
* @extends Array
*/
-export interface TableListResult extends Array {}
+export interface TableListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the Cassandra keyspaces and their properties.
* @extends Array
*/
-export interface CassandraKeyspaceListResult extends Array {}
+export interface CassandraKeyspaceListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the Cassandra tables and their properties.
* @extends Array
*/
-export interface CassandraTableListResult extends Array {}
+export interface CassandraTableListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the Gremlin databases and their properties.
* @extends Array
*/
-export interface GremlinDatabaseListResult extends Array {}
+export interface GremlinDatabaseListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the graphs and their properties.
* @extends Array
*/
-export interface GremlinGraphListResult extends Array {}
+export interface GremlinGraphListResult extends Array {
+}
/**
* @interface
- * The List operation response, that contains the restorable database accounts and their
- * properties.
- * @extends Array
+ * A list of notebook workspace resources
+ * @extends Array
+ */
+export interface NotebookWorkspaceListResult extends Array {
+}
+
+/**
+ * @interface
+ * A list of private endpoint connections
+ * @extends Array
*/
-export interface RestorableDatabaseAccountsListResult
- extends Array {}
+export interface PrivateEndpointConnectionListResult extends Array {
+}
/**
* @interface
- * The List operation response, that contains Cosmos DB locations and their properties.
- * @extends Array
+ * A list of private link resources
+ * @extends Array
*/
-export interface LocationListResult extends Array {}
+export interface PrivateLinkResourceListResult extends Array {
+}
/**
* @interface
- * A list of notebook workspace resources
- * @extends Array
+ * The List operation response, that contains the restorable database accounts and their
+ * properties.
+ * @extends Array
*/
-export interface NotebookWorkspaceListResult extends Array {}
+export interface RestorableDatabaseAccountsListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the SQL database events and their properties.
* @extends Array
*/
-export interface RestorableSqlDatabasesListResult extends Array {}
+export interface RestorableSqlDatabasesListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the SQL container events and their properties.
* @extends Array
*/
-export interface RestorableSqlContainersListResult extends Array {}
+export interface RestorableSqlContainersListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the restorable SQL resources.
* @extends Array
*/
-export interface RestorableSqlResourcesListResult extends Array {}
+export interface RestorableSqlResourcesListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the MongoDB database events and their properties.
* @extends Array
*/
-export interface RestorableMongodbDatabasesListResult
- extends Array {}
+export interface RestorableMongodbDatabasesListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the MongoDB collection events and their properties.
* @extends Array
*/
-export interface RestorableMongodbCollectionsListResult
- extends Array {}
+export interface RestorableMongodbCollectionsListResult extends Array {
+}
/**
* @interface
* The List operation response, that contains the restorable MongoDB resources.
* @extends Array
*/
-export interface RestorableMongodbResourcesListResult extends Array {}
-
-/**
- * @interface
- * List of managed Cassandra clusters.
- * @extends Array
- */
-export interface ListClusters extends Array {}
-
-/**
- * @interface
- * List of restorable backups for a Cassandra cluster.
- * @extends Array
- */
-export interface ListBackups extends Array {}
-
-/**
- * @interface
- * List of managed Cassandra data centers and their properties.
- * @extends Array
- */
-export interface ListDataCenters extends Array {}
-
-/**
- * @interface
- * A list of private link resources
- * @extends Array
- */
-export interface PrivateLinkResourceListResult extends Array {}
-
-/**
- * @interface
- * A list of private endpoint connections
- * @extends Array
- */
-export interface PrivateEndpointConnectionListResult extends Array {}
+export interface RestorableMongodbResourcesListResult extends Array {
+}
/**
- * @interface
- * The List operation response, that contains the Service Resource and their properties.
- * @extends Array
+ * Defines values for DatabaseAccountKind.
+ * Possible values include: 'GlobalDocumentDB', 'MongoDB', 'Parse'
+ * @readonly
+ * @enum {string}
*/
-export interface ServiceResourceListResult extends Array {}
+export type DatabaseAccountKind = 'GlobalDocumentDB' | 'MongoDB' | 'Parse';
/**
- * Defines values for DatabaseAccountKind.
- * Possible values include: 'GlobalDocumentDB', 'MongoDB', 'Parse'
+ * Defines values for ResourceIdentityType.
+ * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned', 'None'
* @readonly
* @enum {string}
*/
-export type DatabaseAccountKind = "GlobalDocumentDB" | "MongoDB" | "Parse";
+export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned,UserAssigned' | 'None';
/**
* Defines values for DatabaseAccountOfferType.
@@ -4380,7 +3771,7 @@ export type DatabaseAccountKind = "GlobalDocumentDB" | "MongoDB" | "Parse";
* @readonly
* @enum {string}
*/
-export type DatabaseAccountOfferType = "Standard";
+export type DatabaseAccountOfferType = 'Standard';
/**
* Defines values for DefaultConsistencyLevel.
@@ -4388,12 +3779,7 @@ export type DatabaseAccountOfferType = "Standard";
* @readonly
* @enum {string}
*/
-export type DefaultConsistencyLevel =
- | "Eventual"
- | "Session"
- | "BoundedStaleness"
- | "Strong"
- | "ConsistentPrefix";
+export type DefaultConsistencyLevel = 'Eventual' | 'Session' | 'BoundedStaleness' | 'Strong' | 'ConsistentPrefix';
/**
* Defines values for ConnectorOffer.
@@ -4401,7 +3787,7 @@ export type DefaultConsistencyLevel =
* @readonly
* @enum {string}
*/
-export type ConnectorOffer = "Small";
+export type ConnectorOffer = 'Small';
/**
* Defines values for PublicNetworkAccess.
@@ -4409,7 +3795,7 @@ export type ConnectorOffer = "Small";
* @readonly
* @enum {string}
*/
-export type PublicNetworkAccess = "Enabled" | "Disabled";
+export type PublicNetworkAccess = 'Enabled' | 'Disabled';
/**
* Defines values for ServerVersion.
@@ -4417,7 +3803,15 @@ export type PublicNetworkAccess = "Enabled" | "Disabled";
* @readonly
* @enum {string}
*/
-export type ServerVersion = "3.2" | "3.6" | "4.0";
+export type ServerVersion = '3.2' | '3.6' | '4.0';
+
+/**
+ * Defines values for AnalyticalStorageSchemaType.
+ * Possible values include: 'WellDefined', 'FullFidelity'
+ * @readonly
+ * @enum {string}
+ */
+export type AnalyticalStorageSchemaType = 'WellDefined' | 'FullFidelity';
/**
* Defines values for CreateMode.
@@ -4425,7 +3819,7 @@ export type ServerVersion = "3.2" | "3.6" | "4.0";
* @readonly
* @enum {string}
*/
-export type CreateMode = "Default" | "Restore";
+export type CreateMode = 'Default' | 'Restore';
/**
* Defines values for RestoreMode.
@@ -4433,7 +3827,23 @@ export type CreateMode = "Default" | "Restore";
* @readonly
* @enum {string}
*/
-export type RestoreMode = "PointInTime";
+export type RestoreMode = 'PointInTime';
+
+/**
+ * Defines values for BackupPolicyMigrationStatus.
+ * Possible values include: 'Invalid', 'InProgress', 'Completed', 'Failed'
+ * @readonly
+ * @enum {string}
+ */
+export type BackupPolicyMigrationStatus = 'Invalid' | 'InProgress' | 'Completed' | 'Failed';
+
+/**
+ * Defines values for BackupPolicyType.
+ * Possible values include: 'Periodic', 'Continuous'
+ * @readonly
+ * @enum {string}
+ */
+export type BackupPolicyType = 'Periodic' | 'Continuous';
/**
* Defines values for NetworkAclBypass.
@@ -4441,7 +3851,7 @@ export type RestoreMode = "PointInTime";
* @readonly
* @enum {string}
*/
-export type NetworkAclBypass = "None" | "AzureServices";
+export type NetworkAclBypass = 'None' | 'AzureServices';
/**
* Defines values for CreatedByType.
@@ -4449,7 +3859,7 @@ export type NetworkAclBypass = "None" | "AzureServices";
* @readonly
* @enum {string}
*/
-export type CreatedByType = "User" | "Application" | "ManagedIdentity" | "Key";
+export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
/**
* Defines values for IndexingMode.
@@ -4457,7 +3867,7 @@ export type CreatedByType = "User" | "Application" | "ManagedIdentity" | "Key";
* @readonly
* @enum {string}
*/
-export type IndexingMode = "consistent" | "lazy" | "none";
+export type IndexingMode = 'consistent' | 'lazy' | 'none';
/**
* Defines values for DataType.
@@ -4465,7 +3875,7 @@ export type IndexingMode = "consistent" | "lazy" | "none";
* @readonly
* @enum {string}
*/
-export type DataType = "String" | "Number" | "Point" | "Polygon" | "LineString" | "MultiPolygon";
+export type DataType = 'String' | 'Number' | 'Point' | 'Polygon' | 'LineString' | 'MultiPolygon';
/**
* Defines values for IndexKind.
@@ -4473,7 +3883,7 @@ export type DataType = "String" | "Number" | "Point" | "Polygon" | "LineString"
* @readonly
* @enum {string}
*/
-export type IndexKind = "Hash" | "Range" | "Spatial";
+export type IndexKind = 'Hash' | 'Range' | 'Spatial';
/**
* Defines values for CompositePathSortOrder.
@@ -4481,7 +3891,7 @@ export type IndexKind = "Hash" | "Range" | "Spatial";
* @readonly
* @enum {string}
*/
-export type CompositePathSortOrder = "ascending" | "descending";
+export type CompositePathSortOrder = 'ascending' | 'descending';
/**
* Defines values for SpatialType.
@@ -4489,7 +3899,7 @@ export type CompositePathSortOrder = "ascending" | "descending";
* @readonly
* @enum {string}
*/
-export type SpatialType = "Point" | "LineString" | "Polygon" | "MultiPolygon";
+export type SpatialType = 'Point' | 'LineString' | 'Polygon' | 'MultiPolygon';
/**
* Defines values for PartitionKind.
@@ -4497,7 +3907,7 @@ export type SpatialType = "Point" | "LineString" | "Polygon" | "MultiPolygon";
* @readonly
* @enum {string}
*/
-export type PartitionKind = "Hash" | "Range" | "MultiHash";
+export type PartitionKind = 'Hash' | 'Range' | 'MultiHash';
/**
* Defines values for ConflictResolutionMode.
@@ -4505,7 +3915,7 @@ export type PartitionKind = "Hash" | "Range" | "MultiHash";
* @readonly
* @enum {string}
*/
-export type ConflictResolutionMode = "LastWriterWins" | "Custom";
+export type ConflictResolutionMode = 'LastWriterWins' | 'Custom';
/**
* Defines values for TriggerType.
@@ -4513,7 +3923,7 @@ export type ConflictResolutionMode = "LastWriterWins" | "Custom";
* @readonly
* @enum {string}
*/
-export type TriggerType = "Pre" | "Post";
+export type TriggerType = 'Pre' | 'Post';
/**
* Defines values for TriggerOperation.
@@ -4521,19 +3931,7 @@ export type TriggerType = "Pre" | "Post";
* @readonly
* @enum {string}
*/
-export type TriggerOperation = "All" | "Create" | "Update" | "Delete" | "Replace";
-
-/**
- * Defines values for ResourceIdentityType.
- * Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned', 'None'
- * @readonly
- * @enum {string}
- */
-export type ResourceIdentityType =
- | "SystemAssigned"
- | "UserAssigned"
- | "SystemAssigned,UserAssigned"
- | "None";
+export type TriggerOperation = 'All' | 'Create' | 'Update' | 'Delete' | 'Replace';
/**
* Defines values for KeyKind.
@@ -4541,7 +3939,7 @@ export type ResourceIdentityType =
* @readonly
* @enum {string}
*/
-export type KeyKind = "primary" | "secondary" | "primaryReadonly" | "secondaryReadonly";
+export type KeyKind = 'primary' | 'secondary' | 'primaryReadonly' | 'secondaryReadonly';
/**
* Defines values for UnitType.
@@ -4550,14 +3948,7 @@ export type KeyKind = "primary" | "secondary" | "primaryReadonly" | "secondaryRe
* @readonly
* @enum {string}
*/
-export type UnitType =
- | "Count"
- | "Bytes"
- | "Seconds"
- | "Percent"
- | "CountPerSecond"
- | "BytesPerSecond"
- | "Milliseconds";
+export type UnitType = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSecond' | 'BytesPerSecond' | 'Milliseconds';
/**
* Defines values for PrimaryAggregationType.
@@ -4565,31 +3956,7 @@ export type UnitType =
* @readonly
* @enum {string}
*/
-export type PrimaryAggregationType = "None" | "Average" | "Total" | "Minimum" | "Maximum" | "Last";
-
-/**
- * Defines values for BackupPolicyType.
- * Possible values include: 'Periodic', 'Continuous'
- * @readonly
- * @enum {string}
- */
-export type BackupPolicyType = "Periodic" | "Continuous";
-
-/**
- * Defines values for BackupStorageRedundancy.
- * Possible values include: 'Geo', 'Local', 'Zone'
- * @readonly
- * @enum {string}
- */
-export type BackupStorageRedundancy = "Geo" | "Local" | "Zone";
-
-/**
- * Defines values for ApiType.
- * Possible values include: 'MongoDB', 'Gremlin', 'Cassandra', 'Table', 'Sql', 'GremlinV2'
- * @readonly
- * @enum {string}
- */
-export type ApiType = "MongoDB" | "Gremlin" | "Cassandra" | "Table" | "Sql" | "GremlinV2";
+export type PrimaryAggregationType = 'None' | 'Average' | 'Total' | 'Minimum' | 'Maximum' | 'Last';
/**
* Defines values for RoleDefinitionType.
@@ -4597,77 +3964,23 @@ export type ApiType = "MongoDB" | "Gremlin" | "Cassandra" | "Table" | "Sql" | "G
* @readonly
* @enum {string}
*/
-export type RoleDefinitionType = "BuiltInRole" | "CustomRole";
-
-/**
- * Defines values for OperationType.
- * Possible values include: 'Create', 'Replace', 'Delete', 'SystemOperation'
- * @readonly
- * @enum {string}
- */
-export type OperationType = "Create" | "Replace" | "Delete" | "SystemOperation";
-
-/**
- * Defines values for ManagedCassandraProvisioningState.
- * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- * @readonly
- * @enum {string}
- */
-export type ManagedCassandraProvisioningState =
- | "Creating"
- | "Updating"
- | "Deleting"
- | "Succeeded"
- | "Failed"
- | "Canceled";
-
-/**
- * Defines values for AuthenticationMethod.
- * Possible values include: 'None', 'Cassandra'
- * @readonly
- * @enum {string}
- */
-export type AuthenticationMethod = "None" | "Cassandra";
+export type RoleDefinitionType = 'BuiltInRole' | 'CustomRole';
/**
- * Defines values for NodeStatus.
- * Possible values include: 'Up', 'Down'
- * @readonly
- * @enum {string}
- */
-export type NodeStatus = "Up" | "Down";
-
-/**
- * Defines values for NodeState.
- * Possible values include: 'Normal', 'Leaving', 'Joining', 'Moving', 'Stopped'
- * @readonly
- * @enum {string}
- */
-export type NodeState = "Normal" | "Leaving" | "Joining" | "Moving" | "Stopped";
-
-/**
- * Defines values for ServiceSize.
- * Possible values include: 'Cosmos.D4s', 'Cosmos.D8s', 'Cosmos.D16s'
- * @readonly
- * @enum {string}
- */
-export type ServiceSize = "Cosmos.D4s" | "Cosmos.D8s" | "Cosmos.D16s";
-
-/**
- * Defines values for ServiceStatus.
- * Possible values include: 'Creating', 'Running', 'Updating', 'Deleting', 'Error', 'Stopped'
+ * Defines values for ApiType.
+ * Possible values include: 'MongoDB', 'Gremlin', 'Cassandra', 'Table', 'Sql', 'GremlinV2'
* @readonly
* @enum {string}
*/
-export type ServiceStatus = "Creating" | "Running" | "Updating" | "Deleting" | "Error" | "Stopped";
+export type ApiType = 'MongoDB' | 'Gremlin' | 'Cassandra' | 'Table' | 'Sql' | 'GremlinV2';
/**
- * Defines values for ServiceType.
- * Possible values include: 'SqlDedicatedGateway', 'DataTransfer'
+ * Defines values for OperationType.
+ * Possible values include: 'Create', 'Replace', 'Delete', 'SystemOperation'
* @readonly
* @enum {string}
*/
-export type ServiceType = "SqlDedicatedGateway" | "DataTransfer";
+export type OperationType = 'Create' | 'Replace' | 'Delete' | 'SystemOperation';
/**
* Contains response data for the get operation.
@@ -4677,16 +3990,16 @@ export type DatabaseAccountsGetResponse = DatabaseAccountGetResults & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DatabaseAccountGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DatabaseAccountGetResults;
+ };
};
/**
@@ -4697,16 +4010,16 @@ export type DatabaseAccountsUpdateResponse = DatabaseAccountGetResults & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DatabaseAccountGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DatabaseAccountGetResults;
+ };
};
/**
@@ -4717,16 +4030,16 @@ export type DatabaseAccountsCreateOrUpdateResponse = DatabaseAccountGetResults &
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DatabaseAccountGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DatabaseAccountGetResults;
+ };
};
/**
@@ -4737,16 +4050,16 @@ export type DatabaseAccountsListResponse = DatabaseAccountsListResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DatabaseAccountsListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DatabaseAccountsListResult;
+ };
};
/**
@@ -4757,16 +4070,16 @@ export type DatabaseAccountsListByResourceGroupResponse = DatabaseAccountsListRe
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DatabaseAccountsListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DatabaseAccountsListResult;
+ };
};
/**
@@ -4777,16 +4090,16 @@ export type DatabaseAccountsListKeysResponse = DatabaseAccountListKeysResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DatabaseAccountListKeysResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DatabaseAccountListKeysResult;
+ };
};
/**
@@ -4797,16 +4110,16 @@ export type DatabaseAccountsListConnectionStringsResponse = DatabaseAccountListC
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DatabaseAccountListConnectionStringsResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DatabaseAccountListConnectionStringsResult;
+ };
};
/**
@@ -4817,16 +4130,16 @@ export type DatabaseAccountsGetReadOnlyKeysResponse = DatabaseAccountListReadOnl
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DatabaseAccountListReadOnlyKeysResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DatabaseAccountListReadOnlyKeysResult;
+ };
};
/**
@@ -4837,16 +4150,16 @@ export type DatabaseAccountsListReadOnlyKeysResponse = DatabaseAccountListReadOn
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DatabaseAccountListReadOnlyKeysResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DatabaseAccountListReadOnlyKeysResult;
+ };
};
/**
@@ -4862,16 +4175,16 @@ export type DatabaseAccountsCheckNameExistsResponse = {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: boolean;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: boolean;
+ };
};
/**
@@ -4882,16 +4195,16 @@ export type DatabaseAccountsListMetricsResponse = MetricListResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MetricListResult;
+ };
};
/**
@@ -4902,16 +4215,16 @@ export type DatabaseAccountsListUsagesResponse = UsagesResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: UsagesResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: UsagesResult;
+ };
};
/**
@@ -4922,16 +4235,16 @@ export type DatabaseAccountsListMetricDefinitionsResponse = MetricDefinitionsLis
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MetricDefinitionsListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MetricDefinitionsListResult;
+ };
};
/**
@@ -4942,16 +4255,16 @@ export type DatabaseAccountsBeginUpdateResponse = DatabaseAccountGetResults & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DatabaseAccountGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DatabaseAccountGetResults;
+ };
};
/**
@@ -4962,16 +4275,16 @@ export type DatabaseAccountsBeginCreateOrUpdateResponse = DatabaseAccountGetResu
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DatabaseAccountGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: DatabaseAccountGetResults;
+ };
};
/**
@@ -4982,16 +4295,16 @@ export type OperationsListResponse = OperationListResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: OperationListResult;
+ };
};
/**
@@ -5002,16 +4315,16 @@ export type OperationsListNextResponse = OperationListResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: OperationListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: OperationListResult;
+ };
};
/**
@@ -5022,16 +4335,16 @@ export type DatabaseListMetricsResponse = MetricListResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MetricListResult;
+ };
};
/**
@@ -5042,16 +4355,16 @@ export type DatabaseListUsagesResponse = UsagesResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: UsagesResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: UsagesResult;
+ };
};
/**
@@ -5062,16 +4375,16 @@ export type DatabaseListMetricDefinitionsResponse = MetricDefinitionsListResult
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MetricDefinitionsListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MetricDefinitionsListResult;
+ };
};
/**
@@ -5082,16 +4395,16 @@ export type CollectionListMetricsResponse = MetricListResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MetricListResult;
+ };
};
/**
@@ -5102,16 +4415,16 @@ export type CollectionListUsagesResponse = UsagesResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: UsagesResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: UsagesResult;
+ };
};
/**
@@ -5122,16 +4435,16 @@ export type CollectionListMetricDefinitionsResponse = MetricDefinitionsListResul
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MetricDefinitionsListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MetricDefinitionsListResult;
+ };
};
/**
@@ -5142,16 +4455,16 @@ export type CollectionRegionListMetricsResponse = MetricListResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MetricListResult;
+ };
};
/**
@@ -5162,16 +4475,16 @@ export type DatabaseAccountRegionListMetricsResponse = MetricListResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MetricListResult;
+ };
};
/**
@@ -5182,16 +4495,16 @@ export type PercentileSourceTargetListMetricsResponse = PercentileMetricListResu
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PercentileMetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PercentileMetricListResult;
+ };
};
/**
@@ -5202,16 +4515,16 @@ export type PercentileTargetListMetricsResponse = PercentileMetricListResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PercentileMetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PercentileMetricListResult;
+ };
};
/**
@@ -5222,16 +4535,16 @@ export type PercentileListMetricsResponse = PercentileMetricListResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PercentileMetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PercentileMetricListResult;
+ };
};
/**
@@ -5242,16 +4555,16 @@ export type CollectionPartitionRegionListMetricsResponse = PartitionMetricListRe
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartitionMetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PartitionMetricListResult;
+ };
};
/**
@@ -5262,16 +4575,16 @@ export type CollectionPartitionListMetricsResponse = PartitionMetricListResult &
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartitionMetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PartitionMetricListResult;
+ };
};
/**
@@ -5282,16 +4595,16 @@ export type CollectionPartitionListUsagesResponse = PartitionUsagesResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartitionUsagesResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PartitionUsagesResult;
+ };
};
/**
@@ -5302,16 +4615,16 @@ export type PartitionKeyRangeIdListMetricsResponse = PartitionMetricListResult &
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartitionMetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PartitionMetricListResult;
+ };
};
/**
@@ -5322,16 +4635,16 @@ export type PartitionKeyRangeIdRegionListMetricsResponse = PartitionMetricListRe
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PartitionMetricListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PartitionMetricListResult;
+ };
};
/**
@@ -5342,16 +4655,16 @@ export type SqlResourcesListSqlDatabasesResponse = SqlDatabaseListResult & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlDatabaseListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlDatabaseListResult;
+ };
};
/**
@@ -5362,16 +4675,16 @@ export type SqlResourcesGetSqlDatabaseResponse = SqlDatabaseGetResults & {
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlDatabaseGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlDatabaseGetResults;
+ };
};
/**
@@ -5382,3234 +4695,2774 @@ export type SqlResourcesCreateUpdateSqlDatabaseResponse = SqlDatabaseGetResults
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlDatabaseGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlDatabaseGetResults;
+ };
};
/**
* Contains response data for the getSqlDatabaseThroughput operation.
*/
-export type SqlResourcesGetSqlDatabaseThroughputResponse = ThroughputSettingsGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
-};
-
-/**
- * Contains response data for the updateSqlDatabaseThroughput operation.
- */
-export type SqlResourcesUpdateSqlDatabaseThroughputResponse = ThroughputSettingsGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
-};
-
-/**
- * Contains response data for the migrateSqlDatabaseToAutoscale operation.
- */
-export type SqlResourcesMigrateSqlDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
-};
-
-/**
- * Contains response data for the migrateSqlDatabaseToManualThroughput operation.
- */
-export type SqlResourcesMigrateSqlDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
-};
-
-/**
- * Contains response data for the listSqlContainers operation.
- */
-export type SqlResourcesListSqlContainersResponse = SqlContainerListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlContainerListResult;
- };
-};
-
-/**
- * Contains response data for the getSqlContainer operation.
- */
-export type SqlResourcesGetSqlContainerResponse = SqlContainerGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlContainerGetResults;
- };
-};
-
-/**
- * Contains response data for the createUpdateSqlContainer operation.
- */
-export type SqlResourcesCreateUpdateSqlContainerResponse = SqlContainerGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlContainerGetResults;
- };
-};
-
-/**
- * Contains response data for the getSqlContainerThroughput operation.
- */
-export type SqlResourcesGetSqlContainerThroughputResponse = ThroughputSettingsGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
-};
-
-/**
- * Contains response data for the updateSqlContainerThroughput operation.
- */
-export type SqlResourcesUpdateSqlContainerThroughputResponse = ThroughputSettingsGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
-};
-
-/**
- * Contains response data for the migrateSqlContainerToAutoscale operation.
- */
-export type SqlResourcesMigrateSqlContainerToAutoscaleResponse = ThroughputSettingsGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
-};
-
-/**
- * Contains response data for the migrateSqlContainerToManualThroughput operation.
- */
-export type SqlResourcesMigrateSqlContainerToManualThroughputResponse = ThroughputSettingsGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
-};
-
-/**
- * Contains response data for the listSqlStoredProcedures operation.
- */
-export type SqlResourcesListSqlStoredProceduresResponse = SqlStoredProcedureListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlStoredProcedureListResult;
- };
-};
-
-/**
- * Contains response data for the getSqlStoredProcedure operation.
- */
-export type SqlResourcesGetSqlStoredProcedureResponse = SqlStoredProcedureGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlStoredProcedureGetResults;
- };
-};
-
-/**
- * Contains response data for the createUpdateSqlStoredProcedure operation.
- */
-export type SqlResourcesCreateUpdateSqlStoredProcedureResponse = SqlStoredProcedureGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlStoredProcedureGetResults;
- };
-};
-
-/**
- * Contains response data for the listSqlUserDefinedFunctions operation.
- */
-export type SqlResourcesListSqlUserDefinedFunctionsResponse = SqlUserDefinedFunctionListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlUserDefinedFunctionListResult;
- };
-};
-
-/**
- * Contains response data for the getSqlUserDefinedFunction operation.
- */
-export type SqlResourcesGetSqlUserDefinedFunctionResponse = SqlUserDefinedFunctionGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlUserDefinedFunctionGetResults;
- };
-};
-
-/**
- * Contains response data for the createUpdateSqlUserDefinedFunction operation.
- */
-export type SqlResourcesCreateUpdateSqlUserDefinedFunctionResponse = SqlUserDefinedFunctionGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlUserDefinedFunctionGetResults;
- };
-};
-
-/**
- * Contains response data for the listSqlTriggers operation.
- */
-export type SqlResourcesListSqlTriggersResponse = SqlTriggerListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlTriggerListResult;
- };
-};
-
-/**
- * Contains response data for the getSqlTrigger operation.
- */
-export type SqlResourcesGetSqlTriggerResponse = SqlTriggerGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlTriggerGetResults;
- };
-};
-
-/**
- * Contains response data for the createUpdateSqlTrigger operation.
- */
-export type SqlResourcesCreateUpdateSqlTriggerResponse = SqlTriggerGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlTriggerGetResults;
- };
-};
-
-/**
- * Contains response data for the retrieveContinuousBackupInformation operation.
- */
-export type SqlResourcesRetrieveContinuousBackupInformationResponse = BackupInformation & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupInformation;
- };
-};
-
-/**
- * Contains response data for the getSqlRoleDefinition operation.
- */
-export type SqlResourcesGetSqlRoleDefinitionResponse = SqlRoleDefinitionGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlRoleDefinitionGetResults;
- };
-};
-
-/**
- * Contains response data for the createUpdateSqlRoleDefinition operation.
- */
-export type SqlResourcesCreateUpdateSqlRoleDefinitionResponse = SqlRoleDefinitionGetResults & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlRoleDefinitionGetResults;
- };
-};
-
-/**
- * Contains response data for the listSqlRoleDefinitions operation.
- */
-export type SqlResourcesListSqlRoleDefinitionsResponse = SqlRoleDefinitionListResult & {
+export type SqlResourcesGetSqlDatabaseThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlRoleDefinitionListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the getSqlRoleAssignment operation.
+ * Contains response data for the updateSqlDatabaseThroughput operation.
*/
-export type SqlResourcesGetSqlRoleAssignmentResponse = SqlRoleAssignmentGetResults & {
+export type SqlResourcesUpdateSqlDatabaseThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlRoleAssignmentGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the createUpdateSqlRoleAssignment operation.
+ * Contains response data for the migrateSqlDatabaseToAutoscale operation.
*/
-export type SqlResourcesCreateUpdateSqlRoleAssignmentResponse = SqlRoleAssignmentGetResults & {
+export type SqlResourcesMigrateSqlDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlRoleAssignmentGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the listSqlRoleAssignments operation.
+ * Contains response data for the migrateSqlDatabaseToManualThroughput operation.
*/
-export type SqlResourcesListSqlRoleAssignmentsResponse = SqlRoleAssignmentListResult & {
+export type SqlResourcesMigrateSqlDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlRoleAssignmentListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateSqlDatabase operation.
+ * Contains response data for the listSqlContainers operation.
*/
-export type SqlResourcesBeginCreateUpdateSqlDatabaseResponse = SqlDatabaseGetResults & {
+export type SqlResourcesListSqlContainersResponse = SqlContainerListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlDatabaseGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlContainerListResult;
+ };
};
/**
- * Contains response data for the beginUpdateSqlDatabaseThroughput operation.
+ * Contains response data for the getSqlContainer operation.
*/
-export type SqlResourcesBeginUpdateSqlDatabaseThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesGetSqlContainerResponse = SqlContainerGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlContainerGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateSqlDatabaseToAutoscale operation.
+ * Contains response data for the createUpdateSqlContainer operation.
*/
-export type SqlResourcesBeginMigrateSqlDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesCreateUpdateSqlContainerResponse = SqlContainerGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlContainerGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateSqlDatabaseToManualThroughput operation.
+ * Contains response data for the getSqlContainerThroughput operation.
*/
-export type SqlResourcesBeginMigrateSqlDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesGetSqlContainerThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateSqlContainer operation.
+ * Contains response data for the updateSqlContainerThroughput operation.
*/
-export type SqlResourcesBeginCreateUpdateSqlContainerResponse = SqlContainerGetResults & {
+export type SqlResourcesUpdateSqlContainerThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlContainerGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginUpdateSqlContainerThroughput operation.
+ * Contains response data for the migrateSqlContainerToAutoscale operation.
*/
-export type SqlResourcesBeginUpdateSqlContainerThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesMigrateSqlContainerToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateSqlContainerToAutoscale operation.
+ * Contains response data for the migrateSqlContainerToManualThroughput operation.
*/
-export type SqlResourcesBeginMigrateSqlContainerToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesMigrateSqlContainerToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateSqlContainerToManualThroughput operation.
+ * Contains response data for the listSqlStoredProcedures operation.
*/
-export type SqlResourcesBeginMigrateSqlContainerToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesListSqlStoredProceduresResponse = SqlStoredProcedureListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlStoredProcedureListResult;
+ };
};
/**
- * Contains response data for the beginCreateUpdateSqlStoredProcedure operation.
+ * Contains response data for the getSqlStoredProcedure operation.
*/
-export type SqlResourcesBeginCreateUpdateSqlStoredProcedureResponse = SqlStoredProcedureGetResults & {
+export type SqlResourcesGetSqlStoredProcedureResponse = SqlStoredProcedureGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlStoredProcedureGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlStoredProcedureGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateSqlUserDefinedFunction operation.
+ * Contains response data for the createUpdateSqlStoredProcedure operation.
*/
-export type SqlResourcesBeginCreateUpdateSqlUserDefinedFunctionResponse = SqlUserDefinedFunctionGetResults & {
+export type SqlResourcesCreateUpdateSqlStoredProcedureResponse = SqlStoredProcedureGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlUserDefinedFunctionGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlStoredProcedureGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateSqlTrigger operation.
+ * Contains response data for the listSqlUserDefinedFunctions operation.
*/
-export type SqlResourcesBeginCreateUpdateSqlTriggerResponse = SqlTriggerGetResults & {
+export type SqlResourcesListSqlUserDefinedFunctionsResponse = SqlUserDefinedFunctionListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlTriggerGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlUserDefinedFunctionListResult;
+ };
};
/**
- * Contains response data for the beginRetrieveContinuousBackupInformation operation.
+ * Contains response data for the getSqlUserDefinedFunction operation.
*/
-export type SqlResourcesBeginRetrieveContinuousBackupInformationResponse = BackupInformation & {
+export type SqlResourcesGetSqlUserDefinedFunctionResponse = SqlUserDefinedFunctionGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupInformation;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlUserDefinedFunctionGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateSqlRoleDefinition operation.
+ * Contains response data for the createUpdateSqlUserDefinedFunction operation.
*/
-export type SqlResourcesBeginCreateUpdateSqlRoleDefinitionResponse = SqlRoleDefinitionGetResults & {
+export type SqlResourcesCreateUpdateSqlUserDefinedFunctionResponse = SqlUserDefinedFunctionGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlRoleDefinitionGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlUserDefinedFunctionGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateSqlRoleAssignment operation.
+ * Contains response data for the listSqlTriggers operation.
*/
-export type SqlResourcesBeginCreateUpdateSqlRoleAssignmentResponse = SqlRoleAssignmentGetResults & {
+export type SqlResourcesListSqlTriggersResponse = SqlTriggerListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: SqlRoleAssignmentGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlTriggerListResult;
+ };
};
/**
- * Contains response data for the listMongoDBDatabases operation.
+ * Contains response data for the getSqlTrigger operation.
*/
-export type MongoDBResourcesListMongoDBDatabasesResponse = MongoDBDatabaseListResult & {
+export type SqlResourcesGetSqlTriggerResponse = SqlTriggerGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MongoDBDatabaseListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlTriggerGetResults;
+ };
};
/**
- * Contains response data for the getMongoDBDatabase operation.
+ * Contains response data for the createUpdateSqlTrigger operation.
*/
-export type MongoDBResourcesGetMongoDBDatabaseResponse = MongoDBDatabaseGetResults & {
+export type SqlResourcesCreateUpdateSqlTriggerResponse = SqlTriggerGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MongoDBDatabaseGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlTriggerGetResults;
+ };
};
/**
- * Contains response data for the createUpdateMongoDBDatabase operation.
+ * Contains response data for the getSqlRoleDefinition operation.
*/
-export type MongoDBResourcesCreateUpdateMongoDBDatabaseResponse = MongoDBDatabaseGetResults & {
+export type SqlResourcesGetSqlRoleDefinitionResponse = SqlRoleDefinitionGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MongoDBDatabaseGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlRoleDefinitionGetResults;
+ };
};
/**
- * Contains response data for the getMongoDBDatabaseThroughput operation.
+ * Contains response data for the createUpdateSqlRoleDefinition operation.
*/
-export type MongoDBResourcesGetMongoDBDatabaseThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesCreateUpdateSqlRoleDefinitionResponse = SqlRoleDefinitionGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlRoleDefinitionGetResults;
+ };
};
/**
- * Contains response data for the updateMongoDBDatabaseThroughput operation.
+ * Contains response data for the listSqlRoleDefinitions operation.
*/
-export type MongoDBResourcesUpdateMongoDBDatabaseThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesListSqlRoleDefinitionsResponse = SqlRoleDefinitionListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlRoleDefinitionListResult;
+ };
};
/**
- * Contains response data for the migrateMongoDBDatabaseToAutoscale operation.
+ * Contains response data for the getSqlRoleAssignment operation.
*/
-export type MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesGetSqlRoleAssignmentResponse = SqlRoleAssignmentGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlRoleAssignmentGetResults;
+ };
};
/**
- * Contains response data for the migrateMongoDBDatabaseToManualThroughput operation.
+ * Contains response data for the createUpdateSqlRoleAssignment operation.
*/
-export type MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesCreateUpdateSqlRoleAssignmentResponse = SqlRoleAssignmentGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlRoleAssignmentGetResults;
+ };
};
/**
- * Contains response data for the listMongoDBCollections operation.
+ * Contains response data for the listSqlRoleAssignments operation.
*/
-export type MongoDBResourcesListMongoDBCollectionsResponse = MongoDBCollectionListResult & {
+export type SqlResourcesListSqlRoleAssignmentsResponse = SqlRoleAssignmentListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MongoDBCollectionListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlRoleAssignmentListResult;
+ };
};
/**
- * Contains response data for the getMongoDBCollection operation.
+ * Contains response data for the retrieveContinuousBackupInformation operation.
*/
-export type MongoDBResourcesGetMongoDBCollectionResponse = MongoDBCollectionGetResults & {
+export type SqlResourcesRetrieveContinuousBackupInformationResponse = BackupInformation & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MongoDBCollectionGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: BackupInformation;
+ };
};
/**
- * Contains response data for the createUpdateMongoDBCollection operation.
+ * Contains response data for the beginCreateUpdateSqlDatabase operation.
*/
-export type MongoDBResourcesCreateUpdateMongoDBCollectionResponse = MongoDBCollectionGetResults & {
+export type SqlResourcesBeginCreateUpdateSqlDatabaseResponse = SqlDatabaseGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MongoDBCollectionGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlDatabaseGetResults;
+ };
};
/**
- * Contains response data for the getMongoDBCollectionThroughput operation.
+ * Contains response data for the beginUpdateSqlDatabaseThroughput operation.
*/
-export type MongoDBResourcesGetMongoDBCollectionThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesBeginUpdateSqlDatabaseThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the updateMongoDBCollectionThroughput operation.
+ * Contains response data for the beginMigrateSqlDatabaseToAutoscale operation.
*/
-export type MongoDBResourcesUpdateMongoDBCollectionThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesBeginMigrateSqlDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the migrateMongoDBCollectionToAutoscale operation.
+ * Contains response data for the beginMigrateSqlDatabaseToManualThroughput operation.
*/
-export type MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesBeginMigrateSqlDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the migrateMongoDBCollectionToManualThroughput operation.
+ * Contains response data for the beginCreateUpdateSqlContainer operation.
*/
-export type MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesBeginCreateUpdateSqlContainerResponse = SqlContainerGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlContainerGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateMongoDBDatabase operation.
+ * Contains response data for the beginUpdateSqlContainerThroughput operation.
*/
-export type MongoDBResourcesBeginCreateUpdateMongoDBDatabaseResponse = MongoDBDatabaseGetResults & {
+export type SqlResourcesBeginUpdateSqlContainerThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MongoDBDatabaseGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginUpdateMongoDBDatabaseThroughput operation.
+ * Contains response data for the beginMigrateSqlContainerToAutoscale operation.
*/
-export type MongoDBResourcesBeginUpdateMongoDBDatabaseThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesBeginMigrateSqlContainerToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateMongoDBDatabaseToAutoscale operation.
+ * Contains response data for the beginMigrateSqlContainerToManualThroughput operation.
*/
-export type MongoDBResourcesBeginMigrateMongoDBDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesBeginMigrateSqlContainerToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateMongoDBDatabaseToManualThroughput operation.
+ * Contains response data for the beginCreateUpdateSqlStoredProcedure operation.
*/
-export type MongoDBResourcesBeginMigrateMongoDBDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesBeginCreateUpdateSqlStoredProcedureResponse = SqlStoredProcedureGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlStoredProcedureGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateMongoDBCollection operation.
+ * Contains response data for the beginCreateUpdateSqlUserDefinedFunction operation.
*/
-export type MongoDBResourcesBeginCreateUpdateMongoDBCollectionResponse = MongoDBCollectionGetResults & {
+export type SqlResourcesBeginCreateUpdateSqlUserDefinedFunctionResponse = SqlUserDefinedFunctionGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: MongoDBCollectionGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlUserDefinedFunctionGetResults;
+ };
};
/**
- * Contains response data for the beginUpdateMongoDBCollectionThroughput operation.
+ * Contains response data for the beginCreateUpdateSqlTrigger operation.
*/
-export type MongoDBResourcesBeginUpdateMongoDBCollectionThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesBeginCreateUpdateSqlTriggerResponse = SqlTriggerGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlTriggerGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateMongoDBCollectionToAutoscale operation.
+ * Contains response data for the beginCreateUpdateSqlRoleDefinition operation.
*/
-export type MongoDBResourcesBeginMigrateMongoDBCollectionToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesBeginCreateUpdateSqlRoleDefinitionResponse = SqlRoleDefinitionGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlRoleDefinitionGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateMongoDBCollectionToManualThroughput operation.
+ * Contains response data for the beginCreateUpdateSqlRoleAssignment operation.
*/
-export type MongoDBResourcesBeginMigrateMongoDBCollectionToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type SqlResourcesBeginCreateUpdateSqlRoleAssignmentResponse = SqlRoleAssignmentGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: SqlRoleAssignmentGetResults;
+ };
};
/**
- * Contains response data for the listTables operation.
+ * Contains response data for the beginRetrieveContinuousBackupInformation operation.
*/
-export type TableResourcesListTablesResponse = TableListResult & {
+export type SqlResourcesBeginRetrieveContinuousBackupInformationResponse = BackupInformation & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TableListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: BackupInformation;
+ };
};
/**
- * Contains response data for the getTable operation.
+ * Contains response data for the listMongoDBDatabases operation.
*/
-export type TableResourcesGetTableResponse = TableGetResults & {
+export type MongoDBResourcesListMongoDBDatabasesResponse = MongoDBDatabaseListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TableGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MongoDBDatabaseListResult;
+ };
};
/**
- * Contains response data for the createUpdateTable operation.
+ * Contains response data for the getMongoDBDatabase operation.
*/
-export type TableResourcesCreateUpdateTableResponse = TableGetResults & {
+export type MongoDBResourcesGetMongoDBDatabaseResponse = MongoDBDatabaseGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TableGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MongoDBDatabaseGetResults;
+ };
};
/**
- * Contains response data for the getTableThroughput operation.
+ * Contains response data for the createUpdateMongoDBDatabase operation.
*/
-export type TableResourcesGetTableThroughputResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesCreateUpdateMongoDBDatabaseResponse = MongoDBDatabaseGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MongoDBDatabaseGetResults;
+ };
};
/**
- * Contains response data for the updateTableThroughput operation.
+ * Contains response data for the getMongoDBDatabaseThroughput operation.
*/
-export type TableResourcesUpdateTableThroughputResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesGetMongoDBDatabaseThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the migrateTableToAutoscale operation.
+ * Contains response data for the updateMongoDBDatabaseThroughput operation.
*/
-export type TableResourcesMigrateTableToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesUpdateMongoDBDatabaseThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the migrateTableToManualThroughput operation.
+ * Contains response data for the migrateMongoDBDatabaseToAutoscale operation.
*/
-export type TableResourcesMigrateTableToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateTable operation.
+ * Contains response data for the migrateMongoDBDatabaseToManualThroughput operation.
*/
-export type TableResourcesBeginCreateUpdateTableResponse = TableGetResults & {
+export type MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: TableGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginUpdateTableThroughput operation.
+ * Contains response data for the listMongoDBCollections operation.
*/
-export type TableResourcesBeginUpdateTableThroughputResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesListMongoDBCollectionsResponse = MongoDBCollectionListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MongoDBCollectionListResult;
+ };
};
/**
- * Contains response data for the beginMigrateTableToAutoscale operation.
+ * Contains response data for the getMongoDBCollection operation.
*/
-export type TableResourcesBeginMigrateTableToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesGetMongoDBCollectionResponse = MongoDBCollectionGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MongoDBCollectionGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateTableToManualThroughput operation.
+ * Contains response data for the createUpdateMongoDBCollection operation.
*/
-export type TableResourcesBeginMigrateTableToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesCreateUpdateMongoDBCollectionResponse = MongoDBCollectionGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MongoDBCollectionGetResults;
+ };
};
/**
- * Contains response data for the listCassandraKeyspaces operation.
+ * Contains response data for the getMongoDBCollectionThroughput operation.
*/
-export type CassandraResourcesListCassandraKeyspacesResponse = CassandraKeyspaceListResult & {
+export type MongoDBResourcesGetMongoDBCollectionThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: CassandraKeyspaceListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the getCassandraKeyspace operation.
+ * Contains response data for the updateMongoDBCollectionThroughput operation.
*/
-export type CassandraResourcesGetCassandraKeyspaceResponse = CassandraKeyspaceGetResults & {
+export type MongoDBResourcesUpdateMongoDBCollectionThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: CassandraKeyspaceGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the createUpdateCassandraKeyspace operation.
+ * Contains response data for the migrateMongoDBCollectionToAutoscale operation.
*/
-export type CassandraResourcesCreateUpdateCassandraKeyspaceResponse = CassandraKeyspaceGetResults & {
+export type MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: CassandraKeyspaceGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the getCassandraKeyspaceThroughput operation.
+ * Contains response data for the migrateMongoDBCollectionToManualThroughput operation.
*/
-export type CassandraResourcesGetCassandraKeyspaceThroughputResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the updateCassandraKeyspaceThroughput operation.
+ * Contains response data for the beginCreateUpdateMongoDBDatabase operation.
*/
-export type CassandraResourcesUpdateCassandraKeyspaceThroughputResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesBeginCreateUpdateMongoDBDatabaseResponse = MongoDBDatabaseGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MongoDBDatabaseGetResults;
+ };
};
/**
- * Contains response data for the migrateCassandraKeyspaceToAutoscale operation.
+ * Contains response data for the beginUpdateMongoDBDatabaseThroughput operation.
*/
-export type CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesBeginUpdateMongoDBDatabaseThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the migrateCassandraKeyspaceToManualThroughput operation.
+ * Contains response data for the beginMigrateMongoDBDatabaseToAutoscale operation.
*/
-export type CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesBeginMigrateMongoDBDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the listCassandraTables operation.
+ * Contains response data for the beginMigrateMongoDBDatabaseToManualThroughput operation.
*/
-export type CassandraResourcesListCassandraTablesResponse = CassandraTableListResult & {
+export type MongoDBResourcesBeginMigrateMongoDBDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: CassandraTableListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the getCassandraTable operation.
+ * Contains response data for the beginCreateUpdateMongoDBCollection operation.
*/
-export type CassandraResourcesGetCassandraTableResponse = CassandraTableGetResults & {
+export type MongoDBResourcesBeginCreateUpdateMongoDBCollectionResponse = MongoDBCollectionGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: CassandraTableGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: MongoDBCollectionGetResults;
+ };
};
/**
- * Contains response data for the createUpdateCassandraTable operation.
+ * Contains response data for the beginUpdateMongoDBCollectionThroughput operation.
*/
-export type CassandraResourcesCreateUpdateCassandraTableResponse = CassandraTableGetResults & {
+export type MongoDBResourcesBeginUpdateMongoDBCollectionThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: CassandraTableGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the getCassandraTableThroughput operation.
+ * Contains response data for the beginMigrateMongoDBCollectionToAutoscale operation.
*/
-export type CassandraResourcesGetCassandraTableThroughputResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesBeginMigrateMongoDBCollectionToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the updateCassandraTableThroughput operation.
+ * Contains response data for the beginMigrateMongoDBCollectionToManualThroughput operation.
*/
-export type CassandraResourcesUpdateCassandraTableThroughputResponse = ThroughputSettingsGetResults & {
+export type MongoDBResourcesBeginMigrateMongoDBCollectionToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the migrateCassandraTableToAutoscale operation.
+ * Contains response data for the listTables operation.
*/
-export type CassandraResourcesMigrateCassandraTableToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type TableResourcesListTablesResponse = TableListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TableListResult;
+ };
};
/**
- * Contains response data for the migrateCassandraTableToManualThroughput operation.
+ * Contains response data for the getTable operation.
*/
-export type CassandraResourcesMigrateCassandraTableToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type TableResourcesGetTableResponse = TableGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TableGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateCassandraKeyspace operation.
+ * Contains response data for the createUpdateTable operation.
*/
-export type CassandraResourcesBeginCreateUpdateCassandraKeyspaceResponse = CassandraKeyspaceGetResults & {
+export type TableResourcesCreateUpdateTableResponse = TableGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: CassandraKeyspaceGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TableGetResults;
+ };
};
/**
- * Contains response data for the beginUpdateCassandraKeyspaceThroughput operation.
+ * Contains response data for the getTableThroughput operation.
*/
-export type CassandraResourcesBeginUpdateCassandraKeyspaceThroughputResponse = ThroughputSettingsGetResults & {
+export type TableResourcesGetTableThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateCassandraKeyspaceToAutoscale operation.
+ * Contains response data for the updateTableThroughput operation.
*/
-export type CassandraResourcesBeginMigrateCassandraKeyspaceToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type TableResourcesUpdateTableThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateCassandraKeyspaceToManualThroughput operation.
+ * Contains response data for the migrateTableToAutoscale operation.
*/
-export type CassandraResourcesBeginMigrateCassandraKeyspaceToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type TableResourcesMigrateTableToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateCassandraTable operation.
+ * Contains response data for the migrateTableToManualThroughput operation.
*/
-export type CassandraResourcesBeginCreateUpdateCassandraTableResponse = CassandraTableGetResults & {
+export type TableResourcesMigrateTableToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: CassandraTableGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginUpdateCassandraTableThroughput operation.
+ * Contains response data for the beginCreateUpdateTable operation.
*/
-export type CassandraResourcesBeginUpdateCassandraTableThroughputResponse = ThroughputSettingsGetResults & {
+export type TableResourcesBeginCreateUpdateTableResponse = TableGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: TableGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateCassandraTableToAutoscale operation.
+ * Contains response data for the beginUpdateTableThroughput operation.
*/
-export type CassandraResourcesBeginMigrateCassandraTableToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type TableResourcesBeginUpdateTableThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateCassandraTableToManualThroughput operation.
+ * Contains response data for the beginMigrateTableToAutoscale operation.
*/
-export type CassandraResourcesBeginMigrateCassandraTableToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type TableResourcesBeginMigrateTableToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the listGremlinDatabases operation.
+ * Contains response data for the beginMigrateTableToManualThroughput operation.
*/
-export type GremlinResourcesListGremlinDatabasesResponse = GremlinDatabaseListResult & {
+export type TableResourcesBeginMigrateTableToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: GremlinDatabaseListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the getGremlinDatabase operation.
+ * Contains response data for the listCassandraKeyspaces operation.
*/
-export type GremlinResourcesGetGremlinDatabaseResponse = GremlinDatabaseGetResults & {
+export type CassandraResourcesListCassandraKeyspacesResponse = CassandraKeyspaceListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: GremlinDatabaseGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CassandraKeyspaceListResult;
+ };
};
/**
- * Contains response data for the createUpdateGremlinDatabase operation.
+ * Contains response data for the getCassandraKeyspace operation.
*/
-export type GremlinResourcesCreateUpdateGremlinDatabaseResponse = GremlinDatabaseGetResults & {
+export type CassandraResourcesGetCassandraKeyspaceResponse = CassandraKeyspaceGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: GremlinDatabaseGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CassandraKeyspaceGetResults;
+ };
};
/**
- * Contains response data for the getGremlinDatabaseThroughput operation.
+ * Contains response data for the createUpdateCassandraKeyspace operation.
*/
-export type GremlinResourcesGetGremlinDatabaseThroughputResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesCreateUpdateCassandraKeyspaceResponse = CassandraKeyspaceGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CassandraKeyspaceGetResults;
+ };
};
/**
- * Contains response data for the updateGremlinDatabaseThroughput operation.
+ * Contains response data for the getCassandraKeyspaceThroughput operation.
*/
-export type GremlinResourcesUpdateGremlinDatabaseThroughputResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesGetCassandraKeyspaceThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the migrateGremlinDatabaseToAutoscale operation.
+ * Contains response data for the updateCassandraKeyspaceThroughput operation.
*/
-export type GremlinResourcesMigrateGremlinDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesUpdateCassandraKeyspaceThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the migrateGremlinDatabaseToManualThroughput operation.
+ * Contains response data for the migrateCassandraKeyspaceToAutoscale operation.
*/
-export type GremlinResourcesMigrateGremlinDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the listGremlinGraphs operation.
+ * Contains response data for the migrateCassandraKeyspaceToManualThroughput operation.
*/
-export type GremlinResourcesListGremlinGraphsResponse = GremlinGraphListResult & {
+export type CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: GremlinGraphListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the getGremlinGraph operation.
+ * Contains response data for the listCassandraTables operation.
*/
-export type GremlinResourcesGetGremlinGraphResponse = GremlinGraphGetResults & {
+export type CassandraResourcesListCassandraTablesResponse = CassandraTableListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: GremlinGraphGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CassandraTableListResult;
+ };
};
/**
- * Contains response data for the createUpdateGremlinGraph operation.
+ * Contains response data for the getCassandraTable operation.
*/
-export type GremlinResourcesCreateUpdateGremlinGraphResponse = GremlinGraphGetResults & {
+export type CassandraResourcesGetCassandraTableResponse = CassandraTableGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: GremlinGraphGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CassandraTableGetResults;
+ };
};
/**
- * Contains response data for the getGremlinGraphThroughput operation.
+ * Contains response data for the createUpdateCassandraTable operation.
*/
-export type GremlinResourcesGetGremlinGraphThroughputResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesCreateUpdateCassandraTableResponse = CassandraTableGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CassandraTableGetResults;
+ };
};
/**
- * Contains response data for the updateGremlinGraphThroughput operation.
+ * Contains response data for the getCassandraTableThroughput operation.
*/
-export type GremlinResourcesUpdateGremlinGraphThroughputResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesGetCassandraTableThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the migrateGremlinGraphToAutoscale operation.
+ * Contains response data for the updateCassandraTableThroughput operation.
*/
-export type GremlinResourcesMigrateGremlinGraphToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesUpdateCassandraTableThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the migrateGremlinGraphToManualThroughput operation.
+ * Contains response data for the migrateCassandraTableToAutoscale operation.
*/
-export type GremlinResourcesMigrateGremlinGraphToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesMigrateCassandraTableToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateGremlinDatabase operation.
+ * Contains response data for the migrateCassandraTableToManualThroughput operation.
*/
-export type GremlinResourcesBeginCreateUpdateGremlinDatabaseResponse = GremlinDatabaseGetResults & {
+export type CassandraResourcesMigrateCassandraTableToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: GremlinDatabaseGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginUpdateGremlinDatabaseThroughput operation.
+ * Contains response data for the beginCreateUpdateCassandraKeyspace operation.
*/
-export type GremlinResourcesBeginUpdateGremlinDatabaseThroughputResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesBeginCreateUpdateCassandraKeyspaceResponse = CassandraKeyspaceGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CassandraKeyspaceGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateGremlinDatabaseToAutoscale operation.
+ * Contains response data for the beginUpdateCassandraKeyspaceThroughput operation.
*/
-export type GremlinResourcesBeginMigrateGremlinDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesBeginUpdateCassandraKeyspaceThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateGremlinDatabaseToManualThroughput operation.
+ * Contains response data for the beginMigrateCassandraKeyspaceToAutoscale operation.
*/
-export type GremlinResourcesBeginMigrateGremlinDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesBeginMigrateCassandraKeyspaceToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginCreateUpdateGremlinGraph operation.
+ * Contains response data for the beginMigrateCassandraKeyspaceToManualThroughput operation.
*/
-export type GremlinResourcesBeginCreateUpdateGremlinGraphResponse = GremlinGraphGetResults & {
+export type CassandraResourcesBeginMigrateCassandraKeyspaceToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: GremlinGraphGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginUpdateGremlinGraphThroughput operation.
+ * Contains response data for the beginCreateUpdateCassandraTable operation.
*/
-export type GremlinResourcesBeginUpdateGremlinGraphThroughputResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesBeginCreateUpdateCassandraTableResponse = CassandraTableGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CassandraTableGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateGremlinGraphToAutoscale operation.
+ * Contains response data for the beginUpdateCassandraTableThroughput operation.
*/
-export type GremlinResourcesBeginMigrateGremlinGraphToAutoscaleResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesBeginUpdateCassandraTableThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the beginMigrateGremlinGraphToManualThroughput operation.
+ * Contains response data for the beginMigrateCassandraTableToAutoscale operation.
*/
-export type GremlinResourcesBeginMigrateGremlinGraphToManualThroughputResponse = ThroughputSettingsGetResults & {
+export type CassandraResourcesBeginMigrateCassandraTableToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ThroughputSettingsGetResults;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the listByLocation operation.
+ * Contains response data for the beginMigrateCassandraTableToManualThroughput operation.
*/
-export type RestorableDatabaseAccountsListByLocationResponse = RestorableDatabaseAccountsListResult & {
+export type CassandraResourcesBeginMigrateCassandraTableToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RestorableDatabaseAccountsListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the list operation.
+ * Contains response data for the listGremlinDatabases operation.
*/
-export type RestorableDatabaseAccountsListResponse = RestorableDatabaseAccountsListResult & {
+export type GremlinResourcesListGremlinDatabasesResponse = GremlinDatabaseListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RestorableDatabaseAccountsListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GremlinDatabaseListResult;
+ };
};
/**
- * Contains response data for the getByLocation operation.
+ * Contains response data for the getGremlinDatabase operation.
*/
-export type RestorableDatabaseAccountsGetByLocationResponse = RestorableDatabaseAccountGetResult & {
+export type GremlinResourcesGetGremlinDatabaseResponse = GremlinDatabaseGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RestorableDatabaseAccountGetResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GremlinDatabaseGetResults;
+ };
};
/**
- * Contains response data for the locationList operation.
+ * Contains response data for the createUpdateGremlinDatabase operation.
*/
-export type LocationListResponse = LocationListResult & {
+export type GremlinResourcesCreateUpdateGremlinDatabaseResponse = GremlinDatabaseGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: LocationListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GremlinDatabaseGetResults;
+ };
};
/**
- * Contains response data for the locationGet operation.
+ * Contains response data for the getGremlinDatabaseThroughput operation.
*/
-export type LocationGetResponse = LocationGetResult & {
+export type GremlinResourcesGetGremlinDatabaseThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: LocationGetResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the listByDatabaseAccount operation.
+ * Contains response data for the updateGremlinDatabaseThroughput operation.
*/
-export type NotebookWorkspacesListByDatabaseAccountResponse = NotebookWorkspaceListResult & {
+export type GremlinResourcesUpdateGremlinDatabaseThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: NotebookWorkspaceListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the get operation.
+ * Contains response data for the migrateGremlinDatabaseToAutoscale operation.
*/
-export type NotebookWorkspacesGetResponse = NotebookWorkspace & {
+export type GremlinResourcesMigrateGremlinDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: NotebookWorkspace;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the migrateGremlinDatabaseToManualThroughput operation.
*/
-export type NotebookWorkspacesCreateOrUpdateResponse = NotebookWorkspace & {
+export type GremlinResourcesMigrateGremlinDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: NotebookWorkspace;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the listConnectionInfo operation.
+ * Contains response data for the listGremlinGraphs operation.
*/
-export type NotebookWorkspacesListConnectionInfoResponse = NotebookWorkspaceConnectionInfoResult & {
+export type GremlinResourcesListGremlinGraphsResponse = GremlinGraphListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: NotebookWorkspaceConnectionInfoResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GremlinGraphListResult;
+ };
};
/**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the getGremlinGraph operation.
*/
-export type NotebookWorkspacesBeginCreateOrUpdateResponse = NotebookWorkspace & {
+export type GremlinResourcesGetGremlinGraphResponse = GremlinGraphGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: NotebookWorkspace;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GremlinGraphGetResults;
+ };
};
/**
- * Contains response data for the list operation.
+ * Contains response data for the createUpdateGremlinGraph operation.
*/
-export type RestorableSqlDatabasesListResponse = RestorableSqlDatabasesListResult & {
+export type GremlinResourcesCreateUpdateGremlinGraphResponse = GremlinGraphGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RestorableSqlDatabasesListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GremlinGraphGetResults;
+ };
};
/**
- * Contains response data for the list operation.
+ * Contains response data for the getGremlinGraphThroughput operation.
*/
-export type RestorableSqlContainersListResponse = RestorableSqlContainersListResult & {
+export type GremlinResourcesGetGremlinGraphThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RestorableSqlContainersListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the list operation.
+ * Contains response data for the updateGremlinGraphThroughput operation.
*/
-export type RestorableSqlResourcesListResponse = RestorableSqlResourcesListResult & {
+export type GremlinResourcesUpdateGremlinGraphThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RestorableSqlResourcesListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the list operation.
+ * Contains response data for the migrateGremlinGraphToAutoscale operation.
*/
-export type RestorableMongodbDatabasesListResponse = RestorableMongodbDatabasesListResult & {
+export type GremlinResourcesMigrateGremlinGraphToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RestorableMongodbDatabasesListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the list operation.
+ * Contains response data for the migrateGremlinGraphToManualThroughput operation.
*/
-export type RestorableMongodbCollectionsListResponse = RestorableMongodbCollectionsListResult & {
+export type GremlinResourcesMigrateGremlinGraphToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RestorableMongodbCollectionsListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the list operation.
+ * Contains response data for the beginCreateUpdateGremlinDatabase operation.
*/
-export type RestorableMongodbResourcesListResponse = RestorableMongodbResourcesListResult & {
+export type GremlinResourcesBeginCreateUpdateGremlinDatabaseResponse = GremlinDatabaseGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: RestorableMongodbResourcesListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GremlinDatabaseGetResults;
+ };
};
/**
- * Contains response data for the listBySubscription operation.
+ * Contains response data for the beginUpdateGremlinDatabaseThroughput operation.
*/
-export type CassandraClustersListBySubscriptionResponse = ListClusters & {
+export type GremlinResourcesBeginUpdateGremlinDatabaseThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ListClusters;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the listByResourceGroup operation.
+ * Contains response data for the beginMigrateGremlinDatabaseToAutoscale operation.
*/
-export type CassandraClustersListByResourceGroupResponse = ListClusters & {
+export type GremlinResourcesBeginMigrateGremlinDatabaseToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ListClusters;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the get operation.
+ * Contains response data for the beginMigrateGremlinDatabaseToManualThroughput operation.
*/
-export type CassandraClustersGetResponse = ClusterResource & {
+export type GremlinResourcesBeginMigrateGremlinDatabaseToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ClusterResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the createUpdate operation.
+ * Contains response data for the beginCreateUpdateGremlinGraph operation.
*/
-export type CassandraClustersCreateUpdateResponse = ClusterResource & {
+export type GremlinResourcesBeginCreateUpdateGremlinGraphResponse = GremlinGraphGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ClusterResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: GremlinGraphGetResults;
+ };
};
/**
- * Contains response data for the update operation.
+ * Contains response data for the beginUpdateGremlinGraphThroughput operation.
*/
-export type CassandraClustersUpdateResponse = ClusterResource & {
+export type GremlinResourcesBeginUpdateGremlinGraphThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ClusterResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the fetchNodeStatus operation.
+ * Contains response data for the beginMigrateGremlinGraphToAutoscale operation.
*/
-export type CassandraClustersFetchNodeStatusResponse = ClusterNodeStatus & {
+export type GremlinResourcesBeginMigrateGremlinGraphToAutoscaleResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ClusterNodeStatus;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the listBackupsMethod operation.
+ * Contains response data for the beginMigrateGremlinGraphToManualThroughput operation.
*/
-export type CassandraClustersListBackupsMethodResponse = ListBackups & {
+export type GremlinResourcesBeginMigrateGremlinGraphToManualThroughputResponse = ThroughputSettingsGetResults & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ListBackups;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: ThroughputSettingsGetResults;
+ };
};
/**
- * Contains response data for the getBackup operation.
+ * Contains response data for the listByDatabaseAccount operation.
*/
-export type CassandraClustersGetBackupResponse = BackupResource & {
+export type NotebookWorkspacesListByDatabaseAccountResponse = NotebookWorkspaceListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: BackupResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: NotebookWorkspaceListResult;
+ };
};
/**
- * Contains response data for the beginCreateUpdate operation.
+ * Contains response data for the get operation.
*/
-export type CassandraClustersBeginCreateUpdateResponse = ClusterResource & {
+export type NotebookWorkspacesGetResponse = NotebookWorkspace & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ClusterResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: NotebookWorkspace;
+ };
};
/**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the createOrUpdate operation.
*/
-export type CassandraClustersBeginUpdateResponse = ClusterResource & {
+export type NotebookWorkspacesCreateOrUpdateResponse = NotebookWorkspace & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ClusterResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: NotebookWorkspace;
+ };
};
/**
- * Contains response data for the beginFetchNodeStatus operation.
+ * Contains response data for the listConnectionInfo operation.
*/
-export type CassandraClustersBeginFetchNodeStatusResponse = ClusterNodeStatus & {
+export type NotebookWorkspacesListConnectionInfoResponse = NotebookWorkspaceConnectionInfoResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ClusterNodeStatus;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: NotebookWorkspaceConnectionInfoResult;
+ };
};
/**
- * Contains response data for the list operation.
+ * Contains response data for the beginCreateOrUpdate operation.
*/
-export type CassandraDataCentersListResponse = ListDataCenters & {
+export type NotebookWorkspacesBeginCreateOrUpdateResponse = NotebookWorkspace & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ListDataCenters;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: NotebookWorkspace;
+ };
};
/**
- * Contains response data for the get operation.
+ * Contains response data for the listByDatabaseAccount operation.
*/
-export type CassandraDataCentersGetResponse = DataCenterResource & {
+export type PrivateEndpointConnectionsListByDatabaseAccountResponse = PrivateEndpointConnectionListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DataCenterResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnectionListResult;
+ };
};
/**
- * Contains response data for the createUpdate operation.
+ * Contains response data for the get operation.
*/
-export type CassandraDataCentersCreateUpdateResponse = DataCenterResource & {
+export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DataCenterResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
};
/**
- * Contains response data for the update operation.
+ * Contains response data for the createOrUpdate operation.
*/
-export type CassandraDataCentersUpdateResponse = DataCenterResource & {
+export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DataCenterResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
};
/**
- * Contains response data for the beginCreateUpdate operation.
+ * Contains response data for the beginCreateOrUpdate operation.
*/
-export type CassandraDataCentersBeginCreateUpdateResponse = DataCenterResource & {
+export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DataCenterResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateEndpointConnection;
+ };
};
/**
- * Contains response data for the beginUpdate operation.
+ * Contains response data for the listByDatabaseAccount operation.
*/
-export type CassandraDataCentersBeginUpdateResponse = DataCenterResource & {
+export type PrivateLinkResourcesListByDatabaseAccountResponse = PrivateLinkResourceListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DataCenterResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResourceListResult;
+ };
};
/**
- * Contains response data for the listByDatabaseAccount operation.
+ * Contains response data for the get operation.
*/
-export type PrivateLinkResourcesListByDatabaseAccountResponse = PrivateLinkResourceListResult & {
+export type PrivateLinkResourcesGetResponse = PrivateLinkResource & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateLinkResourceListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: PrivateLinkResource;
+ };
};
/**
- * Contains response data for the get operation.
+ * Contains response data for the listByLocation operation.
*/
-export type PrivateLinkResourcesGetResponse = PrivateLinkResource & {
+export type RestorableDatabaseAccountsListByLocationResponse = RestorableDatabaseAccountsListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateLinkResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: RestorableDatabaseAccountsListResult;
+ };
};
/**
- * Contains response data for the listByDatabaseAccount operation.
+ * Contains response data for the list operation.
*/
-export type PrivateEndpointConnectionsListByDatabaseAccountResponse = PrivateEndpointConnectionListResult & {
+export type RestorableDatabaseAccountsListResponse = RestorableDatabaseAccountsListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnectionListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: RestorableDatabaseAccountsListResult;
+ };
};
/**
- * Contains response data for the get operation.
+ * Contains response data for the getByLocation operation.
*/
-export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
+export type RestorableDatabaseAccountsGetByLocationResponse = RestorableDatabaseAccountGetResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnection;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: RestorableDatabaseAccountGetResult;
+ };
};
/**
- * Contains response data for the createOrUpdate operation.
+ * Contains response data for the list operation.
*/
-export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection & {
+export type RestorableSqlDatabasesListResponse = RestorableSqlDatabasesListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnection;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: RestorableSqlDatabasesListResult;
+ };
};
/**
- * Contains response data for the beginCreateOrUpdate operation.
+ * Contains response data for the list operation.
*/
-export type PrivateEndpointConnectionsBeginCreateOrUpdateResponse = PrivateEndpointConnection & {
+export type RestorableSqlContainersListResponse = RestorableSqlContainersListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: PrivateEndpointConnection;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: RestorableSqlContainersListResult;
+ };
};
/**
* Contains response data for the list operation.
*/
-export type ServiceListResponse = ServiceResourceListResult & {
+export type RestorableSqlResourcesListResponse = RestorableSqlResourcesListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ServiceResourceListResult;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: RestorableSqlResourcesListResult;
+ };
};
/**
- * Contains response data for the create operation.
+ * Contains response data for the list operation.
*/
-export type ServiceCreateResponse = ServiceResource & {
+export type RestorableMongodbDatabasesListResponse = RestorableMongodbDatabasesListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ServiceResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: RestorableMongodbDatabasesListResult;
+ };
};
/**
- * Contains response data for the get operation.
+ * Contains response data for the list operation.
*/
-export type ServiceGetResponse = ServiceResource & {
+export type RestorableMongodbCollectionsListResponse = RestorableMongodbCollectionsListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ServiceResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: RestorableMongodbCollectionsListResult;
+ };
};
/**
- * Contains response data for the beginCreate operation.
+ * Contains response data for the list operation.
*/
-export type ServiceBeginCreateResponse = ServiceResource & {
+export type RestorableMongodbResourcesListResponse = RestorableMongodbResourcesListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ServiceResource;
- };
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: RestorableMongodbResourcesListResult;
+ };
};
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts
index 6d0310fa7afe..4d862a5d91bb 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/mappers.ts
@@ -12,6 +12,78 @@ import * as msRest from "@azure/ms-rest-js";
export const CloudError = CloudErrorMapper;
export const BaseResource = BaseResourceMapper;
+export const ManagedServiceIdentityUserAssignedIdentitiesValue: msRest.CompositeMapper = {
+ serializedName: "ManagedServiceIdentity_userAssignedIdentitiesValue",
+ type: {
+ name: "Composite",
+ className: "ManagedServiceIdentityUserAssignedIdentitiesValue",
+ modelProperties: {
+ principalId: {
+ readOnly: true,
+ serializedName: "principalId",
+ type: {
+ name: "String"
+ }
+ },
+ clientId: {
+ readOnly: true,
+ serializedName: "clientId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const ManagedServiceIdentity: msRest.CompositeMapper = {
+ serializedName: "ManagedServiceIdentity",
+ type: {
+ name: "Composite",
+ className: "ManagedServiceIdentity",
+ modelProperties: {
+ principalId: {
+ readOnly: true,
+ serializedName: "principalId",
+ type: {
+ name: "String"
+ }
+ },
+ tenantId: {
+ readOnly: true,
+ serializedName: "tenantId",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ serializedName: "type",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned,UserAssigned",
+ "None"
+ ]
+ }
+ },
+ userAssignedIdentities: {
+ serializedName: "userAssignedIdentities",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "Composite",
+ className: "ManagedServiceIdentityUserAssignedIdentitiesValue"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
export const IpAddressOrRange: msRest.CompositeMapper = {
serializedName: "IpAddressOrRange",
type: {
@@ -39,7 +111,13 @@ export const ConsistencyPolicy: msRest.CompositeMapper = {
serializedName: "defaultConsistencyLevel",
type: {
name: "Enum",
- allowedValues: ["Eventual", "Session", "BoundedStaleness", "Strong", "ConsistentPrefix"]
+ allowedValues: [
+ "Eventual",
+ "Session",
+ "BoundedStaleness",
+ "Strong",
+ "ConsistentPrefix"
+ ]
}
},
maxStalenessPrefix: {
@@ -327,6 +405,22 @@ export const ApiProperties: msRest.CompositeMapper = {
}
};
+export const AnalyticalStorageConfiguration: msRest.CompositeMapper = {
+ serializedName: "AnalyticalStorageConfiguration",
+ type: {
+ name: "Composite",
+ className: "AnalyticalStorageConfiguration",
+ modelProperties: {
+ schemaType: {
+ serializedName: "schemaType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const DatabaseRestoreResource: msRest.CompositeMapper = {
serializedName: "DatabaseRestoreResource",
type: {
@@ -394,6 +488,34 @@ export const RestoreParameters: msRest.CompositeMapper = {
}
};
+export const BackupPolicyMigrationState: msRest.CompositeMapper = {
+ serializedName: "BackupPolicyMigrationState",
+ type: {
+ name: "Composite",
+ className: "BackupPolicyMigrationState",
+ modelProperties: {
+ status: {
+ serializedName: "status",
+ type: {
+ name: "String"
+ }
+ },
+ targetType: {
+ serializedName: "targetType",
+ type: {
+ name: "String"
+ }
+ },
+ startTime: {
+ serializedName: "startTime",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+};
+
export const BackupPolicy: msRest.CompositeMapper = {
serializedName: "BackupPolicy",
type: {
@@ -405,6 +527,13 @@ export const BackupPolicy: msRest.CompositeMapper = {
uberParent: "BackupPolicy",
className: "BackupPolicy",
modelProperties: {
+ migrationState: {
+ serializedName: "migrationState",
+ type: {
+ name: "Composite",
+ className: "BackupPolicyMigrationState"
+ }
+ },
type: {
required: true,
serializedName: "type",
@@ -550,13 +679,6 @@ export const ARMResourceProperties: msRest.CompositeMapper = {
}
}
}
- },
- identity: {
- serializedName: "identity",
- type: {
- name: "Composite",
- className: "ManagedServiceIdentity"
- }
}
}
}
@@ -571,11 +693,18 @@ export const DatabaseAccountGetResults: msRest.CompositeMapper = {
...ARMResourceProperties.type.modelProperties,
kind: {
serializedName: "kind",
- defaultValue: "GlobalDocumentDB",
+ defaultValue: 'GlobalDocumentDB',
type: {
name: "String"
}
},
+ identity: {
+ serializedName: "identity",
+ type: {
+ name: "Composite",
+ className: "ManagedServiceIdentity"
+ }
+ },
provisioningState: {
serializedName: "properties.provisioningState",
type: {
@@ -594,7 +723,9 @@ export const DatabaseAccountGetResults: msRest.CompositeMapper = {
serializedName: "properties.databaseAccountOfferType",
type: {
name: "Enum",
- allowedValues: ["Standard"]
+ allowedValues: [
+ "Standard"
+ ]
}
},
ipRules: {
@@ -778,6 +909,13 @@ export const DatabaseAccountGetResults: msRest.CompositeMapper = {
name: "Boolean"
}
},
+ analyticalStorageConfiguration: {
+ serializedName: "properties.analyticalStorageConfiguration",
+ type: {
+ name: "Composite",
+ className: "AnalyticalStorageConfiguration"
+ }
+ },
instanceId: {
readOnly: true,
serializedName: "properties.instanceId",
@@ -787,7 +925,7 @@ export const DatabaseAccountGetResults: msRest.CompositeMapper = {
},
createMode: {
serializedName: "properties.createMode",
- defaultValue: "Default",
+ defaultValue: 'Default',
type: {
name: "String"
}
@@ -822,7 +960,10 @@ export const DatabaseAccountGetResults: msRest.CompositeMapper = {
serializedName: "properties.networkAclBypass",
type: {
name: "Enum",
- allowedValues: ["None", "AzureServices"]
+ allowedValues: [
+ "None",
+ "AzureServices"
+ ]
}
},
networkAclBypassResourceIds: {
@@ -836,6 +977,12 @@ export const DatabaseAccountGetResults: msRest.CompositeMapper = {
}
}
},
+ disableLocalAuth: {
+ serializedName: "properties.disableLocalAuth",
+ type: {
+ name: "Boolean"
+ }
+ },
systemData: {
readOnly: true,
serializedName: "systemData",
@@ -965,7 +1112,7 @@ export const Indexes: msRest.CompositeMapper = {
modelProperties: {
dataType: {
serializedName: "dataType",
- defaultValue: "String",
+ defaultValue: 'String',
type: {
name: "String"
}
@@ -978,7 +1125,7 @@ export const Indexes: msRest.CompositeMapper = {
},
kind: {
serializedName: "kind",
- defaultValue: "Hash",
+ defaultValue: 'Hash',
type: {
name: "String"
}
@@ -1094,7 +1241,7 @@ export const IndexingPolicy: msRest.CompositeMapper = {
},
indexingMode: {
serializedName: "indexingMode",
- defaultValue: "consistent",
+ defaultValue: 'consistent',
type: {
name: "String"
}
@@ -1175,7 +1322,7 @@ export const ContainerPartitionKey: msRest.CompositeMapper = {
},
kind: {
serializedName: "kind",
- defaultValue: "Hash",
+ defaultValue: 'Hash',
type: {
name: "String"
}
@@ -1252,7 +1399,7 @@ export const ConflictResolutionPolicy: msRest.CompositeMapper = {
modelProperties: {
mode: {
serializedName: "mode",
- defaultValue: "LastWriterWins",
+ defaultValue: 'LastWriterWins',
type: {
name: "String"
}
@@ -2420,73 +2567,6 @@ export const RegionForOnlineOffline: msRest.CompositeMapper = {
}
};
-export const ManagedServiceIdentityUserAssignedIdentitiesValue: msRest.CompositeMapper = {
- serializedName: "ManagedServiceIdentity_userAssignedIdentitiesValue",
- type: {
- name: "Composite",
- className: "ManagedServiceIdentityUserAssignedIdentitiesValue",
- modelProperties: {
- principalId: {
- readOnly: true,
- serializedName: "principalId",
- type: {
- name: "String"
- }
- },
- clientId: {
- readOnly: true,
- serializedName: "clientId",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const ManagedServiceIdentity: msRest.CompositeMapper = {
- serializedName: "ManagedServiceIdentity",
- type: {
- name: "Composite",
- className: "ManagedServiceIdentity",
- modelProperties: {
- principalId: {
- readOnly: true,
- serializedName: "principalId",
- type: {
- name: "String"
- }
- },
- tenantId: {
- readOnly: true,
- serializedName: "tenantId",
- type: {
- name: "String"
- }
- },
- type: {
- serializedName: "type",
- type: {
- name: "Enum",
- allowedValues: ["SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned", "None"]
- }
- },
- userAssignedIdentities: {
- serializedName: "userAssignedIdentities",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "Composite",
- className: "ManagedServiceIdentityUserAssignedIdentitiesValue"
- }
- }
- }
- }
- }
- }
-};
-
export const ARMProxyResource: msRest.CompositeMapper = {
serializedName: "ARMProxyResource",
type: {
@@ -2695,19 +2775,29 @@ export const ThroughputSettingsGetResults: msRest.CompositeMapper = {
}
};
-export const DatabaseAccountCreateUpdateProperties: msRest.CompositeMapper = {
- serializedName: "DatabaseAccountCreateUpdateProperties",
+export const DatabaseAccountCreateUpdateParameters: msRest.CompositeMapper = {
+ serializedName: "DatabaseAccountCreateUpdateParameters",
type: {
name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "createMode",
- clientName: "createMode"
- },
- uberParent: "DatabaseAccountCreateUpdateProperties",
- className: "DatabaseAccountCreateUpdateProperties",
+ className: "DatabaseAccountCreateUpdateParameters",
modelProperties: {
+ ...ARMResourceProperties.type.modelProperties,
+ kind: {
+ serializedName: "kind",
+ defaultValue: 'GlobalDocumentDB',
+ type: {
+ name: "String"
+ }
+ },
+ identity: {
+ serializedName: "identity",
+ type: {
+ name: "Composite",
+ className: "ManagedServiceIdentity"
+ }
+ },
consistencyPolicy: {
- serializedName: "consistencyPolicy",
+ serializedName: "properties.consistencyPolicy",
type: {
name: "Composite",
className: "ConsistencyPolicy"
@@ -2715,7 +2805,7 @@ export const DatabaseAccountCreateUpdateProperties: msRest.CompositeMapper = {
},
locations: {
required: true,
- serializedName: "locations",
+ serializedName: "properties.locations",
type: {
name: "Sequence",
element: {
@@ -2729,14 +2819,14 @@ export const DatabaseAccountCreateUpdateProperties: msRest.CompositeMapper = {
databaseAccountOfferType: {
required: true,
isConstant: true,
- serializedName: "databaseAccountOfferType",
- defaultValue: "Standard",
+ serializedName: "properties.databaseAccountOfferType",
+ defaultValue: 'Standard',
type: {
name: "String"
}
},
ipRules: {
- serializedName: "ipRules",
+ serializedName: "properties.ipRules",
type: {
name: "Sequence",
element: {
@@ -2748,19 +2838,19 @@ export const DatabaseAccountCreateUpdateProperties: msRest.CompositeMapper = {
}
},
isVirtualNetworkFilterEnabled: {
- serializedName: "isVirtualNetworkFilterEnabled",
+ serializedName: "properties.isVirtualNetworkFilterEnabled",
type: {
name: "Boolean"
}
},
enableAutomaticFailover: {
- serializedName: "enableAutomaticFailover",
+ serializedName: "properties.enableAutomaticFailover",
type: {
name: "Boolean"
}
},
capabilities: {
- serializedName: "capabilities",
+ serializedName: "properties.capabilities",
type: {
name: "Sequence",
element: {
@@ -2772,7 +2862,7 @@ export const DatabaseAccountCreateUpdateProperties: msRest.CompositeMapper = {
}
},
virtualNetworkRules: {
- serializedName: "virtualNetworkRules",
+ serializedName: "properties.virtualNetworkRules",
type: {
name: "Sequence",
element: {
@@ -2784,75 +2874,89 @@ export const DatabaseAccountCreateUpdateProperties: msRest.CompositeMapper = {
}
},
enableMultipleWriteLocations: {
- serializedName: "enableMultipleWriteLocations",
+ serializedName: "properties.enableMultipleWriteLocations",
type: {
name: "Boolean"
}
},
enableCassandraConnector: {
- serializedName: "enableCassandraConnector",
+ serializedName: "properties.enableCassandraConnector",
type: {
name: "Boolean"
}
},
connectorOffer: {
- serializedName: "connectorOffer",
+ serializedName: "properties.connectorOffer",
type: {
name: "String"
}
},
disableKeyBasedMetadataWriteAccess: {
- serializedName: "disableKeyBasedMetadataWriteAccess",
+ serializedName: "properties.disableKeyBasedMetadataWriteAccess",
type: {
name: "Boolean"
}
},
keyVaultKeyUri: {
- serializedName: "keyVaultKeyUri",
+ serializedName: "properties.keyVaultKeyUri",
type: {
name: "String"
}
},
defaultIdentity: {
- serializedName: "defaultIdentity",
+ serializedName: "properties.defaultIdentity",
type: {
name: "String"
}
},
publicNetworkAccess: {
- serializedName: "publicNetworkAccess",
+ serializedName: "properties.publicNetworkAccess",
type: {
name: "String"
}
},
enableFreeTier: {
- serializedName: "enableFreeTier",
+ serializedName: "properties.enableFreeTier",
type: {
name: "Boolean"
}
},
apiProperties: {
- serializedName: "apiProperties",
+ serializedName: "properties.apiProperties",
type: {
name: "Composite",
className: "ApiProperties"
}
},
enableAnalyticalStorage: {
- serializedName: "enableAnalyticalStorage",
+ serializedName: "properties.enableAnalyticalStorage",
type: {
name: "Boolean"
}
},
+ analyticalStorageConfiguration: {
+ serializedName: "properties.analyticalStorageConfiguration",
+ type: {
+ name: "Composite",
+ className: "AnalyticalStorageConfiguration"
+ }
+ },
+ createMode: {
+ serializedName: "properties.createMode",
+ defaultValue: 'Default',
+ type: {
+ name: "String"
+ }
+ },
backupPolicy: {
- serializedName: "backupPolicy",
+ serializedName: "properties.backupPolicy",
type: {
name: "Composite",
className: "BackupPolicy"
}
},
cors: {
- serializedName: "cors",
+ serializedName: "properties.cors",
type: {
name: "Sequence",
element: {
@@ -2864,14 +2968,17 @@ export const DatabaseAccountCreateUpdateProperties: msRest.CompositeMapper = {
}
},
networkAclBypass: {
- serializedName: "networkAclBypass",
+ serializedName: "properties.networkAclBypass",
type: {
name: "Enum",
- allowedValues: ["None", "AzureServices"]
+ allowedValues: [
+ "None",
+ "AzureServices"
+ ]
}
},
networkAclBypassResourceIds: {
- serializedName: "networkAclBypassResourceIds",
+ serializedName: "properties.networkAclBypassResourceIds",
type: {
name: "Sequence",
element: {
@@ -2881,79 +2988,25 @@ export const DatabaseAccountCreateUpdateProperties: msRest.CompositeMapper = {
}
}
},
- createMode: {
- required: true,
- serializedName: "createMode",
+ disableLocalAuth: {
+ serializedName: "properties.disableLocalAuth",
type: {
- name: "String"
+ name: "Boolean"
+ }
+ },
+ restoreParameters: {
+ serializedName: "properties.restoreParameters",
+ type: {
+ name: "Composite",
+ className: "RestoreParameters"
}
}
}
}
};
-export const DefaultRequestDatabaseAccountCreateUpdateProperties: msRest.CompositeMapper = {
- serializedName: "Default",
- type: {
- name: "Composite",
- polymorphicDiscriminator: DatabaseAccountCreateUpdateProperties.type.polymorphicDiscriminator,
- uberParent: "DatabaseAccountCreateUpdateProperties",
- className: "DefaultRequestDatabaseAccountCreateUpdateProperties",
- modelProperties: {
- ...DatabaseAccountCreateUpdateProperties.type.modelProperties
- }
- }
-};
-
-export const RestoreReqeustDatabaseAccountCreateUpdateProperties: msRest.CompositeMapper = {
- serializedName: "Restore",
- type: {
- name: "Composite",
- polymorphicDiscriminator: DatabaseAccountCreateUpdateProperties.type.polymorphicDiscriminator,
- uberParent: "DatabaseAccountCreateUpdateProperties",
- className: "RestoreReqeustDatabaseAccountCreateUpdateProperties",
- modelProperties: {
- ...DatabaseAccountCreateUpdateProperties.type.modelProperties,
- restoreParameters: {
- serializedName: "restoreParameters",
- type: {
- name: "Composite",
- className: "RestoreParameters"
- }
- }
- }
- }
-};
-
-export const DatabaseAccountCreateUpdateParameters: msRest.CompositeMapper = {
- serializedName: "DatabaseAccountCreateUpdateParameters",
- type: {
- name: "Composite",
- className: "DatabaseAccountCreateUpdateParameters",
- modelProperties: {
- ...ARMResourceProperties.type.modelProperties,
- kind: {
- serializedName: "kind",
- defaultValue: "GlobalDocumentDB",
- type: {
- name: "String"
- }
- },
- properties: {
- required: true,
- serializedName: "properties",
- defaultValue: {},
- type: {
- name: "Composite",
- className: "DatabaseAccountCreateUpdateProperties"
- }
- }
- }
- }
-};
-
-export const DatabaseAccountUpdateParameters: msRest.CompositeMapper = {
- serializedName: "DatabaseAccountUpdateParameters",
+export const DatabaseAccountUpdateParameters: msRest.CompositeMapper = {
+ serializedName: "DatabaseAccountUpdateParameters",
type: {
name: "Composite",
className: "DatabaseAccountUpdateParameters",
@@ -2975,6 +3028,13 @@ export const DatabaseAccountUpdateParameters: msRest.CompositeMapper = {
name: "String"
}
},
+ identity: {
+ serializedName: "identity",
+ type: {
+ name: "Composite",
+ className: "ManagedServiceIdentity"
+ }
+ },
consistencyPolicy: {
serializedName: "properties.consistencyPolicy",
type: {
@@ -3103,6 +3163,13 @@ export const DatabaseAccountUpdateParameters: msRest.CompositeMapper = {
name: "Boolean"
}
},
+ analyticalStorageConfiguration: {
+ serializedName: "properties.analyticalStorageConfiguration",
+ type: {
+ name: "Composite",
+ className: "AnalyticalStorageConfiguration"
+ }
+ },
backupPolicy: {
serializedName: "properties.backupPolicy",
type: {
@@ -3126,7 +3193,10 @@ export const DatabaseAccountUpdateParameters: msRest.CompositeMapper = {
serializedName: "properties.networkAclBypass",
type: {
name: "Enum",
- allowedValues: ["None", "AzureServices"]
+ allowedValues: [
+ "None",
+ "AzureServices"
+ ]
}
},
networkAclBypassResourceIds: {
@@ -3140,11 +3210,10 @@ export const DatabaseAccountUpdateParameters: msRest.CompositeMapper = {
}
}
},
- identity: {
- serializedName: "identity",
+ disableLocalAuth: {
+ serializedName: "properties.disableLocalAuth",
type: {
- name: "Composite",
- className: "ManagedServiceIdentity"
+ name: "Boolean"
}
}
}
@@ -4528,12 +4597,6 @@ export const PeriodicModeProperties: msRest.CompositeMapper = {
type: {
name: "Number"
}
- },
- backupStorageRedundancy: {
- serializedName: "backupStorageRedundancy",
- type: {
- name: "String"
- }
}
}
}
@@ -4572,111 +4635,105 @@ export const ContinuousModeBackupPolicy: msRest.CompositeMapper = {
}
};
-export const RestorableLocationResource: msRest.CompositeMapper = {
- serializedName: "RestorableLocationResource",
+export const TrackedResource: msRest.CompositeMapper = {
+ serializedName: "TrackedResource",
type: {
name: "Composite",
- className: "RestorableLocationResource",
+ className: "TrackedResource",
modelProperties: {
- locationName: {
- readOnly: true,
- serializedName: "locationName",
+ ...Resource.type.modelProperties,
+ tags: {
+ serializedName: "tags",
type: {
- name: "String"
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- regionalDatabaseAccountInstanceId: {
- readOnly: true,
- serializedName: "regionalDatabaseAccountInstanceId",
+ location: {
+ required: true,
+ serializedName: "location",
type: {
name: "String"
}
- },
- creationTime: {
- readOnly: true,
- serializedName: "creationTime",
- type: {
- name: "DateTime"
- }
- },
- deletionTime: {
- readOnly: true,
- serializedName: "deletionTime",
- type: {
- name: "DateTime"
- }
}
}
}
};
-export const RestorableDatabaseAccountGetResult: msRest.CompositeMapper = {
- serializedName: "RestorableDatabaseAccountGetResult",
+export const AzureEntityResource: msRest.CompositeMapper = {
+ serializedName: "AzureEntityResource",
type: {
name: "Composite",
- className: "RestorableDatabaseAccountGetResult",
+ className: "AzureEntityResource",
modelProperties: {
- accountName: {
- serializedName: "properties.accountName",
- type: {
- name: "String"
- }
- },
- creationTime: {
- serializedName: "properties.creationTime",
- type: {
- name: "DateTime"
- }
- },
- deletionTime: {
- serializedName: "properties.deletionTime",
- type: {
- name: "DateTime"
- }
- },
- apiType: {
+ ...Resource.type.modelProperties,
+ etag: {
readOnly: true,
- serializedName: "properties.apiType",
+ serializedName: "etag",
type: {
name: "String"
}
- },
- restorableLocations: {
- readOnly: true,
- serializedName: "properties.restorableLocations",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "RestorableLocationResource"
- }
- }
- }
- },
- id: {
+ }
+ }
+ }
+};
+
+export const NotebookWorkspaceCreateUpdateParameters: msRest.CompositeMapper = {
+ serializedName: "NotebookWorkspaceCreateUpdateParameters",
+ type: {
+ name: "Composite",
+ className: "NotebookWorkspaceCreateUpdateParameters",
+ modelProperties: {
+ ...ARMProxyResource.type.modelProperties
+ }
+ }
+};
+
+export const NotebookWorkspace: msRest.CompositeMapper = {
+ serializedName: "NotebookWorkspace",
+ type: {
+ name: "Composite",
+ className: "NotebookWorkspace",
+ modelProperties: {
+ ...ARMProxyResource.type.modelProperties,
+ notebookServerEndpoint: {
readOnly: true,
- serializedName: "id",
+ serializedName: "properties.notebookServerEndpoint",
type: {
name: "String"
}
},
- name: {
+ status: {
readOnly: true,
- serializedName: "name",
+ serializedName: "properties.status",
type: {
name: "String"
}
- },
- type: {
+ }
+ }
+ }
+};
+
+export const NotebookWorkspaceConnectionInfoResult: msRest.CompositeMapper = {
+ serializedName: "NotebookWorkspaceConnectionInfoResult",
+ type: {
+ name: "Composite",
+ className: "NotebookWorkspaceConnectionInfoResult",
+ modelProperties: {
+ authToken: {
readOnly: true,
- serializedName: "type",
+ serializedName: "authToken",
type: {
name: "String"
}
},
- location: {
- serializedName: "location",
+ notebookServerEndpoint: {
+ readOnly: true,
+ serializedName: "notebookServerEndpoint",
type: {
name: "String"
}
@@ -4685,36 +4742,35 @@ export const RestorableDatabaseAccountGetResult: msRest.CompositeMapper = {
}
};
-export const LocationProperties: msRest.CompositeMapper = {
- serializedName: "LocationProperties",
+export const PrivateLinkResource: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkResource",
type: {
name: "Composite",
- className: "LocationProperties",
+ className: "PrivateLinkResource",
modelProperties: {
- status: {
+ ...ARMProxyResource.type.modelProperties,
+ groupId: {
readOnly: true,
- serializedName: "status",
+ serializedName: "properties.groupId",
type: {
name: "String"
}
},
- supportsAvailabilityZone: {
- readOnly: true,
- serializedName: "supportsAvailabilityZone",
- type: {
- name: "Boolean"
- }
- },
- isResidencyRestricted: {
+ requiredMembers: {
readOnly: true,
- serializedName: "isResidencyRestricted",
+ serializedName: "properties.requiredMembers",
type: {
- name: "Boolean"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
},
- backupStorageRedundancies: {
+ requiredZoneNames: {
readOnly: true,
- serializedName: "backupStorageRedundancies",
+ serializedName: "properties.requiredZoneNames",
type: {
name: "Sequence",
element: {
@@ -4728,220 +4784,46 @@ export const LocationProperties: msRest.CompositeMapper = {
}
};
-export const LocationGetResult: msRest.CompositeMapper = {
- serializedName: "LocationGetResult",
+export const Permission: msRest.CompositeMapper = {
+ serializedName: "Permission",
type: {
name: "Composite",
- className: "LocationGetResult",
+ className: "Permission",
modelProperties: {
- ...ARMProxyResource.type.modelProperties,
- properties: {
- serializedName: "properties",
+ dataActions: {
+ serializedName: "dataActions",
type: {
- name: "Composite",
- className: "LocationProperties"
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ notDataActions: {
+ serializedName: "notDataActions",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
}
}
}
}
};
-export const ContinuousBackupRestoreLocation: msRest.CompositeMapper = {
- serializedName: "ContinuousBackupRestoreLocation",
+export const SqlRoleDefinitionCreateUpdateParameters: msRest.CompositeMapper = {
+ serializedName: "SqlRoleDefinitionCreateUpdateParameters",
type: {
name: "Composite",
- className: "ContinuousBackupRestoreLocation",
+ className: "SqlRoleDefinitionCreateUpdateParameters",
modelProperties: {
- location: {
- serializedName: "location",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const ContinuousBackupInformation: msRest.CompositeMapper = {
- serializedName: "ContinuousBackupInformation",
- type: {
- name: "Composite",
- className: "ContinuousBackupInformation",
- modelProperties: {
- latestRestorableTimestamp: {
- serializedName: "latestRestorableTimestamp",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const BackupInformation: msRest.CompositeMapper = {
- serializedName: "BackupInformation",
- type: {
- name: "Composite",
- className: "BackupInformation",
- modelProperties: {
- continuousBackupInformation: {
- serializedName: "continuousBackupInformation",
- type: {
- name: "Composite",
- className: "ContinuousBackupInformation"
- }
- }
- }
- }
-};
-
-export const TrackedResource: msRest.CompositeMapper = {
- serializedName: "TrackedResource",
- type: {
- name: "Composite",
- className: "TrackedResource",
- modelProperties: {
- ...Resource.type.modelProperties,
- tags: {
- serializedName: "tags",
- type: {
- name: "Dictionary",
- value: {
- type: {
- name: "String"
- }
- }
- }
- },
- location: {
- required: true,
- serializedName: "location",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const AzureEntityResource: msRest.CompositeMapper = {
- serializedName: "AzureEntityResource",
- type: {
- name: "Composite",
- className: "AzureEntityResource",
- modelProperties: {
- ...Resource.type.modelProperties,
- etag: {
- readOnly: true,
- serializedName: "etag",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const NotebookWorkspaceCreateUpdateParameters: msRest.CompositeMapper = {
- serializedName: "NotebookWorkspaceCreateUpdateParameters",
- type: {
- name: "Composite",
- className: "NotebookWorkspaceCreateUpdateParameters",
- modelProperties: {
- ...ARMProxyResource.type.modelProperties
- }
- }
-};
-
-export const NotebookWorkspace: msRest.CompositeMapper = {
- serializedName: "NotebookWorkspace",
- type: {
- name: "Composite",
- className: "NotebookWorkspace",
- modelProperties: {
- ...ARMProxyResource.type.modelProperties,
- notebookServerEndpoint: {
- readOnly: true,
- serializedName: "properties.notebookServerEndpoint",
- type: {
- name: "String"
- }
- },
- status: {
- readOnly: true,
- serializedName: "properties.status",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const NotebookWorkspaceConnectionInfoResult: msRest.CompositeMapper = {
- serializedName: "NotebookWorkspaceConnectionInfoResult",
- type: {
- name: "Composite",
- className: "NotebookWorkspaceConnectionInfoResult",
- modelProperties: {
- authToken: {
- readOnly: true,
- serializedName: "authToken",
- type: {
- name: "String"
- }
- },
- notebookServerEndpoint: {
- readOnly: true,
- serializedName: "notebookServerEndpoint",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const Permission: msRest.CompositeMapper = {
- serializedName: "Permission",
- type: {
- name: "Composite",
- className: "Permission",
- modelProperties: {
- dataActions: {
- serializedName: "dataActions",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
- }
- },
- notDataActions: {
- serializedName: "notDataActions",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
- }
- }
- }
- }
-};
-
-export const SqlRoleDefinitionCreateUpdateParameters: msRest.CompositeMapper = {
- serializedName: "SqlRoleDefinitionCreateUpdateParameters",
- type: {
- name: "Composite",
- className: "SqlRoleDefinitionCreateUpdateParameters",
- modelProperties: {
- roleName: {
- serializedName: "properties.roleName",
+ roleName: {
+ serializedName: "properties.roleName",
type: {
name: "String"
}
@@ -4950,7 +4832,10 @@ export const SqlRoleDefinitionCreateUpdateParameters: msRest.CompositeMapper = {
serializedName: "properties.type",
type: {
name: "Enum",
- allowedValues: ["BuiltInRole", "CustomRole"]
+ allowedValues: [
+ "BuiltInRole",
+ "CustomRole"
+ ]
}
},
assignableScopes: {
@@ -4997,7 +4882,10 @@ export const SqlRoleDefinitionGetResults: msRest.CompositeMapper = {
serializedName: "properties.type",
type: {
name: "Enum",
- allowedValues: ["BuiltInRole", "CustomRole"]
+ allowedValues: [
+ "BuiltInRole",
+ "CustomRole"
+ ]
}
},
assignableScopes: {
@@ -5084,88 +4972,201 @@ export const SqlRoleAssignmentGetResults: msRest.CompositeMapper = {
}
};
-export const RestorableSqlDatabasePropertiesResourceDatabase: msRest.CompositeMapper = {
- serializedName: "RestorableSqlDatabaseProperties_resource_database",
+export const RestorableLocationResource: msRest.CompositeMapper = {
+ serializedName: "RestorableLocationResource",
type: {
name: "Composite",
- className: "RestorableSqlDatabasePropertiesResourceDatabase",
+ className: "RestorableLocationResource",
modelProperties: {
- id: {
- required: true,
- serializedName: "id",
- type: {
- name: "String"
- }
- },
- _rid: {
- readOnly: true,
- serializedName: "_rid",
- type: {
- name: "String"
- }
- },
- _ts: {
- readOnly: true,
- serializedName: "_ts",
- type: {
- name: "Number"
- }
- },
- _etag: {
+ locationName: {
readOnly: true,
- serializedName: "_etag",
+ serializedName: "locationName",
type: {
name: "String"
}
},
- _colls: {
+ regionalDatabaseAccountInstanceId: {
readOnly: true,
- serializedName: "_colls",
+ serializedName: "regionalDatabaseAccountInstanceId",
type: {
name: "String"
}
},
- _users: {
+ creationTime: {
readOnly: true,
- serializedName: "_users",
+ serializedName: "creationTime",
type: {
- name: "String"
+ name: "DateTime"
}
},
- _self: {
+ deletionTime: {
readOnly: true,
- serializedName: "_self",
+ serializedName: "deletionTime",
type: {
- name: "String"
+ name: "DateTime"
}
}
}
}
};
-export const RestorableSqlDatabasePropertiesResource: msRest.CompositeMapper = {
- serializedName: "RestorableSqlDatabaseProperties_resource",
+export const RestorableDatabaseAccountGetResult: msRest.CompositeMapper = {
+ serializedName: "RestorableDatabaseAccountGetResult",
type: {
name: "Composite",
- className: "RestorableSqlDatabasePropertiesResource",
+ className: "RestorableDatabaseAccountGetResult",
modelProperties: {
- _rid: {
- readOnly: true,
- serializedName: "_rid",
+ accountName: {
+ serializedName: "properties.accountName",
type: {
name: "String"
}
},
- operationType: {
- readOnly: true,
- serializedName: "operationType",
+ creationTime: {
+ serializedName: "properties.creationTime",
type: {
- name: "String"
+ name: "DateTime"
}
},
- eventTimestamp: {
- readOnly: true,
- serializedName: "eventTimestamp",
+ deletionTime: {
+ serializedName: "properties.deletionTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ apiType: {
+ readOnly: true,
+ serializedName: "properties.apiType",
+ type: {
+ name: "String"
+ }
+ },
+ restorableLocations: {
+ readOnly: true,
+ serializedName: "properties.restorableLocations",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RestorableLocationResource"
+ }
+ }
+ }
+ },
+ id: {
+ readOnly: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ },
+ location: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const RestorableSqlDatabasePropertiesResourceDatabase: msRest.CompositeMapper = {
+ serializedName: "RestorableSqlDatabaseProperties_resource_database",
+ type: {
+ name: "Composite",
+ className: "RestorableSqlDatabasePropertiesResourceDatabase",
+ modelProperties: {
+ id: {
+ required: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ _rid: {
+ readOnly: true,
+ serializedName: "_rid",
+ type: {
+ name: "String"
+ }
+ },
+ _ts: {
+ readOnly: true,
+ serializedName: "_ts",
+ type: {
+ name: "Number"
+ }
+ },
+ _etag: {
+ readOnly: true,
+ serializedName: "_etag",
+ type: {
+ name: "String"
+ }
+ },
+ _colls: {
+ readOnly: true,
+ serializedName: "_colls",
+ type: {
+ name: "String"
+ }
+ },
+ _users: {
+ readOnly: true,
+ serializedName: "_users",
+ type: {
+ name: "String"
+ }
+ },
+ _self: {
+ readOnly: true,
+ serializedName: "_self",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const RestorableSqlDatabasePropertiesResource: msRest.CompositeMapper = {
+ serializedName: "RestorableSqlDatabaseProperties_resource",
+ type: {
+ name: "Composite",
+ className: "RestorableSqlDatabasePropertiesResource",
+ modelProperties: {
+ _rid: {
+ readOnly: true,
+ serializedName: "_rid",
+ type: {
+ name: "String"
+ }
+ },
+ operationType: {
+ readOnly: true,
+ serializedName: "operationType",
+ type: {
+ name: "String"
+ }
+ },
+ eventTimestamp: {
+ readOnly: true,
+ serializedName: "eventTimestamp",
type: {
name: "String"
}
@@ -5509,622 +5510,25 @@ export const RestorableMongodbCollectionPropertiesResource: msRest.CompositeMapp
serializedName: "operationType",
type: {
name: "String"
- }
- },
- eventTimestamp: {
- readOnly: true,
- serializedName: "eventTimestamp",
- type: {
- name: "String"
- }
- },
- ownerId: {
- readOnly: true,
- serializedName: "ownerId",
- type: {
- name: "String"
- }
- },
- ownerResourceId: {
- readOnly: true,
- serializedName: "ownerResourceId",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const RestorableMongodbCollectionGetResult: msRest.CompositeMapper = {
- serializedName: "RestorableMongodbCollectionGetResult",
- type: {
- name: "Composite",
- className: "RestorableMongodbCollectionGetResult",
- modelProperties: {
- resource: {
- serializedName: "properties.resource",
- type: {
- name: "Composite",
- className: "RestorableMongodbCollectionPropertiesResource"
- }
- },
- id: {
- readOnly: true,
- serializedName: "id",
- type: {
- name: "String"
- }
- },
- name: {
- readOnly: true,
- serializedName: "name",
- type: {
- name: "String"
- }
- },
- type: {
- readOnly: true,
- serializedName: "type",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const SeedNode: msRest.CompositeMapper = {
- serializedName: "SeedNode",
- type: {
- name: "Composite",
- className: "SeedNode",
- modelProperties: {
- ipAddress: {
- serializedName: "ipAddress",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const Certificate: msRest.CompositeMapper = {
- serializedName: "Certificate",
- type: {
- name: "Composite",
- className: "Certificate",
- modelProperties: {
- pem: {
- serializedName: "pem",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const ClusterResourceProperties: msRest.CompositeMapper = {
- serializedName: "ClusterResource_properties",
- type: {
- name: "Composite",
- className: "ClusterResourceProperties",
- modelProperties: {
- provisioningState: {
- serializedName: "provisioningState",
- type: {
- name: "String"
- }
- },
- restoreFromBackupId: {
- serializedName: "restoreFromBackupId",
- type: {
- name: "String"
- }
- },
- delegatedManagementSubnetId: {
- serializedName: "delegatedManagementSubnetId",
- type: {
- name: "String"
- }
- },
- cassandraVersion: {
- serializedName: "cassandraVersion",
- type: {
- name: "String"
- }
- },
- clusterNameOverride: {
- serializedName: "clusterNameOverride",
- type: {
- name: "String"
- }
- },
- authenticationMethod: {
- serializedName: "authenticationMethod",
- type: {
- name: "String"
- }
- },
- initialCassandraAdminPassword: {
- serializedName: "initialCassandraAdminPassword",
- type: {
- name: "String"
- }
- },
- hoursBetweenBackups: {
- serializedName: "hoursBetweenBackups",
- type: {
- name: "Number"
- }
- },
- prometheusEndpoint: {
- serializedName: "prometheusEndpoint",
- type: {
- name: "Composite",
- className: "SeedNode"
- }
- },
- repairEnabled: {
- serializedName: "repairEnabled",
- type: {
- name: "Boolean"
- }
- },
- clientCertificates: {
- serializedName: "clientCertificates",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Certificate"
- }
- }
- }
- },
- externalGossipCertificates: {
- serializedName: "externalGossipCertificates",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Certificate"
- }
- }
- }
- },
- gossipCertificates: {
- readOnly: true,
- serializedName: "gossipCertificates",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "Certificate"
- }
- }
- }
- },
- externalSeedNodes: {
- serializedName: "externalSeedNodes",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "SeedNode"
- }
- }
- }
- },
- seedNodes: {
- readOnly: true,
- serializedName: "seedNodes",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "SeedNode"
- }
- }
- }
- }
- }
- }
-};
-
-export const ClusterResource: msRest.CompositeMapper = {
- serializedName: "ClusterResource",
- type: {
- name: "Composite",
- className: "ClusterResource",
- modelProperties: {
- ...ARMResourceProperties.type.modelProperties,
- properties: {
- serializedName: "properties",
- type: {
- name: "Composite",
- className: "ClusterResourceProperties"
- }
- }
- }
- }
-};
-
-export const RepairPostBody: msRest.CompositeMapper = {
- serializedName: "RepairPostBody",
- type: {
- name: "Composite",
- className: "RepairPostBody",
- modelProperties: {
- keyspace: {
- required: true,
- serializedName: "keyspace",
- type: {
- name: "String"
- }
- },
- tables: {
- serializedName: "tables",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
- }
- }
- }
- }
-};
-
-export const ClusterNodeStatusNodesItem: msRest.CompositeMapper = {
- serializedName: "ClusterNodeStatus_nodesItem",
- type: {
- name: "Composite",
- className: "ClusterNodeStatusNodesItem",
- modelProperties: {
- datacenter: {
- serializedName: "datacenter",
- type: {
- name: "String"
- }
- },
- status: {
- serializedName: "status",
- type: {
- name: "String"
- }
- },
- state: {
- serializedName: "state",
- type: {
- name: "String"
- }
- },
- address: {
- serializedName: "address",
- type: {
- name: "String"
- }
- },
- load: {
- serializedName: "load",
- type: {
- name: "String"
- }
- },
- tokens: {
- serializedName: "tokens",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
- }
- },
- owns: {
- serializedName: "owns",
- type: {
- name: "Number"
- }
- },
- hostId: {
- serializedName: "hostId",
- type: {
- name: "String"
- }
- },
- rack: {
- serializedName: "rack",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const ClusterNodeStatus: msRest.CompositeMapper = {
- serializedName: "ClusterNodeStatus",
- type: {
- name: "Composite",
- className: "ClusterNodeStatus",
- modelProperties: {
- nodes: {
- serializedName: "nodes",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ClusterNodeStatusNodesItem"
- }
- }
- }
- }
- }
- }
-};
-
-export const BackupResourceProperties: msRest.CompositeMapper = {
- serializedName: "BackupResource_properties",
- type: {
- name: "Composite",
- className: "BackupResourceProperties",
- modelProperties: {
- timestamp: {
- serializedName: "timestamp",
- type: {
- name: "DateTime"
- }
- }
- }
- }
-};
-
-export const BackupResource: msRest.CompositeMapper = {
- serializedName: "BackupResource",
- type: {
- name: "Composite",
- className: "BackupResource",
- modelProperties: {
- ...ARMProxyResource.type.modelProperties,
- properties: {
- serializedName: "properties",
- type: {
- name: "Composite",
- className: "BackupResourceProperties"
- }
- }
- }
- }
-};
-
-export const DataCenterResourceProperties: msRest.CompositeMapper = {
- serializedName: "DataCenterResource_properties",
- type: {
- name: "Composite",
- className: "DataCenterResourceProperties",
- modelProperties: {
- provisioningState: {
- serializedName: "provisioningState",
- type: {
- name: "String"
- }
- },
- dataCenterLocation: {
- serializedName: "dataCenterLocation",
- type: {
- name: "String"
- }
- },
- delegatedSubnetId: {
- serializedName: "delegatedSubnetId",
- type: {
- name: "String"
- }
- },
- nodeCount: {
- serializedName: "nodeCount",
- type: {
- name: "Number"
- }
- },
- seedNodes: {
- readOnly: true,
- serializedName: "seedNodes",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "SeedNode"
- }
- }
- }
- },
- base64EncodedCassandraYamlFragment: {
- serializedName: "base64EncodedCassandraYamlFragment",
- type: {
- name: "String"
- }
- }
- }
- }
-};
-
-export const DataCenterResource: msRest.CompositeMapper = {
- serializedName: "DataCenterResource",
- type: {
- name: "Composite",
- className: "DataCenterResource",
- modelProperties: {
- ...ARMProxyResource.type.modelProperties,
- properties: {
- serializedName: "properties",
- type: {
- name: "Composite",
- className: "DataCenterResourceProperties"
- }
- }
- }
- }
-};
-
-export const PrivateLinkResource: msRest.CompositeMapper = {
- serializedName: "PrivateLinkResource",
- type: {
- name: "Composite",
- className: "PrivateLinkResource",
- modelProperties: {
- ...ARMProxyResource.type.modelProperties,
- groupId: {
- readOnly: true,
- serializedName: "properties.groupId",
- type: {
- name: "String"
- }
- },
- requiredMembers: {
- readOnly: true,
- serializedName: "properties.requiredMembers",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
- }
- },
- requiredZoneNames: {
- readOnly: true,
- serializedName: "properties.requiredZoneNames",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "String"
- }
- }
- }
- }
- }
- }
-};
-
-export const ServiceResourceProperties: msRest.CompositeMapper = {
- serializedName: "ServiceResourceProperties",
- type: {
- name: "Composite",
- polymorphicDiscriminator: {
- serializedName: "serviceType",
- clientName: "serviceType"
- },
- uberParent: "ServiceResourceProperties",
- className: "ServiceResourceProperties",
- modelProperties: {
- creationTime: {
- readOnly: true,
- serializedName: "creationTime",
- type: {
- name: "DateTime"
- }
- },
- instanceSize: {
- serializedName: "instanceSize",
- type: {
- name: "String"
- }
- },
- instanceCount: {
- serializedName: "instanceCount",
- constraints: {
- InclusiveMinimum: 0
- },
- type: {
- name: "Number"
- }
- },
- status: {
- readOnly: true,
- serializedName: "status",
- type: {
- name: "String"
- }
- },
- serviceType: {
- required: true,
- serializedName: "serviceType",
- type: {
- name: "String"
- }
- }
- },
- additionalProperties: {
- type: {
- name: "Object"
- }
- }
- }
-};
-
-export const ServiceResource: msRest.CompositeMapper = {
- serializedName: "ServiceResource",
- type: {
- name: "Composite",
- className: "ServiceResource",
- modelProperties: {
- ...ARMProxyResource.type.modelProperties,
- properties: {
- serializedName: "properties",
- type: {
- name: "Composite",
- className: "ServiceResourceProperties",
- additionalProperties: {
- type: {
- name: "Object"
- }
- }
- }
- }
- }
- }
-};
-
-export const RegionalServiceResource: msRest.CompositeMapper = {
- serializedName: "RegionalServiceResource",
- type: {
- name: "Composite",
- className: "RegionalServiceResource",
- modelProperties: {
- name: {
+ }
+ },
+ eventTimestamp: {
readOnly: true,
- serializedName: "name",
+ serializedName: "eventTimestamp",
type: {
name: "String"
}
},
- location: {
+ ownerId: {
readOnly: true,
- serializedName: "location",
+ serializedName: "ownerId",
type: {
name: "String"
}
},
- status: {
+ ownerResourceId: {
readOnly: true,
- serializedName: "status",
+ serializedName: "ownerResourceId",
type: {
name: "String"
}
@@ -6133,72 +5537,52 @@ export const RegionalServiceResource: msRest.CompositeMapper = {
}
};
-export const DataTransferRegionalServiceResource: msRest.CompositeMapper = {
- serializedName: "DataTransferRegionalServiceResource",
- type: {
- name: "Composite",
- className: "DataTransferRegionalServiceResource",
- modelProperties: {
- ...RegionalServiceResource.type.modelProperties
- }
- }
-};
-
-export const DataTransferServiceResourceProperties: msRest.CompositeMapper = {
- serializedName: "DataTransferServiceResourceProperties",
+export const RestorableMongodbCollectionGetResult: msRest.CompositeMapper = {
+ serializedName: "RestorableMongodbCollectionGetResult",
type: {
name: "Composite",
- polymorphicDiscriminator: ServiceResourceProperties.type.polymorphicDiscriminator,
- uberParent: "ServiceResourceProperties",
- className: "DataTransferServiceResourceProperties",
+ className: "RestorableMongodbCollectionGetResult",
modelProperties: {
- ...ServiceResourceProperties.type.modelProperties,
- locations: {
+ resource: {
+ serializedName: "properties.resource",
+ type: {
+ name: "Composite",
+ className: "RestorableMongodbCollectionPropertiesResource"
+ }
+ },
+ id: {
readOnly: true,
- serializedName: "locations",
+ serializedName: "id",
type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "DataTransferRegionalServiceResource"
- }
- }
+ name: "String"
}
- }
- },
- additionalProperties: ServiceResourceProperties.type.additionalProperties
- }
-};
-
-export const DataTransferServiceResource: msRest.CompositeMapper = {
- serializedName: "DataTransferServiceResource",
- type: {
- name: "Composite",
- className: "DataTransferServiceResource",
- modelProperties: {
- properties: {
- serializedName: "properties",
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
type: {
- name: "Composite",
- className: "DataTransferServiceResourceProperties",
- additionalProperties: ServiceResourceProperties.type.additionalProperties
+ name: "String"
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
}
}
}
}
};
-export const SqlDedicatedGatewayRegionalServiceResource: msRest.CompositeMapper = {
- serializedName: "SqlDedicatedGatewayRegionalServiceResource",
+export const ContinuousBackupRestoreLocation: msRest.CompositeMapper = {
+ serializedName: "ContinuousBackupRestoreLocation",
type: {
name: "Composite",
- className: "SqlDedicatedGatewayRegionalServiceResource",
+ className: "ContinuousBackupRestoreLocation",
modelProperties: {
- ...RegionalServiceResource.type.modelProperties,
- sqlDedicatedGatewayEndpoint: {
- readOnly: true,
- serializedName: "sqlDedicatedGatewayEndpoint",
+ location: {
+ serializedName: "location",
type: {
name: "String"
}
@@ -6207,51 +5591,33 @@ export const SqlDedicatedGatewayRegionalServiceResource: msRest.CompositeMapper
}
};
-export const SqlDedicatedGatewayServiceResourceProperties: msRest.CompositeMapper = {
- serializedName: "SqlDedicatedGatewayServiceResourceProperties",
+export const ContinuousBackupInformation: msRest.CompositeMapper = {
+ serializedName: "ContinuousBackupInformation",
type: {
name: "Composite",
- polymorphicDiscriminator: ServiceResourceProperties.type.polymorphicDiscriminator,
- uberParent: "ServiceResourceProperties",
- className: "SqlDedicatedGatewayServiceResourceProperties",
+ className: "ContinuousBackupInformation",
modelProperties: {
- ...ServiceResourceProperties.type.modelProperties,
- sqlDedicatedGatewayEndpoint: {
- serializedName: "sqlDedicatedGatewayEndpoint",
+ latestRestorableTimestamp: {
+ serializedName: "latestRestorableTimestamp",
type: {
name: "String"
}
- },
- locations: {
- readOnly: true,
- serializedName: "locations",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "SqlDedicatedGatewayRegionalServiceResource"
- }
- }
- }
}
- },
- additionalProperties: ServiceResourceProperties.type.additionalProperties
+ }
}
};
-export const SqlDedicatedGatewayServiceResource: msRest.CompositeMapper = {
- serializedName: "SqlDedicatedGatewayServiceResource",
+export const BackupInformation: msRest.CompositeMapper = {
+ serializedName: "BackupInformation",
type: {
name: "Composite",
- className: "SqlDedicatedGatewayServiceResource",
+ className: "BackupInformation",
modelProperties: {
- properties: {
- serializedName: "properties",
+ continuousBackupInformation: {
+ serializedName: "continuousBackupInformation",
type: {
name: "Composite",
- className: "SqlDedicatedGatewayServiceResourceProperties",
- additionalProperties: ServiceResourceProperties.type.additionalProperties
+ className: "ContinuousBackupInformation"
}
}
}
@@ -6769,52 +6135,6 @@ export const GremlinGraphListResult: msRest.CompositeMapper = {
}
};
-export const RestorableDatabaseAccountsListResult: msRest.CompositeMapper = {
- serializedName: "RestorableDatabaseAccountsListResult",
- type: {
- name: "Composite",
- className: "RestorableDatabaseAccountsListResult",
- modelProperties: {
- value: {
- readOnly: true,
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "RestorableDatabaseAccountGetResult"
- }
- }
- }
- }
- }
- }
-};
-
-export const LocationListResult: msRest.CompositeMapper = {
- serializedName: "LocationListResult",
- type: {
- name: "Composite",
- className: "LocationListResult",
- modelProperties: {
- value: {
- readOnly: true,
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "LocationGetResult"
- }
- }
- }
- }
- }
- }
-};
-
export const NotebookWorkspaceListResult: msRest.CompositeMapper = {
serializedName: "NotebookWorkspaceListResult",
type: {
@@ -6837,21 +6157,20 @@ export const NotebookWorkspaceListResult: msRest.CompositeMapper = {
}
};
-export const RestorableSqlDatabasesListResult: msRest.CompositeMapper = {
- serializedName: "RestorableSqlDatabasesListResult",
+export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = {
+ serializedName: "PrivateEndpointConnectionListResult",
type: {
name: "Composite",
- className: "RestorableSqlDatabasesListResult",
+ className: "PrivateEndpointConnectionListResult",
modelProperties: {
value: {
- readOnly: true,
serializedName: "",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "RestorableSqlDatabaseGetResult"
+ className: "PrivateEndpointConnection"
}
}
}
@@ -6860,21 +6179,20 @@ export const RestorableSqlDatabasesListResult: msRest.CompositeMapper = {
}
};
-export const RestorableSqlContainersListResult: msRest.CompositeMapper = {
- serializedName: "RestorableSqlContainersListResult",
+export const PrivateLinkResourceListResult: msRest.CompositeMapper = {
+ serializedName: "PrivateLinkResourceListResult",
type: {
name: "Composite",
- className: "RestorableSqlContainersListResult",
+ className: "PrivateLinkResourceListResult",
modelProperties: {
value: {
- readOnly: true,
serializedName: "",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
- className: "RestorableSqlContainerGetResult"
+ className: "PrivateLinkResource"
}
}
}
@@ -6883,11 +6201,11 @@ export const RestorableSqlContainersListResult: msRest.CompositeMapper = {
}
};
-export const RestorableSqlResourcesListResult: msRest.CompositeMapper = {
- serializedName: "RestorableSqlResourcesListResult",
+export const RestorableDatabaseAccountsListResult: msRest.CompositeMapper = {
+ serializedName: "RestorableDatabaseAccountsListResult",
type: {
name: "Composite",
- className: "RestorableSqlResourcesListResult",
+ className: "RestorableDatabaseAccountsListResult",
modelProperties: {
value: {
readOnly: true,
@@ -6897,7 +6215,7 @@ export const RestorableSqlResourcesListResult: msRest.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "DatabaseRestoreResource"
+ className: "RestorableDatabaseAccountGetResult"
}
}
}
@@ -6906,11 +6224,11 @@ export const RestorableSqlResourcesListResult: msRest.CompositeMapper = {
}
};
-export const RestorableMongodbDatabasesListResult: msRest.CompositeMapper = {
- serializedName: "RestorableMongodbDatabasesListResult",
+export const RestorableSqlDatabasesListResult: msRest.CompositeMapper = {
+ serializedName: "RestorableSqlDatabasesListResult",
type: {
name: "Composite",
- className: "RestorableMongodbDatabasesListResult",
+ className: "RestorableSqlDatabasesListResult",
modelProperties: {
value: {
readOnly: true,
@@ -6920,7 +6238,7 @@ export const RestorableMongodbDatabasesListResult: msRest.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "RestorableMongodbDatabaseGetResult"
+ className: "RestorableSqlDatabaseGetResult"
}
}
}
@@ -6929,11 +6247,11 @@ export const RestorableMongodbDatabasesListResult: msRest.CompositeMapper = {
}
};
-export const RestorableMongodbCollectionsListResult: msRest.CompositeMapper = {
- serializedName: "RestorableMongodbCollectionsListResult",
+export const RestorableSqlContainersListResult: msRest.CompositeMapper = {
+ serializedName: "RestorableSqlContainersListResult",
type: {
name: "Composite",
- className: "RestorableMongodbCollectionsListResult",
+ className: "RestorableSqlContainersListResult",
modelProperties: {
value: {
readOnly: true,
@@ -6943,7 +6261,7 @@ export const RestorableMongodbCollectionsListResult: msRest.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "RestorableMongodbCollectionGetResult"
+ className: "RestorableSqlContainerGetResult"
}
}
}
@@ -6952,11 +6270,11 @@ export const RestorableMongodbCollectionsListResult: msRest.CompositeMapper = {
}
};
-export const RestorableMongodbResourcesListResult: msRest.CompositeMapper = {
- serializedName: "RestorableMongodbResourcesListResult",
+export const RestorableSqlResourcesListResult: msRest.CompositeMapper = {
+ serializedName: "RestorableSqlResourcesListResult",
type: {
name: "Composite",
- className: "RestorableMongodbResourcesListResult",
+ className: "RestorableSqlResourcesListResult",
modelProperties: {
value: {
readOnly: true,
@@ -6975,33 +6293,11 @@ export const RestorableMongodbResourcesListResult: msRest.CompositeMapper = {
}
};
-export const ListClusters: msRest.CompositeMapper = {
- serializedName: "ListClusters",
- type: {
- name: "Composite",
- className: "ListClusters",
- modelProperties: {
- value: {
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "ClusterResource"
- }
- }
- }
- }
- }
- }
-};
-
-export const ListBackups: msRest.CompositeMapper = {
- serializedName: "ListBackups",
+export const RestorableMongodbDatabasesListResult: msRest.CompositeMapper = {
+ serializedName: "RestorableMongodbDatabasesListResult",
type: {
name: "Composite",
- className: "ListBackups",
+ className: "RestorableMongodbDatabasesListResult",
modelProperties: {
value: {
readOnly: true,
@@ -7011,7 +6307,7 @@ export const ListBackups: msRest.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "BackupResource"
+ className: "RestorableMongodbDatabaseGetResult"
}
}
}
@@ -7020,11 +6316,11 @@ export const ListBackups: msRest.CompositeMapper = {
}
};
-export const ListDataCenters: msRest.CompositeMapper = {
- serializedName: "ListDataCenters",
+export const RestorableMongodbCollectionsListResult: msRest.CompositeMapper = {
+ serializedName: "RestorableMongodbCollectionsListResult",
type: {
name: "Composite",
- className: "ListDataCenters",
+ className: "RestorableMongodbCollectionsListResult",
modelProperties: {
value: {
readOnly: true,
@@ -7034,51 +6330,7 @@ export const ListDataCenters: msRest.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "DataCenterResource"
- }
- }
- }
- }
- }
- }
-};
-
-export const PrivateLinkResourceListResult: msRest.CompositeMapper = {
- serializedName: "PrivateLinkResourceListResult",
- type: {
- name: "Composite",
- className: "PrivateLinkResourceListResult",
- modelProperties: {
- value: {
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "PrivateLinkResource"
- }
- }
- }
- }
- }
- }
-};
-
-export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = {
- serializedName: "PrivateEndpointConnectionListResult",
- type: {
- name: "Composite",
- className: "PrivateEndpointConnectionListResult",
- modelProperties: {
- value: {
- serializedName: "",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "PrivateEndpointConnection"
+ className: "RestorableMongodbCollectionGetResult"
}
}
}
@@ -7087,11 +6339,11 @@ export const PrivateEndpointConnectionListResult: msRest.CompositeMapper = {
}
};
-export const ServiceResourceListResult: msRest.CompositeMapper = {
- serializedName: "ServiceResourceListResult",
+export const RestorableMongodbResourcesListResult: msRest.CompositeMapper = {
+ serializedName: "RestorableMongodbResourcesListResult",
type: {
name: "Composite",
- className: "ServiceResourceListResult",
+ className: "RestorableMongodbResourcesListResult",
modelProperties: {
value: {
readOnly: true,
@@ -7101,7 +6353,7 @@ export const ServiceResourceListResult: msRest.CompositeMapper = {
element: {
type: {
name: "Composite",
- className: "ServiceResource"
+ className: "DatabaseRestoreResource"
}
}
}
@@ -7111,13 +6363,8 @@ export const ServiceResourceListResult: msRest.CompositeMapper = {
};
export const discriminators = {
- BackupPolicy: BackupPolicy,
- DatabaseAccountCreateUpdateProperties: DatabaseAccountCreateUpdateProperties,
- "DatabaseAccountCreateUpdateProperties.Default": DefaultRequestDatabaseAccountCreateUpdateProperties,
- "DatabaseAccountCreateUpdateProperties.Restore": RestoreReqeustDatabaseAccountCreateUpdateProperties,
- "BackupPolicy.Periodic": PeriodicModeBackupPolicy,
- "BackupPolicy.Continuous": ContinuousModeBackupPolicy,
- ServiceResourceProperties: ServiceResourceProperties,
- "ServiceResourceProperties.DataTransferServiceResourceProperties": DataTransferServiceResourceProperties,
- "ServiceResourceProperties.SqlDedicatedGatewayServiceResourceProperties": SqlDedicatedGatewayServiceResourceProperties
+ 'BackupPolicy' : BackupPolicy,
+ 'BackupPolicy.Periodic' : PeriodicModeBackupPolicy,
+ 'BackupPolicy.Continuous' : ContinuousModeBackupPolicy
+
};
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/mongoDBResourcesMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/mongoDBResourcesMappers.ts
index 68f5e03df3da..c73facb9d248 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/mongoDBResourcesMappers.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/mongoDBResourcesMappers.ts
@@ -8,6 +8,7 @@
export {
discriminators,
+ AnalyticalStorageConfiguration,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
@@ -16,8 +17,7 @@ export {
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
- BackupResource,
- BackupResourceProperties,
+ BackupPolicyMigrationState,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
@@ -32,11 +32,8 @@ export {
CassandraTableGetPropertiesResource,
CassandraTableGetResults,
CassandraTableResource,
- Certificate,
CloudError,
ClusterKey,
- ClusterResource,
- ClusterResourceProperties,
Column,
CompositePath,
ConflictResolutionPolicy,
@@ -46,14 +43,8 @@ export {
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
- DatabaseAccountCreateUpdateProperties,
DatabaseAccountGetResults,
DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
ExcludedPath,
FailoverPolicy,
GremlinDatabaseCreateUpdateParameters,
@@ -71,8 +62,6 @@ export {
IndexingPolicy,
IpAddressOrRange,
Location,
- LocationGetResult,
- LocationProperties,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MongoDBCollectionCreateUpdateParameters,
@@ -101,13 +90,8 @@ export {
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
- RegionalServiceResource,
Resource,
RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceProperties,
SpatialSpec,
SqlContainerCreateUpdateParameters,
SqlContainerGetPropertiesOptions,
@@ -119,8 +103,6 @@ export {
SqlDatabaseGetPropertiesResource,
SqlDatabaseGetResults,
SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
SqlRoleAssignmentGetResults,
SqlRoleDefinitionGetResults,
SqlStoredProcedureCreateUpdateParameters,
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/notebookWorkspacesMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/notebookWorkspacesMappers.ts
index 55409fedee67..45263a69395d 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/notebookWorkspacesMappers.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/notebookWorkspacesMappers.ts
@@ -8,6 +8,7 @@
export {
discriminators,
+ AnalyticalStorageConfiguration,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
@@ -16,8 +17,7 @@ export {
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
- BackupResource,
- BackupResourceProperties,
+ BackupPolicyMigrationState,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
@@ -32,10 +32,7 @@ export {
CassandraTableGetPropertiesResource,
CassandraTableGetResults,
CassandraTableResource,
- Certificate,
ClusterKey,
- ClusterResource,
- ClusterResourceProperties,
Column,
CompositePath,
ConflictResolutionPolicy,
@@ -45,14 +42,8 @@ export {
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
- DatabaseAccountCreateUpdateProperties,
DatabaseAccountGetResults,
DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
ErrorResponse,
ExcludedPath,
FailoverPolicy,
@@ -71,8 +62,6 @@ export {
IndexingPolicy,
IpAddressOrRange,
Location,
- LocationGetResult,
- LocationProperties,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MongoDBCollectionCreateUpdateParameters,
@@ -101,13 +90,8 @@ export {
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
- RegionalServiceResource,
Resource,
RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceProperties,
SpatialSpec,
SqlContainerCreateUpdateParameters,
SqlContainerGetPropertiesOptions,
@@ -119,8 +103,6 @@ export {
SqlDatabaseGetPropertiesResource,
SqlDatabaseGetResults,
SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
SqlRoleAssignmentGetResults,
SqlRoleDefinitionGetResults,
SqlStoredProcedureCreateUpdateParameters,
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts
index d0afe7fcb0b7..4f855d9c9c7d 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/parameters.ts
@@ -13,7 +13,7 @@ export const acceptLanguage: msRest.OperationParameter = {
parameterPath: "acceptLanguage",
mapper: {
serializedName: "accept-language",
- defaultValue: "en-US",
+ defaultValue: 'en-US',
type: {
name: "String"
}
@@ -47,36 +47,6 @@ export const apiVersion: msRest.OperationQueryParameter = {
}
}
};
-export const backupId: msRest.OperationURLParameter = {
- parameterPath: "backupId",
- mapper: {
- required: true,
- serializedName: "backupId",
- constraints: {
- MaxLength: 15,
- MinLength: 1,
- Pattern: /^[0-9]+$/
- },
- type: {
- name: "String"
- }
- }
-};
-export const clusterName: msRest.OperationURLParameter = {
- parameterPath: "clusterName",
- mapper: {
- required: true,
- serializedName: "clusterName",
- constraints: {
- MaxLength: 100,
- MinLength: 1,
- Pattern: /^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*/
- },
- type: {
- name: "String"
- }
- }
-};
export const collectionName: msRest.OperationURLParameter = {
parameterPath: "collectionName",
mapper: {
@@ -127,23 +97,11 @@ export const databaseRid: msRest.OperationURLParameter = {
}
}
};
-export const dataCenterName: msRest.OperationURLParameter = {
- parameterPath: "dataCenterName",
- mapper: {
- required: true,
- serializedName: "dataCenterName",
- constraints: {
- MaxLength: 100,
- MinLength: 1,
- Pattern: /^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*/
- },
- type: {
- name: "String"
- }
- }
-};
export const endTime: msRest.OperationQueryParameter = {
- parameterPath: ["options", "endTime"],
+ parameterPath: [
+ "options",
+ "endTime"
+ ],
mapper: {
serializedName: "endTime",
type: {
@@ -162,7 +120,10 @@ export const filter0: msRest.OperationQueryParameter = {
}
};
export const filter1: msRest.OperationQueryParameter = {
- parameterPath: ["options", "filter"],
+ parameterPath: [
+ "options",
+ "filter"
+ ],
mapper: {
serializedName: "$filter",
type: {
@@ -237,7 +198,7 @@ export const notebookWorkspaceName: msRest.OperationURLParameter = {
required: true,
isConstant: true,
serializedName: "notebookWorkspaceName",
- defaultValue: "default",
+ defaultValue: 'default',
type: {
name: "String"
}
@@ -280,8 +241,7 @@ export const resourceGroupName: msRest.OperationURLParameter = {
serializedName: "resourceGroupName",
constraints: {
MaxLength: 90,
- MinLength: 1,
- Pattern: /^[-\w\._\(\)]+$/
+ MinLength: 1
},
type: {
name: "String"
@@ -289,7 +249,10 @@ export const resourceGroupName: msRest.OperationURLParameter = {
}
};
export const restorableMongodbDatabaseRid: msRest.OperationQueryParameter = {
- parameterPath: ["options", "restorableMongodbDatabaseRid"],
+ parameterPath: [
+ "options",
+ "restorableMongodbDatabaseRid"
+ ],
mapper: {
serializedName: "restorableMongodbDatabaseRid",
type: {
@@ -298,7 +261,10 @@ export const restorableMongodbDatabaseRid: msRest.OperationQueryParameter = {
}
};
export const restorableSqlDatabaseRid: msRest.OperationQueryParameter = {
- parameterPath: ["options", "restorableSqlDatabaseRid"],
+ parameterPath: [
+ "options",
+ "restorableSqlDatabaseRid"
+ ],
mapper: {
serializedName: "restorableSqlDatabaseRid",
type: {
@@ -307,7 +273,10 @@ export const restorableSqlDatabaseRid: msRest.OperationQueryParameter = {
}
};
export const restoreLocation: msRest.OperationQueryParameter = {
- parameterPath: ["options", "restoreLocation"],
+ parameterPath: [
+ "options",
+ "restoreLocation"
+ ],
mapper: {
serializedName: "restoreLocation",
type: {
@@ -316,7 +285,10 @@ export const restoreLocation: msRest.OperationQueryParameter = {
}
};
export const restoreTimestampInUtc: msRest.OperationQueryParameter = {
- parameterPath: ["options", "restoreTimestampInUtc"],
+ parameterPath: [
+ "options",
+ "restoreTimestampInUtc"
+ ],
mapper: {
serializedName: "restoreTimestampInUtc",
type: {
@@ -344,20 +316,6 @@ export const roleDefinitionId: msRest.OperationURLParameter = {
}
}
};
-export const serviceName: msRest.OperationURLParameter = {
- parameterPath: "serviceName",
- mapper: {
- required: true,
- serializedName: "serviceName",
- constraints: {
- MaxLength: 50,
- MinLength: 3
- },
- type: {
- name: "String"
- }
- }
-};
export const sourceRegion: msRest.OperationURLParameter = {
parameterPath: "sourceRegion",
mapper: {
@@ -369,7 +327,10 @@ export const sourceRegion: msRest.OperationURLParameter = {
}
};
export const startTime: msRest.OperationQueryParameter = {
- parameterPath: ["options", "startTime"],
+ parameterPath: [
+ "options",
+ "startTime"
+ ],
mapper: {
serializedName: "startTime",
type: {
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/privateEndpointConnectionsMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/privateEndpointConnectionsMappers.ts
index 3d0aa6b1596c..500f1515fa90 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/privateEndpointConnectionsMappers.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/privateEndpointConnectionsMappers.ts
@@ -8,6 +8,7 @@
export {
discriminators,
+ AnalyticalStorageConfiguration,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
@@ -16,8 +17,7 @@ export {
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
- BackupResource,
- BackupResourceProperties,
+ BackupPolicyMigrationState,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
@@ -32,11 +32,8 @@ export {
CassandraTableGetPropertiesResource,
CassandraTableGetResults,
CassandraTableResource,
- Certificate,
CloudError,
ClusterKey,
- ClusterResource,
- ClusterResourceProperties,
Column,
CompositePath,
ConflictResolutionPolicy,
@@ -46,14 +43,8 @@ export {
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
- DatabaseAccountCreateUpdateProperties,
DatabaseAccountGetResults,
DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
ErrorResponse,
ExcludedPath,
FailoverPolicy,
@@ -72,8 +63,6 @@ export {
IndexingPolicy,
IpAddressOrRange,
Location,
- LocationGetResult,
- LocationProperties,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MongoDBCollectionCreateUpdateParameters,
@@ -101,13 +90,8 @@ export {
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
- RegionalServiceResource,
Resource,
RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceProperties,
SpatialSpec,
SqlContainerCreateUpdateParameters,
SqlContainerGetPropertiesOptions,
@@ -119,8 +103,6 @@ export {
SqlDatabaseGetPropertiesResource,
SqlDatabaseGetResults,
SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
SqlRoleAssignmentGetResults,
SqlRoleDefinitionGetResults,
SqlStoredProcedureCreateUpdateParameters,
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/privateLinkResourcesMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/privateLinkResourcesMappers.ts
index 152c9cd2b84f..c8112dbedc58 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/privateLinkResourcesMappers.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/privateLinkResourcesMappers.ts
@@ -8,6 +8,7 @@
export {
discriminators,
+ AnalyticalStorageConfiguration,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
@@ -16,8 +17,7 @@ export {
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
- BackupResource,
- BackupResourceProperties,
+ BackupPolicyMigrationState,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
@@ -32,11 +32,8 @@ export {
CassandraTableGetPropertiesResource,
CassandraTableGetResults,
CassandraTableResource,
- Certificate,
CloudError,
ClusterKey,
- ClusterResource,
- ClusterResourceProperties,
Column,
CompositePath,
ConflictResolutionPolicy,
@@ -46,14 +43,8 @@ export {
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
- DatabaseAccountCreateUpdateProperties,
DatabaseAccountGetResults,
DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
ExcludedPath,
FailoverPolicy,
GremlinDatabaseCreateUpdateParameters,
@@ -71,8 +62,6 @@ export {
IndexingPolicy,
IpAddressOrRange,
Location,
- LocationGetResult,
- LocationProperties,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MongoDBCollectionCreateUpdateParameters,
@@ -100,13 +89,8 @@ export {
PrivateLinkResourceListResult,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
- RegionalServiceResource,
Resource,
RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceProperties,
SpatialSpec,
SqlContainerCreateUpdateParameters,
SqlContainerGetPropertiesOptions,
@@ -118,8 +102,6 @@ export {
SqlDatabaseGetPropertiesResource,
SqlDatabaseGetResults,
SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
SqlRoleAssignmentGetResults,
SqlRoleDefinitionGetResults,
SqlStoredProcedureCreateUpdateParameters,
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/serviceMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/serviceMappers.ts
deleted file mode 100644
index 48068ec49b90..000000000000
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/serviceMappers.ts
+++ /dev/null
@@ -1,153 +0,0 @@
-/*
- * 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,
- ApiProperties,
- ARMProxyResource,
- ARMResourceProperties,
- AutoscaleSettings,
- AutoscaleSettingsResource,
- AutoUpgradePolicyResource,
- AzureEntityResource,
- BackupPolicy,
- BackupResource,
- BackupResourceProperties,
- BaseResource,
- Capability,
- 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,
- DatabaseAccountCreateUpdateProperties,
- DatabaseAccountGetResults,
- DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
- ErrorResponse,
- ExcludedPath,
- FailoverPolicy,
- GremlinDatabaseCreateUpdateParameters,
- GremlinDatabaseGetPropertiesOptions,
- GremlinDatabaseGetPropertiesResource,
- GremlinDatabaseGetResults,
- GremlinDatabaseResource,
- GremlinGraphCreateUpdateParameters,
- GremlinGraphGetPropertiesOptions,
- GremlinGraphGetPropertiesResource,
- GremlinGraphGetResults,
- GremlinGraphResource,
- IncludedPath,
- Indexes,
- IndexingPolicy,
- IpAddressOrRange,
- Location,
- LocationGetResult,
- LocationProperties,
- 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,
- RegionalServiceResource,
- Resource,
- RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceListResult,
- ServiceResourceProperties,
- SpatialSpec,
- SqlContainerCreateUpdateParameters,
- SqlContainerGetPropertiesOptions,
- SqlContainerGetPropertiesResource,
- SqlContainerGetResults,
- SqlContainerResource,
- SqlDatabaseCreateUpdateParameters,
- SqlDatabaseGetPropertiesOptions,
- SqlDatabaseGetPropertiesResource,
- SqlDatabaseGetResults,
- SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
- 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";
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/sqlResourcesMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/sqlResourcesMappers.ts
index 8662633bf668..3f3a227e7c40 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/sqlResourcesMappers.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/sqlResourcesMappers.ts
@@ -8,6 +8,7 @@
export {
discriminators,
+ AnalyticalStorageConfiguration,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
@@ -17,8 +18,7 @@ export {
AzureEntityResource,
BackupInformation,
BackupPolicy,
- BackupResource,
- BackupResourceProperties,
+ BackupPolicyMigrationState,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
@@ -33,11 +33,8 @@ export {
CassandraTableGetPropertiesResource,
CassandraTableGetResults,
CassandraTableResource,
- Certificate,
CloudError,
ClusterKey,
- ClusterResource,
- ClusterResourceProperties,
Column,
CompositePath,
ConflictResolutionPolicy,
@@ -49,14 +46,8 @@ export {
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
- DatabaseAccountCreateUpdateProperties,
DatabaseAccountGetResults,
DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
ExcludedPath,
FailoverPolicy,
GremlinDatabaseCreateUpdateParameters,
@@ -74,8 +65,6 @@ export {
IndexingPolicy,
IpAddressOrRange,
Location,
- LocationGetResult,
- LocationProperties,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MongoDBCollectionCreateUpdateParameters,
@@ -102,13 +91,8 @@ export {
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
- RegionalServiceResource,
Resource,
RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceProperties,
SpatialSpec,
SqlContainerCreateUpdateParameters,
SqlContainerGetPropertiesOptions,
@@ -122,8 +106,6 @@ export {
SqlDatabaseGetResults,
SqlDatabaseListResult,
SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
SqlRoleAssignmentCreateUpdateParameters,
SqlRoleAssignmentGetResults,
SqlRoleAssignmentListResult,
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/tableResourcesMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/tableResourcesMappers.ts
index dca9439fe106..5637ba10e4b3 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/models/tableResourcesMappers.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/models/tableResourcesMappers.ts
@@ -8,6 +8,7 @@
export {
discriminators,
+ AnalyticalStorageConfiguration,
ApiProperties,
ARMProxyResource,
ARMResourceProperties,
@@ -16,8 +17,7 @@ export {
AutoUpgradePolicyResource,
AzureEntityResource,
BackupPolicy,
- BackupResource,
- BackupResourceProperties,
+ BackupPolicyMigrationState,
BaseResource,
Capability,
CassandraKeyspaceCreateUpdateParameters,
@@ -32,11 +32,8 @@ export {
CassandraTableGetPropertiesResource,
CassandraTableGetResults,
CassandraTableResource,
- Certificate,
CloudError,
ClusterKey,
- ClusterResource,
- ClusterResourceProperties,
Column,
CompositePath,
ConflictResolutionPolicy,
@@ -46,14 +43,8 @@ export {
CorsPolicy,
CreateUpdateOptions,
DatabaseAccountCreateUpdateParameters,
- DatabaseAccountCreateUpdateProperties,
DatabaseAccountGetResults,
DatabaseRestoreResource,
- DataCenterResource,
- DataCenterResourceProperties,
- DataTransferRegionalServiceResource,
- DataTransferServiceResourceProperties,
- DefaultRequestDatabaseAccountCreateUpdateProperties,
ExcludedPath,
FailoverPolicy,
GremlinDatabaseCreateUpdateParameters,
@@ -71,8 +62,6 @@ export {
IndexingPolicy,
IpAddressOrRange,
Location,
- LocationGetResult,
- LocationProperties,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MongoDBCollectionCreateUpdateParameters,
@@ -99,13 +88,8 @@ export {
PrivateLinkResource,
PrivateLinkServiceConnectionStateProperty,
ProxyResource,
- RegionalServiceResource,
Resource,
RestoreParameters,
- RestoreReqeustDatabaseAccountCreateUpdateProperties,
- SeedNode,
- ServiceResource,
- ServiceResourceProperties,
SpatialSpec,
SqlContainerCreateUpdateParameters,
SqlContainerGetPropertiesOptions,
@@ -117,8 +101,6 @@ export {
SqlDatabaseGetPropertiesResource,
SqlDatabaseGetResults,
SqlDatabaseResource,
- SqlDedicatedGatewayRegionalServiceResource,
- SqlDedicatedGatewayServiceResourceProperties,
SqlRoleAssignmentGetResults,
SqlRoleDefinitionGetResults,
SqlStoredProcedureCreateUpdateParameters,
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraClusters.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraClusters.ts
deleted file mode 100644
index 81f23ee93f35..000000000000
--- a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraClusters.ts
+++ /dev/null
@@ -1,696 +0,0 @@
-/*
- * 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.
- */
-
-import * as msRest from "@azure/ms-rest-js";
-import * as msRestAzure from "@azure/ms-rest-azure-js";
-import * as Models from "../models";
-import * as Mappers from "../models/cassandraClustersMappers";
-import * as Parameters from "../models/parameters";
-import { CosmosDBManagementClientContext } from "../cosmosDBManagementClientContext";
-
-/** Class representing a CassandraClusters. */
-export class CassandraClusters {
- private readonly client: CosmosDBManagementClientContext;
-
- /**
- * Create a CassandraClusters.
- * @param {CosmosDBManagementClientContext} client Reference to the service client.
- */
- constructor(client: CosmosDBManagementClientContext) {
- this.client = client;
- }
-
- /**
- * List all managed Cassandra clusters in this subscription.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listBySubscription(
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param callback The callback
- */
- listBySubscription(callback: msRest.ServiceCallback): void;
- /**
- * @param options The optional parameters
- * @param callback The callback
- */
- listBySubscription(
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- listBySubscription(
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- options
- },
- listBySubscriptionOperationSpec,
- callback
- ) as Promise;
- }
-
- /**
- * List all managed Cassandra clusters in this resource group.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listByResourceGroup(
- resourceGroupName: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param callback The callback
- */
- listByResourceGroup(
- resourceGroupName: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param options The optional parameters
- * @param callback The callback
- */
- listByResourceGroup(
- resourceGroupName: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- listByResourceGroup(
- resourceGroupName: string,
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- resourceGroupName,
- options
- },
- listByResourceGroupOperationSpec,
- callback
- ) as Promise;
- }
-
- /**
- * Get the properties of a managed Cassandra cluster.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param [options] The optional parameters
- * @returns Promise
- */
- get(
- resourceGroupName: string,
- clusterName: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param callback The callback
- */
- get(
- resourceGroupName: string,
- clusterName: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param options The optional parameters
- * @param callback The callback
- */
- get(
- resourceGroupName: string,
- clusterName: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- get(
- resourceGroupName: string,
- clusterName: string,
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- resourceGroupName,
- clusterName,
- options
- },
- getOperationSpec,
- callback
- ) as Promise;
- }
-
- /**
- * Deletes a managed Cassandra cluster.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param [options] The optional parameters
- * @returns Promise
- */
- deleteMethod(
- resourceGroupName: string,
- clusterName: string,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.beginDeleteMethod(resourceGroupName, clusterName, options).then((lroPoller) =>
- lroPoller.pollUntilFinished()
- );
- }
-
- /**
- * Create or update a managed Cassandra cluster. When updating, you must specify all writable
- * properties. To update only some properties, use PATCH.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param body The properties specifying the desired state of the managed Cassandra cluster.
- * @param [options] The optional parameters
- * @returns Promise
- */
- createUpdate(
- resourceGroupName: string,
- clusterName: string,
- body: Models.ClusterResource,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.beginCreateUpdate(resourceGroupName, clusterName, body, options).then((lroPoller) =>
- lroPoller.pollUntilFinished()
- ) as Promise;
- }
-
- /**
- * Updates some of the properties of a managed Cassandra cluster.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param body Parameters to provide for specifying the managed Cassandra cluster.
- * @param [options] The optional parameters
- * @returns Promise
- */
- update(
- resourceGroupName: string,
- clusterName: string,
- body: Models.ClusterResource,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.beginUpdate(resourceGroupName, clusterName, body, options).then((lroPoller) =>
- lroPoller.pollUntilFinished()
- ) as Promise;
- }
-
- /**
- * Request that repair begin on this cluster as soon as possible.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param body Specification of what keyspaces and tables to run repair on.
- * @param [options] The optional parameters
- * @returns Promise
- */
- requestRepair(
- resourceGroupName: string,
- clusterName: string,
- body: Models.RepairPostBody,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.beginRequestRepair(
- resourceGroupName,
- clusterName,
- body,
- options
- ).then((lroPoller) => lroPoller.pollUntilFinished());
- }
-
- /**
- * Request the status of all nodes in the cluster (as returned by 'nodetool status').
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param [options] The optional parameters
- * @returns Promise
- */
- fetchNodeStatus(
- resourceGroupName: string,
- clusterName: string,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.beginFetchNodeStatus(resourceGroupName, clusterName, options).then((lroPoller) =>
- lroPoller.pollUntilFinished()
- ) as Promise;
- }
-
- /**
- * List the backups of this cluster that are available to restore.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param [options] The optional parameters
- * @returns Promise
- */
- listBackupsMethod(
- resourceGroupName: string,
- clusterName: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param callback The callback
- */
- listBackupsMethod(
- resourceGroupName: string,
- clusterName: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param options The optional parameters
- * @param callback The callback
- */
- listBackupsMethod(
- resourceGroupName: string,
- clusterName: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- listBackupsMethod(
- resourceGroupName: string,
- clusterName: string,
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- resourceGroupName,
- clusterName,
- options
- },
- listBackupsMethodOperationSpec,
- callback
- ) as Promise;
- }
-
- /**
- * Get the properties of an individual backup of this cluster that is available to restore.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param backupId Id of a restorable backup of a Cassandra cluster.
- * @param [options] The optional parameters
- * @returns Promise
- */
- getBackup(
- resourceGroupName: string,
- clusterName: string,
- backupId: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param backupId Id of a restorable backup of a Cassandra cluster.
- * @param callback The callback
- */
- getBackup(
- resourceGroupName: string,
- clusterName: string,
- backupId: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param backupId Id of a restorable backup of a Cassandra cluster.
- * @param options The optional parameters
- * @param callback The callback
- */
- getBackup(
- resourceGroupName: string,
- clusterName: string,
- backupId: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- getBackup(
- resourceGroupName: string,
- clusterName: string,
- backupId: string,
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- resourceGroupName,
- clusterName,
- backupId,
- options
- },
- getBackupOperationSpec,
- callback
- ) as Promise;
- }
-
- /**
- * Deletes a managed Cassandra cluster.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param [options] The optional parameters
- * @returns Promise
- */
- beginDeleteMethod(
- resourceGroupName: string,
- clusterName: string,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- clusterName,
- options
- },
- beginDeleteMethodOperationSpec,
- options
- );
- }
-
- /**
- * Create or update a managed Cassandra cluster. When updating, you must specify all writable
- * properties. To update only some properties, use PATCH.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param body The properties specifying the desired state of the managed Cassandra cluster.
- * @param [options] The optional parameters
- * @returns Promise
- */
- beginCreateUpdate(
- resourceGroupName: string,
- clusterName: string,
- body: Models.ClusterResource,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- clusterName,
- body,
- options
- },
- beginCreateUpdateOperationSpec,
- options
- );
- }
-
- /**
- * Updates some of the properties of a managed Cassandra cluster.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param body Parameters to provide for specifying the managed Cassandra cluster.
- * @param [options] The optional parameters
- * @returns Promise
- */
- beginUpdate(
- resourceGroupName: string,
- clusterName: string,
- body: Models.ClusterResource,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- clusterName,
- body,
- options
- },
- beginUpdateOperationSpec,
- options
- );
- }
-
- /**
- * Request that repair begin on this cluster as soon as possible.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param body Specification of what keyspaces and tables to run repair on.
- * @param [options] The optional parameters
- * @returns Promise
- */
- beginRequestRepair(
- resourceGroupName: string,
- clusterName: string,
- body: Models.RepairPostBody,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- clusterName,
- body,
- options
- },
- beginRequestRepairOperationSpec,
- options
- );
- }
-
- /**
- * Request the status of all nodes in the cluster (as returned by 'nodetool status').
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param [options] The optional parameters
- * @returns Promise
- */
- beginFetchNodeStatus(
- resourceGroupName: string,
- clusterName: string,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- clusterName,
- options
- },
- beginFetchNodeStatusOperationSpec,
- options
- );
- }
-}
-
-// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const listBySubscriptionOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/cassandraClusters",
- urlParameters: [Parameters.subscriptionId],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.ListClusters
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const listByResourceGroupOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters",
- urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.ListClusters
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const getOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}",
- urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.clusterName],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.ClusterResource
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const listBackupsMethodOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/backups",
- urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.clusterName],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.ListBackups
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const getBackupOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/backups/{backupId}",
- urlParameters: [
- Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.clusterName,
- Parameters.backupId
- ],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.BackupResource
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
- httpMethod: "DELETE",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}",
- urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.clusterName],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 202: {},
- 204: {},
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const beginCreateUpdateOperationSpec: msRest.OperationSpec = {
- httpMethod: "PUT",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}",
- urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.clusterName],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- requestBody: {
- parameterPath: "body",
- mapper: {
- ...Mappers.ClusterResource,
- required: true
- }
- },
- responses: {
- 200: {
- bodyMapper: Mappers.ClusterResource
- },
- 201: {
- bodyMapper: Mappers.ClusterResource
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const beginUpdateOperationSpec: msRest.OperationSpec = {
- httpMethod: "PATCH",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}",
- urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.clusterName],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- requestBody: {
- parameterPath: "body",
- mapper: {
- ...Mappers.ClusterResource,
- required: true
- }
- },
- responses: {
- 200: {
- bodyMapper: Mappers.ClusterResource
- },
- 202: {
- bodyMapper: Mappers.ClusterResource
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const beginRequestRepairOperationSpec: msRest.OperationSpec = {
- httpMethod: "POST",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repair",
- urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.clusterName],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- requestBody: {
- parameterPath: "body",
- mapper: {
- ...Mappers.RepairPostBody,
- required: true
- }
- },
- responses: {
- 200: {},
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const beginFetchNodeStatusOperationSpec: msRest.OperationSpec = {
- httpMethod: "POST",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/fetchNodeStatus",
- urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.clusterName],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.ClusterNodeStatus
- },
- 202: {},
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraDataCenters.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraDataCenters.ts
deleted file mode 100644
index e084c5afd55c..000000000000
--- a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraDataCenters.ts
+++ /dev/null
@@ -1,431 +0,0 @@
-/*
- * 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.
- */
-
-import * as msRest from "@azure/ms-rest-js";
-import * as msRestAzure from "@azure/ms-rest-azure-js";
-import * as Models from "../models";
-import * as Mappers from "../models/cassandraDataCentersMappers";
-import * as Parameters from "../models/parameters";
-import { CosmosDBManagementClientContext } from "../cosmosDBManagementClientContext";
-
-/** Class representing a CassandraDataCenters. */
-export class CassandraDataCenters {
- private readonly client: CosmosDBManagementClientContext;
-
- /**
- * Create a CassandraDataCenters.
- * @param {CosmosDBManagementClientContext} client Reference to the service client.
- */
- constructor(client: CosmosDBManagementClientContext) {
- this.client = client;
- }
-
- /**
- * List all data centers in a particular managed Cassandra cluster.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param [options] The optional parameters
- * @returns Promise
- */
- list(
- resourceGroupName: string,
- clusterName: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param callback The callback
- */
- list(
- resourceGroupName: string,
- clusterName: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param options The optional parameters
- * @param callback The callback
- */
- list(
- resourceGroupName: string,
- clusterName: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- list(
- resourceGroupName: string,
- clusterName: string,
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- resourceGroupName,
- clusterName,
- options
- },
- listOperationSpec,
- callback
- ) as Promise;
- }
-
- /**
- * Get the properties of a managed Cassandra data center.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param dataCenterName Data center name in a managed Cassandra cluster.
- * @param [options] The optional parameters
- * @returns Promise
- */
- get(
- resourceGroupName: string,
- clusterName: string,
- dataCenterName: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param dataCenterName Data center name in a managed Cassandra cluster.
- * @param callback The callback
- */
- get(
- resourceGroupName: string,
- clusterName: string,
- dataCenterName: string,
- callback: msRest.ServiceCallback
- ): void;
- /**
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param dataCenterName Data center name in a managed Cassandra cluster.
- * @param options The optional parameters
- * @param callback The callback
- */
- get(
- resourceGroupName: string,
- clusterName: string,
- dataCenterName: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- get(
- resourceGroupName: string,
- clusterName: string,
- dataCenterName: string,
- options?: msRest.RequestOptionsBase | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
- return this.client.sendOperationRequest(
- {
- resourceGroupName,
- clusterName,
- dataCenterName,
- options
- },
- getOperationSpec,
- callback
- ) as Promise;
- }
-
- /**
- * Delete a managed Cassandra data center.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param dataCenterName Data center name in a managed Cassandra cluster.
- * @param [options] The optional parameters
- * @returns Promise
- */
- deleteMethod(
- resourceGroupName: string,
- clusterName: string,
- dataCenterName: string,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.beginDeleteMethod(
- resourceGroupName,
- clusterName,
- dataCenterName,
- options
- ).then((lroPoller) => lroPoller.pollUntilFinished());
- }
-
- /**
- * Create or update a managed Cassandra data center. When updating, overwrite all properties. To
- * update only some properties, use PATCH.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param dataCenterName Data center name in a managed Cassandra cluster.
- * @param body Parameters specifying the managed Cassandra data center.
- * @param [options] The optional parameters
- * @returns Promise
- */
- createUpdate(
- resourceGroupName: string,
- clusterName: string,
- dataCenterName: string,
- body: Models.DataCenterResource,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.beginCreateUpdate(
- resourceGroupName,
- clusterName,
- dataCenterName,
- body,
- options
- ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise<
- Models.CassandraDataCentersCreateUpdateResponse
- >;
- }
-
- /**
- * Update some of the properties of a managed Cassandra data center.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param dataCenterName Data center name in a managed Cassandra cluster.
- * @param body Parameters to provide for specifying the managed Cassandra data center.
- * @param [options] The optional parameters
- * @returns Promise
- */
- update(
- resourceGroupName: string,
- clusterName: string,
- dataCenterName: string,
- body: Models.DataCenterResource,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.beginUpdate(
- resourceGroupName,
- clusterName,
- dataCenterName,
- body,
- options
- ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise<
- Models.CassandraDataCentersUpdateResponse
- >;
- }
-
- /**
- * Delete a managed Cassandra data center.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param dataCenterName Data center name in a managed Cassandra cluster.
- * @param [options] The optional parameters
- * @returns Promise
- */
- beginDeleteMethod(
- resourceGroupName: string,
- clusterName: string,
- dataCenterName: string,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- clusterName,
- dataCenterName,
- options
- },
- beginDeleteMethodOperationSpec,
- options
- );
- }
-
- /**
- * Create or update a managed Cassandra data center. When updating, overwrite all properties. To
- * update only some properties, use PATCH.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param dataCenterName Data center name in a managed Cassandra cluster.
- * @param body Parameters specifying the managed Cassandra data center.
- * @param [options] The optional parameters
- * @returns Promise
- */
- beginCreateUpdate(
- resourceGroupName: string,
- clusterName: string,
- dataCenterName: string,
- body: Models.DataCenterResource,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- clusterName,
- dataCenterName,
- body,
- options
- },
- beginCreateUpdateOperationSpec,
- options
- );
- }
-
- /**
- * Update some of the properties of a managed Cassandra data center.
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param clusterName Managed Cassandra cluster name.
- * @param dataCenterName Data center name in a managed Cassandra cluster.
- * @param body Parameters to provide for specifying the managed Cassandra data center.
- * @param [options] The optional parameters
- * @returns Promise
- */
- beginUpdate(
- resourceGroupName: string,
- clusterName: string,
- dataCenterName: string,
- body: Models.DataCenterResource,
- options?: msRest.RequestOptionsBase
- ): Promise {
- return this.client.sendLRORequest(
- {
- resourceGroupName,
- clusterName,
- dataCenterName,
- body,
- options
- },
- beginUpdateOperationSpec,
- options
- );
- }
-}
-
-// Operation Specifications
-const serializer = new msRest.Serializer(Mappers);
-const listOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters",
- urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.clusterName],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.ListDataCenters
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const getOperationSpec: msRest.OperationSpec = {
- httpMethod: "GET",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}",
- urlParameters: [
- Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.clusterName,
- Parameters.dataCenterName
- ],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 200: {
- bodyMapper: Mappers.DataCenterResource
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
- httpMethod: "DELETE",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}",
- urlParameters: [
- Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.clusterName,
- Parameters.dataCenterName
- ],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- responses: {
- 202: {},
- 204: {},
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const beginCreateUpdateOperationSpec: msRest.OperationSpec = {
- httpMethod: "PUT",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}",
- urlParameters: [
- Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.clusterName,
- Parameters.dataCenterName
- ],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- requestBody: {
- parameterPath: "body",
- mapper: {
- ...Mappers.DataCenterResource,
- required: true
- }
- },
- responses: {
- 200: {
- bodyMapper: Mappers.DataCenterResource
- },
- 201: {
- bodyMapper: Mappers.DataCenterResource
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
-
-const beginUpdateOperationSpec: msRest.OperationSpec = {
- httpMethod: "PATCH",
- path:
- "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/dataCenters/{dataCenterName}",
- urlParameters: [
- Parameters.subscriptionId,
- Parameters.resourceGroupName,
- Parameters.clusterName,
- Parameters.dataCenterName
- ],
- queryParameters: [Parameters.apiVersion],
- headerParameters: [Parameters.acceptLanguage],
- requestBody: {
- parameterPath: "body",
- mapper: {
- ...Mappers.DataCenterResource,
- required: true
- }
- },
- responses: {
- 200: {
- bodyMapper: Mappers.DataCenterResource
- },
- 202: {
- bodyMapper: Mappers.DataCenterResource
- },
- default: {
- bodyMapper: Mappers.CloudError
- }
- },
- serializer
-};
diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraResources.ts
index 59be05478d6e..cc3d315664f3 100644
--- a/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraResources.ts
+++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/cassandraResources.ts
@@ -33,41 +33,21 @@ export class CassandraResources {
* @param [options] The optional parameters
* @returns Promise
*/
- listCassandraKeyspaces(
- resourceGroupName: string,
- accountName: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
+ listCassandraKeyspaces(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise;
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param callback The callback
*/
- listCassandraKeyspaces(
- resourceGroupName: string,
- accountName: string,
- callback: msRest.ServiceCallback
- ): void;
+ listCassandraKeyspaces(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback): void;
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param options The optional parameters
* @param callback The callback
*/
- listCassandraKeyspaces(
- resourceGroupName: string,
- accountName: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- listCassandraKeyspaces(
- resourceGroupName: string,
- accountName: string,
- options?:
- | msRest.RequestOptionsBase
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ listCassandraKeyspaces(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ listCassandraKeyspaces(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -75,8 +55,7 @@ export class CassandraResources {
options
},
listCassandraKeyspacesOperationSpec,
- callback
- ) as Promise;
+ callback) as Promise;
}
/**
@@ -88,24 +67,14 @@ export class CassandraResources {
* @param [options] The optional parameters
* @returns Promise
*/
- getCassandraKeyspace(
- resourceGroupName: string,
- accountName: string,
- keyspaceName: string,
- options?: msRest.RequestOptionsBase
- ): Promise;
+ getCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase): Promise;
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param keyspaceName Cosmos DB keyspace name.
* @param callback The callback
*/
- getCassandraKeyspace(
- resourceGroupName: string,
- accountName: string,
- keyspaceName: string,
- callback: msRest.ServiceCallback
- ): void;
+ getCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, callback: msRest.ServiceCallback): void;
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
@@ -113,22 +82,8 @@ export class CassandraResources {
* @param options The optional parameters
* @param callback The callback
*/
- getCassandraKeyspace(
- resourceGroupName: string,
- accountName: string,
- keyspaceName: string,
- options: msRest.RequestOptionsBase,
- callback: msRest.ServiceCallback
- ): void;
- getCassandraKeyspace(
- resourceGroupName: string,
- accountName: string,
- keyspaceName: string,
- options?:
- | msRest.RequestOptionsBase
- | msRest.ServiceCallback,
- callback?: msRest.ServiceCallback
- ): Promise {
+ getCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ getCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -137,8 +92,7 @@ export class CassandraResources {
options
},
getCassandraKeyspaceOperationSpec,
- callback
- ) as Promise;
+ callback) as Promise;
}
/**
@@ -151,22 +105,9 @@ export class CassandraResources {
* @param [options] The optional parameters
* @returns Promise