@azure/arm-machinelearning 2.0.1-alpha.20221026.1 → 2.1.0-alpha.20221101.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 +173 -10
- package/dist/index.js +6417 -3094
- 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/samples-dev/batchDeploymentsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/batchDeploymentsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/batchDeploymentsGetSample.js +1 -1
- package/dist-esm/samples-dev/batchDeploymentsListSample.js +1 -1
- package/dist-esm/samples-dev/batchDeploymentsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/batchEndpointsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/batchEndpointsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/batchEndpointsGetSample.js +1 -1
- package/dist-esm/samples-dev/batchEndpointsListKeysSample.js +1 -1
- package/dist-esm/samples-dev/batchEndpointsListSample.js +1 -1
- package/dist-esm/samples-dev/batchEndpointsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/codeContainersCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/codeContainersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/codeContainersGetSample.js +1 -1
- package/dist-esm/samples-dev/codeContainersListSample.js +1 -1
- package/dist-esm/samples-dev/codeVersionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/codeVersionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/codeVersionsGetSample.js +1 -1
- package/dist-esm/samples-dev/codeVersionsListSample.js +1 -1
- package/dist-esm/samples-dev/componentContainersCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/componentContainersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/componentContainersGetSample.js +1 -1
- package/dist-esm/samples-dev/componentContainersListSample.js +1 -1
- package/dist-esm/samples-dev/componentVersionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/componentVersionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/componentVersionsGetSample.js +1 -1
- package/dist-esm/samples-dev/componentVersionsListSample.js +1 -1
- package/dist-esm/samples-dev/computeCreateOrUpdateSample.js +60 -8
- package/dist-esm/samples-dev/computeCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/computeDeleteSample.js +1 -1
- package/dist-esm/samples-dev/computeGetSample.js +4 -4
- package/dist-esm/samples-dev/computeListKeysSample.js +1 -1
- package/dist-esm/samples-dev/computeListNodesSample.js +1 -1
- package/dist-esm/samples-dev/computeListSample.js +1 -1
- package/dist-esm/samples-dev/computeRestartSample.js +1 -1
- package/dist-esm/samples-dev/computeStartSample.js +1 -1
- package/dist-esm/samples-dev/computeStopSample.js +1 -1
- package/dist-esm/samples-dev/computeUpdateSample.js +1 -1
- package/dist-esm/samples-dev/dataContainersCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/dataContainersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/dataContainersGetSample.js +1 -1
- package/dist-esm/samples-dev/dataContainersListSample.js +1 -1
- package/dist-esm/samples-dev/dataVersionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/dataVersionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/dataVersionsGetSample.js +1 -1
- package/dist-esm/samples-dev/dataVersionsListSample.js +1 -1
- package/dist-esm/samples-dev/datastoresCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/datastoresDeleteSample.js +1 -1
- package/dist-esm/samples-dev/datastoresGetSample.js +1 -1
- package/dist-esm/samples-dev/datastoresListSample.js +1 -1
- package/dist-esm/samples-dev/datastoresListSecretsSample.js +1 -1
- package/dist-esm/samples-dev/environmentContainersCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/environmentContainersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/environmentContainersGetSample.js +1 -1
- package/dist-esm/samples-dev/environmentContainersListSample.js +1 -1
- package/dist-esm/samples-dev/environmentVersionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/environmentVersionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/environmentVersionsGetSample.js +1 -1
- package/dist-esm/samples-dev/environmentVersionsListSample.js +1 -1
- package/dist-esm/samples-dev/jobsCancelSample.js +1 -1
- package/dist-esm/samples-dev/jobsCreateOrUpdateSample.js +66 -3
- package/dist-esm/samples-dev/jobsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/jobsGetSample.js +22 -3
- package/dist-esm/samples-dev/jobsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/jobsListSample.js +44 -12
- package/dist-esm/samples-dev/jobsListSample.js.map +1 -1
- package/dist-esm/samples-dev/modelContainersCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/modelContainersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/modelContainersGetSample.js +1 -1
- package/dist-esm/samples-dev/modelContainersListSample.js +1 -1
- package/dist-esm/samples-dev/modelVersionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/modelVersionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/modelVersionsGetSample.js +1 -1
- package/dist-esm/samples-dev/modelVersionsListSample.js +1 -1
- package/dist-esm/samples-dev/onlineDeploymentsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/onlineDeploymentsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/onlineDeploymentsGetLogsSample.js +1 -1
- package/dist-esm/samples-dev/onlineDeploymentsGetSample.js +2 -2
- package/dist-esm/samples-dev/onlineDeploymentsListSample.js +1 -1
- package/dist-esm/samples-dev/onlineDeploymentsListSkusSample.js +2 -2
- package/dist-esm/samples-dev/onlineDeploymentsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/onlineEndpointsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/onlineEndpointsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/onlineEndpointsGetSample.js +1 -1
- package/dist-esm/samples-dev/onlineEndpointsGetTokenSample.js +1 -1
- package/dist-esm/samples-dev/onlineEndpointsListKeysSample.js +1 -1
- package/dist-esm/samples-dev/onlineEndpointsListSample.js +1 -1
- package/dist-esm/samples-dev/onlineEndpointsRegenerateKeysSample.js +1 -1
- package/dist-esm/samples-dev/onlineEndpointsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/quotasListSample.js +1 -1
- package/dist-esm/samples-dev/quotasUpdateSample.js +1 -1
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js +54 -0
- package/dist-esm/samples-dev/schedulesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/schedulesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/schedulesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/schedulesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/schedulesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/schedulesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/schedulesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/schedulesGetSample.js +32 -0
- package/dist-esm/samples-dev/schedulesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/schedulesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/schedulesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/schedulesListSample.js +45 -0
- package/dist-esm/samples-dev/schedulesListSample.js.map +1 -0
- package/dist-esm/samples-dev/usagesListSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineSizesListSample.js +1 -1
- package/dist-esm/samples-dev/workspaceConnectionsCreateSample.js +1 -1
- package/dist-esm/samples-dev/workspaceConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/workspaceConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/workspaceConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/workspaceFeaturesListSample.js +1 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/workspacesDiagnoseSample.js +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListKeysSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListNotebookAccessTokenSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListNotebookKeysSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListOutboundNetworkDependenciesEndpointsSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListStorageAccountKeysSample.js +1 -1
- package/dist-esm/samples-dev/workspacesPrepareNotebookSample.js +1 -1
- package/dist-esm/samples-dev/workspacesResyncKeysSample.js +1 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +1 -1
- package/dist-esm/src/azureMachineLearningWorkspaces.d.ts +2 -1
- package/dist-esm/src/azureMachineLearningWorkspaces.d.ts.map +1 -1
- package/dist-esm/src/azureMachineLearningWorkspaces.js +4 -3
- package/dist-esm/src/azureMachineLearningWorkspaces.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +2177 -118
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +645 -42
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +107 -8
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +3218 -915
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +15 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/schedules.d.ts +81 -0
- package/dist-esm/src/operations/schedules.d.ts.map +1 -0
- package/dist-esm/src/operations/schedules.js +343 -0
- package/dist-esm/src/operations/schedules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/schedules.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/schedules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/schedules.js +9 -0
- package/dist-esm/src/operationsInterfaces/schedules.js.map +1 -0
- package/package.json +3 -2
- package/review/arm-machinelearning.api.md +1033 -11
- package/src/azureMachineLearningWorkspaces.ts +6 -2
- package/src/models/index.ts +2662 -410
- package/src/models/mappers.ts +4026 -1470
- package/src/models/parameters.ts +18 -2
- package/src/operations/index.ts +1 -0
- package/src/operations/schedules.ts +476 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/schedules.ts +109 -0
- package/types/arm-machinelearning.d.ts +2348 -80
- package/types/tsdoc-metadata.json +1 -1
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Create or update Inference Endpoint Deployment (asynchronous).
|
|
15
15
|
*
|
|
16
16
|
* @summary Create or update Inference Endpoint Deployment (asynchronous).
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function createOrUpdateKubernetesOnlineDeployment() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -79,7 +79,7 @@ createOrUpdateKubernetesOnlineDeployment().catch(console.error);
|
|
|
79
79
|
* This sample demonstrates how to Create or update Inference Endpoint Deployment (asynchronous).
|
|
80
80
|
*
|
|
81
81
|
* @summary Create or update Inference Endpoint Deployment (asynchronous).
|
|
82
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
82
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json
|
|
83
83
|
*/
|
|
84
84
|
function createOrUpdateManagedOnlineDeployment() {
|
|
85
85
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Delete Inference Endpoint Deployment (asynchronous).
|
|
15
15
|
*
|
|
16
16
|
* @summary Delete Inference Endpoint Deployment (asynchronous).
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineDeployment/delete.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteOnlineDeployment() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Polls an Endpoint operation.
|
|
15
15
|
*
|
|
16
16
|
* @summary Polls an Endpoint operation.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineDeployment/getLogs.json
|
|
18
18
|
*/
|
|
19
19
|
function getOnlineDeploymentLogs() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get Inference Deployment Deployment.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get Inference Deployment Deployment.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json
|
|
18
18
|
*/
|
|
19
19
|
function getKubernetesOnlineDeployment() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ getKubernetesOnlineDeployment().catch(console.error);
|
|
|
34
34
|
* This sample demonstrates how to Get Inference Deployment Deployment.
|
|
35
35
|
*
|
|
36
36
|
* @summary Get Inference Deployment Deployment.
|
|
37
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
37
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json
|
|
38
38
|
*/
|
|
39
39
|
function getManagedOnlineDeployment() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List Inference Endpoint Deployments.
|
|
15
15
|
*
|
|
16
16
|
* @summary List Inference Endpoint Deployments.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineDeployment/list.json
|
|
18
18
|
*/
|
|
19
19
|
function listOnlineDeployments() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List Inference Endpoint Deployment Skus.
|
|
15
15
|
*
|
|
16
16
|
* @summary List Inference Endpoint Deployment Skus.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json
|
|
18
18
|
*/
|
|
19
19
|
function listKubernetesOnlineDeploymentSkus() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -50,7 +50,7 @@ listKubernetesOnlineDeploymentSkus().catch(console.error);
|
|
|
50
50
|
* This sample demonstrates how to List Inference Endpoint Deployment Skus.
|
|
51
51
|
*
|
|
52
52
|
* @summary List Inference Endpoint Deployment Skus.
|
|
53
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
53
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json
|
|
54
54
|
*/
|
|
55
55
|
function listManagedOnlineDeploymentSkus() {
|
|
56
56
|
var e_2, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Update Online Deployment (asynchronous).
|
|
15
15
|
*
|
|
16
16
|
* @summary Update Online Deployment (asynchronous).
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json
|
|
18
18
|
*/
|
|
19
19
|
function updateKubernetesOnlineDeployment() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -44,7 +44,7 @@ updateKubernetesOnlineDeployment().catch(console.error);
|
|
|
44
44
|
* This sample demonstrates how to Update Online Deployment (asynchronous).
|
|
45
45
|
*
|
|
46
46
|
* @summary Update Online Deployment (asynchronous).
|
|
47
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
47
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json
|
|
48
48
|
*/
|
|
49
49
|
function updateManagedOnlineDeployment() {
|
|
50
50
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Create or update Online Endpoint (asynchronous).
|
|
15
15
|
*
|
|
16
16
|
* @summary Create or update Online Endpoint (asynchronous).
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineEndpoint/createOrUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function createOrUpdateOnlineEndpoint() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Delete Online Endpoint (asynchronous).
|
|
15
15
|
*
|
|
16
16
|
* @summary Delete Online Endpoint (asynchronous).
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineEndpoint/delete.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteOnlineEndpoint() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get Online Endpoint.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get Online Endpoint.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineEndpoint/get.json
|
|
18
18
|
*/
|
|
19
19
|
function getOnlineEndpoint() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication.
|
|
15
15
|
*
|
|
16
16
|
* @summary Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineEndpoint/getToken.json
|
|
18
18
|
*/
|
|
19
19
|
function getTokenOnlineEndpoint() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List EndpointAuthKeys for an Endpoint using Key-based authentication.
|
|
15
15
|
*
|
|
16
16
|
* @summary List EndpointAuthKeys for an Endpoint using Key-based authentication.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineEndpoint/listKeys.json
|
|
18
18
|
*/
|
|
19
19
|
function listKeysOnlineEndpoint() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List Online Endpoints.
|
|
15
15
|
*
|
|
16
16
|
* @summary List Online Endpoints.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineEndpoint/list.json
|
|
18
18
|
*/
|
|
19
19
|
function listOnlineEndpoint() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).
|
|
15
15
|
*
|
|
16
16
|
* @summary Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineEndpoint/regenerateKeys.json
|
|
18
18
|
*/
|
|
19
19
|
function regenerateKeysOnlineEndpoint() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Update Online Endpoint (asynchronous).
|
|
15
15
|
*
|
|
16
16
|
* @summary Update Online Endpoint (asynchronous).
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/OnlineEndpoint/update.json
|
|
18
18
|
*/
|
|
19
19
|
function updateOnlineEndpoint() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Lists all of the available Azure Machine Learning Workspaces REST API operations.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists all of the available Azure Machine Learning Workspaces REST API operations.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Workspace/operationsList.json
|
|
18
18
|
*/
|
|
19
19
|
function operationsList() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Update the state of specified private endpoint connection associated with the workspace.
|
|
15
15
|
*
|
|
16
16
|
* @summary Update the state of specified private endpoint connection associated with the workspace.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/PrivateEndpointConnection/createOrUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function workspacePutPrivateEndpointConnection() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Deletes the specified private endpoint connection associated with the workspace.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes the specified private endpoint connection associated with the workspace.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/PrivateEndpointConnection/delete.json
|
|
18
18
|
*/
|
|
19
19
|
function workspaceDeletePrivateEndpointConnection() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the specified private endpoint connection associated with the workspace.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the specified private endpoint connection associated with the workspace.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/PrivateEndpointConnection/get.json
|
|
18
18
|
*/
|
|
19
19
|
function workspaceGetPrivateEndpointConnection() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List all the private endpoint connections associated with the workspace.
|
|
15
15
|
*
|
|
16
16
|
* @summary List all the private endpoint connections associated with the workspace.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/PrivateEndpointConnection/list.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountListPrivateEndpointConnections() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the private link resources that need to be created for a workspace.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the private link resources that need to be created for a workspace.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/PrivateLinkResource/list.json
|
|
18
18
|
*/
|
|
19
19
|
function workspaceListPrivateLinkResources() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the currently assigned Workspace Quotas based on VMFamily.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the currently assigned Workspace Quotas based on VMFamily.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Quota/list.json
|
|
18
18
|
*/
|
|
19
19
|
function listWorkspaceQuotasByVMFamily() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Update quota for each VM family in workspace.
|
|
15
15
|
*
|
|
16
16
|
* @summary Update quota for each VM family in workspace.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Quota/update.json
|
|
18
18
|
*/
|
|
19
19
|
function updateQuotas() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedulesCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/schedulesCreateOrUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AzureMachineLearningWorkspaces } from "@azure/arm-machinelearning";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Create or update schedule.
|
|
15
|
+
*
|
|
16
|
+
* @summary Create or update schedule.
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Schedule/createOrUpdate.json
|
|
18
|
+
*/
|
|
19
|
+
function createOrUpdateSchedule() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "00000000-1111-2222-3333-444444444444";
|
|
22
|
+
const resourceGroupName = "test-rg";
|
|
23
|
+
const workspaceName = "my-aml-workspace";
|
|
24
|
+
const name = "string";
|
|
25
|
+
const body = {
|
|
26
|
+
properties: {
|
|
27
|
+
description: "string",
|
|
28
|
+
action: {
|
|
29
|
+
actionType: "InvokeBatchEndpoint",
|
|
30
|
+
endpointInvocationDefinition: {
|
|
31
|
+
"9965593e-526f-4b89-bb36-761138cf2794": null
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
displayName: "string",
|
|
35
|
+
isEnabled: false,
|
|
36
|
+
properties: { string: "string" },
|
|
37
|
+
tags: { string: "string" },
|
|
38
|
+
trigger: {
|
|
39
|
+
endTime: "string",
|
|
40
|
+
expression: "string",
|
|
41
|
+
startTime: "string",
|
|
42
|
+
timeZone: "string",
|
|
43
|
+
triggerType: "Cron"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
const credential = new DefaultAzureCredential();
|
|
48
|
+
const client = new AzureMachineLearningWorkspaces(credential, subscriptionId);
|
|
49
|
+
const result = yield client.schedules.beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, body);
|
|
50
|
+
console.log(result);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
createOrUpdateSchedule().catch(console.error);
|
|
54
|
+
//# sourceMappingURL=schedulesCreateOrUpdateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedulesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/schedulesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,aAAa,GAAG,kBAAkB,CAAC;QACzC,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,IAAI,GAAa;YACrB,UAAU,EAAE;gBACV,WAAW,EAAE,QAAQ;gBACrB,MAAM,EAAE;oBACN,UAAU,EAAE,qBAAqB;oBACjC,4BAA4B,EAAE;wBAC5B,sCAAsC,EAAE,IAAI;qBAC7C;iBACF;gBACD,WAAW,EAAE,QAAQ;gBACrB,SAAS,EAAE,KAAK;gBAChB,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;gBAChC,IAAI,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;gBAC1B,OAAO,EAAE;oBACP,OAAO,EAAE,QAAQ;oBACjB,UAAU,EAAE,QAAQ;oBACpB,SAAS,EAAE,QAAQ;oBACnB,QAAQ,EAAE,QAAQ;oBAClB,WAAW,EAAE,MAAM;iBACpB;aACF;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,0BAA0B,CAC9D,iBAAiB,EACjB,aAAa,EACb,IAAI,EACJ,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedulesDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/schedulesDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AzureMachineLearningWorkspaces } from "@azure/arm-machinelearning";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Delete schedule.
|
|
15
|
+
*
|
|
16
|
+
* @summary Delete schedule.
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Schedule/delete.json
|
|
18
|
+
*/
|
|
19
|
+
function deleteSchedule() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "00000000-1111-2222-3333-444444444444";
|
|
22
|
+
const resourceGroupName = "test-rg";
|
|
23
|
+
const workspaceName = "my-aml-workspace";
|
|
24
|
+
const name = "string";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new AzureMachineLearningWorkspaces(credential, subscriptionId);
|
|
27
|
+
const result = yield client.schedules.beginDeleteAndWait(resourceGroupName, workspaceName, name);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
deleteSchedule().catch(console.error);
|
|
32
|
+
//# sourceMappingURL=schedulesDeleteSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedulesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/schedulesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,cAAc;;QAC3B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,aAAa,GAAG,kBAAkB,CAAC;QACzC,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,kBAAkB,CACtD,iBAAiB,EACjB,aAAa,EACb,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedulesGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/schedulesGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AzureMachineLearningWorkspaces } from "@azure/arm-machinelearning";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Get schedule.
|
|
15
|
+
*
|
|
16
|
+
* @summary Get schedule.
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Schedule/get.json
|
|
18
|
+
*/
|
|
19
|
+
function getSchedule() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "00000000-1111-2222-3333-444444444444";
|
|
22
|
+
const resourceGroupName = "test-rg";
|
|
23
|
+
const workspaceName = "my-aml-workspace";
|
|
24
|
+
const name = "string";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new AzureMachineLearningWorkspaces(credential, subscriptionId);
|
|
27
|
+
const result = yield client.schedules.get(resourceGroupName, workspaceName, name);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
getSchedule().catch(console.error);
|
|
32
|
+
//# sourceMappingURL=schedulesGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedulesGetSample.js","sourceRoot":"","sources":["../../samples-dev/schedulesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,WAAW;;QACxB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,aAAa,GAAG,kBAAkB,CAAC;QACzC,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,GAAG,CACvC,iBAAiB,EACjB,aAAa,EACb,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,WAAW,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedulesListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/schedulesListSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AzureMachineLearningWorkspaces } from "@azure/arm-machinelearning";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to List schedules in specified workspace.
|
|
15
|
+
*
|
|
16
|
+
* @summary List schedules in specified workspace.
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Schedule/list.json
|
|
18
|
+
*/
|
|
19
|
+
function listSchedules() {
|
|
20
|
+
var e_1, _a;
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
const subscriptionId = "00000000-1111-2222-3333-444444444444";
|
|
23
|
+
const resourceGroupName = "test-rg";
|
|
24
|
+
const workspaceName = "my-aml-workspace";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new AzureMachineLearningWorkspaces(credential, subscriptionId);
|
|
27
|
+
const resArray = new Array();
|
|
28
|
+
try {
|
|
29
|
+
for (var _b = __asyncValues(client.schedules.list(resourceGroupName, workspaceName)), _c; _c = yield _b.next(), !_c.done;) {
|
|
30
|
+
let item = _c.value;
|
|
31
|
+
resArray.push(item);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
35
|
+
finally {
|
|
36
|
+
try {
|
|
37
|
+
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
38
|
+
}
|
|
39
|
+
finally { if (e_1) throw e_1.error; }
|
|
40
|
+
}
|
|
41
|
+
console.log(resArray);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
listSchedules().catch(console.error);
|
|
45
|
+
//# sourceMappingURL=schedulesListSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedulesListSample.js","sourceRoot":"","sources":["../../samples-dev/schedulesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,aAAa;;;QAC1B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,aAAa,GAAG,kBAAkB,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,SAAS,CAAC,IAAI,CAC1C,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,aAAa,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the current usage information as well as limits for AML resources for given subscription and location.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the current usage information as well as limits for AML resources for given subscription and location.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Usage/list.json
|
|
18
18
|
*/
|
|
19
19
|
function listUsages() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns supported VM Sizes in a location
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns supported VM Sizes in a location
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/VirtualMachineSize/list.json
|
|
18
18
|
*/
|
|
19
19
|
function listVMSizes() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to
|
|
15
15
|
*
|
|
16
16
|
* @summary
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/WorkspaceConnection/create.json
|
|
18
18
|
*/
|
|
19
19
|
function createWorkspaceConnection() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to
|
|
15
15
|
*
|
|
16
16
|
* @summary
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/WorkspaceConnection/delete.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteWorkspaceConnection() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to
|
|
15
15
|
*
|
|
16
16
|
* @summary
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/WorkspaceConnection/get.json
|
|
18
18
|
*/
|
|
19
19
|
function getWorkspaceConnection() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to
|
|
15
15
|
*
|
|
16
16
|
* @summary
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/WorkspaceConnection/list.json
|
|
18
18
|
*/
|
|
19
19
|
function listWorkspaceConnections() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Lists all enabled features for a workspace
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists all enabled features for a workspace
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/WorkspaceFeature/list.json
|
|
18
18
|
*/
|
|
19
19
|
function listWorkspaceFeatures() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Creates or updates a workspace with the specified parameters.
|
|
15
15
|
*
|
|
16
16
|
* @summary Creates or updates a workspace with the specified parameters.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Workspace/create.json
|
|
18
18
|
*/
|
|
19
19
|
function createWorkspace() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Deletes a machine learning workspace.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes a machine learning workspace.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Workspace/delete.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteWorkspace() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Diagnose workspace setup issue.
|
|
15
15
|
*
|
|
16
16
|
* @summary Diagnose workspace setup issue.
|
|
17
|
-
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-
|
|
17
|
+
* x-ms-original-file: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/examples/Workspace/diagnose.json
|
|
18
18
|
*/
|
|
19
19
|
function diagnoseWorkspace() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|