@azure/arm-batch 7.1.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.js +18 -7
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/batchManagementClient.d.ts.map +1 -1
- package/dist-esm/src/batchManagementClient.js +3 -2
- package/dist-esm/src/batchManagementClient.js.map +1 -1
- package/dist-esm/src/operations/batchAccountOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/batchAccountOperations.js +6 -2
- package/dist-esm/src/operations/batchAccountOperations.js.map +1 -1
- package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/certificateOperations.js +3 -1
- package/dist-esm/src/operations/certificateOperations.js.map +1 -1
- package/dist-esm/src/operations/poolOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/poolOperations.js +3 -1
- package/dist-esm/src/operations/poolOperations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js +3 -1
- package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/package.json +1 -1
- package/src/batchManagementClient.ts +3 -2
- package/src/operations/batchAccountOperations.ts +6 -2
- package/src/operations/certificateOperations.ts +3 -1
- package/src/operations/poolOperations.ts +3 -1
- package/src/operations/privateEndpointConnectionOperations.ts +3 -1
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -4240,11 +4240,13 @@ class BatchAccountOperationsImpl {
|
|
|
4240
4240
|
};
|
|
4241
4241
|
});
|
|
4242
4242
|
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, parameters, options }, createOperationSpec$4);
|
|
4243
|
-
|
|
4243
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
4244
4244
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4245
4245
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4246
4246
|
lroResourceLocationConfig: "location"
|
|
4247
4247
|
});
|
|
4248
|
+
yield poller.poll();
|
|
4249
|
+
return poller;
|
|
4248
4250
|
});
|
|
4249
4251
|
}
|
|
4250
4252
|
/**
|
|
@@ -4305,11 +4307,13 @@ class BatchAccountOperationsImpl {
|
|
|
4305
4307
|
};
|
|
4306
4308
|
});
|
|
4307
4309
|
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, options }, deleteOperationSpec$4);
|
|
4308
|
-
|
|
4310
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
4309
4311
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4310
4312
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4311
4313
|
lroResourceLocationConfig: "location"
|
|
4312
4314
|
});
|
|
4315
|
+
yield poller.poll();
|
|
4316
|
+
return poller;
|
|
4313
4317
|
});
|
|
4314
4318
|
}
|
|
4315
4319
|
/**
|
|
@@ -5923,11 +5927,13 @@ class CertificateOperationsImpl {
|
|
|
5923
5927
|
};
|
|
5924
5928
|
});
|
|
5925
5929
|
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, certificateName, options }, deleteOperationSpec$1);
|
|
5926
|
-
|
|
5930
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
5927
5931
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5928
5932
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5929
5933
|
lroResourceLocationConfig: "location"
|
|
5930
5934
|
});
|
|
5935
|
+
yield poller.poll();
|
|
5936
|
+
return poller;
|
|
5931
5937
|
});
|
|
5932
5938
|
}
|
|
5933
5939
|
/**
|
|
@@ -6468,11 +6474,13 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
6468
6474
|
parameters,
|
|
6469
6475
|
options
|
|
6470
6476
|
}, updateOperationSpec$1);
|
|
6471
|
-
|
|
6477
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
6472
6478
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6473
6479
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6474
6480
|
lroResourceLocationConfig: "azure-async-operation"
|
|
6475
6481
|
});
|
|
6482
|
+
yield poller.poll();
|
|
6483
|
+
return poller;
|
|
6476
6484
|
});
|
|
6477
6485
|
}
|
|
6478
6486
|
/**
|
|
@@ -6738,11 +6746,13 @@ class PoolOperationsImpl {
|
|
|
6738
6746
|
};
|
|
6739
6747
|
});
|
|
6740
6748
|
const lro = new LroImpl(sendOperation, { resourceGroupName, accountName, poolName, options }, deleteOperationSpec);
|
|
6741
|
-
|
|
6749
|
+
const poller = new coreLro.LroEngine(lro, {
|
|
6742
6750
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6743
6751
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6744
6752
|
lroResourceLocationConfig: "location"
|
|
6745
6753
|
});
|
|
6754
|
+
yield poller.poll();
|
|
6755
|
+
return poller;
|
|
6746
6756
|
});
|
|
6747
6757
|
}
|
|
6748
6758
|
/**
|
|
@@ -7027,6 +7037,7 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
7027
7037
|
* @param options The parameter options
|
|
7028
7038
|
*/
|
|
7029
7039
|
constructor(credentials, subscriptionId, options) {
|
|
7040
|
+
var _a, _b;
|
|
7030
7041
|
if (credentials === undefined) {
|
|
7031
7042
|
throw new Error("'credentials' cannot be null");
|
|
7032
7043
|
}
|
|
@@ -7041,7 +7052,7 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
7041
7052
|
requestContentType: "application/json; charset=utf-8",
|
|
7042
7053
|
credential: credentials
|
|
7043
7054
|
};
|
|
7044
|
-
const packageDetails = `azsdk-js-arm-batch/7.1.
|
|
7055
|
+
const packageDetails = `azsdk-js-arm-batch/7.1.1`;
|
|
7045
7056
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
7046
7057
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
7047
7058
|
: `${packageDetails}`;
|
|
@@ -7050,7 +7061,7 @@ class BatchManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
7050
7061
|
}
|
|
7051
7062
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
7052
7063
|
userAgentPrefix
|
|
7053
|
-
}, baseUri: options.endpoint
|
|
7064
|
+
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
7054
7065
|
super(optionsWithDefaults);
|
|
7055
7066
|
// Parameter assignments
|
|
7056
7067
|
this.subscriptionId = subscriptionId;
|