@azure/arm-resourcemover 1.1.1 → 2.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 +69 -83
- package/dist/index.js +3878 -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/samples-dev/moveCollectionsBulkRemove.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsBulkRemove.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsBulkRemove.js +38 -0
- package/dist-esm/samples-dev/moveCollectionsBulkRemove.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsCommit.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsCommit.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsCommit.js +38 -0
- package/dist-esm/samples-dev/moveCollectionsCommit.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsCreate.js +37 -0
- package/dist-esm/samples-dev/moveCollectionsCreate.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsDelete.js +31 -0
- package/dist-esm/samples-dev/moveCollectionsDelete.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsDiscard.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsDiscard.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsDiscard.js +38 -0
- package/dist-esm/samples-dev/moveCollectionsDiscard.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsGet.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsGet.js +31 -0
- package/dist-esm/samples-dev/moveCollectionsGet.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsInitiateMove.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsInitiateMove.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsInitiateMove.js +38 -0
- package/dist-esm/samples-dev/moveCollectionsInitiateMove.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.js +43 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsPrepare.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsPrepare.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsPrepare.js +38 -0
- package/dist-esm/samples-dev/moveCollectionsPrepare.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsResolveDependencies.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsResolveDependencies.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsResolveDependencies.js +31 -0
- package/dist-esm/samples-dev/moveCollectionsResolveDependencies.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsUpdate.js +36 -0
- package/dist-esm/samples-dev/moveCollectionsUpdate.js.map +1 -0
- package/dist-esm/samples-dev/moveResourcesCreate.d.ts +2 -0
- package/dist-esm/samples-dev/moveResourcesCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveResourcesCreate.js +54 -0
- package/dist-esm/samples-dev/moveResourcesCreate.js.map +1 -0
- package/dist-esm/samples-dev/moveResourcesDelete.d.ts +2 -0
- package/dist-esm/samples-dev/moveResourcesDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveResourcesDelete.js +32 -0
- package/dist-esm/samples-dev/moveResourcesDelete.js.map +1 -0
- package/dist-esm/samples-dev/moveResourcesGet.d.ts +2 -0
- package/dist-esm/samples-dev/moveResourcesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveResourcesGet.js +32 -0
- package/dist-esm/samples-dev/moveResourcesGet.js.map +1 -0
- package/dist-esm/samples-dev/moveResourcesList.d.ts +2 -0
- package/dist-esm/samples-dev/moveResourcesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveResourcesList.js +45 -0
- package/dist-esm/samples-dev/moveResourcesList.js.map +1 -0
- package/dist-esm/samples-dev/operationsDiscoveryGet.d.ts +2 -0
- package/dist-esm/samples-dev/operationsDiscoveryGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsDiscoveryGet.js +29 -0
- package/dist-esm/samples-dev/operationsDiscoveryGet.js.map +1 -0
- package/dist-esm/samples-dev/requiredForGet.d.ts +2 -0
- package/dist-esm/samples-dev/requiredForGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/requiredForGet.js +32 -0
- package/dist-esm/samples-dev/requiredForGet.js.map +1 -0
- package/dist-esm/samples-dev/unresolvedDependenciesGet.d.ts +2 -0
- package/dist-esm/samples-dev/unresolvedDependenciesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/unresolvedDependenciesGet.js +45 -0
- package/dist-esm/samples-dev/unresolvedDependenciesGet.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm/models/unresolvedDependenciesMappers.js → dist-esm/src/index.js} +5 -2
- 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 +1273 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +93 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +88 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1091 -983
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +23 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +173 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/moveCollections.d.ts +211 -0
- package/dist-esm/src/operations/moveCollections.d.ts.map +1 -0
- package/dist-esm/src/operations/moveCollections.js +961 -0
- package/dist-esm/src/operations/moveCollections.js.map +1 -0
- package/dist-esm/src/operations/moveResources.d.ts +79 -0
- package/dist-esm/src/operations/moveResources.d.ts.map +1 -0
- package/dist-esm/src/operations/moveResources.js +339 -0
- package/dist-esm/src/operations/moveResources.js.map +1 -0
- package/dist-esm/src/operations/operationsDiscoveryOperations.d.ts +15 -0
- package/dist-esm/src/operations/operationsDiscoveryOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/operationsDiscoveryOperations.js +43 -0
- package/dist-esm/src/operations/operationsDiscoveryOperations.js.map +1 -0
- package/dist-esm/src/operations/unresolvedDependencies.d.ts +38 -0
- package/dist-esm/src/operations/unresolvedDependencies.d.ts.map +1 -0
- package/dist-esm/src/operations/unresolvedDependencies.js +147 -0
- package/dist-esm/src/operations/unresolvedDependencies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/moveCollections.d.ts +173 -0
- package/dist-esm/src/operationsInterfaces/moveCollections.d.ts.map +1 -0
- package/{src/models/operationsDiscoveryOperationsMappers.ts → dist-esm/src/operationsInterfaces/moveCollections.js} +2 -8
- package/dist-esm/src/operationsInterfaces/moveCollections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/moveResources.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/moveResources.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/moveResources.js} +2 -1
- package/dist-esm/src/operationsInterfaces/moveResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.d.ts.map +1 -0
- package/{esm/models/operationsDiscoveryOperationsMappers.js → dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.js} +2 -2
- package/dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/unresolvedDependencies.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/unresolvedDependencies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/unresolvedDependencies.js +9 -0
- package/dist-esm/src/operationsInterfaces/unresolvedDependencies.js.map +1 -0
- package/dist-esm/src/resourceMoverServiceAPI.d.ts +21 -0
- package/dist-esm/src/resourceMoverServiceAPI.d.ts.map +1 -0
- package/dist-esm/src/resourceMoverServiceAPI.js +54 -0
- package/dist-esm/src/resourceMoverServiceAPI.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 +77 -33
- package/review/arm-resourcemover.api.md +946 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1043 -1764
- package/src/models/mappers.ts +1096 -976
- package/src/models/parameters.ts +128 -48
- package/src/operations/index.ts +1 -2
- package/src/operations/moveCollections.ts +1014 -621
- package/src/operations/moveResources.ts +357 -203
- package/src/operations/operationsDiscoveryOperations.ts +28 -43
- package/src/operations/unresolvedDependencies.ts +142 -87
- package/src/{models/unresolvedDependenciesMappers.ts → operationsInterfaces/index.ts} +4 -8
- package/src/operationsInterfaces/moveCollections.ts +321 -0
- package/src/operationsInterfaces/moveResources.ts +111 -0
- package/src/operationsInterfaces/operationsDiscoveryOperations.ts +20 -0
- package/src/operationsInterfaces/unresolvedDependencies.ts +29 -0
- package/src/resourceMoverServiceAPI.ts +78 -38
- package/tsconfig.json +5 -4
- package/types/arm-resourcemover.d.ts +1673 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-resourcemover.js +0 -3490
- package/dist/arm-resourcemover.js.map +0 -1
- package/dist/arm-resourcemover.min.js +0 -1
- package/dist/arm-resourcemover.min.js.map +0 -1
- package/esm/models/index.d.ts +0 -1997
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -87
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/moveCollectionsMappers.d.ts +0 -2
- package/esm/models/moveCollectionsMappers.d.ts.map +0 -1
- package/esm/models/moveCollectionsMappers.js +0 -9
- package/esm/models/moveCollectionsMappers.js.map +0 -1
- package/esm/models/moveResourcesMappers.d.ts +0 -2
- package/esm/models/moveResourcesMappers.d.ts.map +0 -1
- package/esm/models/moveResourcesMappers.js +0 -9
- package/esm/models/moveResourcesMappers.js.map +0 -1
- package/esm/models/operationsDiscoveryOperationsMappers.d.ts +0 -2
- package/esm/models/operationsDiscoveryOperationsMappers.d.ts.map +0 -1
- package/esm/models/operationsDiscoveryOperationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -13
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -126
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/unresolvedDependenciesMappers.d.ts +0 -2
- package/esm/models/unresolvedDependenciesMappers.d.ts.map +0 -1
- package/esm/models/unresolvedDependenciesMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/moveCollections.d.ts +0 -316
- package/esm/operations/moveCollections.d.ts.map +0 -1
- package/esm/operations/moveCollections.js +0 -699
- package/esm/operations/moveCollections.js.map +0 -1
- package/esm/operations/moveResources.d.ts +0 -113
- package/esm/operations/moveResources.d.ts.map +0 -1
- package/esm/operations/moveResources.js +0 -239
- package/esm/operations/moveResources.js.map +0 -1
- package/esm/operations/operationsDiscoveryOperations.d.ts +0 -27
- package/esm/operations/operationsDiscoveryOperations.d.ts.map +0 -1
- package/esm/operations/operationsDiscoveryOperations.js +0 -50
- package/esm/operations/operationsDiscoveryOperations.js.map +0 -1
- package/esm/operations/unresolvedDependencies.d.ts +0 -52
- package/esm/operations/unresolvedDependencies.d.ts.map +0 -1
- package/esm/operations/unresolvedDependencies.js +0 -92
- package/esm/operations/unresolvedDependencies.js.map +0 -1
- package/esm/resourceMoverServiceAPI.d.ts +0 -27
- package/esm/resourceMoverServiceAPI.d.ts.map +0 -1
- package/esm/resourceMoverServiceAPI.js +0 -40
- package/esm/resourceMoverServiceAPI.js.map +0 -1
- package/esm/resourceMoverServiceAPIContext.d.ts +0 -22
- package/esm/resourceMoverServiceAPIContext.d.ts.map +0 -1
- package/esm/resourceMoverServiceAPIContext.js +0 -60
- package/esm/resourceMoverServiceAPIContext.js.map +0 -1
- package/src/models/moveCollectionsMappers.ts +0 -68
- package/src/models/moveResourcesMappers.ts +0 -63
- package/src/resourceMoverServiceAPIContext.ts +0 -67
|
@@ -0,0 +1,1673 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
import { PollerLike } from '@azure/core-lro';
|
|
5
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/** The RP custom operation error info. */
|
|
8
|
+
export declare interface AffectedMoveResource {
|
|
9
|
+
/**
|
|
10
|
+
* The affected move resource id.
|
|
11
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
12
|
+
*/
|
|
13
|
+
readonly id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The affected move resource source id.
|
|
16
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
17
|
+
*/
|
|
18
|
+
readonly sourceId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The affected move resources.
|
|
21
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
22
|
+
*/
|
|
23
|
+
readonly moveResources?: AffectedMoveResource[];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** Defines the properties for automatic resolution. */
|
|
27
|
+
export declare interface AutomaticResolutionProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Gets the MoveResource ARM ID of
|
|
30
|
+
* the dependent resource if the resolution type is Automatic.
|
|
31
|
+
*/
|
|
32
|
+
moveResourceId?: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** Gets or sets the availability set resource settings. */
|
|
36
|
+
export declare type AvailabilitySetResourceSettings = ResourceSettings & {
|
|
37
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
38
|
+
resourceType: "Microsoft.Compute/availabilitySets";
|
|
39
|
+
/** Gets or sets the Resource tags. */
|
|
40
|
+
tags?: {
|
|
41
|
+
[propertyName: string]: string;
|
|
42
|
+
};
|
|
43
|
+
/** Gets or sets the target fault domain. */
|
|
44
|
+
faultDomain?: number;
|
|
45
|
+
/** Gets or sets the target update domain. */
|
|
46
|
+
updateDomain?: number;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/** Defines reference to an Azure resource. */
|
|
50
|
+
export declare interface AzureResourceReference {
|
|
51
|
+
/** Gets the ARM resource ID of the tracked resource being referenced. */
|
|
52
|
+
sourceArmResourceId: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** Defines the request body for bulk remove of move resources operation. */
|
|
56
|
+
export declare interface BulkRemoveRequest {
|
|
57
|
+
/** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
|
|
58
|
+
validateOnly?: boolean;
|
|
59
|
+
/** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
|
|
60
|
+
moveResources?: string[];
|
|
61
|
+
/** Defines the move resource input type. */
|
|
62
|
+
moveResourceInputType?: MoveResourceInputType;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** An error response from the service. */
|
|
66
|
+
export declare interface CloudError {
|
|
67
|
+
/** Cloud error body. */
|
|
68
|
+
error?: CloudErrorBody;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** An error response from the service. */
|
|
72
|
+
export declare interface CloudErrorBody {
|
|
73
|
+
/** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
|
|
74
|
+
code?: string;
|
|
75
|
+
/** A message describing the error, intended to be suitable for display in a user interface. */
|
|
76
|
+
message?: string;
|
|
77
|
+
/** The target of the particular error. For example, the name of the property in error. */
|
|
78
|
+
target?: string;
|
|
79
|
+
/** A list of additional details about the error. */
|
|
80
|
+
details?: CloudErrorBody[];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/** Defines the request body for commit operation. */
|
|
84
|
+
export declare interface CommitRequest {
|
|
85
|
+
/** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
|
|
86
|
+
validateOnly?: boolean;
|
|
87
|
+
/** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
|
|
88
|
+
moveResources: string[];
|
|
89
|
+
/** Defines the move resource input type. */
|
|
90
|
+
moveResourceInputType?: MoveResourceInputType;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Defines values for CreatedByType. \
|
|
95
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
96
|
+
* this enum contains the known values that the service supports.
|
|
97
|
+
* ### Known values supported by the service
|
|
98
|
+
* **User** \
|
|
99
|
+
* **Application** \
|
|
100
|
+
* **ManagedIdentity** \
|
|
101
|
+
* **Key**
|
|
102
|
+
*/
|
|
103
|
+
export declare type CreatedByType = string;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Defines values for DependencyLevel. \
|
|
107
|
+
* {@link KnownDependencyLevel} can be used interchangeably with DependencyLevel,
|
|
108
|
+
* this enum contains the known values that the service supports.
|
|
109
|
+
* ### Known values supported by the service
|
|
110
|
+
* **Direct** \
|
|
111
|
+
* **Descendant**
|
|
112
|
+
*/
|
|
113
|
+
export declare type DependencyLevel = string;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Defines values for DependencyType. \
|
|
117
|
+
* {@link KnownDependencyType} can be used interchangeably with DependencyType,
|
|
118
|
+
* this enum contains the known values that the service supports.
|
|
119
|
+
* ### Known values supported by the service
|
|
120
|
+
* **RequiredForPrepare** \
|
|
121
|
+
* **RequiredForMove**
|
|
122
|
+
*/
|
|
123
|
+
export declare type DependencyType = string;
|
|
124
|
+
|
|
125
|
+
/** Defines the request body for discard operation. */
|
|
126
|
+
export declare interface DiscardRequest {
|
|
127
|
+
/** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
|
|
128
|
+
validateOnly?: boolean;
|
|
129
|
+
/** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
|
|
130
|
+
moveResources: string[];
|
|
131
|
+
/** Defines the move resource input type. */
|
|
132
|
+
moveResourceInputType?: MoveResourceInputType;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/** Defines the disk encryption set resource settings. */
|
|
136
|
+
export declare type DiskEncryptionSetResourceSettings = ResourceSettings & {
|
|
137
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
138
|
+
resourceType: "Microsoft.Compute/diskEncryptionSets";
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Contains the localized display information for this particular operation / action. These
|
|
143
|
+
* value will be used by several clients for
|
|
144
|
+
* (1) custom role definitions for RBAC;
|
|
145
|
+
* (2) complex query filters for the event service; and
|
|
146
|
+
* (3) audit history / records for management operations.
|
|
147
|
+
*/
|
|
148
|
+
export declare interface Display {
|
|
149
|
+
/**
|
|
150
|
+
* Gets or sets the provider.
|
|
151
|
+
* The localized friendly form of the resource provider name – it is expected to also
|
|
152
|
+
* include the publisher/company responsible.
|
|
153
|
+
* It should use Title Casing and begin with "Microsoft" for 1st party services.
|
|
154
|
+
* e.g. "Microsoft Monitoring Insights" or "Microsoft Compute.".
|
|
155
|
+
*/
|
|
156
|
+
provider?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Gets or sets the resource.
|
|
159
|
+
* The localized friendly form of the resource related to this action/operation – it
|
|
160
|
+
* should match the public documentation for the resource provider.
|
|
161
|
+
* It should use Title Casing.
|
|
162
|
+
* This value should be unique for a particular URL type (e.g. nested types should *not*
|
|
163
|
+
* reuse their parent’s display.resource field)
|
|
164
|
+
* e.g. "Virtual Machines" or "Scheduler Job Collections", or "Virtual Machine VM Sizes"
|
|
165
|
+
* or "Scheduler Jobs".
|
|
166
|
+
*/
|
|
167
|
+
resource?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Gets or sets the operation.
|
|
170
|
+
* The localized friendly name for the operation, as it should be shown to the user.
|
|
171
|
+
* It should be concise (to fit in drop downs) but clear (i.e. self-documenting).
|
|
172
|
+
* It should use Title Casing.
|
|
173
|
+
* Prescriptive guidance: Read Create or Update Delete 'ActionName'.
|
|
174
|
+
*/
|
|
175
|
+
operation?: string;
|
|
176
|
+
/**
|
|
177
|
+
* Gets or sets the description.
|
|
178
|
+
* The localized friendly description for the operation, as it should be shown to the
|
|
179
|
+
* user.
|
|
180
|
+
* It should be thorough, yet concise – it will be used in tool tips and detailed views.
|
|
181
|
+
* Prescriptive guidance for namespace:
|
|
182
|
+
* Read any 'display.provider' resource
|
|
183
|
+
* Create or Update any 'display.provider' resource
|
|
184
|
+
* Delete any 'display.provider' resource
|
|
185
|
+
* Perform any other action on any 'display.provider' resource
|
|
186
|
+
* Prescriptive guidance for namespace:
|
|
187
|
+
* Read any 'display.resource' Create or Update any 'display.resource' Delete any
|
|
188
|
+
* 'display.resource' 'ActionName' any 'display.resources'.
|
|
189
|
+
*/
|
|
190
|
+
description?: string;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/** Defines the MSI properties of the Move Collection. */
|
|
194
|
+
export declare interface Identity {
|
|
195
|
+
/** The type of identity used for the resource mover service. */
|
|
196
|
+
type?: ResourceIdentityType;
|
|
197
|
+
/** Gets or sets the principal id. */
|
|
198
|
+
principalId?: string;
|
|
199
|
+
/** Gets or sets the tenant id. */
|
|
200
|
+
tenantId?: string;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Defines values for JobName. \
|
|
205
|
+
* {@link KnownJobName} can be used interchangeably with JobName,
|
|
206
|
+
* this enum contains the known values that the service supports.
|
|
207
|
+
* ### Known values supported by the service
|
|
208
|
+
* **InitialSync**
|
|
209
|
+
*/
|
|
210
|
+
export declare type JobName = string;
|
|
211
|
+
|
|
212
|
+
/** Defines the job status. */
|
|
213
|
+
export declare interface JobStatus {
|
|
214
|
+
/**
|
|
215
|
+
* Defines the job name.
|
|
216
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
217
|
+
*/
|
|
218
|
+
readonly jobName?: JobName;
|
|
219
|
+
/**
|
|
220
|
+
* Gets or sets the monitoring job percentage.
|
|
221
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
222
|
+
*/
|
|
223
|
+
readonly jobProgress?: string;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/** Defines the key vault resource settings. */
|
|
227
|
+
export declare type KeyVaultResourceSettings = ResourceSettings & {
|
|
228
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
229
|
+
resourceType: "Microsoft.KeyVault/vaults";
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
233
|
+
export declare enum KnownCreatedByType {
|
|
234
|
+
User = "User",
|
|
235
|
+
Application = "Application",
|
|
236
|
+
ManagedIdentity = "ManagedIdentity",
|
|
237
|
+
Key = "Key"
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/** Known values of {@link DependencyLevel} that the service accepts. */
|
|
241
|
+
export declare enum KnownDependencyLevel {
|
|
242
|
+
Direct = "Direct",
|
|
243
|
+
Descendant = "Descendant"
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/** Known values of {@link DependencyType} that the service accepts. */
|
|
247
|
+
export declare enum KnownDependencyType {
|
|
248
|
+
RequiredForPrepare = "RequiredForPrepare",
|
|
249
|
+
RequiredForMove = "RequiredForMove"
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/** Known values of {@link JobName} that the service accepts. */
|
|
253
|
+
export declare enum KnownJobName {
|
|
254
|
+
InitialSync = "InitialSync"
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/** Known values of {@link MoveResourceInputType} that the service accepts. */
|
|
258
|
+
export declare enum KnownMoveResourceInputType {
|
|
259
|
+
MoveResourceId = "MoveResourceId",
|
|
260
|
+
MoveResourceSourceId = "MoveResourceSourceId"
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/** Known values of {@link MoveState} that the service accepts. */
|
|
264
|
+
export declare enum KnownMoveState {
|
|
265
|
+
AssignmentPending = "AssignmentPending",
|
|
266
|
+
PreparePending = "PreparePending",
|
|
267
|
+
PrepareInProgress = "PrepareInProgress",
|
|
268
|
+
PrepareFailed = "PrepareFailed",
|
|
269
|
+
MovePending = "MovePending",
|
|
270
|
+
MoveInProgress = "MoveInProgress",
|
|
271
|
+
MoveFailed = "MoveFailed",
|
|
272
|
+
DiscardInProgress = "DiscardInProgress",
|
|
273
|
+
DiscardFailed = "DiscardFailed",
|
|
274
|
+
CommitPending = "CommitPending",
|
|
275
|
+
CommitInProgress = "CommitInProgress",
|
|
276
|
+
CommitFailed = "CommitFailed",
|
|
277
|
+
Committed = "Committed",
|
|
278
|
+
DeleteSourcePending = "DeleteSourcePending",
|
|
279
|
+
ResourceMoveCompleted = "ResourceMoveCompleted"
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
283
|
+
export declare enum KnownProvisioningState {
|
|
284
|
+
Succeeded = "Succeeded",
|
|
285
|
+
Updating = "Updating",
|
|
286
|
+
Creating = "Creating",
|
|
287
|
+
Failed = "Failed"
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/** Known values of {@link ResolutionType} that the service accepts. */
|
|
291
|
+
export declare enum KnownResolutionType {
|
|
292
|
+
Manual = "Manual",
|
|
293
|
+
Automatic = "Automatic"
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/** Known values of {@link ResourceIdentityType} that the service accepts. */
|
|
297
|
+
export declare enum KnownResourceIdentityType {
|
|
298
|
+
None = "None",
|
|
299
|
+
SystemAssigned = "SystemAssigned",
|
|
300
|
+
UserAssigned = "UserAssigned"
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/** Known values of {@link TargetAvailabilityZone} that the service accepts. */
|
|
304
|
+
export declare enum KnownTargetAvailabilityZone {
|
|
305
|
+
One = "1",
|
|
306
|
+
Two = "2",
|
|
307
|
+
Three = "3",
|
|
308
|
+
NA = "NA"
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/** Known values of {@link ZoneRedundant} that the service accepts. */
|
|
312
|
+
export declare enum KnownZoneRedundant {
|
|
313
|
+
Enable = "Enable",
|
|
314
|
+
Disable = "Disable"
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/** Defines load balancer backend address pool properties. */
|
|
318
|
+
export declare interface LBBackendAddressPoolResourceSettings {
|
|
319
|
+
/** Gets or sets the backend address pool name. */
|
|
320
|
+
name?: string;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/** Defines load balancer frontend IP configuration properties. */
|
|
324
|
+
export declare interface LBFrontendIPConfigurationResourceSettings {
|
|
325
|
+
/** Gets or sets the frontend IP configuration name. */
|
|
326
|
+
name?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Gets or sets the IP address of the Load Balancer.This is only specified if a specific
|
|
329
|
+
* private IP address shall be allocated from the subnet specified in subnetRef.
|
|
330
|
+
*/
|
|
331
|
+
privateIpAddress?: string;
|
|
332
|
+
/** Gets or sets PrivateIP allocation method (Static/Dynamic). */
|
|
333
|
+
privateIpAllocationMethod?: string;
|
|
334
|
+
/** Defines reference to subnet. */
|
|
335
|
+
subnet?: SubnetReference;
|
|
336
|
+
/** Gets or sets the csv list of zones. */
|
|
337
|
+
zones?: string;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/** Defines reference to load balancer backend address pools. */
|
|
341
|
+
export declare type LoadBalancerBackendAddressPoolReference = ProxyResourceReference & {};
|
|
342
|
+
|
|
343
|
+
/** Defines reference to load balancer NAT rules. */
|
|
344
|
+
export declare type LoadBalancerNatRuleReference = ProxyResourceReference & {};
|
|
345
|
+
|
|
346
|
+
/** Defines the load balancer resource settings. */
|
|
347
|
+
export declare type LoadBalancerResourceSettings = ResourceSettings & {
|
|
348
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
349
|
+
resourceType: "Microsoft.Network/loadBalancers";
|
|
350
|
+
/** Gets or sets the Resource tags. */
|
|
351
|
+
tags?: {
|
|
352
|
+
[propertyName: string]: string;
|
|
353
|
+
};
|
|
354
|
+
/** Gets or sets load balancer sku (Basic/Standard). */
|
|
355
|
+
sku?: string;
|
|
356
|
+
/** Gets or sets the frontend IP configurations of the load balancer. */
|
|
357
|
+
frontendIPConfigurations?: LBFrontendIPConfigurationResourceSettings[];
|
|
358
|
+
/** Gets or sets the backend address pools of the load balancer. */
|
|
359
|
+
backendAddressPools?: LBBackendAddressPoolResourceSettings[];
|
|
360
|
+
/**
|
|
361
|
+
* Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given
|
|
362
|
+
* precedence only if frontend IP configurations settings are not present.
|
|
363
|
+
*/
|
|
364
|
+
zones?: string;
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
/** Defines the properties for manual resolution. */
|
|
368
|
+
export declare interface ManualResolutionProperties {
|
|
369
|
+
/** Gets or sets the target resource ARM ID of the dependent resource if the resource type is Manual. */
|
|
370
|
+
targetId?: string;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/** Define the move collection. */
|
|
374
|
+
export declare interface MoveCollection {
|
|
375
|
+
/**
|
|
376
|
+
* Fully qualified resource Id for the resource.
|
|
377
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
378
|
+
*/
|
|
379
|
+
readonly id?: string;
|
|
380
|
+
/**
|
|
381
|
+
* The name of the resource
|
|
382
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
383
|
+
*/
|
|
384
|
+
readonly name?: string;
|
|
385
|
+
/**
|
|
386
|
+
* The type of the resource.
|
|
387
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
388
|
+
*/
|
|
389
|
+
readonly type?: string;
|
|
390
|
+
/**
|
|
391
|
+
* The etag of the resource.
|
|
392
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
393
|
+
*/
|
|
394
|
+
readonly etag?: string;
|
|
395
|
+
/** Resource tags. */
|
|
396
|
+
tags?: {
|
|
397
|
+
[propertyName: string]: string;
|
|
398
|
+
};
|
|
399
|
+
/** The geo-location where the resource lives. */
|
|
400
|
+
location?: string;
|
|
401
|
+
/** Defines the MSI properties of the Move Collection. */
|
|
402
|
+
identity?: Identity;
|
|
403
|
+
/** Defines the move collection properties. */
|
|
404
|
+
properties?: MoveCollectionProperties;
|
|
405
|
+
/**
|
|
406
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
407
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
408
|
+
*/
|
|
409
|
+
readonly systemData?: SystemData;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/** Defines the move collection properties. */
|
|
413
|
+
export declare interface MoveCollectionProperties {
|
|
414
|
+
/** Gets or sets the source region. */
|
|
415
|
+
sourceRegion: string;
|
|
416
|
+
/** Gets or sets the target region. */
|
|
417
|
+
targetRegion: string;
|
|
418
|
+
/**
|
|
419
|
+
* Defines the provisioning states.
|
|
420
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
421
|
+
*/
|
|
422
|
+
readonly provisioningState?: ProvisioningState;
|
|
423
|
+
/**
|
|
424
|
+
* Defines the move collection errors.
|
|
425
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
426
|
+
*/
|
|
427
|
+
readonly errors?: MoveCollectionPropertiesErrors;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
/** Defines the move collection errors. */
|
|
431
|
+
export declare type MoveCollectionPropertiesErrors = MoveResourceError & {};
|
|
432
|
+
|
|
433
|
+
/** Defines the collection of move collections. */
|
|
434
|
+
export declare interface MoveCollectionResultList {
|
|
435
|
+
/** Gets the list of move collections. */
|
|
436
|
+
value?: MoveCollection[];
|
|
437
|
+
/** Gets the value of next link. */
|
|
438
|
+
nextLink?: string;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/** Interface representing a MoveCollections. */
|
|
442
|
+
export declare interface MoveCollections {
|
|
443
|
+
/**
|
|
444
|
+
* Get all the Move Collections in the subscription.
|
|
445
|
+
* @param options The options parameters.
|
|
446
|
+
*/
|
|
447
|
+
listMoveCollectionsBySubscription(options?: MoveCollectionsListMoveCollectionsBySubscriptionOptionalParams): PagedAsyncIterableIterator<MoveCollection>;
|
|
448
|
+
/**
|
|
449
|
+
* Get all the Move Collections in the resource group.
|
|
450
|
+
* @param resourceGroupName The Resource Group Name.
|
|
451
|
+
* @param options The options parameters.
|
|
452
|
+
*/
|
|
453
|
+
listMoveCollectionsByResourceGroup(resourceGroupName: string, options?: MoveCollectionsListMoveCollectionsByResourceGroupOptionalParams): PagedAsyncIterableIterator<MoveCollection>;
|
|
454
|
+
/**
|
|
455
|
+
* Creates or updates a move collection.
|
|
456
|
+
* @param resourceGroupName The Resource Group Name.
|
|
457
|
+
* @param moveCollectionName The Move Collection Name.
|
|
458
|
+
* @param options The options parameters.
|
|
459
|
+
*/
|
|
460
|
+
create(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsCreateOptionalParams): Promise<MoveCollectionsCreateResponse>;
|
|
461
|
+
/**
|
|
462
|
+
* Updates a move collection.
|
|
463
|
+
* @param resourceGroupName The Resource Group Name.
|
|
464
|
+
* @param moveCollectionName The Move Collection Name.
|
|
465
|
+
* @param options The options parameters.
|
|
466
|
+
*/
|
|
467
|
+
update(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsUpdateOptionalParams): Promise<MoveCollectionsUpdateResponse>;
|
|
468
|
+
/**
|
|
469
|
+
* Deletes a move collection.
|
|
470
|
+
* @param resourceGroupName The Resource Group Name.
|
|
471
|
+
* @param moveCollectionName The Move Collection Name.
|
|
472
|
+
* @param options The options parameters.
|
|
473
|
+
*/
|
|
474
|
+
beginDelete(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<MoveCollectionsDeleteResponse>, MoveCollectionsDeleteResponse>>;
|
|
475
|
+
/**
|
|
476
|
+
* Deletes a move collection.
|
|
477
|
+
* @param resourceGroupName The Resource Group Name.
|
|
478
|
+
* @param moveCollectionName The Move Collection Name.
|
|
479
|
+
* @param options The options parameters.
|
|
480
|
+
*/
|
|
481
|
+
beginDeleteAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsDeleteOptionalParams): Promise<MoveCollectionsDeleteResponse>;
|
|
482
|
+
/**
|
|
483
|
+
* Gets the move collection.
|
|
484
|
+
* @param resourceGroupName The Resource Group Name.
|
|
485
|
+
* @param moveCollectionName The Move Collection Name.
|
|
486
|
+
* @param options The options parameters.
|
|
487
|
+
*/
|
|
488
|
+
get(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsGetOptionalParams): Promise<MoveCollectionsGetResponse>;
|
|
489
|
+
/**
|
|
490
|
+
* Initiates prepare for the set of resources included in the request body. The prepare operation is on
|
|
491
|
+
* the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful
|
|
492
|
+
* completion the moveResource moveState do a transition to MovePending. To aid the user to
|
|
493
|
+
* prerequisite the operation the client can call operation with validateOnly property set to true.
|
|
494
|
+
* @param resourceGroupName The Resource Group Name.
|
|
495
|
+
* @param moveCollectionName The Move Collection Name.
|
|
496
|
+
* @param options The options parameters.
|
|
497
|
+
*/
|
|
498
|
+
beginPrepare(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsPrepareOptionalParams): Promise<PollerLike<PollOperationState<MoveCollectionsPrepareResponse>, MoveCollectionsPrepareResponse>>;
|
|
499
|
+
/**
|
|
500
|
+
* Initiates prepare for the set of resources included in the request body. The prepare operation is on
|
|
501
|
+
* the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful
|
|
502
|
+
* completion the moveResource moveState do a transition to MovePending. To aid the user to
|
|
503
|
+
* prerequisite the operation the client can call operation with validateOnly property set to true.
|
|
504
|
+
* @param resourceGroupName The Resource Group Name.
|
|
505
|
+
* @param moveCollectionName The Move Collection Name.
|
|
506
|
+
* @param options The options parameters.
|
|
507
|
+
*/
|
|
508
|
+
beginPrepareAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsPrepareOptionalParams): Promise<MoveCollectionsPrepareResponse>;
|
|
509
|
+
/**
|
|
510
|
+
* Moves the set of resources included in the request body. The move operation is triggered after the
|
|
511
|
+
* moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the
|
|
512
|
+
* moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the
|
|
513
|
+
* operation the client can call operation with validateOnly property set to true.
|
|
514
|
+
* @param resourceGroupName The Resource Group Name.
|
|
515
|
+
* @param moveCollectionName The Move Collection Name.
|
|
516
|
+
* @param options The options parameters.
|
|
517
|
+
*/
|
|
518
|
+
beginInitiateMove(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsInitiateMoveOptionalParams): Promise<PollerLike<PollOperationState<MoveCollectionsInitiateMoveResponse>, MoveCollectionsInitiateMoveResponse>>;
|
|
519
|
+
/**
|
|
520
|
+
* Moves the set of resources included in the request body. The move operation is triggered after the
|
|
521
|
+
* moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the
|
|
522
|
+
* moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the
|
|
523
|
+
* operation the client can call operation with validateOnly property set to true.
|
|
524
|
+
* @param resourceGroupName The Resource Group Name.
|
|
525
|
+
* @param moveCollectionName The Move Collection Name.
|
|
526
|
+
* @param options The options parameters.
|
|
527
|
+
*/
|
|
528
|
+
beginInitiateMoveAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsInitiateMoveOptionalParams): Promise<MoveCollectionsInitiateMoveResponse>;
|
|
529
|
+
/**
|
|
530
|
+
* Commits the set of resources included in the request body. The commit operation is triggered on the
|
|
531
|
+
* moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the
|
|
532
|
+
* moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation
|
|
533
|
+
* the client can call operation with validateOnly property set to true.
|
|
534
|
+
* @param resourceGroupName The Resource Group Name.
|
|
535
|
+
* @param moveCollectionName The Move Collection Name.
|
|
536
|
+
* @param options The options parameters.
|
|
537
|
+
*/
|
|
538
|
+
beginCommit(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsCommitOptionalParams): Promise<PollerLike<PollOperationState<MoveCollectionsCommitResponse>, MoveCollectionsCommitResponse>>;
|
|
539
|
+
/**
|
|
540
|
+
* Commits the set of resources included in the request body. The commit operation is triggered on the
|
|
541
|
+
* moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the
|
|
542
|
+
* moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation
|
|
543
|
+
* the client can call operation with validateOnly property set to true.
|
|
544
|
+
* @param resourceGroupName The Resource Group Name.
|
|
545
|
+
* @param moveCollectionName The Move Collection Name.
|
|
546
|
+
* @param options The options parameters.
|
|
547
|
+
*/
|
|
548
|
+
beginCommitAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsCommitOptionalParams): Promise<MoveCollectionsCommitResponse>;
|
|
549
|
+
/**
|
|
550
|
+
* Discards the set of resources included in the request body. The discard operation is triggered on
|
|
551
|
+
* the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion
|
|
552
|
+
* the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the
|
|
553
|
+
* operation the client can call operation with validateOnly property set to true.
|
|
554
|
+
* @param resourceGroupName The Resource Group Name.
|
|
555
|
+
* @param moveCollectionName The Move Collection Name.
|
|
556
|
+
* @param options The options parameters.
|
|
557
|
+
*/
|
|
558
|
+
beginDiscard(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsDiscardOptionalParams): Promise<PollerLike<PollOperationState<MoveCollectionsDiscardResponse>, MoveCollectionsDiscardResponse>>;
|
|
559
|
+
/**
|
|
560
|
+
* Discards the set of resources included in the request body. The discard operation is triggered on
|
|
561
|
+
* the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion
|
|
562
|
+
* the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the
|
|
563
|
+
* operation the client can call operation with validateOnly property set to true.
|
|
564
|
+
* @param resourceGroupName The Resource Group Name.
|
|
565
|
+
* @param moveCollectionName The Move Collection Name.
|
|
566
|
+
* @param options The options parameters.
|
|
567
|
+
*/
|
|
568
|
+
beginDiscardAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsDiscardOptionalParams): Promise<MoveCollectionsDiscardResponse>;
|
|
569
|
+
/**
|
|
570
|
+
* Computes, resolves and validate the dependencies of the moveResources in the move collection.
|
|
571
|
+
* @param resourceGroupName The Resource Group Name.
|
|
572
|
+
* @param moveCollectionName The Move Collection Name.
|
|
573
|
+
* @param options The options parameters.
|
|
574
|
+
*/
|
|
575
|
+
beginResolveDependencies(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsResolveDependenciesOptionalParams): Promise<PollerLike<PollOperationState<MoveCollectionsResolveDependenciesResponse>, MoveCollectionsResolveDependenciesResponse>>;
|
|
576
|
+
/**
|
|
577
|
+
* Computes, resolves and validate the dependencies of the moveResources in the move collection.
|
|
578
|
+
* @param resourceGroupName The Resource Group Name.
|
|
579
|
+
* @param moveCollectionName The Move Collection Name.
|
|
580
|
+
* @param options The options parameters.
|
|
581
|
+
*/
|
|
582
|
+
beginResolveDependenciesAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsResolveDependenciesOptionalParams): Promise<MoveCollectionsResolveDependenciesResponse>;
|
|
583
|
+
/**
|
|
584
|
+
* Removes the set of move resources included in the request body from move collection. The
|
|
585
|
+
* orchestration is done by service. To aid the user to prerequisite the operation the client can call
|
|
586
|
+
* operation with validateOnly property set to true.
|
|
587
|
+
* @param resourceGroupName
|
|
588
|
+
* @param moveCollectionName
|
|
589
|
+
* @param options The options parameters.
|
|
590
|
+
*/
|
|
591
|
+
beginBulkRemove(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsBulkRemoveOptionalParams): Promise<PollerLike<PollOperationState<MoveCollectionsBulkRemoveResponse>, MoveCollectionsBulkRemoveResponse>>;
|
|
592
|
+
/**
|
|
593
|
+
* Removes the set of move resources included in the request body from move collection. The
|
|
594
|
+
* orchestration is done by service. To aid the user to prerequisite the operation the client can call
|
|
595
|
+
* operation with validateOnly property set to true.
|
|
596
|
+
* @param resourceGroupName
|
|
597
|
+
* @param moveCollectionName
|
|
598
|
+
* @param options The options parameters.
|
|
599
|
+
*/
|
|
600
|
+
beginBulkRemoveAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsBulkRemoveOptionalParams): Promise<MoveCollectionsBulkRemoveResponse>;
|
|
601
|
+
/**
|
|
602
|
+
* List of the move resources for which an arm resource is required for.
|
|
603
|
+
* @param resourceGroupName The Resource Group Name.
|
|
604
|
+
* @param moveCollectionName The Move Collection Name.
|
|
605
|
+
* @param sourceId The sourceId for which the api is invoked.
|
|
606
|
+
* @param options The options parameters.
|
|
607
|
+
*/
|
|
608
|
+
listRequiredFor(resourceGroupName: string, moveCollectionName: string, sourceId: string, options?: MoveCollectionsListRequiredForOptionalParams): Promise<MoveCollectionsListRequiredForResponse>;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/** Optional parameters. */
|
|
612
|
+
export declare interface MoveCollectionsBulkRemoveOptionalParams extends coreClient.OperationOptions {
|
|
613
|
+
/** Defines the request body for bulk remove of move resources operation. */
|
|
614
|
+
body?: BulkRemoveRequest;
|
|
615
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
616
|
+
updateIntervalInMs?: number;
|
|
617
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
618
|
+
resumeFrom?: string;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/** Contains response data for the bulkRemove operation. */
|
|
622
|
+
export declare type MoveCollectionsBulkRemoveResponse = OperationStatus;
|
|
623
|
+
|
|
624
|
+
/** Optional parameters. */
|
|
625
|
+
export declare interface MoveCollectionsCommitOptionalParams extends coreClient.OperationOptions {
|
|
626
|
+
/** Defines the request body for commit operation. */
|
|
627
|
+
body?: CommitRequest;
|
|
628
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
629
|
+
updateIntervalInMs?: number;
|
|
630
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
631
|
+
resumeFrom?: string;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
/** Contains response data for the commit operation. */
|
|
635
|
+
export declare type MoveCollectionsCommitResponse = OperationStatus;
|
|
636
|
+
|
|
637
|
+
/** Optional parameters. */
|
|
638
|
+
export declare interface MoveCollectionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
639
|
+
/** Define the move collection. */
|
|
640
|
+
body?: MoveCollection;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/** Contains response data for the create operation. */
|
|
644
|
+
export declare type MoveCollectionsCreateResponse = MoveCollection;
|
|
645
|
+
|
|
646
|
+
/** Optional parameters. */
|
|
647
|
+
export declare interface MoveCollectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
648
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
649
|
+
updateIntervalInMs?: number;
|
|
650
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
651
|
+
resumeFrom?: string;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/** Contains response data for the delete operation. */
|
|
655
|
+
export declare type MoveCollectionsDeleteResponse = OperationStatus;
|
|
656
|
+
|
|
657
|
+
/** Optional parameters. */
|
|
658
|
+
export declare interface MoveCollectionsDiscardOptionalParams extends coreClient.OperationOptions {
|
|
659
|
+
/** Defines the request body for discard operation. */
|
|
660
|
+
body?: DiscardRequest;
|
|
661
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
662
|
+
updateIntervalInMs?: number;
|
|
663
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
664
|
+
resumeFrom?: string;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
/** Contains response data for the discard operation. */
|
|
668
|
+
export declare type MoveCollectionsDiscardResponse = OperationStatus;
|
|
669
|
+
|
|
670
|
+
/** Optional parameters. */
|
|
671
|
+
export declare interface MoveCollectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/** Contains response data for the get operation. */
|
|
675
|
+
export declare type MoveCollectionsGetResponse = MoveCollection;
|
|
676
|
+
|
|
677
|
+
/** Optional parameters. */
|
|
678
|
+
export declare interface MoveCollectionsInitiateMoveOptionalParams extends coreClient.OperationOptions {
|
|
679
|
+
/** Defines the request body for resource move operation. */
|
|
680
|
+
body?: ResourceMoveRequest;
|
|
681
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
682
|
+
updateIntervalInMs?: number;
|
|
683
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
684
|
+
resumeFrom?: string;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/** Contains response data for the initiateMove operation. */
|
|
688
|
+
export declare type MoveCollectionsInitiateMoveResponse = OperationStatus;
|
|
689
|
+
|
|
690
|
+
/** Optional parameters. */
|
|
691
|
+
export declare interface MoveCollectionsListMoveCollectionsByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/** Contains response data for the listMoveCollectionsByResourceGroupNext operation. */
|
|
695
|
+
export declare type MoveCollectionsListMoveCollectionsByResourceGroupNextResponse = MoveCollectionResultList;
|
|
696
|
+
|
|
697
|
+
/** Optional parameters. */
|
|
698
|
+
export declare interface MoveCollectionsListMoveCollectionsByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/** Contains response data for the listMoveCollectionsByResourceGroup operation. */
|
|
702
|
+
export declare type MoveCollectionsListMoveCollectionsByResourceGroupResponse = MoveCollectionResultList;
|
|
703
|
+
|
|
704
|
+
/** Optional parameters. */
|
|
705
|
+
export declare interface MoveCollectionsListMoveCollectionsBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
/** Contains response data for the listMoveCollectionsBySubscriptionNext operation. */
|
|
709
|
+
export declare type MoveCollectionsListMoveCollectionsBySubscriptionNextResponse = MoveCollectionResultList;
|
|
710
|
+
|
|
711
|
+
/** Optional parameters. */
|
|
712
|
+
export declare interface MoveCollectionsListMoveCollectionsBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/** Contains response data for the listMoveCollectionsBySubscription operation. */
|
|
716
|
+
export declare type MoveCollectionsListMoveCollectionsBySubscriptionResponse = MoveCollectionResultList;
|
|
717
|
+
|
|
718
|
+
/** Optional parameters. */
|
|
719
|
+
export declare interface MoveCollectionsListRequiredForOptionalParams extends coreClient.OperationOptions {
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
/** Contains response data for the listRequiredFor operation. */
|
|
723
|
+
export declare type MoveCollectionsListRequiredForResponse = RequiredForResourcesCollection;
|
|
724
|
+
|
|
725
|
+
/** Optional parameters. */
|
|
726
|
+
export declare interface MoveCollectionsPrepareOptionalParams extends coreClient.OperationOptions {
|
|
727
|
+
/** Defines the request body for initiate prepare operation. */
|
|
728
|
+
body?: PrepareRequest;
|
|
729
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
730
|
+
updateIntervalInMs?: number;
|
|
731
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
732
|
+
resumeFrom?: string;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/** Contains response data for the prepare operation. */
|
|
736
|
+
export declare type MoveCollectionsPrepareResponse = OperationStatus;
|
|
737
|
+
|
|
738
|
+
/** Optional parameters. */
|
|
739
|
+
export declare interface MoveCollectionsResolveDependenciesOptionalParams extends coreClient.OperationOptions {
|
|
740
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
741
|
+
updateIntervalInMs?: number;
|
|
742
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
743
|
+
resumeFrom?: string;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
/** Contains response data for the resolveDependencies operation. */
|
|
747
|
+
export declare type MoveCollectionsResolveDependenciesResponse = OperationStatus;
|
|
748
|
+
|
|
749
|
+
/** Optional parameters. */
|
|
750
|
+
export declare interface MoveCollectionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
751
|
+
/** Defines the request body for updating move collection. */
|
|
752
|
+
body?: UpdateMoveCollectionRequest;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/** Contains response data for the update operation. */
|
|
756
|
+
export declare type MoveCollectionsUpdateResponse = MoveCollection;
|
|
757
|
+
|
|
758
|
+
/** The move custom error info. */
|
|
759
|
+
export declare interface MoveErrorInfo {
|
|
760
|
+
/**
|
|
761
|
+
* The affected move resources.
|
|
762
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
763
|
+
*/
|
|
764
|
+
readonly moveResources?: AffectedMoveResource[];
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
/** Defines the move resource. */
|
|
768
|
+
export declare interface MoveResource {
|
|
769
|
+
/**
|
|
770
|
+
* Fully qualified resource Id for the resource.
|
|
771
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
772
|
+
*/
|
|
773
|
+
readonly id?: string;
|
|
774
|
+
/**
|
|
775
|
+
* The name of the resource
|
|
776
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
777
|
+
*/
|
|
778
|
+
readonly name?: string;
|
|
779
|
+
/**
|
|
780
|
+
* The type of the resource.
|
|
781
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
782
|
+
*/
|
|
783
|
+
readonly type?: string;
|
|
784
|
+
/** Defines the move resource properties. */
|
|
785
|
+
properties?: MoveResourceProperties;
|
|
786
|
+
/**
|
|
787
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
788
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
789
|
+
*/
|
|
790
|
+
readonly systemData?: SystemData;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/** Defines the collection of move resources. */
|
|
794
|
+
export declare interface MoveResourceCollection {
|
|
795
|
+
/** Gets the list of move resources. */
|
|
796
|
+
value?: MoveResource[];
|
|
797
|
+
/** Gets the value of next link. */
|
|
798
|
+
nextLink?: string;
|
|
799
|
+
/** Gets or sets the list of summary items and the field on which summary is done. */
|
|
800
|
+
summaryCollection?: SummaryCollection;
|
|
801
|
+
/**
|
|
802
|
+
* Gets the total count.
|
|
803
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
804
|
+
*/
|
|
805
|
+
readonly totalCount?: number;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/** Defines the dependency of the move resource. */
|
|
809
|
+
export declare interface MoveResourceDependency {
|
|
810
|
+
/** Gets the source ARM ID of the dependent resource. */
|
|
811
|
+
id?: string;
|
|
812
|
+
/** Gets the dependency resolution status. */
|
|
813
|
+
resolutionStatus?: string;
|
|
814
|
+
/** Defines the resolution type. */
|
|
815
|
+
resolutionType?: ResolutionType;
|
|
816
|
+
/** Defines the dependency type. */
|
|
817
|
+
dependencyType?: DependencyType;
|
|
818
|
+
/** Defines the properties for manual resolution. */
|
|
819
|
+
manualResolution?: ManualResolutionProperties;
|
|
820
|
+
/** Defines the properties for automatic resolution. */
|
|
821
|
+
automaticResolution?: AutomaticResolutionProperties;
|
|
822
|
+
/** Gets or sets a value indicating whether the dependency is optional. */
|
|
823
|
+
isOptional?: string;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/** Defines the dependency override of the move resource. */
|
|
827
|
+
export declare interface MoveResourceDependencyOverride {
|
|
828
|
+
/** Gets or sets the ARM ID of the dependent resource. */
|
|
829
|
+
id?: string;
|
|
830
|
+
/**
|
|
831
|
+
* Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of
|
|
832
|
+
* the dependent resource.
|
|
833
|
+
*/
|
|
834
|
+
targetId?: string;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/** An error response from the azure resource mover service. */
|
|
838
|
+
export declare interface MoveResourceError {
|
|
839
|
+
/** The move resource error body. */
|
|
840
|
+
properties?: MoveResourceErrorBody;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/** An error response from the Azure Migrate service. */
|
|
844
|
+
export declare interface MoveResourceErrorBody {
|
|
845
|
+
/**
|
|
846
|
+
* An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
|
|
847
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
848
|
+
*/
|
|
849
|
+
readonly code?: string;
|
|
850
|
+
/**
|
|
851
|
+
* A message describing the error, intended to be suitable for display in a user interface.
|
|
852
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
853
|
+
*/
|
|
854
|
+
readonly message?: string;
|
|
855
|
+
/**
|
|
856
|
+
* The target of the particular error. For example, the name of the property in error.
|
|
857
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
858
|
+
*/
|
|
859
|
+
readonly target?: string;
|
|
860
|
+
/**
|
|
861
|
+
* A list of additional details about the error.
|
|
862
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
863
|
+
*/
|
|
864
|
+
readonly details?: MoveResourceErrorBody[];
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/** Move resource filter. */
|
|
868
|
+
export declare interface MoveResourceFilter {
|
|
869
|
+
properties?: MoveResourceFilterProperties;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
export declare interface MoveResourceFilterProperties {
|
|
873
|
+
/** The provisioning state. */
|
|
874
|
+
provisioningState?: string;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Defines values for MoveResourceInputType. \
|
|
879
|
+
* {@link KnownMoveResourceInputType} can be used interchangeably with MoveResourceInputType,
|
|
880
|
+
* this enum contains the known values that the service supports.
|
|
881
|
+
* ### Known values supported by the service
|
|
882
|
+
* **MoveResourceId** \
|
|
883
|
+
* **MoveResourceSourceId**
|
|
884
|
+
*/
|
|
885
|
+
export declare type MoveResourceInputType = string;
|
|
886
|
+
|
|
887
|
+
/** Defines the move resource properties. */
|
|
888
|
+
export declare interface MoveResourceProperties {
|
|
889
|
+
/**
|
|
890
|
+
* Defines the provisioning states.
|
|
891
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
892
|
+
*/
|
|
893
|
+
readonly provisioningState?: ProvisioningState;
|
|
894
|
+
/** Gets or sets the Source ARM Id of the resource. */
|
|
895
|
+
sourceId: string;
|
|
896
|
+
/**
|
|
897
|
+
* Gets or sets the Target ARM Id of the resource.
|
|
898
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
899
|
+
*/
|
|
900
|
+
readonly targetId?: string;
|
|
901
|
+
/** Gets or sets the existing target ARM Id of the resource. */
|
|
902
|
+
existingTargetId?: string;
|
|
903
|
+
/** Gets or sets the resource settings. */
|
|
904
|
+
resourceSettings?: ResourceSettingsUnion;
|
|
905
|
+
/**
|
|
906
|
+
* Gets or sets the source resource settings.
|
|
907
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
908
|
+
*/
|
|
909
|
+
readonly sourceResourceSettings?: ResourceSettingsUnion;
|
|
910
|
+
/**
|
|
911
|
+
* Defines the move resource status.
|
|
912
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
913
|
+
*/
|
|
914
|
+
readonly moveStatus?: MoveResourcePropertiesMoveStatus;
|
|
915
|
+
/**
|
|
916
|
+
* Gets or sets the move resource dependencies.
|
|
917
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
918
|
+
*/
|
|
919
|
+
readonly dependsOn?: MoveResourceDependency[];
|
|
920
|
+
/** Gets or sets the move resource dependencies overrides. */
|
|
921
|
+
dependsOnOverrides?: MoveResourceDependencyOverride[];
|
|
922
|
+
/**
|
|
923
|
+
* Gets a value indicating whether the resolve action is required over the move collection.
|
|
924
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
925
|
+
*/
|
|
926
|
+
readonly isResolveRequired?: boolean;
|
|
927
|
+
/**
|
|
928
|
+
* Defines the move resource errors.
|
|
929
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
930
|
+
*/
|
|
931
|
+
readonly errors?: MoveResourcePropertiesErrors;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
/** Defines the move resource errors. */
|
|
935
|
+
export declare type MoveResourcePropertiesErrors = MoveResourceError & {};
|
|
936
|
+
|
|
937
|
+
/** Defines the move resource status. */
|
|
938
|
+
export declare type MoveResourcePropertiesMoveStatus = MoveResourceStatus & {};
|
|
939
|
+
|
|
940
|
+
/** Interface representing a MoveResources. */
|
|
941
|
+
export declare interface MoveResources {
|
|
942
|
+
/**
|
|
943
|
+
* Lists the Move Resources in the move collection.
|
|
944
|
+
* @param resourceGroupName The Resource Group Name.
|
|
945
|
+
* @param moveCollectionName The Move Collection Name.
|
|
946
|
+
* @param options The options parameters.
|
|
947
|
+
*/
|
|
948
|
+
list(resourceGroupName: string, moveCollectionName: string, options?: MoveResourcesListOptionalParams): PagedAsyncIterableIterator<MoveResource>;
|
|
949
|
+
/**
|
|
950
|
+
* Creates or updates a Move Resource in the move collection.
|
|
951
|
+
* @param resourceGroupName The Resource Group Name.
|
|
952
|
+
* @param moveCollectionName The Move Collection Name.
|
|
953
|
+
* @param moveResourceName The Move Resource Name.
|
|
954
|
+
* @param options The options parameters.
|
|
955
|
+
*/
|
|
956
|
+
beginCreate(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesCreateOptionalParams): Promise<PollerLike<PollOperationState<MoveResourcesCreateResponse>, MoveResourcesCreateResponse>>;
|
|
957
|
+
/**
|
|
958
|
+
* Creates or updates a Move Resource in the move collection.
|
|
959
|
+
* @param resourceGroupName The Resource Group Name.
|
|
960
|
+
* @param moveCollectionName The Move Collection Name.
|
|
961
|
+
* @param moveResourceName The Move Resource Name.
|
|
962
|
+
* @param options The options parameters.
|
|
963
|
+
*/
|
|
964
|
+
beginCreateAndWait(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesCreateOptionalParams): Promise<MoveResourcesCreateResponse>;
|
|
965
|
+
/**
|
|
966
|
+
* Deletes a Move Resource from the move collection.
|
|
967
|
+
* @param resourceGroupName The Resource Group Name.
|
|
968
|
+
* @param moveCollectionName The Move Collection Name.
|
|
969
|
+
* @param moveResourceName The Move Resource Name.
|
|
970
|
+
* @param options The options parameters.
|
|
971
|
+
*/
|
|
972
|
+
beginDelete(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesDeleteOptionalParams): Promise<PollerLike<PollOperationState<MoveResourcesDeleteResponse>, MoveResourcesDeleteResponse>>;
|
|
973
|
+
/**
|
|
974
|
+
* Deletes a Move Resource from the move collection.
|
|
975
|
+
* @param resourceGroupName The Resource Group Name.
|
|
976
|
+
* @param moveCollectionName The Move Collection Name.
|
|
977
|
+
* @param moveResourceName The Move Resource Name.
|
|
978
|
+
* @param options The options parameters.
|
|
979
|
+
*/
|
|
980
|
+
beginDeleteAndWait(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesDeleteOptionalParams): Promise<MoveResourcesDeleteResponse>;
|
|
981
|
+
/**
|
|
982
|
+
* Gets the Move Resource.
|
|
983
|
+
* @param resourceGroupName The Resource Group Name.
|
|
984
|
+
* @param moveCollectionName The Move Collection Name.
|
|
985
|
+
* @param moveResourceName The Move Resource Name.
|
|
986
|
+
* @param options The options parameters.
|
|
987
|
+
*/
|
|
988
|
+
get(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesGetOptionalParams): Promise<MoveResourcesGetResponse>;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
/** Optional parameters. */
|
|
992
|
+
export declare interface MoveResourcesCreateOptionalParams extends coreClient.OperationOptions {
|
|
993
|
+
/** Defines the move resource. */
|
|
994
|
+
body?: MoveResource;
|
|
995
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
996
|
+
updateIntervalInMs?: number;
|
|
997
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
998
|
+
resumeFrom?: string;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
/** Contains response data for the create operation. */
|
|
1002
|
+
export declare type MoveResourcesCreateResponse = MoveResource;
|
|
1003
|
+
|
|
1004
|
+
/** Optional parameters. */
|
|
1005
|
+
export declare interface MoveResourcesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1006
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1007
|
+
updateIntervalInMs?: number;
|
|
1008
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1009
|
+
resumeFrom?: string;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
/** Contains response data for the delete operation. */
|
|
1013
|
+
export declare type MoveResourcesDeleteResponse = OperationStatus;
|
|
1014
|
+
|
|
1015
|
+
/** Optional parameters. */
|
|
1016
|
+
export declare interface MoveResourcesGetOptionalParams extends coreClient.OperationOptions {
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
/** Contains response data for the get operation. */
|
|
1020
|
+
export declare type MoveResourcesGetResponse = MoveResource;
|
|
1021
|
+
|
|
1022
|
+
/** Optional parameters. */
|
|
1023
|
+
export declare interface MoveResourcesListNextOptionalParams extends coreClient.OperationOptions {
|
|
1024
|
+
/** The filter to apply on the operation. For example, you can use $filter=Properties/ProvisioningState eq 'Succeeded'. */
|
|
1025
|
+
filter?: string;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
/** Contains response data for the listNext operation. */
|
|
1029
|
+
export declare type MoveResourcesListNextResponse = MoveResourceCollection;
|
|
1030
|
+
|
|
1031
|
+
/** Optional parameters. */
|
|
1032
|
+
export declare interface MoveResourcesListOptionalParams extends coreClient.OperationOptions {
|
|
1033
|
+
/** The filter to apply on the operation. For example, you can use $filter=Properties/ProvisioningState eq 'Succeeded'. */
|
|
1034
|
+
filter?: string;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
/** Contains response data for the list operation. */
|
|
1038
|
+
export declare type MoveResourcesListResponse = MoveResourceCollection;
|
|
1039
|
+
|
|
1040
|
+
/** Defines the move resource status. */
|
|
1041
|
+
export declare interface MoveResourceStatus {
|
|
1042
|
+
/**
|
|
1043
|
+
* Defines the MoveResource states.
|
|
1044
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1045
|
+
*/
|
|
1046
|
+
readonly moveState?: MoveState;
|
|
1047
|
+
/** Defines the job status. */
|
|
1048
|
+
jobStatus?: JobStatus;
|
|
1049
|
+
/** An error response from the azure resource mover service. */
|
|
1050
|
+
errors?: MoveResourceError;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* Defines values for MoveState. \
|
|
1055
|
+
* {@link KnownMoveState} can be used interchangeably with MoveState,
|
|
1056
|
+
* this enum contains the known values that the service supports.
|
|
1057
|
+
* ### Known values supported by the service
|
|
1058
|
+
* **AssignmentPending** \
|
|
1059
|
+
* **PreparePending** \
|
|
1060
|
+
* **PrepareInProgress** \
|
|
1061
|
+
* **PrepareFailed** \
|
|
1062
|
+
* **MovePending** \
|
|
1063
|
+
* **MoveInProgress** \
|
|
1064
|
+
* **MoveFailed** \
|
|
1065
|
+
* **DiscardInProgress** \
|
|
1066
|
+
* **DiscardFailed** \
|
|
1067
|
+
* **CommitPending** \
|
|
1068
|
+
* **CommitInProgress** \
|
|
1069
|
+
* **CommitFailed** \
|
|
1070
|
+
* **Committed** \
|
|
1071
|
+
* **DeleteSourcePending** \
|
|
1072
|
+
* **ResourceMoveCompleted**
|
|
1073
|
+
*/
|
|
1074
|
+
export declare type MoveState = string;
|
|
1075
|
+
|
|
1076
|
+
/** Defines the network interface resource settings. */
|
|
1077
|
+
export declare type NetworkInterfaceResourceSettings = ResourceSettings & {
|
|
1078
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1079
|
+
resourceType: "Microsoft.Network/networkInterfaces";
|
|
1080
|
+
/** Gets or sets the Resource tags. */
|
|
1081
|
+
tags?: {
|
|
1082
|
+
[propertyName: string]: string;
|
|
1083
|
+
};
|
|
1084
|
+
/** Gets or sets the IP configurations of the NIC. */
|
|
1085
|
+
ipConfigurations?: NicIpConfigurationResourceSettings[];
|
|
1086
|
+
/** Gets or sets a value indicating whether accelerated networking is enabled. */
|
|
1087
|
+
enableAcceleratedNetworking?: boolean;
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
/** Defines the NSG resource settings. */
|
|
1091
|
+
export declare type NetworkSecurityGroupResourceSettings = ResourceSettings & {
|
|
1092
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1093
|
+
resourceType: "Microsoft.Network/networkSecurityGroups";
|
|
1094
|
+
/** Gets or sets the Resource tags. */
|
|
1095
|
+
tags?: {
|
|
1096
|
+
[propertyName: string]: string;
|
|
1097
|
+
};
|
|
1098
|
+
/** Gets or sets Security rules of network security group. */
|
|
1099
|
+
securityRules?: NsgSecurityRule[];
|
|
1100
|
+
};
|
|
1101
|
+
|
|
1102
|
+
/** Defines NIC IP configuration properties. */
|
|
1103
|
+
export declare interface NicIpConfigurationResourceSettings {
|
|
1104
|
+
/** Gets or sets the IP configuration name. */
|
|
1105
|
+
name?: string;
|
|
1106
|
+
/** Gets or sets the private IP address of the network interface IP Configuration. */
|
|
1107
|
+
privateIpAddress?: string;
|
|
1108
|
+
/** Gets or sets the private IP address allocation method. */
|
|
1109
|
+
privateIpAllocationMethod?: string;
|
|
1110
|
+
/** Defines reference to subnet. */
|
|
1111
|
+
subnet?: SubnetReference;
|
|
1112
|
+
/** Gets or sets a value indicating whether this IP configuration is the primary. */
|
|
1113
|
+
primary?: boolean;
|
|
1114
|
+
/** Gets or sets the references of the load balancer backend address pools. */
|
|
1115
|
+
loadBalancerBackendAddressPools?: LoadBalancerBackendAddressPoolReference[];
|
|
1116
|
+
/** Gets or sets the references of the load balancer NAT rules. */
|
|
1117
|
+
loadBalancerNatRules?: LoadBalancerNatRuleReference[];
|
|
1118
|
+
/** Defines reference to a public IP. */
|
|
1119
|
+
publicIp?: PublicIpReference;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
/** Defines reference to NSG. */
|
|
1123
|
+
export declare type NsgReference = AzureResourceReference & {};
|
|
1124
|
+
|
|
1125
|
+
/** Security Rule data model for Network Security Groups. */
|
|
1126
|
+
export declare interface NsgSecurityRule {
|
|
1127
|
+
/** Gets or sets the Security rule name. */
|
|
1128
|
+
name?: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* Gets or sets whether network traffic is allowed or denied.
|
|
1131
|
+
* Possible values are “Allow” and “Deny”.
|
|
1132
|
+
*/
|
|
1133
|
+
access?: string;
|
|
1134
|
+
/** Gets or sets a description for this rule. Restricted to 140 chars. */
|
|
1135
|
+
description?: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* Gets or sets destination address prefix. CIDR or source IP range.
|
|
1138
|
+
* A “*” can also be used to match all source IPs. Default tags such
|
|
1139
|
+
* as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used.
|
|
1140
|
+
*/
|
|
1141
|
+
destinationAddressPrefix?: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* Gets or sets Destination Port or Range. Integer or range between
|
|
1144
|
+
* 0 and 65535. A “*” can also be used to match all ports.
|
|
1145
|
+
*/
|
|
1146
|
+
destinationPortRange?: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* Gets or sets the direction of the rule.InBound or Outbound. The
|
|
1149
|
+
* direction specifies if rule will be evaluated on incoming or outgoing traffic.
|
|
1150
|
+
*/
|
|
1151
|
+
direction?: string;
|
|
1152
|
+
/**
|
|
1153
|
+
* Gets or sets the priority of the rule. The value can be between
|
|
1154
|
+
* 100 and 4096. The priority number must be unique for each rule in the collection.
|
|
1155
|
+
* The lower the priority number, the higher the priority of the rule.
|
|
1156
|
+
*/
|
|
1157
|
+
priority?: number;
|
|
1158
|
+
/** Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*). */
|
|
1159
|
+
protocol?: string;
|
|
1160
|
+
/**
|
|
1161
|
+
* Gets or sets source address prefix. CIDR or source IP range. A
|
|
1162
|
+
* “*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,
|
|
1163
|
+
* ‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress
|
|
1164
|
+
* rule, specifies where network traffic originates from.
|
|
1165
|
+
*/
|
|
1166
|
+
sourceAddressPrefix?: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* Gets or sets Source Port or Range. Integer or range between 0 and
|
|
1169
|
+
* 65535. A “*” can also be used to match all ports.
|
|
1170
|
+
*/
|
|
1171
|
+
sourcePortRange?: string;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
/** The operation error info. */
|
|
1175
|
+
export declare interface OperationErrorAdditionalInfo {
|
|
1176
|
+
/**
|
|
1177
|
+
* The error type.
|
|
1178
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1179
|
+
*/
|
|
1180
|
+
readonly type?: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* The operation error info.
|
|
1183
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1184
|
+
*/
|
|
1185
|
+
readonly info?: MoveErrorInfo;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
/** Operations discovery class. */
|
|
1189
|
+
export declare interface OperationsDiscovery {
|
|
1190
|
+
/**
|
|
1191
|
+
* Gets or sets Name of the API.
|
|
1192
|
+
* The name of the operation being performed on this particular object. It should
|
|
1193
|
+
* match the action name that appears in RBAC / the event service.
|
|
1194
|
+
* Examples of operations include:
|
|
1195
|
+
* * Microsoft.Compute/virtualMachine/capture/action
|
|
1196
|
+
* * Microsoft.Compute/virtualMachine/restart/action
|
|
1197
|
+
* * Microsoft.Compute/virtualMachine/write
|
|
1198
|
+
* * Microsoft.Compute/virtualMachine/read
|
|
1199
|
+
* * Microsoft.Compute/virtualMachine/delete
|
|
1200
|
+
* Each action should include, in order:
|
|
1201
|
+
* (1) Resource Provider Namespace
|
|
1202
|
+
* (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL
|
|
1203
|
+
* Azure database)
|
|
1204
|
+
* (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH
|
|
1205
|
+
* on a collection or named value, Write should be used.
|
|
1206
|
+
* If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it
|
|
1207
|
+
* is a POST, Action should be used.
|
|
1208
|
+
* As a note: all resource providers would need to include the "{Resource Provider
|
|
1209
|
+
* Namespace}/register/action" operation in their response.
|
|
1210
|
+
* This API is used to register for their service, and should include details about the
|
|
1211
|
+
* operation (e.g. a localized name for the resource provider + any special
|
|
1212
|
+
* considerations like PII release).
|
|
1213
|
+
*/
|
|
1214
|
+
name?: string;
|
|
1215
|
+
/** Indicates whether the operation is a data action */
|
|
1216
|
+
isDataAction?: boolean;
|
|
1217
|
+
/**
|
|
1218
|
+
* Contains the localized display information for this particular operation / action. These
|
|
1219
|
+
* value will be used by several clients for
|
|
1220
|
+
* (1) custom role definitions for RBAC;
|
|
1221
|
+
* (2) complex query filters for the event service; and
|
|
1222
|
+
* (3) audit history / records for management operations.
|
|
1223
|
+
*/
|
|
1224
|
+
display?: Display;
|
|
1225
|
+
/**
|
|
1226
|
+
* Gets or sets Origin.
|
|
1227
|
+
* The intended executor of the operation; governs the display of the operation in the
|
|
1228
|
+
* RBAC UX and the audit logs UX.
|
|
1229
|
+
* Default value is "user,system".
|
|
1230
|
+
*/
|
|
1231
|
+
origin?: string;
|
|
1232
|
+
/** Any object */
|
|
1233
|
+
properties?: Record<string, unknown>;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
/** Collection of ClientDiscovery details. */
|
|
1237
|
+
export declare interface OperationsDiscoveryCollection {
|
|
1238
|
+
/** Gets or sets the ClientDiscovery details. */
|
|
1239
|
+
value?: OperationsDiscovery[];
|
|
1240
|
+
/** Gets or sets the value of next link. */
|
|
1241
|
+
nextLink?: string;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
/** Optional parameters. */
|
|
1245
|
+
export declare interface OperationsDiscoveryGetOptionalParams extends coreClient.OperationOptions {
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
/** Contains response data for the get operation. */
|
|
1249
|
+
export declare type OperationsDiscoveryGetResponse = OperationsDiscoveryCollection;
|
|
1250
|
+
|
|
1251
|
+
/** Interface representing a OperationsDiscoveryOperations. */
|
|
1252
|
+
export declare interface OperationsDiscoveryOperations {
|
|
1253
|
+
/** @param options The options parameters. */
|
|
1254
|
+
get(options?: OperationsDiscoveryGetOptionalParams): Promise<OperationsDiscoveryGetResponse>;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/** Operation status REST resource. */
|
|
1258
|
+
export declare interface OperationStatus {
|
|
1259
|
+
/**
|
|
1260
|
+
* Resource Id.
|
|
1261
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1262
|
+
*/
|
|
1263
|
+
readonly id?: string;
|
|
1264
|
+
/**
|
|
1265
|
+
* Operation name.
|
|
1266
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1267
|
+
*/
|
|
1268
|
+
readonly name?: string;
|
|
1269
|
+
/**
|
|
1270
|
+
* Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.
|
|
1271
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1272
|
+
*/
|
|
1273
|
+
readonly status?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* Start time.
|
|
1276
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1277
|
+
*/
|
|
1278
|
+
readonly startTime?: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* End time.
|
|
1281
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1282
|
+
*/
|
|
1283
|
+
readonly endTime?: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* Error stating all error details for the operation.
|
|
1286
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1287
|
+
*/
|
|
1288
|
+
readonly error?: OperationStatusError;
|
|
1289
|
+
/**
|
|
1290
|
+
* Custom data.
|
|
1291
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1292
|
+
*/
|
|
1293
|
+
readonly properties?: Record<string, unknown>;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
/** Class for operation status errors. */
|
|
1297
|
+
export declare interface OperationStatusError {
|
|
1298
|
+
/**
|
|
1299
|
+
* The error code.
|
|
1300
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1301
|
+
*/
|
|
1302
|
+
readonly code?: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* The error message.
|
|
1305
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1306
|
+
*/
|
|
1307
|
+
readonly message?: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* The error details.
|
|
1310
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1311
|
+
*/
|
|
1312
|
+
readonly details?: OperationStatusError[];
|
|
1313
|
+
/**
|
|
1314
|
+
* The additional info.
|
|
1315
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1316
|
+
*/
|
|
1317
|
+
readonly additionalInfo?: OperationErrorAdditionalInfo[];
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
/** Defines the request body for initiate prepare operation. */
|
|
1321
|
+
export declare interface PrepareRequest {
|
|
1322
|
+
/** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
|
|
1323
|
+
validateOnly?: boolean;
|
|
1324
|
+
/** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
|
|
1325
|
+
moveResources: string[];
|
|
1326
|
+
/** Defines the move resource input type. */
|
|
1327
|
+
moveResourceInputType?: MoveResourceInputType;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* Defines values for ProvisioningState. \
|
|
1332
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
1333
|
+
* this enum contains the known values that the service supports.
|
|
1334
|
+
* ### Known values supported by the service
|
|
1335
|
+
* **Succeeded** \
|
|
1336
|
+
* **Updating** \
|
|
1337
|
+
* **Creating** \
|
|
1338
|
+
* **Failed**
|
|
1339
|
+
*/
|
|
1340
|
+
export declare type ProvisioningState = string;
|
|
1341
|
+
|
|
1342
|
+
/** Defines reference to a proxy resource. */
|
|
1343
|
+
export declare type ProxyResourceReference = AzureResourceReference & {
|
|
1344
|
+
/** Gets the name of the proxy resource on the target side. */
|
|
1345
|
+
name?: string;
|
|
1346
|
+
};
|
|
1347
|
+
|
|
1348
|
+
/** Defines the public IP address resource settings. */
|
|
1349
|
+
export declare type PublicIPAddressResourceSettings = ResourceSettings & {
|
|
1350
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1351
|
+
resourceType: "Microsoft.Network/publicIPAddresses";
|
|
1352
|
+
/** Gets or sets the Resource tags. */
|
|
1353
|
+
tags?: {
|
|
1354
|
+
[propertyName: string]: string;
|
|
1355
|
+
};
|
|
1356
|
+
/** Gets or sets the domain name label. */
|
|
1357
|
+
domainNameLabel?: string;
|
|
1358
|
+
/** Gets or sets the fully qualified domain name. */
|
|
1359
|
+
fqdn?: string;
|
|
1360
|
+
/** Gets or sets public IP allocation method. */
|
|
1361
|
+
publicIpAllocationMethod?: string;
|
|
1362
|
+
/** Gets or sets public IP sku. */
|
|
1363
|
+
sku?: string;
|
|
1364
|
+
/** Gets or sets public IP zones. */
|
|
1365
|
+
zones?: string;
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
/** Defines reference to a public IP. */
|
|
1369
|
+
export declare type PublicIpReference = AzureResourceReference & {};
|
|
1370
|
+
|
|
1371
|
+
/** Required for resources collection. */
|
|
1372
|
+
export declare interface RequiredForResourcesCollection {
|
|
1373
|
+
/** Gets or sets the list of source Ids for which the input resource is required. */
|
|
1374
|
+
sourceIds?: string[];
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* Defines values for ResolutionType. \
|
|
1379
|
+
* {@link KnownResolutionType} can be used interchangeably with ResolutionType,
|
|
1380
|
+
* this enum contains the known values that the service supports.
|
|
1381
|
+
* ### Known values supported by the service
|
|
1382
|
+
* **Manual** \
|
|
1383
|
+
* **Automatic**
|
|
1384
|
+
*/
|
|
1385
|
+
export declare type ResolutionType = string;
|
|
1386
|
+
|
|
1387
|
+
/** Defines the resource group resource settings. */
|
|
1388
|
+
export declare type ResourceGroupResourceSettings = ResourceSettings & {
|
|
1389
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1390
|
+
resourceType: "resourceGroups";
|
|
1391
|
+
};
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* Defines values for ResourceIdentityType. \
|
|
1395
|
+
* {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType,
|
|
1396
|
+
* this enum contains the known values that the service supports.
|
|
1397
|
+
* ### Known values supported by the service
|
|
1398
|
+
* **None** \
|
|
1399
|
+
* **SystemAssigned** \
|
|
1400
|
+
* **UserAssigned**
|
|
1401
|
+
*/
|
|
1402
|
+
export declare type ResourceIdentityType = string;
|
|
1403
|
+
|
|
1404
|
+
/** Defines the request body for resource move operation. */
|
|
1405
|
+
export declare interface ResourceMoveRequest {
|
|
1406
|
+
/** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
|
|
1407
|
+
validateOnly?: boolean;
|
|
1408
|
+
/** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
|
|
1409
|
+
moveResources: string[];
|
|
1410
|
+
/** Defines the move resource input type. */
|
|
1411
|
+
moveResourceInputType?: MoveResourceInputType;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
export declare class ResourceMoverServiceAPI extends coreClient.ServiceClient {
|
|
1415
|
+
$host: string;
|
|
1416
|
+
subscriptionId: string;
|
|
1417
|
+
apiVersion: string;
|
|
1418
|
+
/**
|
|
1419
|
+
* Initializes a new instance of the ResourceMoverServiceAPI class.
|
|
1420
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1421
|
+
* @param subscriptionId The Subscription ID.
|
|
1422
|
+
* @param options The parameter options
|
|
1423
|
+
*/
|
|
1424
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ResourceMoverServiceAPIOptionalParams);
|
|
1425
|
+
moveCollections: MoveCollections;
|
|
1426
|
+
moveResources: MoveResources;
|
|
1427
|
+
unresolvedDependencies: UnresolvedDependencies;
|
|
1428
|
+
operationsDiscoveryOperations: OperationsDiscoveryOperations;
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
/** Optional parameters. */
|
|
1432
|
+
export declare interface ResourceMoverServiceAPIOptionalParams extends coreClient.ServiceClientOptions {
|
|
1433
|
+
/** server parameter */
|
|
1434
|
+
$host?: string;
|
|
1435
|
+
/** Api Version */
|
|
1436
|
+
apiVersion?: string;
|
|
1437
|
+
/** Overrides client endpoint. */
|
|
1438
|
+
endpoint?: string;
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
/** Gets or sets the resource settings. */
|
|
1442
|
+
export declare interface ResourceSettings {
|
|
1443
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1444
|
+
resourceType: "Microsoft.Compute/virtualMachines" | "Microsoft.Compute/availabilitySets" | "Microsoft.Network/virtualNetworks" | "Microsoft.Network/networkInterfaces" | "Microsoft.Network/networkSecurityGroups" | "Microsoft.Network/loadBalancers" | "Microsoft.Sql/servers" | "Microsoft.Sql/servers/elasticPools" | "Microsoft.Sql/servers/databases" | "resourceGroups" | "Microsoft.Network/publicIPAddresses" | "Microsoft.KeyVault/vaults" | "Microsoft.Compute/diskEncryptionSets";
|
|
1445
|
+
/** Gets or sets the target Resource name. */
|
|
1446
|
+
targetResourceName: string;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
export declare type ResourceSettingsUnion = ResourceSettings | VirtualMachineResourceSettings | AvailabilitySetResourceSettings | VirtualNetworkResourceSettings | NetworkInterfaceResourceSettings | NetworkSecurityGroupResourceSettings | LoadBalancerResourceSettings | SqlServerResourceSettings | SqlElasticPoolResourceSettings | SqlDatabaseResourceSettings | ResourceGroupResourceSettings | PublicIPAddressResourceSettings | KeyVaultResourceSettings | DiskEncryptionSetResourceSettings;
|
|
1450
|
+
|
|
1451
|
+
/** Defines the Sql Database resource settings. */
|
|
1452
|
+
export declare type SqlDatabaseResourceSettings = ResourceSettings & {
|
|
1453
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1454
|
+
resourceType: "Microsoft.Sql/servers/databases";
|
|
1455
|
+
/** Gets or sets the Resource tags. */
|
|
1456
|
+
tags?: {
|
|
1457
|
+
[propertyName: string]: string;
|
|
1458
|
+
};
|
|
1459
|
+
/** Defines the zone redundant resource setting. */
|
|
1460
|
+
zoneRedundant?: ZoneRedundant;
|
|
1461
|
+
};
|
|
1462
|
+
|
|
1463
|
+
/** Defines the Sql ElasticPool resource settings. */
|
|
1464
|
+
export declare type SqlElasticPoolResourceSettings = ResourceSettings & {
|
|
1465
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1466
|
+
resourceType: "Microsoft.Sql/servers/elasticPools";
|
|
1467
|
+
/** Gets or sets the Resource tags. */
|
|
1468
|
+
tags?: {
|
|
1469
|
+
[propertyName: string]: string;
|
|
1470
|
+
};
|
|
1471
|
+
/** Defines the zone redundant resource setting. */
|
|
1472
|
+
zoneRedundant?: ZoneRedundant;
|
|
1473
|
+
};
|
|
1474
|
+
|
|
1475
|
+
/** Defines the SQL Server resource settings. */
|
|
1476
|
+
export declare type SqlServerResourceSettings = ResourceSettings & {
|
|
1477
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1478
|
+
resourceType: "Microsoft.Sql/servers";
|
|
1479
|
+
};
|
|
1480
|
+
|
|
1481
|
+
/** Defines reference to subnet. */
|
|
1482
|
+
export declare type SubnetReference = ProxyResourceReference & {};
|
|
1483
|
+
|
|
1484
|
+
/** Defines the virtual network subnets resource settings. */
|
|
1485
|
+
export declare interface SubnetResourceSettings {
|
|
1486
|
+
/** Gets or sets the Subnet name. */
|
|
1487
|
+
name?: string;
|
|
1488
|
+
/** Gets or sets address prefix for the subnet. */
|
|
1489
|
+
addressPrefix?: string;
|
|
1490
|
+
/** Defines reference to NSG. */
|
|
1491
|
+
networkSecurityGroup?: NsgReference;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
/** Summary item. */
|
|
1495
|
+
export declare interface Summary {
|
|
1496
|
+
/** Gets the count. */
|
|
1497
|
+
count?: number;
|
|
1498
|
+
/** Gets the item. */
|
|
1499
|
+
item?: string;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
/** Summary Collection. */
|
|
1503
|
+
export declare interface SummaryCollection {
|
|
1504
|
+
/** Gets or sets the field name on which summary is done. */
|
|
1505
|
+
fieldName?: string;
|
|
1506
|
+
/** Gets or sets the list of summary items. */
|
|
1507
|
+
summary?: Summary[];
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
1511
|
+
export declare interface SystemData {
|
|
1512
|
+
/** The identity that created the resource. */
|
|
1513
|
+
createdBy?: string;
|
|
1514
|
+
/** The type of identity that created the resource. */
|
|
1515
|
+
createdByType?: CreatedByType;
|
|
1516
|
+
/** The timestamp of resource creation (UTC). */
|
|
1517
|
+
createdAt?: Date;
|
|
1518
|
+
/** The identity that last modified the resource. */
|
|
1519
|
+
lastModifiedBy?: string;
|
|
1520
|
+
/** The type of identity that last modified the resource. */
|
|
1521
|
+
lastModifiedByType?: CreatedByType;
|
|
1522
|
+
/** The timestamp of resource last modification (UTC) */
|
|
1523
|
+
lastModifiedAt?: Date;
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
* Defines values for TargetAvailabilityZone. \
|
|
1528
|
+
* {@link KnownTargetAvailabilityZone} can be used interchangeably with TargetAvailabilityZone,
|
|
1529
|
+
* this enum contains the known values that the service supports.
|
|
1530
|
+
* ### Known values supported by the service
|
|
1531
|
+
* **1** \
|
|
1532
|
+
* **2** \
|
|
1533
|
+
* **3** \
|
|
1534
|
+
* **NA**
|
|
1535
|
+
*/
|
|
1536
|
+
export declare type TargetAvailabilityZone = string;
|
|
1537
|
+
|
|
1538
|
+
/** Interface representing a UnresolvedDependencies. */
|
|
1539
|
+
export declare interface UnresolvedDependencies {
|
|
1540
|
+
/**
|
|
1541
|
+
* Gets a list of unresolved dependencies.
|
|
1542
|
+
* @param resourceGroupName The Resource Group Name.
|
|
1543
|
+
* @param moveCollectionName The Move Collection Name.
|
|
1544
|
+
* @param options The options parameters.
|
|
1545
|
+
*/
|
|
1546
|
+
list(resourceGroupName: string, moveCollectionName: string, options?: UnresolvedDependenciesGetOptionalParams): PagedAsyncIterableIterator<UnresolvedDependency>;
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
/** Unresolved dependencies contract. */
|
|
1550
|
+
export declare interface UnresolvedDependenciesFilter {
|
|
1551
|
+
properties?: UnresolvedDependenciesFilterProperties;
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
export declare interface UnresolvedDependenciesFilterProperties {
|
|
1555
|
+
/** The count of the resource. */
|
|
1556
|
+
count?: number;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
/** Optional parameters. */
|
|
1560
|
+
export declare interface UnresolvedDependenciesGetNextOptionalParams extends coreClient.OperationOptions {
|
|
1561
|
+
/** The filter to apply on the operation. For example, $apply=filter(count eq 2). */
|
|
1562
|
+
filter?: string;
|
|
1563
|
+
/** Defines the dependency level. */
|
|
1564
|
+
dependencyLevel?: DependencyLevel;
|
|
1565
|
+
/** OData order by query option. For example, you can use $orderby=Count desc. */
|
|
1566
|
+
orderby?: string;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
/** Contains response data for the getNext operation. */
|
|
1570
|
+
export declare type UnresolvedDependenciesGetNextResponse = UnresolvedDependencyCollection;
|
|
1571
|
+
|
|
1572
|
+
/** Optional parameters. */
|
|
1573
|
+
export declare interface UnresolvedDependenciesGetOptionalParams extends coreClient.OperationOptions {
|
|
1574
|
+
/** The filter to apply on the operation. For example, $apply=filter(count eq 2). */
|
|
1575
|
+
filter?: string;
|
|
1576
|
+
/** Defines the dependency level. */
|
|
1577
|
+
dependencyLevel?: DependencyLevel;
|
|
1578
|
+
/** OData order by query option. For example, you can use $orderby=Count desc. */
|
|
1579
|
+
orderby?: string;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
/** Contains response data for the get operation. */
|
|
1583
|
+
export declare type UnresolvedDependenciesGetResponse = UnresolvedDependencyCollection;
|
|
1584
|
+
|
|
1585
|
+
/** Unresolved dependency. */
|
|
1586
|
+
export declare interface UnresolvedDependency {
|
|
1587
|
+
/** Gets or sets the count. */
|
|
1588
|
+
count?: number;
|
|
1589
|
+
/** Gets or sets the arm id of the dependency. */
|
|
1590
|
+
id?: string;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
/** Unresolved dependency collection. */
|
|
1594
|
+
export declare interface UnresolvedDependencyCollection {
|
|
1595
|
+
/** Gets or sets the list of unresolved dependencies. */
|
|
1596
|
+
value?: UnresolvedDependency[];
|
|
1597
|
+
/** Gets or sets the value of next link. */
|
|
1598
|
+
nextLink?: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* Gets or sets the list of summary items and the field on which summary is done.
|
|
1601
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1602
|
+
*/
|
|
1603
|
+
readonly summaryCollection?: SummaryCollection;
|
|
1604
|
+
/**
|
|
1605
|
+
* Gets the total count.
|
|
1606
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1607
|
+
*/
|
|
1608
|
+
readonly totalCount?: number;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
/** Defines the request body for updating move collection. */
|
|
1612
|
+
export declare interface UpdateMoveCollectionRequest {
|
|
1613
|
+
/** Gets or sets the Resource tags. */
|
|
1614
|
+
tags?: {
|
|
1615
|
+
[propertyName: string]: string;
|
|
1616
|
+
};
|
|
1617
|
+
/** Defines the MSI properties of the Move Collection. */
|
|
1618
|
+
identity?: Identity;
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
/** Gets or sets the virtual machine resource settings. */
|
|
1622
|
+
export declare type VirtualMachineResourceSettings = ResourceSettings & {
|
|
1623
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1624
|
+
resourceType: "Microsoft.Compute/virtualMachines";
|
|
1625
|
+
/** Gets or sets the Resource tags. */
|
|
1626
|
+
tags?: {
|
|
1627
|
+
[propertyName: string]: string;
|
|
1628
|
+
};
|
|
1629
|
+
/** Gets or sets user-managed identities */
|
|
1630
|
+
userManagedIdentities?: string[];
|
|
1631
|
+
/** Gets or sets the target availability zone. */
|
|
1632
|
+
targetAvailabilityZone?: TargetAvailabilityZone;
|
|
1633
|
+
/** Gets or sets the target virtual machine size. */
|
|
1634
|
+
targetVmSize?: string;
|
|
1635
|
+
/** Gets or sets the target availability set id for virtual machines not in an availability set at source. */
|
|
1636
|
+
targetAvailabilitySetId?: string;
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
/** Defines the virtual network resource settings. */
|
|
1640
|
+
export declare type VirtualNetworkResourceSettings = ResourceSettings & {
|
|
1641
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1642
|
+
resourceType: "Microsoft.Network/virtualNetworks";
|
|
1643
|
+
/** Gets or sets the Resource tags. */
|
|
1644
|
+
tags?: {
|
|
1645
|
+
[propertyName: string]: string;
|
|
1646
|
+
};
|
|
1647
|
+
/**
|
|
1648
|
+
* Gets or sets a value indicating whether gets or sets whether the
|
|
1649
|
+
* DDOS protection should be switched on.
|
|
1650
|
+
*/
|
|
1651
|
+
enableDdosProtection?: boolean;
|
|
1652
|
+
/** Gets or sets the address prefixes for the virtual network. */
|
|
1653
|
+
addressSpace?: string[];
|
|
1654
|
+
/**
|
|
1655
|
+
* Gets or sets DHCPOptions that contains an array of DNS servers available to VMs
|
|
1656
|
+
* deployed in the virtual network.
|
|
1657
|
+
*/
|
|
1658
|
+
dnsServers?: string[];
|
|
1659
|
+
/** Gets or sets List of subnets in a VirtualNetwork. */
|
|
1660
|
+
subnets?: SubnetResourceSettings[];
|
|
1661
|
+
};
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* Defines values for ZoneRedundant. \
|
|
1665
|
+
* {@link KnownZoneRedundant} can be used interchangeably with ZoneRedundant,
|
|
1666
|
+
* this enum contains the known values that the service supports.
|
|
1667
|
+
* ### Known values supported by the service
|
|
1668
|
+
* **Enable** \
|
|
1669
|
+
* **Disable**
|
|
1670
|
+
*/
|
|
1671
|
+
export declare type ZoneRedundant = string;
|
|
1672
|
+
|
|
1673
|
+
export { }
|