@azure/arm-machinelearning 1.0.1-alpha.20220729.2 → 2.0.1-alpha.20220907.1
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 +19 -1
- package/dist/index.js +56 -51
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/azureMachineLearningWorkspaces.d.ts.map +1 -1
- package/dist-esm/src/azureMachineLearningWorkspaces.js +18 -13
- package/dist-esm/src/azureMachineLearningWorkspaces.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +24 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +13 -13
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +38 -38
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-machinelearning.api.md +12 -0
- package/src/azureMachineLearningWorkspaces.ts +23 -16
- package/src/models/index.ts +30 -3
- package/src/models/mappers.ts +41 -38
- package/types/arm-machinelearning.d.ts +24 -0
- package/dist-esm/samples-dev/workspaceSkusListSample.d.ts +0 -2
- package/dist-esm/samples-dev/workspaceSkusListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/workspaceSkusListSample.js +0 -43
- package/dist-esm/samples-dev/workspaceSkusListSample.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 2.0.1 (Unreleased)
|
|
4
4
|
|
|
5
5
|
### Features Added
|
|
6
6
|
|
|
@@ -10,6 +10,24 @@
|
|
|
10
10
|
|
|
11
11
|
### Other Changes
|
|
12
12
|
|
|
13
|
+
## 2.0.0 (2022-08-05)
|
|
14
|
+
|
|
15
|
+
**Breaking Changes**
|
|
16
|
+
|
|
17
|
+
- Interface AzureBlobDatastore has a new required parameter datastoreType
|
|
18
|
+
- Interface AzureDataLakeGen1Datastore has a new required parameter datastoreType
|
|
19
|
+
- Interface AzureDataLakeGen2Datastore has a new required parameter datastoreType
|
|
20
|
+
- Interface AzureFileDatastore has a new required parameter datastoreType
|
|
21
|
+
- Interface CommandJob has a new required parameter jobType
|
|
22
|
+
- Interface KubernetesOnlineDeployment has a new required parameter endpointComputeType
|
|
23
|
+
- Interface ManagedOnlineDeployment has a new required parameter endpointComputeType
|
|
24
|
+
- Interface MLTableData has a new required parameter dataType
|
|
25
|
+
- Interface PipelineJob has a new required parameter jobType
|
|
26
|
+
- Interface SweepJob has a new required parameter jobType
|
|
27
|
+
- Interface UriFileDataVersion has a new required parameter dataType
|
|
28
|
+
- Interface UriFolderDataVersion has a new required parameter dataType
|
|
29
|
+
|
|
30
|
+
|
|
13
31
|
## 1.0.0 (2022-07-13)
|
|
14
32
|
|
|
15
33
|
The package of @azure/arm-machinelearning is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
|
package/dist/index.js
CHANGED
|
@@ -8378,8 +8378,8 @@ const KubernetesOnlineDeployment = {
|
|
|
8378
8378
|
type: {
|
|
8379
8379
|
name: "Composite",
|
|
8380
8380
|
className: "KubernetesOnlineDeployment",
|
|
8381
|
-
uberParent: "
|
|
8382
|
-
polymorphicDiscriminator:
|
|
8381
|
+
uberParent: "OnlineDeploymentProperties",
|
|
8382
|
+
polymorphicDiscriminator: OnlineDeploymentProperties.type.polymorphicDiscriminator,
|
|
8383
8383
|
modelProperties: Object.assign(Object.assign({}, OnlineDeploymentProperties.type.modelProperties), { containerResourceRequirements: {
|
|
8384
8384
|
serializedName: "containerResourceRequirements",
|
|
8385
8385
|
type: {
|
|
@@ -8394,8 +8394,8 @@ const ManagedOnlineDeployment = {
|
|
|
8394
8394
|
type: {
|
|
8395
8395
|
name: "Composite",
|
|
8396
8396
|
className: "ManagedOnlineDeployment",
|
|
8397
|
-
uberParent: "
|
|
8398
|
-
polymorphicDiscriminator:
|
|
8397
|
+
uberParent: "OnlineDeploymentProperties",
|
|
8398
|
+
polymorphicDiscriminator: OnlineDeploymentProperties.type.polymorphicDiscriminator,
|
|
8399
8399
|
modelProperties: Object.assign({}, OnlineDeploymentProperties.type.modelProperties)
|
|
8400
8400
|
}
|
|
8401
8401
|
};
|
|
@@ -8472,7 +8472,7 @@ const DataVersionBaseProperties = {
|
|
|
8472
8472
|
type: {
|
|
8473
8473
|
name: "Composite",
|
|
8474
8474
|
className: "DataVersionBaseProperties",
|
|
8475
|
-
uberParent: "
|
|
8475
|
+
uberParent: "AssetBase",
|
|
8476
8476
|
polymorphicDiscriminator: {
|
|
8477
8477
|
serializedName: "dataType",
|
|
8478
8478
|
clientName: "dataType"
|
|
@@ -8572,8 +8572,8 @@ const AzureBlobDatastore = {
|
|
|
8572
8572
|
type: {
|
|
8573
8573
|
name: "Composite",
|
|
8574
8574
|
className: "AzureBlobDatastore",
|
|
8575
|
-
uberParent: "
|
|
8576
|
-
polymorphicDiscriminator:
|
|
8575
|
+
uberParent: "DatastoreProperties",
|
|
8576
|
+
polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator,
|
|
8577
8577
|
modelProperties: Object.assign(Object.assign({}, DatastoreProperties.type.modelProperties), { accountName: {
|
|
8578
8578
|
serializedName: "accountName",
|
|
8579
8579
|
nullable: true,
|
|
@@ -8611,8 +8611,8 @@ const AzureDataLakeGen1Datastore = {
|
|
|
8611
8611
|
type: {
|
|
8612
8612
|
name: "Composite",
|
|
8613
8613
|
className: "AzureDataLakeGen1Datastore",
|
|
8614
|
-
uberParent: "
|
|
8615
|
-
polymorphicDiscriminator:
|
|
8614
|
+
uberParent: "DatastoreProperties",
|
|
8615
|
+
polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator,
|
|
8616
8616
|
modelProperties: Object.assign(Object.assign({}, DatastoreProperties.type.modelProperties), { serviceDataAccessAuthIdentity: {
|
|
8617
8617
|
serializedName: "serviceDataAccessAuthIdentity",
|
|
8618
8618
|
type: {
|
|
@@ -8635,8 +8635,8 @@ const AzureDataLakeGen2Datastore = {
|
|
|
8635
8635
|
type: {
|
|
8636
8636
|
name: "Composite",
|
|
8637
8637
|
className: "AzureDataLakeGen2Datastore",
|
|
8638
|
-
uberParent: "
|
|
8639
|
-
polymorphicDiscriminator:
|
|
8638
|
+
uberParent: "DatastoreProperties",
|
|
8639
|
+
polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator,
|
|
8640
8640
|
modelProperties: Object.assign(Object.assign({}, DatastoreProperties.type.modelProperties), { accountName: {
|
|
8641
8641
|
constraints: {
|
|
8642
8642
|
Pattern: new RegExp("[a-zA-Z0-9_]")
|
|
@@ -8680,8 +8680,8 @@ const AzureFileDatastore = {
|
|
|
8680
8680
|
type: {
|
|
8681
8681
|
name: "Composite",
|
|
8682
8682
|
className: "AzureFileDatastore",
|
|
8683
|
-
uberParent: "
|
|
8684
|
-
polymorphicDiscriminator:
|
|
8683
|
+
uberParent: "DatastoreProperties",
|
|
8684
|
+
polymorphicDiscriminator: DatastoreProperties.type.polymorphicDiscriminator,
|
|
8685
8685
|
modelProperties: Object.assign(Object.assign({}, DatastoreProperties.type.modelProperties), { accountName: {
|
|
8686
8686
|
constraints: {
|
|
8687
8687
|
Pattern: new RegExp("[a-zA-Z0-9_]")
|
|
@@ -8725,8 +8725,8 @@ const CommandJob = {
|
|
|
8725
8725
|
type: {
|
|
8726
8726
|
name: "Composite",
|
|
8727
8727
|
className: "CommandJob",
|
|
8728
|
-
uberParent: "
|
|
8729
|
-
polymorphicDiscriminator:
|
|
8728
|
+
uberParent: "JobBaseProperties",
|
|
8729
|
+
polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator,
|
|
8730
8730
|
modelProperties: Object.assign(Object.assign({}, JobBaseProperties.type.modelProperties), { codeId: {
|
|
8731
8731
|
serializedName: "codeId",
|
|
8732
8732
|
nullable: true,
|
|
@@ -8807,8 +8807,8 @@ const PipelineJob = {
|
|
|
8807
8807
|
type: {
|
|
8808
8808
|
name: "Composite",
|
|
8809
8809
|
className: "PipelineJob",
|
|
8810
|
-
uberParent: "
|
|
8811
|
-
polymorphicDiscriminator:
|
|
8810
|
+
uberParent: "JobBaseProperties",
|
|
8811
|
+
polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator,
|
|
8812
8812
|
modelProperties: Object.assign(Object.assign({}, JobBaseProperties.type.modelProperties), { inputs: {
|
|
8813
8813
|
serializedName: "inputs",
|
|
8814
8814
|
nullable: true,
|
|
@@ -8847,8 +8847,8 @@ const SweepJob = {
|
|
|
8847
8847
|
type: {
|
|
8848
8848
|
name: "Composite",
|
|
8849
8849
|
className: "SweepJob",
|
|
8850
|
-
uberParent: "
|
|
8851
|
-
polymorphicDiscriminator:
|
|
8850
|
+
uberParent: "JobBaseProperties",
|
|
8851
|
+
polymorphicDiscriminator: JobBaseProperties.type.polymorphicDiscriminator,
|
|
8852
8852
|
modelProperties: Object.assign(Object.assign({}, JobBaseProperties.type.modelProperties), { earlyTermination: {
|
|
8853
8853
|
serializedName: "earlyTermination",
|
|
8854
8854
|
type: {
|
|
@@ -8908,8 +8908,8 @@ const MLTableData = {
|
|
|
8908
8908
|
type: {
|
|
8909
8909
|
name: "Composite",
|
|
8910
8910
|
className: "MLTableData",
|
|
8911
|
-
uberParent: "
|
|
8912
|
-
polymorphicDiscriminator:
|
|
8911
|
+
uberParent: "DataVersionBaseProperties",
|
|
8912
|
+
polymorphicDiscriminator: DataVersionBaseProperties.type.polymorphicDiscriminator,
|
|
8913
8913
|
modelProperties: Object.assign(Object.assign({}, DataVersionBaseProperties.type.modelProperties), { referencedUris: {
|
|
8914
8914
|
serializedName: "referencedUris",
|
|
8915
8915
|
nullable: true,
|
|
@@ -8929,8 +8929,8 @@ const UriFileDataVersion = {
|
|
|
8929
8929
|
type: {
|
|
8930
8930
|
name: "Composite",
|
|
8931
8931
|
className: "UriFileDataVersion",
|
|
8932
|
-
uberParent: "
|
|
8933
|
-
polymorphicDiscriminator:
|
|
8932
|
+
uberParent: "DataVersionBaseProperties",
|
|
8933
|
+
polymorphicDiscriminator: DataVersionBaseProperties.type.polymorphicDiscriminator,
|
|
8934
8934
|
modelProperties: Object.assign({}, DataVersionBaseProperties.type.modelProperties)
|
|
8935
8935
|
}
|
|
8936
8936
|
};
|
|
@@ -8939,8 +8939,8 @@ const UriFolderDataVersion = {
|
|
|
8939
8939
|
type: {
|
|
8940
8940
|
name: "Composite",
|
|
8941
8941
|
className: "UriFolderDataVersion",
|
|
8942
|
-
uberParent: "
|
|
8943
|
-
polymorphicDiscriminator:
|
|
8942
|
+
uberParent: "DataVersionBaseProperties",
|
|
8943
|
+
polymorphicDiscriminator: DataVersionBaseProperties.type.polymorphicDiscriminator,
|
|
8944
8944
|
modelProperties: Object.assign({}, DataVersionBaseProperties.type.modelProperties)
|
|
8945
8945
|
}
|
|
8946
8946
|
};
|
|
@@ -9477,19 +9477,19 @@ let discriminators = {
|
|
|
9477
9477
|
"JobInput.literal": LiteralJobInput,
|
|
9478
9478
|
"JobLimits.Command": CommandJobLimits,
|
|
9479
9479
|
"JobLimits.Sweep": SweepJobLimits,
|
|
9480
|
-
"
|
|
9481
|
-
"
|
|
9482
|
-
"
|
|
9483
|
-
"
|
|
9484
|
-
"
|
|
9485
|
-
"
|
|
9486
|
-
"
|
|
9487
|
-
"
|
|
9488
|
-
"
|
|
9489
|
-
"
|
|
9490
|
-
"
|
|
9491
|
-
"
|
|
9492
|
-
"
|
|
9480
|
+
"OnlineDeploymentProperties.Kubernetes": KubernetesOnlineDeployment,
|
|
9481
|
+
"OnlineDeploymentProperties.Managed": ManagedOnlineDeployment,
|
|
9482
|
+
"AssetBase.DataVersionBaseProperties": DataVersionBaseProperties,
|
|
9483
|
+
"DatastoreProperties.AzureBlob": AzureBlobDatastore,
|
|
9484
|
+
"DatastoreProperties.AzureDataLakeGen1": AzureDataLakeGen1Datastore,
|
|
9485
|
+
"DatastoreProperties.AzureDataLakeGen2": AzureDataLakeGen2Datastore,
|
|
9486
|
+
"DatastoreProperties.AzureFile": AzureFileDatastore,
|
|
9487
|
+
"JobBaseProperties.Command": CommandJob,
|
|
9488
|
+
"JobBaseProperties.Pipeline": PipelineJob,
|
|
9489
|
+
"JobBaseProperties.Sweep": SweepJob,
|
|
9490
|
+
"DataVersionBaseProperties.mltable": MLTableData,
|
|
9491
|
+
"DataVersionBaseProperties.uri_file": UriFileDataVersion,
|
|
9492
|
+
"DataVersionBaseProperties.uri_folder": UriFolderDataVersion
|
|
9493
9493
|
};
|
|
9494
9494
|
|
|
9495
9495
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
@@ -18538,7 +18538,7 @@ class AzureMachineLearningWorkspaces extends coreClient__namespace.ServiceClient
|
|
|
18538
18538
|
requestContentType: "application/json; charset=utf-8",
|
|
18539
18539
|
credential: credentials
|
|
18540
18540
|
};
|
|
18541
|
-
const packageDetails = `azsdk-js-arm-machinelearning/
|
|
18541
|
+
const packageDetails = `azsdk-js-arm-machinelearning/2.0.1`;
|
|
18542
18542
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
18543
18543
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
18544
18544
|
: `${packageDetails}`;
|
|
@@ -18549,21 +18549,26 @@ class AzureMachineLearningWorkspaces extends coreClient__namespace.ServiceClient
|
|
|
18549
18549
|
userAgentPrefix
|
|
18550
18550
|
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
18551
18551
|
super(optionsWithDefaults);
|
|
18552
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
18552
18553
|
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
18553
18554
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
18554
|
-
|
|
18555
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
18555
18556
|
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
18556
|
-
|
|
18557
|
-
|
|
18558
|
-
|
|
18559
|
-
|
|
18560
|
-
|
|
18561
|
-
|
|
18562
|
-
|
|
18563
|
-
|
|
18564
|
-
|
|
18565
|
-
|
|
18566
|
-
|
|
18557
|
+
}
|
|
18558
|
+
if (!options ||
|
|
18559
|
+
!options.pipeline ||
|
|
18560
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
18561
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
18562
|
+
this.pipeline.removePolicy({
|
|
18563
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
18564
|
+
});
|
|
18565
|
+
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
18566
|
+
credential: credentials,
|
|
18567
|
+
scopes: `${optionsWithDefaults.credentialScopes}`,
|
|
18568
|
+
challengeCallbacks: {
|
|
18569
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
18570
|
+
}
|
|
18571
|
+
}));
|
|
18567
18572
|
}
|
|
18568
18573
|
// Parameter assignments
|
|
18569
18574
|
this.subscriptionId = subscriptionId;
|