@azure/arm-avs 1.0.0 → 3.0.0
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 +11 -0
- package/LICENSE +21 -0
- package/README.md +72 -73
- package/dist/index.js +11681 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/azureVMwareSolutionAPI.d.ts +33 -0
- package/dist-esm/src/azureVMwareSolutionAPI.d.ts.map +1 -0
- package/dist-esm/src/azureVMwareSolutionAPI.js +66 -0
- package/dist-esm/src/azureVMwareSolutionAPI.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2962 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +363 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +115 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +3114 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +53 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +409 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/addons.d.ts +81 -0
- package/dist-esm/src/operations/addons.d.ts.map +1 -0
- package/dist-esm/src/operations/addons.js +331 -0
- package/dist-esm/src/operations/addons.js.map +1 -0
- package/dist-esm/src/operations/authorizations.d.ts +81 -0
- package/dist-esm/src/operations/authorizations.d.ts.map +1 -0
- package/dist-esm/src/operations/authorizations.js +337 -0
- package/dist-esm/src/operations/authorizations.js.map +1 -0
- package/dist-esm/src/operations/cloudLinks.d.ts +81 -0
- package/dist-esm/src/operations/cloudLinks.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudLinks.js +337 -0
- package/dist-esm/src/operations/cloudLinks.js.map +1 -0
- package/dist-esm/src/operations/clusters.d.ts +99 -0
- package/dist-esm/src/operations/clusters.d.ts.map +1 -0
- package/dist-esm/src/operations/clusters.js +423 -0
- package/dist-esm/src/operations/clusters.js.map +1 -0
- package/dist-esm/src/operations/datastores.d.ts +89 -0
- package/dist-esm/src/operations/datastores.d.ts.map +1 -0
- package/dist-esm/src/operations/datastores.js +363 -0
- package/dist-esm/src/operations/datastores.js.map +1 -0
- package/dist-esm/src/operations/globalReachConnections.d.ts +81 -0
- package/dist-esm/src/operations/globalReachConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/globalReachConnections.js +347 -0
- package/dist-esm/src/operations/globalReachConnections.js.map +1 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.d.ts +63 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.d.ts.map +1 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.js +244 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +17 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +24 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/locations.d.ts +25 -0
- package/dist-esm/src/operations/locations.d.ts.map +1 -0
- package/dist-esm/src/operations/locations.js +79 -0
- package/dist-esm/src/operations/locations.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/placementPolicies.d.ts +116 -0
- package/dist-esm/src/operations/placementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/placementPolicies.js +466 -0
- package/dist-esm/src/operations/placementPolicies.js.map +1 -0
- package/dist-esm/src/operations/privateClouds.d.ts +142 -0
- package/dist-esm/src/operations/privateClouds.d.ts.map +1 -0
- package/dist-esm/src/operations/privateClouds.js +672 -0
- package/dist-esm/src/operations/privateClouds.js.map +1 -0
- package/dist-esm/src/operations/scriptCmdlets.d.ts +53 -0
- package/dist-esm/src/operations/scriptCmdlets.d.ts.map +1 -0
- package/dist-esm/src/operations/scriptCmdlets.js +191 -0
- package/dist-esm/src/operations/scriptCmdlets.js.map +1 -0
- package/dist-esm/src/operations/scriptExecutions.d.ts +89 -0
- package/dist-esm/src/operations/scriptExecutions.d.ts.map +1 -0
- package/dist-esm/src/operations/scriptExecutions.js +371 -0
- package/dist-esm/src/operations/scriptExecutions.js.map +1 -0
- package/dist-esm/src/operations/scriptPackages.d.ts +46 -0
- package/dist-esm/src/operations/scriptPackages.d.ts.map +1 -0
- package/dist-esm/src/operations/scriptPackages.js +169 -0
- package/dist-esm/src/operations/scriptPackages.js.map +1 -0
- package/dist-esm/src/operations/virtualMachines.d.ts +71 -0
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachines.js +272 -0
- package/dist-esm/src/operations/virtualMachines.js.map +1 -0
- package/dist-esm/src/operations/workloadNetworks.d.ts +661 -0
- package/dist-esm/src/operations/workloadNetworks.d.ts.map +1 -0
- package/dist-esm/src/operations/workloadNetworks.js +3049 -0
- package/dist-esm/src/operations/workloadNetworks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/addons.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/addons.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/addons.js +9 -0
- package/dist-esm/src/operationsInterfaces/addons.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/authorizations.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/authorizations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/authorizations.js +9 -0
- package/dist-esm/src/operationsInterfaces/authorizations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudLinks.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/cloudLinks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudLinks.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudLinks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/datastores.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/datastores.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/datastores.js +9 -0
- package/dist-esm/src/operationsInterfaces/datastores.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.js +9 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +24 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.js +9 -0
- package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts +89 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts +106 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.js +9 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.js +9 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.js +9 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts +500 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.js +9 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -31
- package/review/arm-avs.api.md +2534 -0
- package/rollup.config.js +181 -30
- package/src/azureVMwareSolutionAPI.ts +139 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +3101 -931
- package/src/models/mappers.ts +2874 -387
- package/src/models/parameters.ts +407 -44
- package/src/operations/addons.ts +472 -0
- package/src/operations/authorizations.ts +341 -196
- package/src/operations/cloudLinks.ts +478 -0
- package/src/operations/clusters.ts +444 -238
- package/src/operations/datastores.ts +525 -0
- package/src/operations/globalReachConnections.ts +488 -0
- package/src/operations/hcxEnterpriseSites.ts +200 -210
- package/src/operations/index.ts +13 -5
- package/src/operations/locations.ts +56 -83
- package/src/operations/operations.ts +87 -73
- package/src/operations/placementPolicies.ts +677 -0
- package/src/operations/privateClouds.ts +705 -319
- package/src/operations/scriptCmdlets.ts +266 -0
- package/src/operations/scriptExecutions.ts +524 -0
- package/src/operations/scriptPackages.ts +229 -0
- package/src/operations/virtualMachines.ts +390 -0
- package/src/operations/workloadNetworks.ts +4398 -0
- package/src/operationsInterfaces/addons.ts +109 -0
- package/src/operationsInterfaces/authorizations.ts +109 -0
- package/src/operationsInterfaces/cloudLinks.ts +109 -0
- package/src/operationsInterfaces/clusters.ts +147 -0
- package/src/operationsInterfaces/datastores.ts +121 -0
- package/src/operationsInterfaces/globalReachConnections.ts +109 -0
- package/src/operationsInterfaces/hcxEnterpriseSites.ts +75 -0
- package/src/operationsInterfaces/index.ts +24 -0
- package/src/operationsInterfaces/locations.ts +36 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/placementPolicies.ts +170 -0
- package/src/operationsInterfaces/privateClouds.ts +198 -0
- package/src/operationsInterfaces/scriptCmdlets.ts +50 -0
- package/src/operationsInterfaces/scriptExecutions.ts +124 -0
- package/src/operationsInterfaces/scriptPackages.ts +44 -0
- package/src/operationsInterfaces/virtualMachines.ts +85 -0
- package/src/operationsInterfaces/workloadNetworks.ts +951 -0
- package/tsconfig.json +3 -3
- package/types/arm-avs.d.ts +4645 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-avs.js +0 -2585
- package/dist/arm-avs.js.map +0 -1
- package/dist/arm-avs.min.js +0 -1
- package/dist/arm-avs.min.js.map +0 -1
- package/esm/avsClient.d.ts +0 -23
- package/esm/avsClient.d.ts.map +0 -1
- package/esm/avsClient.js +0 -38
- package/esm/avsClient.js.map +0 -1
- package/esm/avsClientContext.d.ts +0 -16
- package/esm/avsClientContext.d.ts.map +0 -1
- package/esm/avsClientContext.js +0 -56
- package/esm/avsClientContext.js.map +0 -1
- package/esm/models/authorizationsMappers.d.ts +0 -2
- package/esm/models/authorizationsMappers.d.ts.map +0 -1
- package/esm/models/authorizationsMappers.js +0 -9
- package/esm/models/authorizationsMappers.js.map +0 -1
- package/esm/models/clustersMappers.d.ts +0 -2
- package/esm/models/clustersMappers.d.ts.map +0 -1
- package/esm/models/clustersMappers.js +0 -9
- package/esm/models/clustersMappers.js.map +0 -1
- package/esm/models/hcxEnterpriseSitesMappers.d.ts +0 -2
- package/esm/models/hcxEnterpriseSitesMappers.d.ts.map +0 -1
- package/esm/models/hcxEnterpriseSitesMappers.js +0 -9
- package/esm/models/hcxEnterpriseSitesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1163
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/locationsMappers.d.ts +0 -2
- package/esm/models/locationsMappers.d.ts.map +0 -1
- package/esm/models/locationsMappers.js +0 -9
- package/esm/models/locationsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -30
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -881
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -122
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateCloudsMappers.d.ts +0 -2
- package/esm/models/privateCloudsMappers.d.ts.map +0 -1
- package/esm/models/privateCloudsMappers.js +0 -9
- package/esm/models/privateCloudsMappers.js.map +0 -1
- package/esm/operations/authorizations.d.ts +0 -115
- package/esm/operations/authorizations.d.ts.map +0 -1
- package/esm/operations/authorizations.js +0 -239
- package/esm/operations/authorizations.js.map +0 -1
- package/esm/operations/clusters.d.ts +0 -133
- package/esm/operations/clusters.d.ts.map +0 -1
- package/esm/operations/clusters.js +0 -299
- package/esm/operations/clusters.js.map +0 -1
- package/esm/operations/hcxEnterpriseSites.d.ts +0 -127
- package/esm/operations/hcxEnterpriseSites.d.ts.map +0 -1
- package/esm/operations/hcxEnterpriseSites.js +0 -196
- package/esm/operations/hcxEnterpriseSites.js.map +0 -1
- package/esm/operations/index.d.ts +0 -7
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -16
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/locations.d.ts +0 -49
- package/esm/operations/locations.d.ts.map +0 -1
- package/esm/operations/locations.js +0 -85
- package/esm/operations/locations.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateClouds.d.ts +0 -177
- package/esm/operations/privateClouds.d.ts.map +0 -1
- package/esm/operations/privateClouds.js +0 -365
- package/esm/operations/privateClouds.js.map +0 -1
- package/src/avsClient.ts +0 -52
- package/src/avsClientContext.ts +0 -62
- package/src/models/authorizationsMappers.ts +0 -27
- package/src/models/clustersMappers.ts +0 -28
- package/src/models/hcxEnterpriseSitesMappers.ts +0 -27
- package/src/models/locationsMappers.ts +0 -15
- package/src/models/operationsMappers.ts +0 -16
- package/src/models/privateCloudsMappers.ts +0 -29
|
@@ -0,0 +1,124 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
ScriptExecution,
|
|
13
|
+
ScriptExecutionsListOptionalParams,
|
|
14
|
+
ScriptExecutionsGetOptionalParams,
|
|
15
|
+
ScriptExecutionsGetResponse,
|
|
16
|
+
ScriptExecutionsCreateOrUpdateOptionalParams,
|
|
17
|
+
ScriptExecutionsCreateOrUpdateResponse,
|
|
18
|
+
ScriptExecutionsDeleteOptionalParams,
|
|
19
|
+
ScriptExecutionsGetExecutionLogsOptionalParams,
|
|
20
|
+
ScriptExecutionsGetExecutionLogsResponse
|
|
21
|
+
} from "../models";
|
|
22
|
+
|
|
23
|
+
/// <reference lib="esnext.asynciterable" />
|
|
24
|
+
/** Interface representing a ScriptExecutions. */
|
|
25
|
+
export interface ScriptExecutions {
|
|
26
|
+
/**
|
|
27
|
+
* List script executions in a private cloud
|
|
28
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
29
|
+
* @param privateCloudName Name of the private cloud
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
list(
|
|
33
|
+
resourceGroupName: string,
|
|
34
|
+
privateCloudName: string,
|
|
35
|
+
options?: ScriptExecutionsListOptionalParams
|
|
36
|
+
): PagedAsyncIterableIterator<ScriptExecution>;
|
|
37
|
+
/**
|
|
38
|
+
* Get an script execution by name in a private cloud
|
|
39
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
+
* @param privateCloudName Name of the private cloud
|
|
41
|
+
* @param scriptExecutionName Name of the user-invoked script execution resource
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
get(
|
|
45
|
+
resourceGroupName: string,
|
|
46
|
+
privateCloudName: string,
|
|
47
|
+
scriptExecutionName: string,
|
|
48
|
+
options?: ScriptExecutionsGetOptionalParams
|
|
49
|
+
): Promise<ScriptExecutionsGetResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Create or update a script execution in a private cloud
|
|
52
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
53
|
+
* @param privateCloudName The name of the private cloud.
|
|
54
|
+
* @param scriptExecutionName Name of the user-invoked script execution resource
|
|
55
|
+
* @param scriptExecution A script running in the private cloud
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
beginCreateOrUpdate(
|
|
59
|
+
resourceGroupName: string,
|
|
60
|
+
privateCloudName: string,
|
|
61
|
+
scriptExecutionName: string,
|
|
62
|
+
scriptExecution: ScriptExecution,
|
|
63
|
+
options?: ScriptExecutionsCreateOrUpdateOptionalParams
|
|
64
|
+
): Promise<
|
|
65
|
+
PollerLike<
|
|
66
|
+
PollOperationState<ScriptExecutionsCreateOrUpdateResponse>,
|
|
67
|
+
ScriptExecutionsCreateOrUpdateResponse
|
|
68
|
+
>
|
|
69
|
+
>;
|
|
70
|
+
/**
|
|
71
|
+
* Create or update a script execution in a private cloud
|
|
72
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
73
|
+
* @param privateCloudName The name of the private cloud.
|
|
74
|
+
* @param scriptExecutionName Name of the user-invoked script execution resource
|
|
75
|
+
* @param scriptExecution A script running in the private cloud
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
beginCreateOrUpdateAndWait(
|
|
79
|
+
resourceGroupName: string,
|
|
80
|
+
privateCloudName: string,
|
|
81
|
+
scriptExecutionName: string,
|
|
82
|
+
scriptExecution: ScriptExecution,
|
|
83
|
+
options?: ScriptExecutionsCreateOrUpdateOptionalParams
|
|
84
|
+
): Promise<ScriptExecutionsCreateOrUpdateResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* Cancel a ScriptExecution in a private cloud
|
|
87
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
88
|
+
* @param privateCloudName Name of the private cloud
|
|
89
|
+
* @param scriptExecutionName Name of the user-invoked script execution resource
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
beginDelete(
|
|
93
|
+
resourceGroupName: string,
|
|
94
|
+
privateCloudName: string,
|
|
95
|
+
scriptExecutionName: string,
|
|
96
|
+
options?: ScriptExecutionsDeleteOptionalParams
|
|
97
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
98
|
+
/**
|
|
99
|
+
* Cancel a ScriptExecution in a private cloud
|
|
100
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
101
|
+
* @param privateCloudName Name of the private cloud
|
|
102
|
+
* @param scriptExecutionName Name of the user-invoked script execution resource
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
beginDeleteAndWait(
|
|
106
|
+
resourceGroupName: string,
|
|
107
|
+
privateCloudName: string,
|
|
108
|
+
scriptExecutionName: string,
|
|
109
|
+
options?: ScriptExecutionsDeleteOptionalParams
|
|
110
|
+
): Promise<void>;
|
|
111
|
+
/**
|
|
112
|
+
* Return the logs for a script execution resource
|
|
113
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
114
|
+
* @param privateCloudName Name of the private cloud
|
|
115
|
+
* @param scriptExecutionName Name of the user-invoked script execution resource
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
getExecutionLogs(
|
|
119
|
+
resourceGroupName: string,
|
|
120
|
+
privateCloudName: string,
|
|
121
|
+
scriptExecutionName: string,
|
|
122
|
+
options?: ScriptExecutionsGetExecutionLogsOptionalParams
|
|
123
|
+
): Promise<ScriptExecutionsGetExecutionLogsResponse>;
|
|
124
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
ScriptPackage,
|
|
12
|
+
ScriptPackagesListOptionalParams,
|
|
13
|
+
ScriptPackagesGetOptionalParams,
|
|
14
|
+
ScriptPackagesGetResponse
|
|
15
|
+
} from "../models";
|
|
16
|
+
|
|
17
|
+
/// <reference lib="esnext.asynciterable" />
|
|
18
|
+
/** Interface representing a ScriptPackages. */
|
|
19
|
+
export interface ScriptPackages {
|
|
20
|
+
/**
|
|
21
|
+
* List script packages available to run on the private cloud
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param privateCloudName Name of the private cloud
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(
|
|
27
|
+
resourceGroupName: string,
|
|
28
|
+
privateCloudName: string,
|
|
29
|
+
options?: ScriptPackagesListOptionalParams
|
|
30
|
+
): PagedAsyncIterableIterator<ScriptPackage>;
|
|
31
|
+
/**
|
|
32
|
+
* Get a script package available to run on a private cloud
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param privateCloudName Name of the private cloud
|
|
35
|
+
* @param scriptPackageName Name of the script package in the private cloud
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
get(
|
|
39
|
+
resourceGroupName: string,
|
|
40
|
+
privateCloudName: string,
|
|
41
|
+
scriptPackageName: string,
|
|
42
|
+
options?: ScriptPackagesGetOptionalParams
|
|
43
|
+
): Promise<ScriptPackagesGetResponse>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
VirtualMachine,
|
|
13
|
+
VirtualMachinesListOptionalParams,
|
|
14
|
+
VirtualMachinesGetOptionalParams,
|
|
15
|
+
VirtualMachinesGetResponse,
|
|
16
|
+
VirtualMachineRestrictMovement,
|
|
17
|
+
VirtualMachinesRestrictMovementOptionalParams
|
|
18
|
+
} from "../models";
|
|
19
|
+
|
|
20
|
+
/// <reference lib="esnext.asynciterable" />
|
|
21
|
+
/** Interface representing a VirtualMachines. */
|
|
22
|
+
export interface VirtualMachines {
|
|
23
|
+
/**
|
|
24
|
+
* List of virtual machines in a private cloud cluster
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param privateCloudName Name of the private cloud
|
|
27
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
privateCloudName: string,
|
|
33
|
+
clusterName: string,
|
|
34
|
+
options?: VirtualMachinesListOptionalParams
|
|
35
|
+
): PagedAsyncIterableIterator<VirtualMachine>;
|
|
36
|
+
/**
|
|
37
|
+
* Get a virtual machine by id in a private cloud cluster
|
|
38
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
39
|
+
* @param privateCloudName Name of the private cloud
|
|
40
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
41
|
+
* @param virtualMachineId Virtual Machine identifier
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
get(
|
|
45
|
+
resourceGroupName: string,
|
|
46
|
+
privateCloudName: string,
|
|
47
|
+
clusterName: string,
|
|
48
|
+
virtualMachineId: string,
|
|
49
|
+
options?: VirtualMachinesGetOptionalParams
|
|
50
|
+
): Promise<VirtualMachinesGetResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Enable or disable DRS-driven VM movement restriction
|
|
53
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
54
|
+
* @param privateCloudName Name of the private cloud
|
|
55
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
56
|
+
* @param virtualMachineId Virtual Machine identifier
|
|
57
|
+
* @param restrictMovement Whether VM DRS-driven movement is restricted (Enabled) or not (Disabled)
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
beginRestrictMovement(
|
|
61
|
+
resourceGroupName: string,
|
|
62
|
+
privateCloudName: string,
|
|
63
|
+
clusterName: string,
|
|
64
|
+
virtualMachineId: string,
|
|
65
|
+
restrictMovement: VirtualMachineRestrictMovement,
|
|
66
|
+
options?: VirtualMachinesRestrictMovementOptionalParams
|
|
67
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
68
|
+
/**
|
|
69
|
+
* Enable or disable DRS-driven VM movement restriction
|
|
70
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
71
|
+
* @param privateCloudName Name of the private cloud
|
|
72
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
73
|
+
* @param virtualMachineId Virtual Machine identifier
|
|
74
|
+
* @param restrictMovement Whether VM DRS-driven movement is restricted (Enabled) or not (Disabled)
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
beginRestrictMovementAndWait(
|
|
78
|
+
resourceGroupName: string,
|
|
79
|
+
privateCloudName: string,
|
|
80
|
+
clusterName: string,
|
|
81
|
+
virtualMachineId: string,
|
|
82
|
+
restrictMovement: VirtualMachineRestrictMovement,
|
|
83
|
+
options?: VirtualMachinesRestrictMovementOptionalParams
|
|
84
|
+
): Promise<void>;
|
|
85
|
+
}
|