@azure/arm-containerregistry 10.1.0-alpha.20220414.1 → 10.1.0-alpha.20220526.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 +8 -14
- package/dist/index.js +249 -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/connectedRegistriesCreateSample.js +1 -1
- package/dist-esm/samples-dev/connectedRegistriesDeactivateSample.js +1 -1
- package/dist-esm/samples-dev/connectedRegistriesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/connectedRegistriesGetSample.js +1 -1
- package/dist-esm/samples-dev/connectedRegistriesListSample.js +1 -1
- package/dist-esm/samples-dev/connectedRegistriesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/exportPipelinesCreateSample.js +1 -1
- package/dist-esm/samples-dev/exportPipelinesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/exportPipelinesGetSample.js +1 -1
- package/dist-esm/samples-dev/exportPipelinesListSample.js +1 -1
- package/dist-esm/samples-dev/importPipelinesCreateSample.js +1 -1
- package/dist-esm/samples-dev/importPipelinesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/importPipelinesGetSample.js +1 -1
- package/dist-esm/samples-dev/importPipelinesListSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/pipelineRunsCreateSample.js +2 -2
- package/dist-esm/samples-dev/pipelineRunsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/pipelineRunsGetSample.js +1 -1
- package/dist-esm/samples-dev/pipelineRunsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/registriesCheckNameAvailabilitySample.js +2 -2
- package/dist-esm/samples-dev/registriesCreateSample.js +2 -2
- package/dist-esm/samples-dev/registriesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/registriesGenerateCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/registriesGetPrivateLinkResourceSample.js +1 -1
- package/dist-esm/samples-dev/registriesGetSample.js +1 -1
- package/dist-esm/samples-dev/registriesImportImageSample.js +3 -3
- package/dist-esm/samples-dev/registriesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/registriesListCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/registriesListPrivateLinkResourcesSample.js +1 -1
- package/dist-esm/samples-dev/registriesListSample.js +1 -1
- package/dist-esm/samples-dev/registriesListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/registriesRegenerateCredentialSample.js +1 -1
- package/dist-esm/samples-dev/registriesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/replicationsCreateSample.js +2 -2
- package/dist-esm/samples-dev/replicationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationsListSample.js +1 -1
- package/dist-esm/samples-dev/replicationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsCreateSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsGetSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsListSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/tokensCreateSample.js +1 -1
- package/dist-esm/samples-dev/tokensDeleteSample.js +1 -1
- package/dist-esm/samples-dev/tokensGetSample.js +1 -1
- package/dist-esm/samples-dev/tokensListSample.js +1 -1
- package/dist-esm/samples-dev/tokensUpdateSample.js +1 -1
- package/dist-esm/samples-dev/webhooksCreateSample.js +2 -2
- package/dist-esm/samples-dev/webhooksCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/webhooksDeleteSample.js +1 -1
- package/dist-esm/samples-dev/webhooksGetCallbackConfigSample.js +1 -1
- package/dist-esm/samples-dev/webhooksGetSample.js +1 -1
- package/dist-esm/samples-dev/webhooksListEventsSample.js +1 -1
- package/dist-esm/samples-dev/webhooksListSample.js +1 -1
- package/dist-esm/samples-dev/webhooksPingSample.js +1 -1
- package/dist-esm/samples-dev/webhooksUpdateSample.js +2 -2
- package/dist-esm/samples-dev/webhooksUpdateSample.js.map +1 -1
- package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist-esm/src/containerRegistryManagementClient.js +20 -2
- package/dist-esm/src/containerRegistryManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +50 -9
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +6 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +4 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +94 -33
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/operations/agentPools.d.ts.map +1 -1
- package/dist-esm/src/operations/agentPools.js +9 -3
- package/dist-esm/src/operations/agentPools.js.map +1 -1
- package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -1
- package/dist-esm/src/operations/connectedRegistries.js +12 -4
- package/dist-esm/src/operations/connectedRegistries.js.map +1 -1
- package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -1
- package/dist-esm/src/operations/exportPipelines.js +6 -2
- package/dist-esm/src/operations/exportPipelines.js.map +1 -1
- package/dist-esm/src/operations/importPipelines.d.ts.map +1 -1
- package/dist-esm/src/operations/importPipelines.js +6 -2
- package/dist-esm/src/operations/importPipelines.js.map +1 -1
- package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -1
- package/dist-esm/src/operations/pipelineRuns.js +6 -2
- package/dist-esm/src/operations/pipelineRuns.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +6 -2
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/registries.d.ts.map +1 -1
- package/dist-esm/src/operations/registries.js +18 -6
- package/dist-esm/src/operations/registries.js.map +1 -1
- package/dist-esm/src/operations/replications.d.ts.map +1 -1
- package/dist-esm/src/operations/replications.js +9 -3
- package/dist-esm/src/operations/replications.js.map +1 -1
- package/dist-esm/src/operations/runs.d.ts.map +1 -1
- package/dist-esm/src/operations/runs.js +6 -2
- package/dist-esm/src/operations/runs.js.map +1 -1
- package/dist-esm/src/operations/scopeMaps.d.ts.map +1 -1
- package/dist-esm/src/operations/scopeMaps.js +9 -3
- package/dist-esm/src/operations/scopeMaps.js.map +1 -1
- package/dist-esm/src/operations/taskRuns.d.ts.map +1 -1
- package/dist-esm/src/operations/taskRuns.js +9 -3
- package/dist-esm/src/operations/taskRuns.js.map +1 -1
- package/dist-esm/src/operations/tasks.d.ts.map +1 -1
- package/dist-esm/src/operations/tasks.js +9 -3
- package/dist-esm/src/operations/tasks.js.map +1 -1
- package/dist-esm/src/operations/tokens.d.ts.map +1 -1
- package/dist-esm/src/operations/tokens.js +9 -3
- package/dist-esm/src/operations/tokens.js.map +1 -1
- package/dist-esm/src/operations/webhooks.d.ts.map +1 -1
- package/dist-esm/src/operations/webhooks.js +9 -3
- package/dist-esm/src/operations/webhooks.js.map +1 -1
- package/package.json +4 -4
- package/review/arm-containerregistry.api.md +36 -7
- package/src/containerRegistryManagementClient.ts +27 -2
- package/src/models/index.ts +56 -10
- package/src/models/mappers.ts +98 -34
- package/src/models/parameters.ts +1 -1
- package/src/operations/agentPools.ts +9 -3
- package/src/operations/connectedRegistries.ts +12 -4
- package/src/operations/exportPipelines.ts +6 -2
- package/src/operations/importPipelines.ts +6 -2
- package/src/operations/pipelineRuns.ts +6 -2
- package/src/operations/privateEndpointConnections.ts +6 -2
- package/src/operations/registries.ts +18 -6
- package/src/operations/replications.ts +9 -3
- package/src/operations/runs.ts +6 -2
- package/src/operations/scopeMaps.ts +9 -3
- package/src/operations/taskRuns.ts +9 -3
- package/src/operations/tasks.ts +9 -3
- package/src/operations/tokens.ts +9 -3
- package/src/operations/webhooks.ts +9 -3
- package/tsconfig.json +1 -1
- package/types/arm-containerregistry.d.ts +56 -10
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
var coreClient = require('@azure/core-client');
|
6
|
+
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
6
7
|
var tslib = require('tslib');
|
7
8
|
var coreLro = require('@azure/core-lro');
|
8
9
|
|
@@ -25,6 +26,7 @@ function _interopNamespace(e) {
|
|
25
26
|
}
|
26
27
|
|
27
28
|
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
29
|
+
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
28
30
|
|
29
31
|
/*
|
30
32
|
* Copyright (c) Microsoft Corporation.
|
@@ -200,6 +202,12 @@ exports.KnownExportPolicyStatus = void 0;
|
|
200
202
|
KnownExportPolicyStatus["Enabled"] = "enabled";
|
201
203
|
KnownExportPolicyStatus["Disabled"] = "disabled";
|
202
204
|
})(exports.KnownExportPolicyStatus || (exports.KnownExportPolicyStatus = {}));
|
205
|
+
/** Known values of {@link AzureADAuthenticationAsArmPolicyStatus} that the service accepts. */
|
206
|
+
exports.KnownAzureADAuthenticationAsArmPolicyStatus = void 0;
|
207
|
+
(function (KnownAzureADAuthenticationAsArmPolicyStatus) {
|
208
|
+
KnownAzureADAuthenticationAsArmPolicyStatus["Enabled"] = "enabled";
|
209
|
+
KnownAzureADAuthenticationAsArmPolicyStatus["Disabled"] = "disabled";
|
210
|
+
})(exports.KnownAzureADAuthenticationAsArmPolicyStatus || (exports.KnownAzureADAuthenticationAsArmPolicyStatus = {}));
|
203
211
|
/** Known values of {@link EncryptionStatus} that the service accepts. */
|
204
212
|
exports.KnownEncryptionStatus = void 0;
|
205
213
|
(function (KnownEncryptionStatus) {
|
@@ -1788,18 +1796,6 @@ const NetworkRuleSet = {
|
|
1788
1796
|
name: "String"
|
1789
1797
|
}
|
1790
1798
|
},
|
1791
|
-
virtualNetworkRules: {
|
1792
|
-
serializedName: "virtualNetworkRules",
|
1793
|
-
type: {
|
1794
|
-
name: "Sequence",
|
1795
|
-
element: {
|
1796
|
-
type: {
|
1797
|
-
name: "Composite",
|
1798
|
-
className: "VirtualNetworkRule"
|
1799
|
-
}
|
1800
|
-
}
|
1801
|
-
}
|
1802
|
-
},
|
1803
1799
|
ipRules: {
|
1804
1800
|
serializedName: "ipRules",
|
1805
1801
|
type: {
|
@@ -1815,33 +1811,13 @@ const NetworkRuleSet = {
|
|
1815
1811
|
}
|
1816
1812
|
}
|
1817
1813
|
};
|
1818
|
-
const VirtualNetworkRule = {
|
1819
|
-
type: {
|
1820
|
-
name: "Composite",
|
1821
|
-
className: "VirtualNetworkRule",
|
1822
|
-
modelProperties: {
|
1823
|
-
action: {
|
1824
|
-
serializedName: "action",
|
1825
|
-
type: {
|
1826
|
-
name: "String"
|
1827
|
-
}
|
1828
|
-
},
|
1829
|
-
virtualNetworkResourceId: {
|
1830
|
-
serializedName: "id",
|
1831
|
-
required: true,
|
1832
|
-
type: {
|
1833
|
-
name: "String"
|
1834
|
-
}
|
1835
|
-
}
|
1836
|
-
}
|
1837
|
-
}
|
1838
|
-
};
|
1839
1814
|
const IPRule = {
|
1840
1815
|
type: {
|
1841
1816
|
name: "Composite",
|
1842
1817
|
className: "IPRule",
|
1843
1818
|
modelProperties: {
|
1844
1819
|
action: {
|
1820
|
+
defaultValue: "Allow",
|
1845
1821
|
serializedName: "action",
|
1846
1822
|
type: {
|
1847
1823
|
name: "String"
|
@@ -1889,6 +1865,20 @@ const Policies = {
|
|
1889
1865
|
name: "Composite",
|
1890
1866
|
className: "ExportPolicy"
|
1891
1867
|
}
|
1868
|
+
},
|
1869
|
+
azureADAuthenticationAsArmPolicy: {
|
1870
|
+
serializedName: "azureADAuthenticationAsArmPolicy",
|
1871
|
+
type: {
|
1872
|
+
name: "Composite",
|
1873
|
+
className: "AzureADAuthenticationAsArmPolicy"
|
1874
|
+
}
|
1875
|
+
},
|
1876
|
+
softDeletePolicy: {
|
1877
|
+
serializedName: "softDeletePolicy",
|
1878
|
+
type: {
|
1879
|
+
name: "Composite",
|
1880
|
+
className: "SoftDeletePolicy"
|
1881
|
+
}
|
1892
1882
|
}
|
1893
1883
|
}
|
1894
1884
|
}
|
@@ -1971,6 +1961,49 @@ const ExportPolicy = {
|
|
1971
1961
|
}
|
1972
1962
|
}
|
1973
1963
|
};
|
1964
|
+
const AzureADAuthenticationAsArmPolicy = {
|
1965
|
+
type: {
|
1966
|
+
name: "Composite",
|
1967
|
+
className: "AzureADAuthenticationAsArmPolicy",
|
1968
|
+
modelProperties: {
|
1969
|
+
status: {
|
1970
|
+
defaultValue: "enabled",
|
1971
|
+
serializedName: "status",
|
1972
|
+
type: {
|
1973
|
+
name: "String"
|
1974
|
+
}
|
1975
|
+
}
|
1976
|
+
}
|
1977
|
+
}
|
1978
|
+
};
|
1979
|
+
const SoftDeletePolicy = {
|
1980
|
+
type: {
|
1981
|
+
name: "Composite",
|
1982
|
+
className: "SoftDeletePolicy",
|
1983
|
+
modelProperties: {
|
1984
|
+
retentionDays: {
|
1985
|
+
defaultValue: 7,
|
1986
|
+
serializedName: "retentionDays",
|
1987
|
+
type: {
|
1988
|
+
name: "Number"
|
1989
|
+
}
|
1990
|
+
},
|
1991
|
+
lastUpdatedTime: {
|
1992
|
+
serializedName: "lastUpdatedTime",
|
1993
|
+
readOnly: true,
|
1994
|
+
type: {
|
1995
|
+
name: "DateTime"
|
1996
|
+
}
|
1997
|
+
},
|
1998
|
+
status: {
|
1999
|
+
serializedName: "status",
|
2000
|
+
type: {
|
2001
|
+
name: "String"
|
2002
|
+
}
|
2003
|
+
}
|
2004
|
+
}
|
2005
|
+
}
|
2006
|
+
};
|
1974
2007
|
const EncryptionProperty = {
|
1975
2008
|
type: {
|
1976
2009
|
name: "Composite",
|
@@ -4316,6 +4349,42 @@ const BaseImageTriggerUpdateParameters = {
|
|
4316
4349
|
}
|
4317
4350
|
}
|
4318
4351
|
};
|
4352
|
+
const StorageAccountProperties = {
|
4353
|
+
type: {
|
4354
|
+
name: "Composite",
|
4355
|
+
className: "StorageAccountProperties",
|
4356
|
+
modelProperties: {
|
4357
|
+
id: {
|
4358
|
+
serializedName: "id",
|
4359
|
+
required: true,
|
4360
|
+
type: {
|
4361
|
+
name: "String"
|
4362
|
+
}
|
4363
|
+
}
|
4364
|
+
}
|
4365
|
+
}
|
4366
|
+
};
|
4367
|
+
const PackageType = {
|
4368
|
+
type: {
|
4369
|
+
name: "Composite",
|
4370
|
+
className: "PackageType",
|
4371
|
+
modelProperties: {
|
4372
|
+
name: {
|
4373
|
+
serializedName: "name",
|
4374
|
+
type: {
|
4375
|
+
name: "String"
|
4376
|
+
}
|
4377
|
+
},
|
4378
|
+
endpoint: {
|
4379
|
+
serializedName: "endpoint",
|
4380
|
+
readOnly: true,
|
4381
|
+
type: {
|
4382
|
+
name: "String"
|
4383
|
+
}
|
4384
|
+
}
|
4385
|
+
}
|
4386
|
+
}
|
4387
|
+
};
|
4319
4388
|
const ActiveDirectoryObject = {
|
4320
4389
|
type: {
|
4321
4390
|
name: "Composite",
|
@@ -5852,13 +5921,14 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
5852
5921
|
Sku: Sku,
|
5853
5922
|
Status: Status,
|
5854
5923
|
NetworkRuleSet: NetworkRuleSet,
|
5855
|
-
VirtualNetworkRule: VirtualNetworkRule,
|
5856
5924
|
IPRule: IPRule,
|
5857
5925
|
Policies: Policies,
|
5858
5926
|
QuarantinePolicy: QuarantinePolicy,
|
5859
5927
|
TrustPolicy: TrustPolicy,
|
5860
5928
|
RetentionPolicy: RetentionPolicy,
|
5861
5929
|
ExportPolicy: ExportPolicy,
|
5930
|
+
AzureADAuthenticationAsArmPolicy: AzureADAuthenticationAsArmPolicy,
|
5931
|
+
SoftDeletePolicy: SoftDeletePolicy,
|
5862
5932
|
EncryptionProperty: EncryptionProperty,
|
5863
5933
|
KeyVaultProperties: KeyVaultProperties,
|
5864
5934
|
Resource: Resource,
|
@@ -5932,6 +6002,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
5932
6002
|
SourceUpdateParameters: SourceUpdateParameters,
|
5933
6003
|
AuthInfoUpdateParameters: AuthInfoUpdateParameters,
|
5934
6004
|
BaseImageTriggerUpdateParameters: BaseImageTriggerUpdateParameters,
|
6005
|
+
StorageAccountProperties: StorageAccountProperties,
|
6006
|
+
PackageType: PackageType,
|
5935
6007
|
ActiveDirectoryObject: ActiveDirectoryObject,
|
5936
6008
|
RunFilter: RunFilter,
|
5937
6009
|
Argument: Argument,
|
@@ -5997,7 +6069,7 @@ const $host = {
|
|
5997
6069
|
const apiVersion = {
|
5998
6070
|
parameterPath: "apiVersion",
|
5999
6071
|
mapper: {
|
6000
|
-
defaultValue: "
|
6072
|
+
defaultValue: "2022-02-01-preview",
|
6001
6073
|
isConstant: true,
|
6002
6074
|
serializedName: "api-version",
|
6003
6075
|
type: {
|
@@ -6555,10 +6627,12 @@ class ConnectedRegistriesImpl {
|
|
6555
6627
|
connectedRegistryCreateParameters,
|
6556
6628
|
options
|
6557
6629
|
}, createOperationSpec$b);
|
6558
|
-
|
6630
|
+
const poller = new coreLro.LroEngine(lro, {
|
6559
6631
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
6560
6632
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
6561
6633
|
});
|
6634
|
+
yield poller.poll();
|
6635
|
+
return poller;
|
6562
6636
|
});
|
6563
6637
|
}
|
6564
6638
|
/**
|
@@ -6607,10 +6681,12 @@ class ConnectedRegistriesImpl {
|
|
6607
6681
|
};
|
6608
6682
|
});
|
6609
6683
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, connectedRegistryName, options }, deleteOperationSpec$c);
|
6610
|
-
|
6684
|
+
const poller = new coreLro.LroEngine(lro, {
|
6611
6685
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
6612
6686
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
6613
6687
|
});
|
6688
|
+
yield poller.poll();
|
6689
|
+
return poller;
|
6614
6690
|
});
|
6615
6691
|
}
|
6616
6692
|
/**
|
@@ -6665,10 +6741,12 @@ class ConnectedRegistriesImpl {
|
|
6665
6741
|
connectedRegistryUpdateParameters,
|
6666
6742
|
options
|
6667
6743
|
}, updateOperationSpec$9);
|
6668
|
-
|
6744
|
+
const poller = new coreLro.LroEngine(lro, {
|
6669
6745
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
6670
6746
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
6671
6747
|
});
|
6748
|
+
yield poller.poll();
|
6749
|
+
return poller;
|
6672
6750
|
});
|
6673
6751
|
}
|
6674
6752
|
/**
|
@@ -6717,10 +6795,12 @@ class ConnectedRegistriesImpl {
|
|
6717
6795
|
};
|
6718
6796
|
});
|
6719
6797
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, connectedRegistryName, options }, deactivateOperationSpec);
|
6720
|
-
|
6798
|
+
const poller = new coreLro.LroEngine(lro, {
|
6721
6799
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
6722
6800
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
6723
6801
|
});
|
6802
|
+
yield poller.poll();
|
6803
|
+
return poller;
|
6724
6804
|
});
|
6725
6805
|
}
|
6726
6806
|
/**
|
@@ -7052,10 +7132,12 @@ class ExportPipelinesImpl {
|
|
7052
7132
|
exportPipelineCreateParameters,
|
7053
7133
|
options
|
7054
7134
|
}, createOperationSpec$a);
|
7055
|
-
|
7135
|
+
const poller = new coreLro.LroEngine(lro, {
|
7056
7136
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
7057
7137
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
7058
7138
|
});
|
7139
|
+
yield poller.poll();
|
7140
|
+
return poller;
|
7059
7141
|
});
|
7060
7142
|
}
|
7061
7143
|
/**
|
@@ -7104,10 +7186,12 @@ class ExportPipelinesImpl {
|
|
7104
7186
|
};
|
7105
7187
|
});
|
7106
7188
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, exportPipelineName, options }, deleteOperationSpec$b);
|
7107
|
-
|
7189
|
+
const poller = new coreLro.LroEngine(lro, {
|
7108
7190
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
7109
7191
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
7110
7192
|
});
|
7193
|
+
yield poller.poll();
|
7194
|
+
return poller;
|
7111
7195
|
});
|
7112
7196
|
}
|
7113
7197
|
/**
|
@@ -7454,10 +7538,12 @@ class RegistriesImpl {
|
|
7454
7538
|
};
|
7455
7539
|
});
|
7456
7540
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, parameters, options }, importImageOperationSpec);
|
7457
|
-
|
7541
|
+
const poller = new coreLro.LroEngine(lro, {
|
7458
7542
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
7459
7543
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
7460
7544
|
});
|
7545
|
+
yield poller.poll();
|
7546
|
+
return poller;
|
7461
7547
|
});
|
7462
7548
|
}
|
7463
7549
|
/**
|
@@ -7538,10 +7624,12 @@ class RegistriesImpl {
|
|
7538
7624
|
};
|
7539
7625
|
});
|
7540
7626
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, registry, options }, createOperationSpec$9);
|
7541
|
-
|
7627
|
+
const poller = new coreLro.LroEngine(lro, {
|
7542
7628
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
7543
7629
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
7544
7630
|
});
|
7631
|
+
yield poller.poll();
|
7632
|
+
return poller;
|
7545
7633
|
});
|
7546
7634
|
}
|
7547
7635
|
/**
|
@@ -7588,10 +7676,12 @@ class RegistriesImpl {
|
|
7588
7676
|
};
|
7589
7677
|
});
|
7590
7678
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, options }, deleteOperationSpec$a);
|
7591
|
-
|
7679
|
+
const poller = new coreLro.LroEngine(lro, {
|
7592
7680
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
7593
7681
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
7594
7682
|
});
|
7683
|
+
yield poller.poll();
|
7684
|
+
return poller;
|
7595
7685
|
});
|
7596
7686
|
}
|
7597
7687
|
/**
|
@@ -7638,10 +7728,12 @@ class RegistriesImpl {
|
|
7638
7728
|
};
|
7639
7729
|
});
|
7640
7730
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, registryUpdateParameters, options }, updateOperationSpec$8);
|
7641
|
-
|
7731
|
+
const poller = new coreLro.LroEngine(lro, {
|
7642
7732
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
7643
7733
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
7644
7734
|
});
|
7735
|
+
yield poller.poll();
|
7736
|
+
return poller;
|
7645
7737
|
});
|
7646
7738
|
}
|
7647
7739
|
/**
|
@@ -7747,10 +7839,12 @@ class RegistriesImpl {
|
|
7747
7839
|
generateCredentialsParameters,
|
7748
7840
|
options
|
7749
7841
|
}, generateCredentialsOperationSpec);
|
7750
|
-
|
7842
|
+
const poller = new coreLro.LroEngine(lro, {
|
7751
7843
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
7752
7844
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
7753
7845
|
});
|
7846
|
+
yield poller.poll();
|
7847
|
+
return poller;
|
7754
7848
|
});
|
7755
7849
|
}
|
7756
7850
|
/**
|
@@ -7798,10 +7892,12 @@ class RegistriesImpl {
|
|
7798
7892
|
};
|
7799
7893
|
});
|
7800
7894
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, runRequest, options }, scheduleRunOperationSpec);
|
7801
|
-
|
7895
|
+
const poller = new coreLro.LroEngine(lro, {
|
7802
7896
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
7803
7897
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
7804
7898
|
});
|
7899
|
+
yield poller.poll();
|
7900
|
+
return poller;
|
7805
7901
|
});
|
7806
7902
|
}
|
7807
7903
|
/**
|
@@ -8368,10 +8464,12 @@ class ImportPipelinesImpl {
|
|
8368
8464
|
importPipelineCreateParameters,
|
8369
8465
|
options
|
8370
8466
|
}, createOperationSpec$8);
|
8371
|
-
|
8467
|
+
const poller = new coreLro.LroEngine(lro, {
|
8372
8468
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
8373
8469
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
8374
8470
|
});
|
8471
|
+
yield poller.poll();
|
8472
|
+
return poller;
|
8375
8473
|
});
|
8376
8474
|
}
|
8377
8475
|
/**
|
@@ -8420,10 +8518,12 @@ class ImportPipelinesImpl {
|
|
8420
8518
|
};
|
8421
8519
|
});
|
8422
8520
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, importPipelineName, options }, deleteOperationSpec$9);
|
8423
|
-
|
8521
|
+
const poller = new coreLro.LroEngine(lro, {
|
8424
8522
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
8425
8523
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
8426
8524
|
});
|
8525
|
+
yield poller.poll();
|
8526
|
+
return poller;
|
8427
8527
|
});
|
8428
8528
|
}
|
8429
8529
|
/**
|
@@ -8809,10 +8909,12 @@ class PipelineRunsImpl {
|
|
8809
8909
|
pipelineRunCreateParameters,
|
8810
8910
|
options
|
8811
8911
|
}, createOperationSpec$7);
|
8812
|
-
|
8912
|
+
const poller = new coreLro.LroEngine(lro, {
|
8813
8913
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
8814
8914
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
8815
8915
|
});
|
8916
|
+
yield poller.poll();
|
8917
|
+
return poller;
|
8816
8918
|
});
|
8817
8919
|
}
|
8818
8920
|
/**
|
@@ -8861,10 +8963,12 @@ class PipelineRunsImpl {
|
|
8861
8963
|
};
|
8862
8964
|
});
|
8863
8965
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, pipelineRunName, options }, deleteOperationSpec$8);
|
8864
|
-
|
8966
|
+
const poller = new coreLro.LroEngine(lro, {
|
8865
8967
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
8866
8968
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
8867
8969
|
});
|
8970
|
+
yield poller.poll();
|
8971
|
+
return poller;
|
8868
8972
|
});
|
8869
8973
|
}
|
8870
8974
|
/**
|
@@ -9145,10 +9249,12 @@ class PrivateEndpointConnectionsImpl {
|
|
9145
9249
|
privateEndpointConnection,
|
9146
9250
|
options
|
9147
9251
|
}, createOrUpdateOperationSpec);
|
9148
|
-
|
9252
|
+
const poller = new coreLro.LroEngine(lro, {
|
9149
9253
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
9150
9254
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
9151
9255
|
});
|
9256
|
+
yield poller.poll();
|
9257
|
+
return poller;
|
9152
9258
|
});
|
9153
9259
|
}
|
9154
9260
|
/**
|
@@ -9202,10 +9308,12 @@ class PrivateEndpointConnectionsImpl {
|
|
9202
9308
|
privateEndpointConnectionName,
|
9203
9309
|
options
|
9204
9310
|
}, deleteOperationSpec$7);
|
9205
|
-
|
9311
|
+
const poller = new coreLro.LroEngine(lro, {
|
9206
9312
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
9207
9313
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
9208
9314
|
});
|
9315
|
+
yield poller.poll();
|
9316
|
+
return poller;
|
9209
9317
|
});
|
9210
9318
|
}
|
9211
9319
|
/**
|
@@ -9460,10 +9568,12 @@ class ReplicationsImpl {
|
|
9460
9568
|
replication,
|
9461
9569
|
options
|
9462
9570
|
}, createOperationSpec$6);
|
9463
|
-
|
9571
|
+
const poller = new coreLro.LroEngine(lro, {
|
9464
9572
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
9465
9573
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
9466
9574
|
});
|
9575
|
+
yield poller.poll();
|
9576
|
+
return poller;
|
9467
9577
|
});
|
9468
9578
|
}
|
9469
9579
|
/**
|
@@ -9512,10 +9622,12 @@ class ReplicationsImpl {
|
|
9512
9622
|
};
|
9513
9623
|
});
|
9514
9624
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, replicationName, options }, deleteOperationSpec$6);
|
9515
|
-
|
9625
|
+
const poller = new coreLro.LroEngine(lro, {
|
9516
9626
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
9517
9627
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
9518
9628
|
});
|
9629
|
+
yield poller.poll();
|
9630
|
+
return poller;
|
9519
9631
|
});
|
9520
9632
|
}
|
9521
9633
|
/**
|
@@ -9570,10 +9682,12 @@ class ReplicationsImpl {
|
|
9570
9682
|
replicationUpdateParameters,
|
9571
9683
|
options
|
9572
9684
|
}, updateOperationSpec$7);
|
9573
|
-
|
9685
|
+
const poller = new coreLro.LroEngine(lro, {
|
9574
9686
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
9575
9687
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
9576
9688
|
});
|
9689
|
+
yield poller.poll();
|
9690
|
+
return poller;
|
9577
9691
|
});
|
9578
9692
|
}
|
9579
9693
|
/**
|
@@ -9859,10 +9973,12 @@ class ScopeMapsImpl {
|
|
9859
9973
|
scopeMapCreateParameters,
|
9860
9974
|
options
|
9861
9975
|
}, createOperationSpec$5);
|
9862
|
-
|
9976
|
+
const poller = new coreLro.LroEngine(lro, {
|
9863
9977
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
9864
9978
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
9865
9979
|
});
|
9980
|
+
yield poller.poll();
|
9981
|
+
return poller;
|
9866
9982
|
});
|
9867
9983
|
}
|
9868
9984
|
/**
|
@@ -9911,10 +10027,12 @@ class ScopeMapsImpl {
|
|
9911
10027
|
};
|
9912
10028
|
});
|
9913
10029
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, scopeMapName, options }, deleteOperationSpec$5);
|
9914
|
-
|
10030
|
+
const poller = new coreLro.LroEngine(lro, {
|
9915
10031
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
9916
10032
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
9917
10033
|
});
|
10034
|
+
yield poller.poll();
|
10035
|
+
return poller;
|
9918
10036
|
});
|
9919
10037
|
}
|
9920
10038
|
/**
|
@@ -9969,10 +10087,12 @@ class ScopeMapsImpl {
|
|
9969
10087
|
scopeMapUpdateParameters,
|
9970
10088
|
options
|
9971
10089
|
}, updateOperationSpec$6);
|
9972
|
-
|
10090
|
+
const poller = new coreLro.LroEngine(lro, {
|
9973
10091
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
9974
10092
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
9975
10093
|
});
|
10094
|
+
yield poller.poll();
|
10095
|
+
return poller;
|
9976
10096
|
});
|
9977
10097
|
}
|
9978
10098
|
/**
|
@@ -10282,10 +10402,12 @@ class TokensImpl {
|
|
10282
10402
|
tokenCreateParameters,
|
10283
10403
|
options
|
10284
10404
|
}, createOperationSpec$4);
|
10285
|
-
|
10405
|
+
const poller = new coreLro.LroEngine(lro, {
|
10286
10406
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
10287
10407
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
10288
10408
|
});
|
10409
|
+
yield poller.poll();
|
10410
|
+
return poller;
|
10289
10411
|
});
|
10290
10412
|
}
|
10291
10413
|
/**
|
@@ -10334,10 +10456,12 @@ class TokensImpl {
|
|
10334
10456
|
};
|
10335
10457
|
});
|
10336
10458
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, tokenName, options }, deleteOperationSpec$4);
|
10337
|
-
|
10459
|
+
const poller = new coreLro.LroEngine(lro, {
|
10338
10460
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
10339
10461
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
10340
10462
|
});
|
10463
|
+
yield poller.poll();
|
10464
|
+
return poller;
|
10341
10465
|
});
|
10342
10466
|
}
|
10343
10467
|
/**
|
@@ -10392,10 +10516,12 @@ class TokensImpl {
|
|
10392
10516
|
tokenUpdateParameters,
|
10393
10517
|
options
|
10394
10518
|
}, updateOperationSpec$5);
|
10395
|
-
|
10519
|
+
const poller = new coreLro.LroEngine(lro, {
|
10396
10520
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
10397
10521
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
10398
10522
|
});
|
10523
|
+
yield poller.poll();
|
10524
|
+
return poller;
|
10399
10525
|
});
|
10400
10526
|
}
|
10401
10527
|
/**
|
@@ -10756,10 +10882,12 @@ class WebhooksImpl {
|
|
10756
10882
|
webhookCreateParameters,
|
10757
10883
|
options
|
10758
10884
|
}, createOperationSpec$3);
|
10759
|
-
|
10885
|
+
const poller = new coreLro.LroEngine(lro, {
|
10760
10886
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
10761
10887
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
10762
10888
|
});
|
10889
|
+
yield poller.poll();
|
10890
|
+
return poller;
|
10763
10891
|
});
|
10764
10892
|
}
|
10765
10893
|
/**
|
@@ -10808,10 +10936,12 @@ class WebhooksImpl {
|
|
10808
10936
|
};
|
10809
10937
|
});
|
10810
10938
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, webhookName, options }, deleteOperationSpec$3);
|
10811
|
-
|
10939
|
+
const poller = new coreLro.LroEngine(lro, {
|
10812
10940
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
10813
10941
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
10814
10942
|
});
|
10943
|
+
yield poller.poll();
|
10944
|
+
return poller;
|
10815
10945
|
});
|
10816
10946
|
}
|
10817
10947
|
/**
|
@@ -10866,10 +10996,12 @@ class WebhooksImpl {
|
|
10866
10996
|
webhookUpdateParameters,
|
10867
10997
|
options
|
10868
10998
|
}, updateOperationSpec$4);
|
10869
|
-
|
10999
|
+
const poller = new coreLro.LroEngine(lro, {
|
10870
11000
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
10871
11001
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
10872
11002
|
});
|
11003
|
+
yield poller.poll();
|
11004
|
+
return poller;
|
10873
11005
|
});
|
10874
11006
|
}
|
10875
11007
|
/**
|
@@ -11258,10 +11390,12 @@ class AgentPoolsImpl {
|
|
11258
11390
|
};
|
11259
11391
|
});
|
11260
11392
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, agentPoolName, agentPool, options }, createOperationSpec$2);
|
11261
|
-
|
11393
|
+
const poller = new coreLro.LroEngine(lro, {
|
11262
11394
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
11263
11395
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
11264
11396
|
});
|
11397
|
+
yield poller.poll();
|
11398
|
+
return poller;
|
11265
11399
|
});
|
11266
11400
|
}
|
11267
11401
|
/**
|
@@ -11310,10 +11444,12 @@ class AgentPoolsImpl {
|
|
11310
11444
|
};
|
11311
11445
|
});
|
11312
11446
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, agentPoolName, options }, deleteOperationSpec$2);
|
11313
|
-
|
11447
|
+
const poller = new coreLro.LroEngine(lro, {
|
11314
11448
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
11315
11449
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
11316
11450
|
});
|
11451
|
+
yield poller.poll();
|
11452
|
+
return poller;
|
11317
11453
|
});
|
11318
11454
|
}
|
11319
11455
|
/**
|
@@ -11368,10 +11504,12 @@ class AgentPoolsImpl {
|
|
11368
11504
|
updateParameters,
|
11369
11505
|
options
|
11370
11506
|
}, updateOperationSpec$3);
|
11371
|
-
|
11507
|
+
const poller = new coreLro.LroEngine(lro, {
|
11372
11508
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
11373
11509
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
11374
11510
|
});
|
11511
|
+
yield poller.poll();
|
11512
|
+
return poller;
|
11375
11513
|
});
|
11376
11514
|
}
|
11377
11515
|
/**
|
@@ -11716,10 +11854,12 @@ class RunsImpl {
|
|
11716
11854
|
};
|
11717
11855
|
});
|
11718
11856
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, runId, runUpdateParameters, options }, updateOperationSpec$2);
|
11719
|
-
|
11857
|
+
const poller = new coreLro.LroEngine(lro, {
|
11720
11858
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
11721
11859
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
11722
11860
|
});
|
11861
|
+
yield poller.poll();
|
11862
|
+
return poller;
|
11723
11863
|
});
|
11724
11864
|
}
|
11725
11865
|
/**
|
@@ -11778,10 +11918,12 @@ class RunsImpl {
|
|
11778
11918
|
};
|
11779
11919
|
});
|
11780
11920
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, runId, options }, cancelOperationSpec);
|
11781
|
-
|
11921
|
+
const poller = new coreLro.LroEngine(lro, {
|
11782
11922
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
11783
11923
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
11784
11924
|
});
|
11925
|
+
yield poller.poll();
|
11926
|
+
return poller;
|
11785
11927
|
});
|
11786
11928
|
}
|
11787
11929
|
/**
|
@@ -12064,10 +12206,12 @@ class TaskRunsImpl {
|
|
12064
12206
|
};
|
12065
12207
|
});
|
12066
12208
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, taskRunName, taskRun, options }, createOperationSpec$1);
|
12067
|
-
|
12209
|
+
const poller = new coreLro.LroEngine(lro, {
|
12068
12210
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
12069
12211
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
12070
12212
|
});
|
12213
|
+
yield poller.poll();
|
12214
|
+
return poller;
|
12071
12215
|
});
|
12072
12216
|
}
|
12073
12217
|
/**
|
@@ -12116,10 +12260,12 @@ class TaskRunsImpl {
|
|
12116
12260
|
};
|
12117
12261
|
});
|
12118
12262
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, taskRunName, options }, deleteOperationSpec$1);
|
12119
|
-
|
12263
|
+
const poller = new coreLro.LroEngine(lro, {
|
12120
12264
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
12121
12265
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
12122
12266
|
});
|
12267
|
+
yield poller.poll();
|
12268
|
+
return poller;
|
12123
12269
|
});
|
12124
12270
|
}
|
12125
12271
|
/**
|
@@ -12174,10 +12320,12 @@ class TaskRunsImpl {
|
|
12174
12320
|
updateParameters,
|
12175
12321
|
options
|
12176
12322
|
}, updateOperationSpec$1);
|
12177
|
-
|
12323
|
+
const poller = new coreLro.LroEngine(lro, {
|
12178
12324
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
12179
12325
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
12180
12326
|
});
|
12327
|
+
yield poller.poll();
|
12328
|
+
return poller;
|
12181
12329
|
});
|
12182
12330
|
}
|
12183
12331
|
/**
|
@@ -12528,10 +12676,12 @@ class TasksImpl {
|
|
12528
12676
|
taskCreateParameters,
|
12529
12677
|
options
|
12530
12678
|
}, createOperationSpec);
|
12531
|
-
|
12679
|
+
const poller = new coreLro.LroEngine(lro, {
|
12532
12680
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
12533
12681
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
12534
12682
|
});
|
12683
|
+
yield poller.poll();
|
12684
|
+
return poller;
|
12535
12685
|
});
|
12536
12686
|
}
|
12537
12687
|
/**
|
@@ -12580,10 +12730,12 @@ class TasksImpl {
|
|
12580
12730
|
};
|
12581
12731
|
});
|
12582
12732
|
const lro = new LroImpl(sendOperation, { resourceGroupName, registryName, taskName, options }, deleteOperationSpec);
|
12583
|
-
|
12733
|
+
const poller = new coreLro.LroEngine(lro, {
|
12584
12734
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
12585
12735
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
12586
12736
|
});
|
12737
|
+
yield poller.poll();
|
12738
|
+
return poller;
|
12587
12739
|
});
|
12588
12740
|
}
|
12589
12741
|
/**
|
@@ -12638,10 +12790,12 @@ class TasksImpl {
|
|
12638
12790
|
taskUpdateParameters,
|
12639
12791
|
options
|
12640
12792
|
}, updateOperationSpec);
|
12641
|
-
|
12793
|
+
const poller = new coreLro.LroEngine(lro, {
|
12642
12794
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
12643
12795
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
12644
12796
|
});
|
12797
|
+
yield poller.poll();
|
12798
|
+
return poller;
|
12645
12799
|
});
|
12646
12800
|
}
|
12647
12801
|
/**
|
@@ -12873,6 +13027,7 @@ class ContainerRegistryManagementClient extends coreClient__namespace.ServiceCli
|
|
12873
13027
|
* @param options The parameter options
|
12874
13028
|
*/
|
12875
13029
|
constructor(credentials, subscriptionId, options) {
|
13030
|
+
var _a, _b;
|
12876
13031
|
if (credentials === undefined) {
|
12877
13032
|
throw new Error("'credentials' cannot be null");
|
12878
13033
|
}
|
@@ -12887,7 +13042,7 @@ class ContainerRegistryManagementClient extends coreClient__namespace.ServiceCli
|
|
12887
13042
|
requestContentType: "application/json; charset=utf-8",
|
12888
13043
|
credential: credentials
|
12889
13044
|
};
|
12890
|
-
const packageDetails = `azsdk-js-arm-containerregistry/10.1.0-beta.
|
13045
|
+
const packageDetails = `azsdk-js-arm-containerregistry/10.1.0-beta.3`;
|
12891
13046
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
12892
13047
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
12893
13048
|
: `${packageDetails}`;
|
@@ -12896,8 +13051,24 @@ class ContainerRegistryManagementClient extends coreClient__namespace.ServiceCli
|
|
12896
13051
|
}
|
12897
13052
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
12898
13053
|
userAgentPrefix
|
12899
|
-
}, baseUri: options.endpoint
|
13054
|
+
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
12900
13055
|
super(optionsWithDefaults);
|
13056
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
13057
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
13058
|
+
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
13059
|
+
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
13060
|
+
if (!bearerTokenAuthenticationPolicyFound) {
|
13061
|
+
this.pipeline.removePolicy({
|
13062
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
13063
|
+
});
|
13064
|
+
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
13065
|
+
scopes: `${optionsWithDefaults.baseUri}/.default`,
|
13066
|
+
challengeCallbacks: {
|
13067
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
13068
|
+
}
|
13069
|
+
}));
|
13070
|
+
}
|
13071
|
+
}
|
12901
13072
|
// Parameter assignments
|
12902
13073
|
this.subscriptionId = subscriptionId;
|
12903
13074
|
// Assigning values to Constant parameters
|