@azure/arm-recoveryservicesbackup 10.0.1-alpha.20230320.1 → 10.1.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 +17 -10
- package/dist/index.js +209 -78
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/backupEnginesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupEnginesListSample.js +1 -1
- package/dist-esm/samples-dev/backupJobsListSample.js +3 -3
- package/dist-esm/samples-dev/backupOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesListSample.js +3 -3
- package/dist-esm/samples-dev/backupProtectableItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectedItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectionContainersListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectionIntentListSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceEncryptionConfigsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceEncryptionConfigsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrPatchSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsPutSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/backupUsageSummariesListSample.js +2 -2
- package/dist-esm/samples-dev/backupWorkloadItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/bmsPrepareDataMoveOperationResultGetSample.js +1 -1
- package/dist-esm/samples-dev/bmsPrepareDataMoveSample.js +1 -1
- package/dist-esm/samples-dev/bmsTriggerDataMoveSample.js +1 -1
- package/dist-esm/samples-dev/deletedProtectionContainersListSample.js +1 -1
- package/dist-esm/samples-dev/exportJobsOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/featureSupportValidateSample.js +1 -1
- package/dist-esm/samples-dev/getOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/itemLevelRecoveryConnectionsProvisionSample.js +1 -1
- package/dist-esm/samples-dev/itemLevelRecoveryConnectionsRevokeSample.js +1 -1
- package/dist-esm/samples-dev/jobCancellationsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/jobDetailsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobsExportSample.js +1 -1
- package/dist-esm/samples-dev/moveRecoveryPointSample.js +1 -1
- package/dist-esm/samples-dev/operationValidateSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointGetOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/protectableContainersListSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/protectedItemsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemsGetSample.js +2 -2
- package/dist-esm/samples-dev/protectionContainerOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainerRefreshOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersInquireSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersRefreshSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersRegisterSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersUnregisterSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentValidateSample.js +1 -1
- package/dist-esm/samples-dev/protectionPoliciesCreateOrUpdateSample.js +7 -7
- package/dist-esm/samples-dev/protectionPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectionPoliciesGetSample.js +2 -2
- package/dist-esm/samples-dev/protectionPolicyOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionPolicyOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsGetSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsListSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsRecommendedForMoveListSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxiesGetSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyDeleteSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyGetSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyPutSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyUnlockDeleteSample.js +1 -1
- package/dist-esm/samples-dev/restoresTriggerSample.js +11 -7
- package/dist-esm/samples-dev/restoresTriggerSample.js.map +1 -1
- package/dist-esm/samples-dev/securityPiNsGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationTriggerSample.js +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +38 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +99 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js +29 -16
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist-esm/src/operations/protectionPolicies.d.ts +2 -2
- package/dist-esm/src/operations/protectionPolicies.d.ts.map +1 -1
- package/dist-esm/src/operations/protectionPolicies.js +10 -6
- package/dist-esm/src/operations/protectionPolicies.js.map +1 -1
- package/dist-esm/src/operations/restores.d.ts +2 -2
- package/dist-esm/src/operations/restores.d.ts.map +1 -1
- package/dist-esm/src/operations/restores.js +19 -15
- package/dist-esm/src/operations/restores.js.map +1 -1
- package/dist-esm/src/operations/validateOperation.d.ts +2 -2
- package/dist-esm/src/operations/validateOperation.d.ts.map +1 -1
- package/dist-esm/src/operations/validateOperation.js +10 -6
- package/dist-esm/src/operations/validateOperation.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/protectionPolicies.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/protectionPolicies.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/restores.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/restores.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/validateOperation.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/validateOperation.d.ts.map +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.d.ts +4 -4
- package/dist-esm/src/recoveryServicesBackupClient.d.ts.map +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.js +37 -25
- package/dist-esm/src/recoveryServicesBackupClient.js.map +1 -1
- package/dist-esm/test/recoveryservicesbackup_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/recoveryservicesbackup_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/recoveryservicesbackup_operations_test.spec.js +142 -0
- package/dist-esm/test/recoveryservicesbackup_operations_test.spec.js.map +1 -0
- package/package.json +6 -5
- package/review/arm-recoveryservicesbackup.api.md +37 -10
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +44 -0
- package/src/models/mappers.ts +107 -0
- package/src/models/parameters.ts +1 -1
- package/src/operations/privateEndpointConnectionOperations.ts +33 -21
- package/src/operations/protectionPolicies.ts +15 -11
- package/src/operations/restores.ts +15 -11
- package/src/operations/validateOperation.ts +15 -11
- package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +4 -4
- package/src/operationsInterfaces/protectionPolicies.ts +2 -2
- package/src/operationsInterfaces/restores.ts +2 -2
- package/src/operationsInterfaces/validateOperation.ts +2 -2
- package/src/recoveryServicesBackupClient.ts +35 -31
- package/types/arm-recoveryservicesbackup.d.ts +52 -10
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
# Release History
|
|
2
|
+
|
|
3
|
+
## 10.1.0 (2023-03-10)
|
|
4
|
+
|
|
5
|
+
**Features**
|
|
2
6
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
- Added Interface ExtendedLocation
|
|
8
|
+
- Added Interface SecuredVMDetails
|
|
9
|
+
- Added Interface TargetDiskNetworkAccessSettings
|
|
10
|
+
- Added Type Alias TargetDiskNetworkAccessOption
|
|
11
|
+
- Interface BmsrpQueryObject has a new optional parameter includeSoftDeletedRP
|
|
12
|
+
- Interface IaasVMRecoveryPoint has a new optional parameter isPrivateAccessEnabledOnAnyDisk
|
|
13
|
+
- Interface IaasVMRecoveryPoint has a new optional parameter securityType
|
|
14
|
+
- Interface IaasVMRestoreRequest has a new optional parameter extendedLocation
|
|
15
|
+
- Interface IaasVMRestoreRequest has a new optional parameter securedVMDetails
|
|
16
|
+
- Interface IaasVMRestoreRequest has a new optional parameter targetDiskNetworkAccessSettings
|
|
17
|
+
- Interface RecoveryPointProperties has a new optional parameter isSoftDeleted
|
|
18
|
+
|
|
19
|
+
|
|
13
20
|
## 10.0.0 (2023-01-18)
|
|
14
21
|
|
|
15
22
|
**Features**
|
package/dist/index.js
CHANGED
|
@@ -963,25 +963,17 @@ exports.KnownRehydrationPriority = void 0;
|
|
|
963
963
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
964
964
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
965
965
|
*/
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
});
|
|
978
|
-
}
|
|
979
|
-
sendPollRequest(path) {
|
|
980
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
981
|
-
const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
|
|
982
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
983
|
-
});
|
|
984
|
-
}
|
|
966
|
+
function createLroSpec(inputs) {
|
|
967
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
968
|
+
return {
|
|
969
|
+
requestMethod: spec.httpMethod,
|
|
970
|
+
requestPath: spec.path,
|
|
971
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
972
|
+
sendPollRequest: (path, options) => {
|
|
973
|
+
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
974
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
975
|
+
}
|
|
976
|
+
};
|
|
985
977
|
}
|
|
986
978
|
|
|
987
979
|
/*
|
|
@@ -3296,6 +3288,12 @@ const RecoveryPointProperties = {
|
|
|
3296
3288
|
type: {
|
|
3297
3289
|
name: "String"
|
|
3298
3290
|
}
|
|
3291
|
+
},
|
|
3292
|
+
isSoftDeleted: {
|
|
3293
|
+
serializedName: "isSoftDeleted",
|
|
3294
|
+
type: {
|
|
3295
|
+
name: "Boolean"
|
|
3296
|
+
}
|
|
3299
3297
|
}
|
|
3300
3298
|
}
|
|
3301
3299
|
}
|
|
@@ -4239,6 +4237,12 @@ const BmsrpQueryObject = {
|
|
|
4239
4237
|
type: {
|
|
4240
4238
|
name: "Boolean"
|
|
4241
4239
|
}
|
|
4240
|
+
},
|
|
4241
|
+
includeSoftDeletedRP: {
|
|
4242
|
+
serializedName: "includeSoftDeletedRP",
|
|
4243
|
+
type: {
|
|
4244
|
+
name: "Boolean"
|
|
4245
|
+
}
|
|
4242
4246
|
}
|
|
4243
4247
|
}
|
|
4244
4248
|
}
|
|
@@ -4812,6 +4816,65 @@ const RecoveryPointDiskConfiguration = {
|
|
|
4812
4816
|
}
|
|
4813
4817
|
}
|
|
4814
4818
|
};
|
|
4819
|
+
const ExtendedLocation = {
|
|
4820
|
+
type: {
|
|
4821
|
+
name: "Composite",
|
|
4822
|
+
className: "ExtendedLocation",
|
|
4823
|
+
modelProperties: {
|
|
4824
|
+
name: {
|
|
4825
|
+
serializedName: "name",
|
|
4826
|
+
type: {
|
|
4827
|
+
name: "String"
|
|
4828
|
+
}
|
|
4829
|
+
},
|
|
4830
|
+
type: {
|
|
4831
|
+
serializedName: "type",
|
|
4832
|
+
type: {
|
|
4833
|
+
name: "String"
|
|
4834
|
+
}
|
|
4835
|
+
}
|
|
4836
|
+
}
|
|
4837
|
+
}
|
|
4838
|
+
};
|
|
4839
|
+
const SecuredVMDetails = {
|
|
4840
|
+
type: {
|
|
4841
|
+
name: "Composite",
|
|
4842
|
+
className: "SecuredVMDetails",
|
|
4843
|
+
modelProperties: {
|
|
4844
|
+
securedVMOsDiskEncryptionSetId: {
|
|
4845
|
+
serializedName: "securedVMOsDiskEncryptionSetId",
|
|
4846
|
+
type: {
|
|
4847
|
+
name: "String"
|
|
4848
|
+
}
|
|
4849
|
+
}
|
|
4850
|
+
}
|
|
4851
|
+
}
|
|
4852
|
+
};
|
|
4853
|
+
const TargetDiskNetworkAccessSettings = {
|
|
4854
|
+
type: {
|
|
4855
|
+
name: "Composite",
|
|
4856
|
+
className: "TargetDiskNetworkAccessSettings",
|
|
4857
|
+
modelProperties: {
|
|
4858
|
+
targetDiskNetworkAccessOption: {
|
|
4859
|
+
serializedName: "targetDiskNetworkAccessOption",
|
|
4860
|
+
type: {
|
|
4861
|
+
name: "Enum",
|
|
4862
|
+
allowedValues: [
|
|
4863
|
+
"SameAsOnSourceDisks",
|
|
4864
|
+
"EnablePrivateAccessForAllDisks",
|
|
4865
|
+
"EnablePublicAccessForAllDisks"
|
|
4866
|
+
]
|
|
4867
|
+
}
|
|
4868
|
+
},
|
|
4869
|
+
targetDiskAccessId: {
|
|
4870
|
+
serializedName: "targetDiskAccessId",
|
|
4871
|
+
type: {
|
|
4872
|
+
name: "String"
|
|
4873
|
+
}
|
|
4874
|
+
}
|
|
4875
|
+
}
|
|
4876
|
+
}
|
|
4877
|
+
};
|
|
4815
4878
|
const JobQueryObject = {
|
|
4816
4879
|
type: {
|
|
4817
4880
|
name: "Composite",
|
|
@@ -7181,12 +7244,22 @@ const IaasVMRecoveryPoint = {
|
|
|
7181
7244
|
}
|
|
7182
7245
|
}
|
|
7183
7246
|
}
|
|
7247
|
+
}, securityType: {
|
|
7248
|
+
serializedName: "securityType",
|
|
7249
|
+
type: {
|
|
7250
|
+
name: "String"
|
|
7251
|
+
}
|
|
7184
7252
|
}, recoveryPointProperties: {
|
|
7185
7253
|
serializedName: "recoveryPointProperties",
|
|
7186
7254
|
type: {
|
|
7187
7255
|
name: "Composite",
|
|
7188
7256
|
className: "RecoveryPointProperties"
|
|
7189
7257
|
}
|
|
7258
|
+
}, isPrivateAccessEnabledOnAnyDisk: {
|
|
7259
|
+
serializedName: "isPrivateAccessEnabledOnAnyDisk",
|
|
7260
|
+
type: {
|
|
7261
|
+
name: "Boolean"
|
|
7262
|
+
}
|
|
7190
7263
|
} })
|
|
7191
7264
|
}
|
|
7192
7265
|
};
|
|
@@ -7405,6 +7478,24 @@ const IaasVMRestoreRequest = {
|
|
|
7405
7478
|
name: "Composite",
|
|
7406
7479
|
className: "IdentityBasedRestoreDetails"
|
|
7407
7480
|
}
|
|
7481
|
+
}, extendedLocation: {
|
|
7482
|
+
serializedName: "extendedLocation",
|
|
7483
|
+
type: {
|
|
7484
|
+
name: "Composite",
|
|
7485
|
+
className: "ExtendedLocation"
|
|
7486
|
+
}
|
|
7487
|
+
}, securedVMDetails: {
|
|
7488
|
+
serializedName: "securedVMDetails",
|
|
7489
|
+
type: {
|
|
7490
|
+
name: "Composite",
|
|
7491
|
+
className: "SecuredVMDetails"
|
|
7492
|
+
}
|
|
7493
|
+
}, targetDiskNetworkAccessSettings: {
|
|
7494
|
+
serializedName: "targetDiskNetworkAccessSettings",
|
|
7495
|
+
type: {
|
|
7496
|
+
name: "Composite",
|
|
7497
|
+
className: "TargetDiskNetworkAccessSettings"
|
|
7498
|
+
}
|
|
7408
7499
|
} })
|
|
7409
7500
|
}
|
|
7410
7501
|
};
|
|
@@ -9604,6 +9695,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
9604
9695
|
KeyAndSecretDetails: KeyAndSecretDetails,
|
|
9605
9696
|
KEKDetails: KEKDetails,
|
|
9606
9697
|
RecoveryPointDiskConfiguration: RecoveryPointDiskConfiguration,
|
|
9698
|
+
ExtendedLocation: ExtendedLocation,
|
|
9699
|
+
SecuredVMDetails: SecuredVMDetails,
|
|
9700
|
+
TargetDiskNetworkAccessSettings: TargetDiskNetworkAccessSettings,
|
|
9607
9701
|
JobQueryObject: JobQueryObject,
|
|
9608
9702
|
WeeklyRetentionSchedule: WeeklyRetentionSchedule,
|
|
9609
9703
|
MonthlyRetentionSchedule: MonthlyRetentionSchedule,
|
|
@@ -9820,7 +9914,7 @@ const $host = {
|
|
|
9820
9914
|
const apiVersion = {
|
|
9821
9915
|
parameterPath: "apiVersion",
|
|
9822
9916
|
mapper: {
|
|
9823
|
-
defaultValue: "2023-
|
|
9917
|
+
defaultValue: "2023-02-01",
|
|
9824
9918
|
isConstant: true,
|
|
9825
9919
|
serializedName: "api-version",
|
|
9826
9920
|
type: {
|
|
@@ -11083,7 +11177,7 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
11083
11177
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11084
11178
|
return this.client.sendOperationRequest(args, spec);
|
|
11085
11179
|
});
|
|
11086
|
-
const
|
|
11180
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11087
11181
|
var _a;
|
|
11088
11182
|
let currentRawResponse = undefined;
|
|
11089
11183
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -11102,15 +11196,19 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
11102
11196
|
}
|
|
11103
11197
|
};
|
|
11104
11198
|
});
|
|
11105
|
-
const lro =
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11199
|
+
const lro = createLroSpec({
|
|
11200
|
+
sendOperationFn,
|
|
11201
|
+
args: {
|
|
11202
|
+
vaultName,
|
|
11203
|
+
resourceGroupName,
|
|
11204
|
+
privateEndpointConnectionName,
|
|
11205
|
+
parameters,
|
|
11206
|
+
options
|
|
11207
|
+
},
|
|
11208
|
+
spec: putOperationSpec$1
|
|
11209
|
+
});
|
|
11210
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
11211
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11114
11212
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
11115
11213
|
});
|
|
11116
11214
|
yield poller.poll();
|
|
@@ -11145,7 +11243,7 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
11145
11243
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11146
11244
|
return this.client.sendOperationRequest(args, spec);
|
|
11147
11245
|
});
|
|
11148
|
-
const
|
|
11246
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11149
11247
|
var _a;
|
|
11150
11248
|
let currentRawResponse = undefined;
|
|
11151
11249
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -11164,9 +11262,18 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
11164
11262
|
}
|
|
11165
11263
|
};
|
|
11166
11264
|
});
|
|
11167
|
-
const lro =
|
|
11168
|
-
|
|
11169
|
-
|
|
11265
|
+
const lro = createLroSpec({
|
|
11266
|
+
sendOperationFn,
|
|
11267
|
+
args: {
|
|
11268
|
+
vaultName,
|
|
11269
|
+
resourceGroupName,
|
|
11270
|
+
privateEndpointConnectionName,
|
|
11271
|
+
options
|
|
11272
|
+
},
|
|
11273
|
+
spec: deleteOperationSpec$3
|
|
11274
|
+
});
|
|
11275
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
11276
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11170
11277
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
11171
11278
|
});
|
|
11172
11279
|
yield poller.poll();
|
|
@@ -11876,7 +11983,7 @@ class RestoresImpl {
|
|
|
11876
11983
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11877
11984
|
return this.client.sendOperationRequest(args, spec);
|
|
11878
11985
|
});
|
|
11879
|
-
const
|
|
11986
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11880
11987
|
var _a;
|
|
11881
11988
|
let currentRawResponse = undefined;
|
|
11882
11989
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -11895,18 +12002,22 @@ class RestoresImpl {
|
|
|
11895
12002
|
}
|
|
11896
12003
|
};
|
|
11897
12004
|
});
|
|
11898
|
-
const lro =
|
|
11899
|
-
|
|
11900
|
-
|
|
11901
|
-
|
|
11902
|
-
|
|
11903
|
-
|
|
11904
|
-
|
|
11905
|
-
|
|
11906
|
-
|
|
11907
|
-
|
|
11908
|
-
|
|
11909
|
-
|
|
12005
|
+
const lro = createLroSpec({
|
|
12006
|
+
sendOperationFn,
|
|
12007
|
+
args: {
|
|
12008
|
+
vaultName,
|
|
12009
|
+
resourceGroupName,
|
|
12010
|
+
fabricName,
|
|
12011
|
+
containerName,
|
|
12012
|
+
protectedItemName,
|
|
12013
|
+
recoveryPointId,
|
|
12014
|
+
parameters,
|
|
12015
|
+
options
|
|
12016
|
+
},
|
|
12017
|
+
spec: triggerOperationSpec$3
|
|
12018
|
+
});
|
|
12019
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
12020
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11910
12021
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
11911
12022
|
});
|
|
11912
12023
|
yield poller.poll();
|
|
@@ -12173,7 +12284,7 @@ class ProtectionPoliciesImpl {
|
|
|
12173
12284
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12174
12285
|
return this.client.sendOperationRequest(args, spec);
|
|
12175
12286
|
});
|
|
12176
|
-
const
|
|
12287
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12177
12288
|
var _a;
|
|
12178
12289
|
let currentRawResponse = undefined;
|
|
12179
12290
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -12192,9 +12303,13 @@ class ProtectionPoliciesImpl {
|
|
|
12192
12303
|
}
|
|
12193
12304
|
};
|
|
12194
12305
|
});
|
|
12195
|
-
const lro =
|
|
12196
|
-
|
|
12197
|
-
|
|
12306
|
+
const lro = createLroSpec({
|
|
12307
|
+
sendOperationFn,
|
|
12308
|
+
args: { vaultName, resourceGroupName, policyName, options },
|
|
12309
|
+
spec: deleteOperationSpec$1
|
|
12310
|
+
});
|
|
12311
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
12312
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
12198
12313
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
12199
12314
|
});
|
|
12200
12315
|
yield poller.poll();
|
|
@@ -12998,7 +13113,7 @@ class ValidateOperationImpl {
|
|
|
12998
13113
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12999
13114
|
return this.client.sendOperationRequest(args, spec);
|
|
13000
13115
|
});
|
|
13001
|
-
const
|
|
13116
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
13002
13117
|
var _a;
|
|
13003
13118
|
let currentRawResponse = undefined;
|
|
13004
13119
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -13017,9 +13132,13 @@ class ValidateOperationImpl {
|
|
|
13017
13132
|
}
|
|
13018
13133
|
};
|
|
13019
13134
|
});
|
|
13020
|
-
const lro =
|
|
13021
|
-
|
|
13022
|
-
|
|
13135
|
+
const lro = createLroSpec({
|
|
13136
|
+
sendOperationFn,
|
|
13137
|
+
args: { vaultName, resourceGroupName, parameters, options },
|
|
13138
|
+
spec: triggerOperationSpec$1
|
|
13139
|
+
});
|
|
13140
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
13141
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
13023
13142
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
13024
13143
|
});
|
|
13025
13144
|
yield poller.poll();
|
|
@@ -15485,7 +15604,7 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
15485
15604
|
requestContentType: "application/json; charset=utf-8",
|
|
15486
15605
|
credential: credentials
|
|
15487
15606
|
};
|
|
15488
|
-
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/10.0
|
|
15607
|
+
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/10.1.0`;
|
|
15489
15608
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
15490
15609
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
15491
15610
|
: `${packageDetails}`;
|
|
@@ -15518,7 +15637,7 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
15518
15637
|
this.subscriptionId = subscriptionId;
|
|
15519
15638
|
// Assigning values to Constant parameters
|
|
15520
15639
|
this.$host = options.$host || "https://management.azure.com";
|
|
15521
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
15640
|
+
this.apiVersion = options.apiVersion || "2023-02-01";
|
|
15522
15641
|
this.backupResourceStorageConfigsNonCRR = new BackupResourceStorageConfigsNonCRRImpl(this);
|
|
15523
15642
|
this.protectionIntentOperations = new ProtectionIntentOperationsImpl(this);
|
|
15524
15643
|
this.backupStatus = new BackupStatusImpl(this);
|
|
@@ -15621,7 +15740,7 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
15621
15740
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
15622
15741
|
return this.sendOperationRequest(args, spec);
|
|
15623
15742
|
});
|
|
15624
|
-
const
|
|
15743
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
15625
15744
|
var _a;
|
|
15626
15745
|
let currentRawResponse = undefined;
|
|
15627
15746
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -15640,9 +15759,13 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
15640
15759
|
}
|
|
15641
15760
|
};
|
|
15642
15761
|
});
|
|
15643
|
-
const lro =
|
|
15644
|
-
|
|
15645
|
-
|
|
15762
|
+
const lro = createLroSpec({
|
|
15763
|
+
sendOperationFn,
|
|
15764
|
+
args: { vaultName, resourceGroupName, parameters, options },
|
|
15765
|
+
spec: bMSPrepareDataMoveOperationSpec
|
|
15766
|
+
});
|
|
15767
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
15768
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
15646
15769
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
15647
15770
|
});
|
|
15648
15771
|
yield poller.poll();
|
|
@@ -15676,7 +15799,7 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
15676
15799
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
15677
15800
|
return this.sendOperationRequest(args, spec);
|
|
15678
15801
|
});
|
|
15679
|
-
const
|
|
15802
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
15680
15803
|
var _a;
|
|
15681
15804
|
let currentRawResponse = undefined;
|
|
15682
15805
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -15695,9 +15818,13 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
15695
15818
|
}
|
|
15696
15819
|
};
|
|
15697
15820
|
});
|
|
15698
|
-
const lro =
|
|
15699
|
-
|
|
15700
|
-
|
|
15821
|
+
const lro = createLroSpec({
|
|
15822
|
+
sendOperationFn,
|
|
15823
|
+
args: { vaultName, resourceGroupName, parameters, options },
|
|
15824
|
+
spec: bMSTriggerDataMoveOperationSpec
|
|
15825
|
+
});
|
|
15826
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
15827
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
15701
15828
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
15702
15829
|
});
|
|
15703
15830
|
yield poller.poll();
|
|
@@ -15735,7 +15862,7 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
15735
15862
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
15736
15863
|
return this.sendOperationRequest(args, spec);
|
|
15737
15864
|
});
|
|
15738
|
-
const
|
|
15865
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
15739
15866
|
var _a;
|
|
15740
15867
|
let currentRawResponse = undefined;
|
|
15741
15868
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -15754,18 +15881,22 @@ class RecoveryServicesBackupClient extends coreClient__namespace.ServiceClient {
|
|
|
15754
15881
|
}
|
|
15755
15882
|
};
|
|
15756
15883
|
});
|
|
15757
|
-
const lro =
|
|
15758
|
-
|
|
15759
|
-
|
|
15760
|
-
|
|
15761
|
-
|
|
15762
|
-
|
|
15763
|
-
|
|
15764
|
-
|
|
15765
|
-
|
|
15766
|
-
|
|
15767
|
-
|
|
15768
|
-
|
|
15884
|
+
const lro = createLroSpec({
|
|
15885
|
+
sendOperationFn,
|
|
15886
|
+
args: {
|
|
15887
|
+
vaultName,
|
|
15888
|
+
resourceGroupName,
|
|
15889
|
+
fabricName,
|
|
15890
|
+
containerName,
|
|
15891
|
+
protectedItemName,
|
|
15892
|
+
recoveryPointId,
|
|
15893
|
+
parameters,
|
|
15894
|
+
options
|
|
15895
|
+
},
|
|
15896
|
+
spec: moveRecoveryPointOperationSpec
|
|
15897
|
+
});
|
|
15898
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
15899
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
15769
15900
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
15770
15901
|
});
|
|
15771
15902
|
yield poller.poll();
|