@azure/synapse-artifacts 1.0.0-beta.13 → 1.0.0-beta.15
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/dist/index.js +10608 -9343
- package/dist/index.js.map +1 -1
- package/dist-esm/src/artifactsClient.js +8 -8
- package/dist-esm/src/artifactsClient.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.js +108 -62
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.js +8925 -7670
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +160 -160
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/bigDataPools.js +8 -8
- package/dist-esm/src/operations/bigDataPools.js.map +1 -1
- package/dist-esm/src/operations/dataFlowDebugSession.js +42 -47
- package/dist-esm/src/operations/dataFlowDebugSession.js.map +1 -1
- package/dist-esm/src/operations/dataFlowOperations.js +43 -48
- package/dist-esm/src/operations/dataFlowOperations.js.map +1 -1
- package/dist-esm/src/operations/datasetOperations.js +43 -48
- package/dist-esm/src/operations/datasetOperations.js.map +1 -1
- package/dist-esm/src/operations/integrationRuntimes.js +8 -8
- package/dist-esm/src/operations/integrationRuntimes.js.map +1 -1
- package/dist-esm/src/operations/kqlScriptOperations.js +30 -30
- package/dist-esm/src/operations/kqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operations/kqlScripts.js +12 -17
- package/dist-esm/src/operations/kqlScripts.js.map +1 -1
- package/dist-esm/src/operations/library.js +47 -52
- package/dist-esm/src/operations/library.js.map +1 -1
- package/dist-esm/src/operations/linkConnectionOperations.js +53 -58
- package/dist-esm/src/operations/linkConnectionOperations.js.map +1 -1
- package/dist-esm/src/operations/linkedServiceOperations.js +43 -48
- package/dist-esm/src/operations/linkedServiceOperations.js.map +1 -1
- package/dist-esm/src/operations/metastore.js +15 -15
- package/dist-esm/src/operations/metastore.js.map +1 -1
- package/dist-esm/src/operations/notebookOperationResult.js +3 -3
- package/dist-esm/src/operations/notebookOperationResult.js.map +1 -1
- package/dist-esm/src/operations/notebookOperations.js +55 -65
- package/dist-esm/src/operations/notebookOperations.js.map +1 -1
- package/dist-esm/src/operations/pipelineOperations.js +48 -53
- package/dist-esm/src/operations/pipelineOperations.js.map +1 -1
- package/dist-esm/src/operations/pipelineRunOperations.js +16 -16
- package/dist-esm/src/operations/pipelineRunOperations.js.map +1 -1
- package/dist-esm/src/operations/runNotebook.js +25 -25
- package/dist-esm/src/operations/runNotebook.js.map +1 -1
- package/dist-esm/src/operations/sparkConfigurationOperations.js +43 -48
- package/dist-esm/src/operations/sparkConfigurationOperations.js.map +1 -1
- package/dist-esm/src/operations/sparkJobDefinitionOperations.js +65 -70
- package/dist-esm/src/operations/sparkJobDefinitionOperations.js.map +1 -1
- package/dist-esm/src/operations/sqlPools.js +8 -8
- package/dist-esm/src/operations/sqlPools.js.map +1 -1
- package/dist-esm/src/operations/sqlScriptOperations.js +43 -48
- package/dist-esm/src/operations/sqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operations/triggerOperations.js +76 -81
- package/dist-esm/src/operations/triggerOperations.js.map +1 -1
- package/dist-esm/src/operations/triggerRunOperations.js +12 -12
- package/dist-esm/src/operations/triggerRunOperations.js.map +1 -1
- package/dist-esm/src/operations/workspaceGitRepoManagement.js +4 -4
- package/dist-esm/src/operations/workspaceGitRepoManagement.js.map +1 -1
- package/dist-esm/src/operations/workspaceOperations.js +4 -4
- package/dist-esm/src/operations/workspaceOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/bigDataPools.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/dataFlowOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/datasetOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/integrationRuntimes.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/kqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/kqlScripts.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/library.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/linkConnectionOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/linkedServiceOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/metastore.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/notebookOperationResult.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/notebookOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/pipelineOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/pipelineRunOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/runNotebook.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sparkConfigurationOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sqlPools.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sqlScriptOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/triggerOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/triggerRunOperations.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspaceGitRepoManagement.js.map +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/src/tracing.js +1 -1
- package/dist-esm/src/tracing.js.map +1 -1
- package/package.json +18 -17
- package/types/synapse-artifacts.d.ts +696 -91
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
-
import { LinkConnectionOperationsImpl, RunNotebookImpl, KqlScriptsImpl, KqlScriptOperationsImpl, MetastoreImpl, SparkConfigurationOperationsImpl, BigDataPoolsImpl, DataFlowOperationsImpl, DataFlowDebugSessionImpl, DatasetOperationsImpl, WorkspaceGitRepoManagementImpl, IntegrationRuntimesImpl, LibraryImpl, LinkedServiceOperationsImpl, NotebookOperationsImpl, NotebookOperationResultImpl, PipelineOperationsImpl, PipelineRunOperationsImpl, SparkJobDefinitionOperationsImpl, SqlPoolsImpl, SqlScriptOperationsImpl, TriggerOperationsImpl, TriggerRunOperationsImpl, WorkspaceOperationsImpl } from "./operations";
|
|
10
|
+
import { LinkConnectionOperationsImpl, RunNotebookImpl, KqlScriptsImpl, KqlScriptOperationsImpl, MetastoreImpl, SparkConfigurationOperationsImpl, BigDataPoolsImpl, DataFlowOperationsImpl, DataFlowDebugSessionImpl, DatasetOperationsImpl, WorkspaceGitRepoManagementImpl, IntegrationRuntimesImpl, LibraryImpl, LinkedServiceOperationsImpl, NotebookOperationsImpl, NotebookOperationResultImpl, PipelineOperationsImpl, PipelineRunOperationsImpl, SparkJobDefinitionOperationsImpl, SqlPoolsImpl, SqlScriptOperationsImpl, TriggerOperationsImpl, TriggerRunOperationsImpl, WorkspaceOperationsImpl, } from "./operations";
|
|
11
11
|
export class ArtifactsClient extends coreClient.ServiceClient {
|
|
12
12
|
/**
|
|
13
13
|
* Initializes a new instance of the ArtifactsClient class.
|
|
14
14
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
15
15
|
* @param endpoint The workspace development endpoint, for example
|
|
16
|
-
* https://myworkspace.dev.azuresynapse.net
|
|
16
|
+
* `https://myworkspace.dev.azuresynapse.net`.
|
|
17
17
|
* @param options The parameter options
|
|
18
18
|
*/
|
|
19
19
|
constructor(credentials, endpoint, options) {
|
|
@@ -30,9 +30,9 @@ export class ArtifactsClient extends coreClient.ServiceClient {
|
|
|
30
30
|
}
|
|
31
31
|
const defaults = {
|
|
32
32
|
requestContentType: "application/json; charset=utf-8",
|
|
33
|
-
credential: credentials
|
|
33
|
+
credential: credentials,
|
|
34
34
|
};
|
|
35
|
-
const packageDetails = `azsdk-js-synapse-artifacts/1.0.0-beta.
|
|
35
|
+
const packageDetails = `azsdk-js-synapse-artifacts/1.0.0-beta.15`;
|
|
36
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
37
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
38
38
|
: `${packageDetails}`;
|
|
@@ -40,7 +40,7 @@ export class ArtifactsClient extends coreClient.ServiceClient {
|
|
|
40
40
|
options.credentialScopes = ["https://dev.azuresynapse.net/.default"];
|
|
41
41
|
}
|
|
42
42
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
43
|
-
userAgentPrefix
|
|
43
|
+
userAgentPrefix,
|
|
44
44
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "{endpoint}" });
|
|
45
45
|
super(optionsWithDefaults);
|
|
46
46
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -54,14 +54,14 @@ export class ArtifactsClient extends coreClient.ServiceClient {
|
|
|
54
54
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
55
55
|
!bearerTokenAuthenticationPolicyFound) {
|
|
56
56
|
this.pipeline.removePolicy({
|
|
57
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
57
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
58
58
|
});
|
|
59
59
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
60
60
|
credential: credentials,
|
|
61
61
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
62
62
|
challengeCallbacks: {
|
|
63
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
64
|
-
}
|
|
63
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
64
|
+
},
|
|
65
65
|
}));
|
|
66
66
|
}
|
|
67
67
|
// Parameter assignments
|
|
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,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,CAAC;QACrE,IAAI,CAAC,kBAAkB,GAAG,IAAI,sBAAsB,CAAC,IAAI,CAAC,CAAC;QAC3D,IAAI,CAAC,qBAAqB,GAAG,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC;QACjE,IAAI,CAAC,4BAA4B,GAAG,IAAI,gCAAgC,CACtE,IAAI,CACL,CAAC;QACF,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,mBAAmB,GAAG,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC;QAC7D,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;QAC/D,IAAI,CAAC,mBAAmB,GAAG,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAC/D,CAAC;CA0BF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n LinkConnectionOperationsImpl,\n RunNotebookImpl,\n KqlScriptsImpl,\n KqlScriptOperationsImpl,\n MetastoreImpl,\n SparkConfigurationOperationsImpl,\n BigDataPoolsImpl,\n DataFlowOperationsImpl,\n DataFlowDebugSessionImpl,\n DatasetOperationsImpl,\n WorkspaceGitRepoManagementImpl,\n IntegrationRuntimesImpl,\n LibraryImpl,\n LinkedServiceOperationsImpl,\n NotebookOperationsImpl,\n NotebookOperationResultImpl,\n PipelineOperationsImpl,\n PipelineRunOperationsImpl,\n SparkJobDefinitionOperationsImpl,\n SqlPoolsImpl,\n SqlScriptOperationsImpl,\n TriggerOperationsImpl,\n TriggerRunOperationsImpl,\n WorkspaceOperationsImpl\n} from \"./operations\";\nimport {\n LinkConnectionOperations,\n RunNotebook,\n KqlScripts,\n KqlScriptOperations,\n Metastore,\n SparkConfigurationOperations,\n BigDataPools,\n DataFlowOperations,\n DataFlowDebugSession,\n DatasetOperations,\n WorkspaceGitRepoManagement,\n IntegrationRuntimes,\n Library,\n LinkedServiceOperations,\n NotebookOperations,\n NotebookOperationResult,\n PipelineOperations,\n PipelineRunOperations,\n SparkJobDefinitionOperations,\n SqlPools,\n SqlScriptOperations,\n TriggerOperations,\n TriggerRunOperations,\n WorkspaceOperations\n} from \"./operationsInterfaces\";\nimport { ArtifactsClientOptionalParams } from \"./models\";\n\nexport class ArtifactsClient extends coreClient.ServiceClient {\n endpoint: string;\n\n /**\n * Initializes a new instance of the ArtifactsClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param endpoint The workspace development endpoint, for example\n * https://myworkspace.dev.azuresynapse.net.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n endpoint: string,\n options?: ArtifactsClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ArtifactsClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-synapse-artifacts/1.0.0-beta.13`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://dev.azuresynapse.net/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{endpoint}\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.endpoint = endpoint;\n this.linkConnectionOperations = new LinkConnectionOperationsImpl(this);\n this.runNotebook = new RunNotebookImpl(this);\n this.kqlScripts = new KqlScriptsImpl(this);\n this.kqlScriptOperations = new KqlScriptOperationsImpl(this);\n this.metastore = new MetastoreImpl(this);\n this.sparkConfigurationOperations = new SparkConfigurationOperationsImpl(\n this\n );\n this.bigDataPools = new BigDataPoolsImpl(this);\n this.dataFlowOperations = new DataFlowOperationsImpl(this);\n this.dataFlowDebugSession = new DataFlowDebugSessionImpl(this);\n this.datasetOperations = new DatasetOperationsImpl(this);\n this.workspaceGitRepoManagement = new WorkspaceGitRepoManagementImpl(this);\n this.integrationRuntimes = new IntegrationRuntimesImpl(this);\n this.library = new LibraryImpl(this);\n this.linkedServiceOperations = new LinkedServiceOperationsImpl(this);\n this.notebookOperations = new NotebookOperationsImpl(this);\n this.notebookOperationResult = new NotebookOperationResultImpl(this);\n this.pipelineOperations = new PipelineOperationsImpl(this);\n this.pipelineRunOperations = new PipelineRunOperationsImpl(this);\n this.sparkJobDefinitionOperations = new SparkJobDefinitionOperationsImpl(\n this\n );\n this.sqlPools = new SqlPoolsImpl(this);\n this.sqlScriptOperations = new SqlScriptOperationsImpl(this);\n this.triggerOperations = new TriggerOperationsImpl(this);\n this.triggerRunOperations = new TriggerRunOperationsImpl(this);\n this.workspaceOperations = new WorkspaceOperationsImpl(this);\n }\n\n linkConnectionOperations: LinkConnectionOperations;\n runNotebook: RunNotebook;\n kqlScripts: KqlScripts;\n kqlScriptOperations: KqlScriptOperations;\n metastore: Metastore;\n sparkConfigurationOperations: SparkConfigurationOperations;\n bigDataPools: BigDataPools;\n dataFlowOperations: DataFlowOperations;\n dataFlowDebugSession: DataFlowDebugSession;\n datasetOperations: DatasetOperations;\n workspaceGitRepoManagement: WorkspaceGitRepoManagement;\n integrationRuntimes: IntegrationRuntimes;\n library: Library;\n linkedServiceOperations: LinkedServiceOperations;\n notebookOperations: NotebookOperations;\n notebookOperationResult: NotebookOperationResult;\n pipelineOperations: PipelineOperations;\n pipelineRunOperations: PipelineRunOperations;\n sparkJobDefinitionOperations: SparkJobDefinitionOperations;\n sqlPools: SqlPools;\n sqlScriptOperations: SqlScriptOperations;\n triggerOperations: TriggerOperations;\n triggerRunOperations: TriggerRunOperations;\n workspaceOperations: WorkspaceOperations;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"artifactsClient.js","sourceRoot":"","sources":["../../src/artifactsClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,4BAA4B,EAC5B,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,aAAa,EACb,gCAAgC,EAChC,gBAAgB,EAChB,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,EACrB,8BAA8B,EAC9B,uBAAuB,EACvB,WAAW,EACX,2BAA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AI,CAAC,mBAAmB,GAAG,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC;QAC7D,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;QAC/D,IAAI,CAAC,mBAAmB,GAAG,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAC/D,CAAC;CA0BF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n LinkConnectionOperationsImpl,\n RunNotebookImpl,\n KqlScriptsImpl,\n KqlScriptOperationsImpl,\n MetastoreImpl,\n SparkConfigurationOperationsImpl,\n BigDataPoolsImpl,\n DataFlowOperationsImpl,\n DataFlowDebugSessionImpl,\n DatasetOperationsImpl,\n WorkspaceGitRepoManagementImpl,\n IntegrationRuntimesImpl,\n LibraryImpl,\n LinkedServiceOperationsImpl,\n NotebookOperationsImpl,\n NotebookOperationResultImpl,\n PipelineOperationsImpl,\n PipelineRunOperationsImpl,\n SparkJobDefinitionOperationsImpl,\n SqlPoolsImpl,\n SqlScriptOperationsImpl,\n TriggerOperationsImpl,\n TriggerRunOperationsImpl,\n WorkspaceOperationsImpl,\n} from \"./operations\";\nimport {\n LinkConnectionOperations,\n RunNotebook,\n KqlScripts,\n KqlScriptOperations,\n Metastore,\n SparkConfigurationOperations,\n BigDataPools,\n DataFlowOperations,\n DataFlowDebugSession,\n DatasetOperations,\n WorkspaceGitRepoManagement,\n IntegrationRuntimes,\n Library,\n LinkedServiceOperations,\n NotebookOperations,\n NotebookOperationResult,\n PipelineOperations,\n PipelineRunOperations,\n SparkJobDefinitionOperations,\n SqlPools,\n SqlScriptOperations,\n TriggerOperations,\n TriggerRunOperations,\n WorkspaceOperations,\n} from \"./operationsInterfaces\";\nimport { ArtifactsClientOptionalParams } from \"./models\";\n\nexport class ArtifactsClient extends coreClient.ServiceClient {\n endpoint: string;\n\n /**\n * Initializes a new instance of the ArtifactsClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param endpoint The workspace development endpoint, for example\n * `https://myworkspace.dev.azuresynapse.net`.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n endpoint: string,\n options?: ArtifactsClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ArtifactsClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-synapse-artifacts/1.0.0-beta.15`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://dev.azuresynapse.net/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{endpoint}\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.endpoint = endpoint;\n this.linkConnectionOperations = new LinkConnectionOperationsImpl(this);\n this.runNotebook = new RunNotebookImpl(this);\n this.kqlScripts = new KqlScriptsImpl(this);\n this.kqlScriptOperations = new KqlScriptOperationsImpl(this);\n this.metastore = new MetastoreImpl(this);\n this.sparkConfigurationOperations = new SparkConfigurationOperationsImpl(\n this,\n );\n this.bigDataPools = new BigDataPoolsImpl(this);\n this.dataFlowOperations = new DataFlowOperationsImpl(this);\n this.dataFlowDebugSession = new DataFlowDebugSessionImpl(this);\n this.datasetOperations = new DatasetOperationsImpl(this);\n this.workspaceGitRepoManagement = new WorkspaceGitRepoManagementImpl(this);\n this.integrationRuntimes = new IntegrationRuntimesImpl(this);\n this.library = new LibraryImpl(this);\n this.linkedServiceOperations = new LinkedServiceOperationsImpl(this);\n this.notebookOperations = new NotebookOperationsImpl(this);\n this.notebookOperationResult = new NotebookOperationResultImpl(this);\n this.pipelineOperations = new PipelineOperationsImpl(this);\n this.pipelineRunOperations = new PipelineRunOperationsImpl(this);\n this.sparkJobDefinitionOperations = new SparkJobDefinitionOperationsImpl(\n this,\n );\n this.sqlPools = new SqlPoolsImpl(this);\n this.sqlScriptOperations = new SqlScriptOperationsImpl(this);\n this.triggerOperations = new TriggerOperationsImpl(this);\n this.triggerRunOperations = new TriggerRunOperationsImpl(this);\n this.workspaceOperations = new WorkspaceOperationsImpl(this);\n }\n\n linkConnectionOperations: LinkConnectionOperations;\n runNotebook: RunNotebook;\n kqlScripts: KqlScripts;\n kqlScriptOperations: KqlScriptOperations;\n metastore: Metastore;\n sparkConfigurationOperations: SparkConfigurationOperations;\n bigDataPools: BigDataPools;\n dataFlowOperations: DataFlowOperations;\n dataFlowDebugSession: DataFlowDebugSession;\n datasetOperations: DatasetOperations;\n workspaceGitRepoManagement: WorkspaceGitRepoManagement;\n integrationRuntimes: IntegrationRuntimes;\n library: Library;\n linkedServiceOperations: LinkedServiceOperations;\n notebookOperations: NotebookOperations;\n notebookOperationResult: NotebookOperationResult;\n pipelineOperations: PipelineOperations;\n pipelineRunOperations: PipelineRunOperations;\n sparkJobDefinitionOperations: SparkJobDefinitionOperations;\n sqlPools: SqlPools;\n sqlScriptOperations: SqlScriptOperations;\n triggerOperations: TriggerOperations;\n triggerRunOperations: TriggerRunOperations;\n workspaceOperations: WorkspaceOperations;\n}\n"]}
|
package/dist-esm/src/lroImpl.js
CHANGED
|
@@ -15,7 +15,7 @@ export function createLroSpec(inputs) {
|
|
|
15
15
|
sendPollRequest: (path, options) => {
|
|
16
16
|
const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
|
|
17
17
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAQH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike }
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAQH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|
|
@@ -601,6 +601,14 @@ export var KnownGoogleBigQueryAuthenticationType;
|
|
|
601
601
|
/** UserAuthentication */
|
|
602
602
|
KnownGoogleBigQueryAuthenticationType["UserAuthentication"] = "UserAuthentication";
|
|
603
603
|
})(KnownGoogleBigQueryAuthenticationType || (KnownGoogleBigQueryAuthenticationType = {}));
|
|
604
|
+
/** Known values of {@link GoogleBigQueryV2AuthenticationType} that the service accepts. */
|
|
605
|
+
export var KnownGoogleBigQueryV2AuthenticationType;
|
|
606
|
+
(function (KnownGoogleBigQueryV2AuthenticationType) {
|
|
607
|
+
/** ServiceAuthentication */
|
|
608
|
+
KnownGoogleBigQueryV2AuthenticationType["ServiceAuthentication"] = "ServiceAuthentication";
|
|
609
|
+
/** UserAuthentication */
|
|
610
|
+
KnownGoogleBigQueryV2AuthenticationType["UserAuthentication"] = "UserAuthentication";
|
|
611
|
+
})(KnownGoogleBigQueryV2AuthenticationType || (KnownGoogleBigQueryV2AuthenticationType = {}));
|
|
604
612
|
/** Known values of {@link HBaseAuthenticationType} that the service accepts. */
|
|
605
613
|
export var KnownHBaseAuthenticationType;
|
|
606
614
|
(function (KnownHBaseAuthenticationType) {
|
|
@@ -717,50 +725,24 @@ export var KnownGoogleAdWordsAuthenticationType;
|
|
|
717
725
|
/** UserAuthentication */
|
|
718
726
|
KnownGoogleAdWordsAuthenticationType["UserAuthentication"] = "UserAuthentication";
|
|
719
727
|
})(KnownGoogleAdWordsAuthenticationType || (KnownGoogleAdWordsAuthenticationType = {}));
|
|
720
|
-
/** Known values of {@link
|
|
721
|
-
export var
|
|
722
|
-
(function (
|
|
723
|
-
/**
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
|
|
729
|
-
})(
|
|
730
|
-
/** Known values of {@link
|
|
731
|
-
export var
|
|
732
|
-
(function (
|
|
733
|
-
/**
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
KnownSapTablePartitionOption["PartitionOnCalendarYear"] = "PartitionOnCalendarYear";
|
|
739
|
-
/** PartitionOnCalendarMonth */
|
|
740
|
-
KnownSapTablePartitionOption["PartitionOnCalendarMonth"] = "PartitionOnCalendarMonth";
|
|
741
|
-
/** PartitionOnCalendarDate */
|
|
742
|
-
KnownSapTablePartitionOption["PartitionOnCalendarDate"] = "PartitionOnCalendarDate";
|
|
743
|
-
/** PartitionOnTime */
|
|
744
|
-
KnownSapTablePartitionOption["PartitionOnTime"] = "PartitionOnTime";
|
|
745
|
-
})(KnownSapTablePartitionOption || (KnownSapTablePartitionOption = {}));
|
|
746
|
-
/** Known values of {@link StoredProcedureParameterType} that the service accepts. */
|
|
747
|
-
export var KnownStoredProcedureParameterType;
|
|
748
|
-
(function (KnownStoredProcedureParameterType) {
|
|
749
|
-
/** String */
|
|
750
|
-
KnownStoredProcedureParameterType["String"] = "String";
|
|
751
|
-
/** Int */
|
|
752
|
-
KnownStoredProcedureParameterType["Int"] = "Int";
|
|
753
|
-
/** Int64 */
|
|
754
|
-
KnownStoredProcedureParameterType["Int64"] = "Int64";
|
|
755
|
-
/** Decimal */
|
|
756
|
-
KnownStoredProcedureParameterType["Decimal"] = "Decimal";
|
|
757
|
-
/** Guid */
|
|
758
|
-
KnownStoredProcedureParameterType["Guid"] = "Guid";
|
|
759
|
-
/** Boolean */
|
|
760
|
-
KnownStoredProcedureParameterType["Boolean"] = "Boolean";
|
|
761
|
-
/** Date */
|
|
762
|
-
KnownStoredProcedureParameterType["Date"] = "Date";
|
|
763
|
-
})(KnownStoredProcedureParameterType || (KnownStoredProcedureParameterType = {}));
|
|
728
|
+
/** Known values of {@link SnowflakeAuthenticationType} that the service accepts. */
|
|
729
|
+
export var KnownSnowflakeAuthenticationType;
|
|
730
|
+
(function (KnownSnowflakeAuthenticationType) {
|
|
731
|
+
/** Basic */
|
|
732
|
+
KnownSnowflakeAuthenticationType["Basic"] = "Basic";
|
|
733
|
+
/** KeyPair */
|
|
734
|
+
KnownSnowflakeAuthenticationType["KeyPair"] = "KeyPair";
|
|
735
|
+
/** AADServicePrincipal */
|
|
736
|
+
KnownSnowflakeAuthenticationType["AADServicePrincipal"] = "AADServicePrincipal";
|
|
737
|
+
})(KnownSnowflakeAuthenticationType || (KnownSnowflakeAuthenticationType = {}));
|
|
738
|
+
/** Known values of {@link ServiceNowV2AuthenticationType} that the service accepts. */
|
|
739
|
+
export var KnownServiceNowV2AuthenticationType;
|
|
740
|
+
(function (KnownServiceNowV2AuthenticationType) {
|
|
741
|
+
/** Basic */
|
|
742
|
+
KnownServiceNowV2AuthenticationType["Basic"] = "Basic";
|
|
743
|
+
/** OAuth2 */
|
|
744
|
+
KnownServiceNowV2AuthenticationType["OAuth2"] = "OAuth2";
|
|
745
|
+
})(KnownServiceNowV2AuthenticationType || (KnownServiceNowV2AuthenticationType = {}));
|
|
764
746
|
/** Known values of {@link OraclePartitionOption} that the service accepts. */
|
|
765
747
|
export var KnownOraclePartitionOption;
|
|
766
748
|
(function (KnownOraclePartitionOption) {
|
|
@@ -815,6 +797,24 @@ export var KnownNetezzaPartitionOption;
|
|
|
815
797
|
/** DynamicRange */
|
|
816
798
|
KnownNetezzaPartitionOption["DynamicRange"] = "DynamicRange";
|
|
817
799
|
})(KnownNetezzaPartitionOption || (KnownNetezzaPartitionOption = {}));
|
|
800
|
+
/** Known values of {@link StoredProcedureParameterType} that the service accepts. */
|
|
801
|
+
export var KnownStoredProcedureParameterType;
|
|
802
|
+
(function (KnownStoredProcedureParameterType) {
|
|
803
|
+
/** String */
|
|
804
|
+
KnownStoredProcedureParameterType["String"] = "String";
|
|
805
|
+
/** Int */
|
|
806
|
+
KnownStoredProcedureParameterType["Int"] = "Int";
|
|
807
|
+
/** Int64 */
|
|
808
|
+
KnownStoredProcedureParameterType["Int64"] = "Int64";
|
|
809
|
+
/** Decimal */
|
|
810
|
+
KnownStoredProcedureParameterType["Decimal"] = "Decimal";
|
|
811
|
+
/** Guid */
|
|
812
|
+
KnownStoredProcedureParameterType["Guid"] = "Guid";
|
|
813
|
+
/** Boolean */
|
|
814
|
+
KnownStoredProcedureParameterType["Boolean"] = "Boolean";
|
|
815
|
+
/** Date */
|
|
816
|
+
KnownStoredProcedureParameterType["Date"] = "Date";
|
|
817
|
+
})(KnownStoredProcedureParameterType || (KnownStoredProcedureParameterType = {}));
|
|
818
818
|
/** Known values of {@link NotebookParameterType} that the service accepts. */
|
|
819
819
|
export var KnownNotebookParameterType;
|
|
820
820
|
(function (KnownNotebookParameterType) {
|
|
@@ -929,24 +929,6 @@ export var KnownWebHookActivityMethod;
|
|
|
929
929
|
/** Post */
|
|
930
930
|
KnownWebHookActivityMethod["Post"] = "POST";
|
|
931
931
|
})(KnownWebHookActivityMethod || (KnownWebHookActivityMethod = {}));
|
|
932
|
-
/** Known values of {@link DataFlowComputeType} that the service accepts. */
|
|
933
|
-
export var KnownDataFlowComputeType;
|
|
934
|
-
(function (KnownDataFlowComputeType) {
|
|
935
|
-
/** General */
|
|
936
|
-
KnownDataFlowComputeType["General"] = "General";
|
|
937
|
-
/** MemoryOptimized */
|
|
938
|
-
KnownDataFlowComputeType["MemoryOptimized"] = "MemoryOptimized";
|
|
939
|
-
/** ComputeOptimized */
|
|
940
|
-
KnownDataFlowComputeType["ComputeOptimized"] = "ComputeOptimized";
|
|
941
|
-
})(KnownDataFlowComputeType || (KnownDataFlowComputeType = {}));
|
|
942
|
-
/** Known values of {@link ScriptType} that the service accepts. */
|
|
943
|
-
export var KnownScriptType;
|
|
944
|
-
(function (KnownScriptType) {
|
|
945
|
-
/** Query */
|
|
946
|
-
KnownScriptType["Query"] = "Query";
|
|
947
|
-
/** NonQuery */
|
|
948
|
-
KnownScriptType["NonQuery"] = "NonQuery";
|
|
949
|
-
})(KnownScriptType || (KnownScriptType = {}));
|
|
950
932
|
/** Known values of {@link ScriptActivityParameterType} that the service accepts. */
|
|
951
933
|
export var KnownScriptActivityParameterType;
|
|
952
934
|
(function (KnownScriptActivityParameterType) {
|
|
@@ -1003,6 +985,26 @@ export var KnownConfigurationType;
|
|
|
1003
985
|
/** Artifact */
|
|
1004
986
|
KnownConfigurationType["Artifact"] = "Artifact";
|
|
1005
987
|
})(KnownConfigurationType || (KnownConfigurationType = {}));
|
|
988
|
+
/** Known values of {@link SalesforceV2SinkWriteBehavior} that the service accepts. */
|
|
989
|
+
export var KnownSalesforceV2SinkWriteBehavior;
|
|
990
|
+
(function (KnownSalesforceV2SinkWriteBehavior) {
|
|
991
|
+
/** Insert */
|
|
992
|
+
KnownSalesforceV2SinkWriteBehavior["Insert"] = "Insert";
|
|
993
|
+
/** Upsert */
|
|
994
|
+
KnownSalesforceV2SinkWriteBehavior["Upsert"] = "Upsert";
|
|
995
|
+
})(KnownSalesforceV2SinkWriteBehavior || (KnownSalesforceV2SinkWriteBehavior = {}));
|
|
996
|
+
/** Known values of {@link ExpressionV2Type} that the service accepts. */
|
|
997
|
+
export var KnownExpressionV2Type;
|
|
998
|
+
(function (KnownExpressionV2Type) {
|
|
999
|
+
/** Constant */
|
|
1000
|
+
KnownExpressionV2Type["Constant"] = "Constant";
|
|
1001
|
+
/** Field */
|
|
1002
|
+
KnownExpressionV2Type["Field"] = "Field";
|
|
1003
|
+
/** Unary */
|
|
1004
|
+
KnownExpressionV2Type["Unary"] = "Unary";
|
|
1005
|
+
/** Binary */
|
|
1006
|
+
KnownExpressionV2Type["Binary"] = "Binary";
|
|
1007
|
+
})(KnownExpressionV2Type || (KnownExpressionV2Type = {}));
|
|
1006
1008
|
/** Known values of {@link RecurrenceFrequency} that the service accepts. */
|
|
1007
1009
|
export var KnownRecurrenceFrequency;
|
|
1008
1010
|
(function (KnownRecurrenceFrequency) {
|
|
@@ -1069,6 +1071,16 @@ export var KnownIntegrationRuntimeState;
|
|
|
1069
1071
|
/** AccessDenied */
|
|
1070
1072
|
KnownIntegrationRuntimeState["AccessDenied"] = "AccessDenied";
|
|
1071
1073
|
})(KnownIntegrationRuntimeState || (KnownIntegrationRuntimeState = {}));
|
|
1074
|
+
/** Known values of {@link DataFlowComputeType} that the service accepts. */
|
|
1075
|
+
export var KnownDataFlowComputeType;
|
|
1076
|
+
(function (KnownDataFlowComputeType) {
|
|
1077
|
+
/** General */
|
|
1078
|
+
KnownDataFlowComputeType["General"] = "General";
|
|
1079
|
+
/** MemoryOptimized */
|
|
1080
|
+
KnownDataFlowComputeType["MemoryOptimized"] = "MemoryOptimized";
|
|
1081
|
+
/** ComputeOptimized */
|
|
1082
|
+
KnownDataFlowComputeType["ComputeOptimized"] = "ComputeOptimized";
|
|
1083
|
+
})(KnownDataFlowComputeType || (KnownDataFlowComputeType = {}));
|
|
1072
1084
|
/** Known values of {@link IntegrationRuntimeSsisCatalogPricingTier} that the service accepts. */
|
|
1073
1085
|
export var KnownIntegrationRuntimeSsisCatalogPricingTier;
|
|
1074
1086
|
(function (KnownIntegrationRuntimeSsisCatalogPricingTier) {
|
|
@@ -1255,6 +1267,14 @@ export var KnownCopyBehaviorType;
|
|
|
1255
1267
|
/** MergeFiles */
|
|
1256
1268
|
KnownCopyBehaviorType["MergeFiles"] = "MergeFiles";
|
|
1257
1269
|
})(KnownCopyBehaviorType || (KnownCopyBehaviorType = {}));
|
|
1270
|
+
/** Known values of {@link ScriptType} that the service accepts. */
|
|
1271
|
+
export var KnownScriptType;
|
|
1272
|
+
(function (KnownScriptType) {
|
|
1273
|
+
/** Query */
|
|
1274
|
+
KnownScriptType["Query"] = "Query";
|
|
1275
|
+
/** NonQuery */
|
|
1276
|
+
KnownScriptType["NonQuery"] = "NonQuery";
|
|
1277
|
+
})(KnownScriptType || (KnownScriptType = {}));
|
|
1258
1278
|
/** Known values of {@link SqlPartitionOption} that the service accepts. */
|
|
1259
1279
|
export var KnownSqlPartitionOption;
|
|
1260
1280
|
(function (KnownSqlPartitionOption) {
|
|
@@ -1265,4 +1285,30 @@ export var KnownSqlPartitionOption;
|
|
|
1265
1285
|
/** DynamicRange */
|
|
1266
1286
|
KnownSqlPartitionOption["DynamicRange"] = "DynamicRange";
|
|
1267
1287
|
})(KnownSqlPartitionOption || (KnownSqlPartitionOption = {}));
|
|
1288
|
+
/** Known values of {@link SapHanaPartitionOption} that the service accepts. */
|
|
1289
|
+
export var KnownSapHanaPartitionOption;
|
|
1290
|
+
(function (KnownSapHanaPartitionOption) {
|
|
1291
|
+
/** None */
|
|
1292
|
+
KnownSapHanaPartitionOption["None"] = "None";
|
|
1293
|
+
/** PhysicalPartitionsOfTable */
|
|
1294
|
+
KnownSapHanaPartitionOption["PhysicalPartitionsOfTable"] = "PhysicalPartitionsOfTable";
|
|
1295
|
+
/** SapHanaDynamicRange */
|
|
1296
|
+
KnownSapHanaPartitionOption["SapHanaDynamicRange"] = "SapHanaDynamicRange";
|
|
1297
|
+
})(KnownSapHanaPartitionOption || (KnownSapHanaPartitionOption = {}));
|
|
1298
|
+
/** Known values of {@link SapTablePartitionOption} that the service accepts. */
|
|
1299
|
+
export var KnownSapTablePartitionOption;
|
|
1300
|
+
(function (KnownSapTablePartitionOption) {
|
|
1301
|
+
/** None */
|
|
1302
|
+
KnownSapTablePartitionOption["None"] = "None";
|
|
1303
|
+
/** PartitionOnInt */
|
|
1304
|
+
KnownSapTablePartitionOption["PartitionOnInt"] = "PartitionOnInt";
|
|
1305
|
+
/** PartitionOnCalendarYear */
|
|
1306
|
+
KnownSapTablePartitionOption["PartitionOnCalendarYear"] = "PartitionOnCalendarYear";
|
|
1307
|
+
/** PartitionOnCalendarMonth */
|
|
1308
|
+
KnownSapTablePartitionOption["PartitionOnCalendarMonth"] = "PartitionOnCalendarMonth";
|
|
1309
|
+
/** PartitionOnCalendarDate */
|
|
1310
|
+
KnownSapTablePartitionOption["PartitionOnCalendarDate"] = "PartitionOnCalendarDate";
|
|
1311
|
+
/** PartitionOnTime */
|
|
1312
|
+
KnownSapTablePartitionOption["PartitionOnTime"] = "PartitionOnTime";
|
|
1313
|
+
})(KnownSapTablePartitionOption || (KnownSapTablePartitionOption = {}));
|
|
1268
1314
|
//# sourceMappingURL=index.js.map
|