@azure/arm-databricks 0.1.0 → 3.0.0-alpha.20211103.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +71 -77
- package/dist/index.js +3186 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/azureDatabricksManagementClient.d.ts +20 -0
- package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureDatabricksManagementClient.js +27 -0
- package/dist-esm/src/azureDatabricksManagementClient.js.map +1 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.d.ts +16 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.js +49 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +839 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +94 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +44 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +1298 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +17 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +149 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +7 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +14 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts +22 -0
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js +65 -0
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +347 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +169 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/vNetPeering.d.ts +81 -0
- package/dist-esm/src/operations/vNetPeering.d.ts.map +1 -0
- package/dist-esm/src/operations/vNetPeering.js +338 -0
- package/dist-esm/src/operations/vNetPeering.js.map +1 -0
- package/dist-esm/src/operations/workspaces.d.ts +107 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +500 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/vNetPeering.js +9 -0
- package/dist-esm/src/operationsInterfaces/vNetPeering.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
- package/dist-esm/test/databricks_examples.d.ts +2 -0
- package/dist-esm/test/databricks_examples.d.ts.map +1 -0
- package/dist-esm/test/databricks_examples.js +100 -0
- package/dist-esm/test/databricks_examples.js.map +1 -0
- package/package.json +72 -25
- package/review/arm-databricks.api.md +742 -0
- package/rollup.config.js +184 -27
- package/src/azureDatabricksManagementClient.ts +58 -0
- package/src/azureDatabricksManagementClientContext.ts +70 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +960 -0
- package/src/models/mappers.ts +1368 -0
- package/src/models/parameters.ts +174 -0
- package/src/operations/index.ts +14 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/outboundNetworkDependenciesEndpoints.ts +85 -0
- package/src/operations/privateEndpointConnections.ts +481 -0
- package/src/operations/privateLinkResources.ts +221 -0
- package/src/operations/vNetPeering.ts +483 -0
- package/src/operations/workspaces.ts +674 -0
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.ts +29 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
- package/src/operationsInterfaces/privateLinkResources.ts +44 -0
- package/src/operationsInterfaces/vNetPeering.ts +109 -0
- package/src/operationsInterfaces/workspaces.ts +139 -0
- package/tsconfig.json +4 -4
- package/types/arm-databricks.d.ts +1198 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-databricks.js +0 -1078
- package/dist/arm-databricks.js.map +0 -1
- package/dist/arm-databricks.min.js +0 -1
- package/dist/arm-databricks.min.js.map +0 -1
- package/esm/databricksClient.d.ts +0 -19
- package/esm/databricksClient.d.ts.map +0 -1
- package/esm/databricksClient.js +0 -34
- package/esm/databricksClient.js.map +0 -1
- package/esm/databricksClientContext.d.ts +0 -16
- package/esm/databricksClientContext.d.ts.map +0 -1
- package/esm/databricksClientContext.js +0 -56
- package/esm/databricksClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -486
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -17
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -370
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -80
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/workspacesMappers.d.ts +0 -2
- package/esm/models/workspacesMappers.d.ts.map +0 -1
- package/esm/models/workspacesMappers.js +0 -11
- package/esm/models/workspacesMappers.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/workspaces.d.ts +0 -156
- package/esm/operations/workspaces.d.ts.map +0 -1
- package/esm/operations/workspaces.js +0 -332
- package/esm/operations/workspaces.js.map +0 -1
- package/lib/databricksClient.ts +0 -44
- package/lib/databricksClientContext.ts +0 -62
- package/lib/models/index.ts +0 -520
- package/lib/models/mappers.ts +0 -396
- package/lib/models/operationsMappers.ts +0 -19
- package/lib/models/parameters.ts +0 -82
- package/lib/models/workspacesMappers.ts +0 -24
- package/lib/operations/index.ts +0 -12
- package/lib/operations/operations.ts +0 -123
- package/lib/operations/workspaces.ts +0 -474
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as Models from "./models";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
14
|
-
|
|
15
|
-
const packageName = "@azure/arm-databricks";
|
|
16
|
-
const packageVersion = "0.1.0";
|
|
17
|
-
|
|
18
|
-
export class DatabricksClientContext extends msRestAzure.AzureServiceClient {
|
|
19
|
-
credentials: msRest.ServiceClientCredentials;
|
|
20
|
-
subscriptionId: string;
|
|
21
|
-
apiVersion?: string;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Initializes a new instance of the DatabricksClient class.
|
|
25
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
26
|
-
* @param subscriptionId The ID of the target subscription.
|
|
27
|
-
* @param [options] The parameter options
|
|
28
|
-
*/
|
|
29
|
-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DatabricksClientOptions) {
|
|
30
|
-
if (credentials == undefined) {
|
|
31
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
32
|
-
}
|
|
33
|
-
if (subscriptionId == undefined) {
|
|
34
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
if (!options) {
|
|
38
|
-
options = {};
|
|
39
|
-
}
|
|
40
|
-
if(!options.userAgent) {
|
|
41
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
42
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
super(credentials, options);
|
|
46
|
-
|
|
47
|
-
this.apiVersion = '2018-04-01';
|
|
48
|
-
this.acceptLanguage = 'en-US';
|
|
49
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
50
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
51
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
52
|
-
this.credentials = credentials;
|
|
53
|
-
this.subscriptionId = subscriptionId;
|
|
54
|
-
|
|
55
|
-
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
56
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
57
|
-
}
|
|
58
|
-
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
59
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
package/lib/models/index.ts
DELETED
|
@@ -1,520 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
|
|
14
|
-
export { BaseResource, CloudError };
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @interface
|
|
19
|
-
* An interface representing WorkspaceProviderAuthorization.
|
|
20
|
-
* The workspace provider authorization.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export interface WorkspaceProviderAuthorization {
|
|
24
|
-
/**
|
|
25
|
-
* @member {string} principalId The provider's principal identifier. This is
|
|
26
|
-
* the identity that the provider will use to call ARM to manage the
|
|
27
|
-
* workspace resources.
|
|
28
|
-
*/
|
|
29
|
-
principalId: string;
|
|
30
|
-
/**
|
|
31
|
-
* @member {string} roleDefinitionId The provider's role definition
|
|
32
|
-
* identifier. This role will define all the permissions that the provider
|
|
33
|
-
* must have on the workspace's container resource group. This role
|
|
34
|
-
* definition cannot have permission to delete the resource group.
|
|
35
|
-
*/
|
|
36
|
-
roleDefinitionId: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @interface
|
|
41
|
-
* An interface representing Sku.
|
|
42
|
-
* SKU for the resource.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export interface Sku {
|
|
46
|
-
/**
|
|
47
|
-
* @member {string} name The SKU name.
|
|
48
|
-
*/
|
|
49
|
-
name: string;
|
|
50
|
-
/**
|
|
51
|
-
* @member {string} [tier] The SKU tier.
|
|
52
|
-
*/
|
|
53
|
-
tier?: string;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @interface
|
|
58
|
-
* An interface representing Resource.
|
|
59
|
-
* The core properties of ARM resources
|
|
60
|
-
*
|
|
61
|
-
* @extends BaseResource
|
|
62
|
-
*/
|
|
63
|
-
export interface Resource extends BaseResource {
|
|
64
|
-
/**
|
|
65
|
-
* @member {string} [id] Fully qualified resource Id for the resource. Ex -
|
|
66
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
67
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
68
|
-
* the server.**
|
|
69
|
-
*/
|
|
70
|
-
readonly id?: string;
|
|
71
|
-
/**
|
|
72
|
-
* @member {string} [name] The name of the resource
|
|
73
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
74
|
-
* the server.**
|
|
75
|
-
*/
|
|
76
|
-
readonly name?: string;
|
|
77
|
-
/**
|
|
78
|
-
* @member {string} [type] The type of the resource. Ex-
|
|
79
|
-
* Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
|
|
80
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
81
|
-
* the server.**
|
|
82
|
-
*/
|
|
83
|
-
readonly type?: string;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @interface
|
|
88
|
-
* An interface representing TrackedResource.
|
|
89
|
-
* The resource model definition for a ARM tracked top level resource
|
|
90
|
-
*
|
|
91
|
-
* @extends Resource
|
|
92
|
-
*/
|
|
93
|
-
export interface TrackedResource extends Resource {
|
|
94
|
-
/**
|
|
95
|
-
* @member {{ [propertyName: string]: string }} [tags] Resource tags.
|
|
96
|
-
*/
|
|
97
|
-
tags?: { [propertyName: string]: string };
|
|
98
|
-
/**
|
|
99
|
-
* @member {string} location The geo-location where the resource lives
|
|
100
|
-
*/
|
|
101
|
-
location: string;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @interface
|
|
106
|
-
* An interface representing Workspace.
|
|
107
|
-
* Information about workspace.
|
|
108
|
-
*
|
|
109
|
-
* @extends TrackedResource
|
|
110
|
-
*/
|
|
111
|
-
export interface Workspace extends TrackedResource {
|
|
112
|
-
/**
|
|
113
|
-
* @member {string} managedResourceGroupId The managed resource group Id.
|
|
114
|
-
*/
|
|
115
|
-
managedResourceGroupId: string;
|
|
116
|
-
/**
|
|
117
|
-
* @member {any} [parameters] Name and value pairs that define the workspace
|
|
118
|
-
* parameters.
|
|
119
|
-
*/
|
|
120
|
-
parameters?: any;
|
|
121
|
-
/**
|
|
122
|
-
* @member {ProvisioningState} [provisioningState] The workspace provisioning
|
|
123
|
-
* state. Possible values include: 'Accepted', 'Running', 'Ready',
|
|
124
|
-
* 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed',
|
|
125
|
-
* 'Succeeded', 'Updating'
|
|
126
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
127
|
-
* the server.**
|
|
128
|
-
*/
|
|
129
|
-
readonly provisioningState?: ProvisioningState;
|
|
130
|
-
/**
|
|
131
|
-
* @member {string} [uiDefinitionUri] The blob URI where the UI definition
|
|
132
|
-
* file is located.
|
|
133
|
-
*/
|
|
134
|
-
uiDefinitionUri?: string;
|
|
135
|
-
/**
|
|
136
|
-
* @member {WorkspaceProviderAuthorization[]} [authorizations] The workspace
|
|
137
|
-
* provider authorizations.
|
|
138
|
-
*/
|
|
139
|
-
authorizations?: WorkspaceProviderAuthorization[];
|
|
140
|
-
/**
|
|
141
|
-
* @member {Sku} [sku] The SKU of the resource.
|
|
142
|
-
*/
|
|
143
|
-
sku?: Sku;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* @interface
|
|
148
|
-
* An interface representing WorkspaceUpdate.
|
|
149
|
-
* An update to a workspace.
|
|
150
|
-
*
|
|
151
|
-
*/
|
|
152
|
-
export interface WorkspaceUpdate {
|
|
153
|
-
/**
|
|
154
|
-
* @member {{ [propertyName: string]: string }} [tags] Resource tags.
|
|
155
|
-
*/
|
|
156
|
-
tags?: { [propertyName: string]: string };
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* @interface
|
|
161
|
-
* An interface representing ErrorDetail.
|
|
162
|
-
* @summary Error details.
|
|
163
|
-
*
|
|
164
|
-
*/
|
|
165
|
-
export interface ErrorDetail {
|
|
166
|
-
/**
|
|
167
|
-
* @member {string} code The error's code.
|
|
168
|
-
*/
|
|
169
|
-
code: string;
|
|
170
|
-
/**
|
|
171
|
-
* @member {string} message A human readable error message.
|
|
172
|
-
*/
|
|
173
|
-
message: string;
|
|
174
|
-
/**
|
|
175
|
-
* @member {string} [target] Indicates which property in the request is
|
|
176
|
-
* responsible for the error.
|
|
177
|
-
*/
|
|
178
|
-
target?: string;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* @interface
|
|
183
|
-
* An interface representing ErrorInfo.
|
|
184
|
-
* @summary The code and message for an error.
|
|
185
|
-
*
|
|
186
|
-
*/
|
|
187
|
-
export interface ErrorInfo {
|
|
188
|
-
/**
|
|
189
|
-
* @member {string} code A machine readable error code.
|
|
190
|
-
*/
|
|
191
|
-
code: string;
|
|
192
|
-
/**
|
|
193
|
-
* @member {string} message A human readable error message.
|
|
194
|
-
*/
|
|
195
|
-
message: string;
|
|
196
|
-
/**
|
|
197
|
-
* @member {ErrorDetail[]} [details] error details.
|
|
198
|
-
*/
|
|
199
|
-
details?: ErrorDetail[];
|
|
200
|
-
/**
|
|
201
|
-
* @member {string} [innererror] Inner error details if they exist.
|
|
202
|
-
*/
|
|
203
|
-
innererror?: string;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* @interface
|
|
208
|
-
* An interface representing ErrorResponse.
|
|
209
|
-
* @summary Error response.
|
|
210
|
-
*
|
|
211
|
-
* Contains details when the response code indicates an error.
|
|
212
|
-
*
|
|
213
|
-
*/
|
|
214
|
-
export interface ErrorResponse {
|
|
215
|
-
/**
|
|
216
|
-
* @member {ErrorInfo} error The error details.
|
|
217
|
-
*/
|
|
218
|
-
error: ErrorInfo;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* @interface
|
|
223
|
-
* An interface representing OperationDisplay.
|
|
224
|
-
* The object that represents the operation.
|
|
225
|
-
*
|
|
226
|
-
*/
|
|
227
|
-
export interface OperationDisplay {
|
|
228
|
-
/**
|
|
229
|
-
* @member {string} [provider] Service provider: Microsoft.ResourceProvider
|
|
230
|
-
*/
|
|
231
|
-
provider?: string;
|
|
232
|
-
/**
|
|
233
|
-
* @member {string} [resource] Resource on which the operation is performed.
|
|
234
|
-
*/
|
|
235
|
-
resource?: string;
|
|
236
|
-
/**
|
|
237
|
-
* @member {string} [operation] Operation type: Read, write, delete, etc.
|
|
238
|
-
*/
|
|
239
|
-
operation?: string;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* @interface
|
|
244
|
-
* An interface representing Operation.
|
|
245
|
-
* REST API operation
|
|
246
|
-
*
|
|
247
|
-
*/
|
|
248
|
-
export interface Operation {
|
|
249
|
-
/**
|
|
250
|
-
* @member {string} [name] Operation name: {provider}/{resource}/{operation}
|
|
251
|
-
*/
|
|
252
|
-
name?: string;
|
|
253
|
-
/**
|
|
254
|
-
* @member {OperationDisplay} [display] The object that represents the
|
|
255
|
-
* operation.
|
|
256
|
-
*/
|
|
257
|
-
display?: OperationDisplay;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* @interface
|
|
262
|
-
* An interface representing DatabricksClientOptions.
|
|
263
|
-
* @extends AzureServiceClientOptions
|
|
264
|
-
*/
|
|
265
|
-
export interface DatabricksClientOptions extends AzureServiceClientOptions {
|
|
266
|
-
/**
|
|
267
|
-
* @member {string} [baseUri]
|
|
268
|
-
*/
|
|
269
|
-
baseUri?: string;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* @interface
|
|
275
|
-
* An interface representing the WorkspaceListResult.
|
|
276
|
-
* List of workspaces.
|
|
277
|
-
*
|
|
278
|
-
* @extends Array<Workspace>
|
|
279
|
-
*/
|
|
280
|
-
export interface WorkspaceListResult extends Array<Workspace> {
|
|
281
|
-
/**
|
|
282
|
-
* @member {string} [nextLink] The URL to use for getting the next set of
|
|
283
|
-
* results.
|
|
284
|
-
*/
|
|
285
|
-
nextLink?: string;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* @interface
|
|
290
|
-
* An interface representing the OperationListResult.
|
|
291
|
-
* Result of the request to list Resource Provider operations. It contains a
|
|
292
|
-
* list of operations and a URL link to get the next set of results.
|
|
293
|
-
*
|
|
294
|
-
* @extends Array<Operation>
|
|
295
|
-
*/
|
|
296
|
-
export interface OperationListResult extends Array<Operation> {
|
|
297
|
-
/**
|
|
298
|
-
* @member {string} [nextLink] URL to get the next set of operation list
|
|
299
|
-
* results if there are any.
|
|
300
|
-
*/
|
|
301
|
-
nextLink?: string;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Defines values for ProvisioningState.
|
|
306
|
-
* Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting',
|
|
307
|
-
* 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
|
|
308
|
-
* @readonly
|
|
309
|
-
* @enum {string}
|
|
310
|
-
*/
|
|
311
|
-
export type ProvisioningState = 'Accepted' | 'Running' | 'Ready' | 'Creating' | 'Created' | 'Deleting' | 'Deleted' | 'Canceled' | 'Failed' | 'Succeeded' | 'Updating';
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* Contains response data for the get operation.
|
|
315
|
-
*/
|
|
316
|
-
export type WorkspacesGetResponse = Workspace & {
|
|
317
|
-
/**
|
|
318
|
-
* The underlying HTTP response.
|
|
319
|
-
*/
|
|
320
|
-
_response: msRest.HttpResponse & {
|
|
321
|
-
/**
|
|
322
|
-
* The response body as text (string format)
|
|
323
|
-
*/
|
|
324
|
-
bodyAsText: string;
|
|
325
|
-
/**
|
|
326
|
-
* The response body as parsed JSON or XML
|
|
327
|
-
*/
|
|
328
|
-
parsedBody: Workspace;
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* Contains response data for the createOrUpdate operation.
|
|
334
|
-
*/
|
|
335
|
-
export type WorkspacesCreateOrUpdateResponse = Workspace & {
|
|
336
|
-
/**
|
|
337
|
-
* The underlying HTTP response.
|
|
338
|
-
*/
|
|
339
|
-
_response: msRest.HttpResponse & {
|
|
340
|
-
/**
|
|
341
|
-
* The response body as text (string format)
|
|
342
|
-
*/
|
|
343
|
-
bodyAsText: string;
|
|
344
|
-
/**
|
|
345
|
-
* The response body as parsed JSON or XML
|
|
346
|
-
*/
|
|
347
|
-
parsedBody: Workspace;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* Contains response data for the update operation.
|
|
353
|
-
*/
|
|
354
|
-
export type WorkspacesUpdateResponse = Workspace & {
|
|
355
|
-
/**
|
|
356
|
-
* The underlying HTTP response.
|
|
357
|
-
*/
|
|
358
|
-
_response: msRest.HttpResponse & {
|
|
359
|
-
/**
|
|
360
|
-
* The response body as text (string format)
|
|
361
|
-
*/
|
|
362
|
-
bodyAsText: string;
|
|
363
|
-
/**
|
|
364
|
-
* The response body as parsed JSON or XML
|
|
365
|
-
*/
|
|
366
|
-
parsedBody: Workspace;
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* Contains response data for the listByResourceGroup operation.
|
|
372
|
-
*/
|
|
373
|
-
export type WorkspacesListByResourceGroupResponse = WorkspaceListResult & {
|
|
374
|
-
/**
|
|
375
|
-
* The underlying HTTP response.
|
|
376
|
-
*/
|
|
377
|
-
_response: msRest.HttpResponse & {
|
|
378
|
-
/**
|
|
379
|
-
* The response body as text (string format)
|
|
380
|
-
*/
|
|
381
|
-
bodyAsText: string;
|
|
382
|
-
/**
|
|
383
|
-
* The response body as parsed JSON or XML
|
|
384
|
-
*/
|
|
385
|
-
parsedBody: WorkspaceListResult;
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* Contains response data for the listBySubscription operation.
|
|
391
|
-
*/
|
|
392
|
-
export type WorkspacesListBySubscriptionResponse = WorkspaceListResult & {
|
|
393
|
-
/**
|
|
394
|
-
* The underlying HTTP response.
|
|
395
|
-
*/
|
|
396
|
-
_response: msRest.HttpResponse & {
|
|
397
|
-
/**
|
|
398
|
-
* The response body as text (string format)
|
|
399
|
-
*/
|
|
400
|
-
bodyAsText: string;
|
|
401
|
-
/**
|
|
402
|
-
* The response body as parsed JSON or XML
|
|
403
|
-
*/
|
|
404
|
-
parsedBody: WorkspaceListResult;
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* Contains response data for the beginCreateOrUpdate operation.
|
|
410
|
-
*/
|
|
411
|
-
export type WorkspacesBeginCreateOrUpdateResponse = Workspace & {
|
|
412
|
-
/**
|
|
413
|
-
* The underlying HTTP response.
|
|
414
|
-
*/
|
|
415
|
-
_response: msRest.HttpResponse & {
|
|
416
|
-
/**
|
|
417
|
-
* The response body as text (string format)
|
|
418
|
-
*/
|
|
419
|
-
bodyAsText: string;
|
|
420
|
-
/**
|
|
421
|
-
* The response body as parsed JSON or XML
|
|
422
|
-
*/
|
|
423
|
-
parsedBody: Workspace;
|
|
424
|
-
};
|
|
425
|
-
};
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* Contains response data for the beginUpdate operation.
|
|
429
|
-
*/
|
|
430
|
-
export type WorkspacesBeginUpdateResponse = Workspace & {
|
|
431
|
-
/**
|
|
432
|
-
* The underlying HTTP response.
|
|
433
|
-
*/
|
|
434
|
-
_response: msRest.HttpResponse & {
|
|
435
|
-
/**
|
|
436
|
-
* The response body as text (string format)
|
|
437
|
-
*/
|
|
438
|
-
bodyAsText: string;
|
|
439
|
-
/**
|
|
440
|
-
* The response body as parsed JSON or XML
|
|
441
|
-
*/
|
|
442
|
-
parsedBody: Workspace;
|
|
443
|
-
};
|
|
444
|
-
};
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* Contains response data for the listByResourceGroupNext operation.
|
|
448
|
-
*/
|
|
449
|
-
export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult & {
|
|
450
|
-
/**
|
|
451
|
-
* The underlying HTTP response.
|
|
452
|
-
*/
|
|
453
|
-
_response: msRest.HttpResponse & {
|
|
454
|
-
/**
|
|
455
|
-
* The response body as text (string format)
|
|
456
|
-
*/
|
|
457
|
-
bodyAsText: string;
|
|
458
|
-
/**
|
|
459
|
-
* The response body as parsed JSON or XML
|
|
460
|
-
*/
|
|
461
|
-
parsedBody: WorkspaceListResult;
|
|
462
|
-
};
|
|
463
|
-
};
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* Contains response data for the listBySubscriptionNext operation.
|
|
467
|
-
*/
|
|
468
|
-
export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult & {
|
|
469
|
-
/**
|
|
470
|
-
* The underlying HTTP response.
|
|
471
|
-
*/
|
|
472
|
-
_response: msRest.HttpResponse & {
|
|
473
|
-
/**
|
|
474
|
-
* The response body as text (string format)
|
|
475
|
-
*/
|
|
476
|
-
bodyAsText: string;
|
|
477
|
-
/**
|
|
478
|
-
* The response body as parsed JSON or XML
|
|
479
|
-
*/
|
|
480
|
-
parsedBody: WorkspaceListResult;
|
|
481
|
-
};
|
|
482
|
-
};
|
|
483
|
-
|
|
484
|
-
/**
|
|
485
|
-
* Contains response data for the list operation.
|
|
486
|
-
*/
|
|
487
|
-
export type OperationsListResponse = OperationListResult & {
|
|
488
|
-
/**
|
|
489
|
-
* The underlying HTTP response.
|
|
490
|
-
*/
|
|
491
|
-
_response: msRest.HttpResponse & {
|
|
492
|
-
/**
|
|
493
|
-
* The response body as text (string format)
|
|
494
|
-
*/
|
|
495
|
-
bodyAsText: string;
|
|
496
|
-
/**
|
|
497
|
-
* The response body as parsed JSON or XML
|
|
498
|
-
*/
|
|
499
|
-
parsedBody: OperationListResult;
|
|
500
|
-
};
|
|
501
|
-
};
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* Contains response data for the listNext operation.
|
|
505
|
-
*/
|
|
506
|
-
export type OperationsListNextResponse = OperationListResult & {
|
|
507
|
-
/**
|
|
508
|
-
* The underlying HTTP response.
|
|
509
|
-
*/
|
|
510
|
-
_response: msRest.HttpResponse & {
|
|
511
|
-
/**
|
|
512
|
-
* The response body as text (string format)
|
|
513
|
-
*/
|
|
514
|
-
bodyAsText: string;
|
|
515
|
-
/**
|
|
516
|
-
* The response body as parsed JSON or XML
|
|
517
|
-
*/
|
|
518
|
-
parsedBody: OperationListResult;
|
|
519
|
-
};
|
|
520
|
-
};
|