@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
@@ -205,10 +205,12 @@ export class ExportPipelinesImpl implements ExportPipelines {
|
|
205
205
|
},
|
206
206
|
createOperationSpec
|
207
207
|
);
|
208
|
-
|
208
|
+
const poller = new LroEngine(lro, {
|
209
209
|
resumeFrom: options?.resumeFrom,
|
210
210
|
intervalInMs: options?.updateIntervalInMs
|
211
211
|
});
|
212
|
+
await poller.poll();
|
213
|
+
return poller;
|
212
214
|
}
|
213
215
|
|
214
216
|
/**
|
@@ -293,10 +295,12 @@ export class ExportPipelinesImpl implements ExportPipelines {
|
|
293
295
|
{ resourceGroupName, registryName, exportPipelineName, options },
|
294
296
|
deleteOperationSpec
|
295
297
|
);
|
296
|
-
|
298
|
+
const poller = new LroEngine(lro, {
|
297
299
|
resumeFrom: options?.resumeFrom,
|
298
300
|
intervalInMs: options?.updateIntervalInMs
|
299
301
|
});
|
302
|
+
await poller.poll();
|
303
|
+
return poller;
|
300
304
|
}
|
301
305
|
|
302
306
|
/**
|
@@ -205,10 +205,12 @@ export class ImportPipelinesImpl implements ImportPipelines {
|
|
205
205
|
},
|
206
206
|
createOperationSpec
|
207
207
|
);
|
208
|
-
|
208
|
+
const poller = new LroEngine(lro, {
|
209
209
|
resumeFrom: options?.resumeFrom,
|
210
210
|
intervalInMs: options?.updateIntervalInMs
|
211
211
|
});
|
212
|
+
await poller.poll();
|
213
|
+
return poller;
|
212
214
|
}
|
213
215
|
|
214
216
|
/**
|
@@ -293,10 +295,12 @@ export class ImportPipelinesImpl implements ImportPipelines {
|
|
293
295
|
{ resourceGroupName, registryName, importPipelineName, options },
|
294
296
|
deleteOperationSpec
|
295
297
|
);
|
296
|
-
|
298
|
+
const poller = new LroEngine(lro, {
|
297
299
|
resumeFrom: options?.resumeFrom,
|
298
300
|
intervalInMs: options?.updateIntervalInMs
|
299
301
|
});
|
302
|
+
await poller.poll();
|
303
|
+
return poller;
|
300
304
|
}
|
301
305
|
|
302
306
|
/**
|
@@ -205,10 +205,12 @@ export class PipelineRunsImpl implements PipelineRuns {
|
|
205
205
|
},
|
206
206
|
createOperationSpec
|
207
207
|
);
|
208
|
-
|
208
|
+
const poller = new LroEngine(lro, {
|
209
209
|
resumeFrom: options?.resumeFrom,
|
210
210
|
intervalInMs: options?.updateIntervalInMs
|
211
211
|
});
|
212
|
+
await poller.poll();
|
213
|
+
return poller;
|
212
214
|
}
|
213
215
|
|
214
216
|
/**
|
@@ -293,10 +295,12 @@ export class PipelineRunsImpl implements PipelineRuns {
|
|
293
295
|
{ resourceGroupName, registryName, pipelineRunName, options },
|
294
296
|
deleteOperationSpec
|
295
297
|
);
|
296
|
-
|
298
|
+
const poller = new LroEngine(lro, {
|
297
299
|
resumeFrom: options?.resumeFrom,
|
298
300
|
intervalInMs: options?.updateIntervalInMs
|
299
301
|
});
|
302
|
+
await poller.poll();
|
303
|
+
return poller;
|
300
304
|
}
|
301
305
|
|
302
306
|
/**
|
@@ -211,10 +211,12 @@ export class PrivateEndpointConnectionsImpl
|
|
211
211
|
},
|
212
212
|
createOrUpdateOperationSpec
|
213
213
|
);
|
214
|
-
|
214
|
+
const poller = new LroEngine(lro, {
|
215
215
|
resumeFrom: options?.resumeFrom,
|
216
216
|
intervalInMs: options?.updateIntervalInMs
|
217
217
|
});
|
218
|
+
await poller.poll();
|
219
|
+
return poller;
|
218
220
|
}
|
219
221
|
|
220
222
|
/**
|
@@ -304,10 +306,12 @@ export class PrivateEndpointConnectionsImpl
|
|
304
306
|
},
|
305
307
|
deleteOperationSpec
|
306
308
|
);
|
307
|
-
|
309
|
+
const poller = new LroEngine(lro, {
|
308
310
|
resumeFrom: options?.resumeFrom,
|
309
311
|
intervalInMs: options?.updateIntervalInMs
|
310
312
|
});
|
313
|
+
await poller.poll();
|
314
|
+
return poller;
|
311
315
|
}
|
312
316
|
|
313
317
|
/**
|
@@ -297,10 +297,12 @@ export class RegistriesImpl implements Registries {
|
|
297
297
|
{ resourceGroupName, registryName, parameters, options },
|
298
298
|
importImageOperationSpec
|
299
299
|
);
|
300
|
-
|
300
|
+
const poller = new LroEngine(lro, {
|
301
301
|
resumeFrom: options?.resumeFrom,
|
302
302
|
intervalInMs: options?.updateIntervalInMs
|
303
303
|
});
|
304
|
+
await poller.poll();
|
305
|
+
return poller;
|
304
306
|
}
|
305
307
|
|
306
308
|
/**
|
@@ -445,10 +447,12 @@ export class RegistriesImpl implements Registries {
|
|
445
447
|
{ resourceGroupName, registryName, registry, options },
|
446
448
|
createOperationSpec
|
447
449
|
);
|
448
|
-
|
450
|
+
const poller = new LroEngine(lro, {
|
449
451
|
resumeFrom: options?.resumeFrom,
|
450
452
|
intervalInMs: options?.updateIntervalInMs
|
451
453
|
});
|
454
|
+
await poller.poll();
|
455
|
+
return poller;
|
452
456
|
}
|
453
457
|
|
454
458
|
/**
|
@@ -528,10 +532,12 @@ export class RegistriesImpl implements Registries {
|
|
528
532
|
{ resourceGroupName, registryName, options },
|
529
533
|
deleteOperationSpec
|
530
534
|
);
|
531
|
-
|
535
|
+
const poller = new LroEngine(lro, {
|
532
536
|
resumeFrom: options?.resumeFrom,
|
533
537
|
intervalInMs: options?.updateIntervalInMs
|
534
538
|
});
|
539
|
+
await poller.poll();
|
540
|
+
return poller;
|
535
541
|
}
|
536
542
|
|
537
543
|
/**
|
@@ -615,10 +621,12 @@ export class RegistriesImpl implements Registries {
|
|
615
621
|
{ resourceGroupName, registryName, registryUpdateParameters, options },
|
616
622
|
updateOperationSpec
|
617
623
|
);
|
618
|
-
|
624
|
+
const poller = new LroEngine(lro, {
|
619
625
|
resumeFrom: options?.resumeFrom,
|
620
626
|
intervalInMs: options?.updateIntervalInMs
|
621
627
|
});
|
628
|
+
await poller.poll();
|
629
|
+
return poller;
|
622
630
|
}
|
623
631
|
|
624
632
|
/**
|
@@ -805,10 +813,12 @@ export class RegistriesImpl implements Registries {
|
|
805
813
|
},
|
806
814
|
generateCredentialsOperationSpec
|
807
815
|
);
|
808
|
-
|
816
|
+
const poller = new LroEngine(lro, {
|
809
817
|
resumeFrom: options?.resumeFrom,
|
810
818
|
intervalInMs: options?.updateIntervalInMs
|
811
819
|
});
|
820
|
+
await poller.poll();
|
821
|
+
return poller;
|
812
822
|
}
|
813
823
|
|
814
824
|
/**
|
@@ -895,10 +905,12 @@ export class RegistriesImpl implements Registries {
|
|
895
905
|
{ resourceGroupName, registryName, runRequest, options },
|
896
906
|
scheduleRunOperationSpec
|
897
907
|
);
|
898
|
-
|
908
|
+
const poller = new LroEngine(lro, {
|
899
909
|
resumeFrom: options?.resumeFrom,
|
900
910
|
intervalInMs: options?.updateIntervalInMs
|
901
911
|
});
|
912
|
+
await poller.poll();
|
913
|
+
return poller;
|
902
914
|
}
|
903
915
|
|
904
916
|
/**
|
@@ -208,10 +208,12 @@ export class ReplicationsImpl implements Replications {
|
|
208
208
|
},
|
209
209
|
createOperationSpec
|
210
210
|
);
|
211
|
-
|
211
|
+
const poller = new LroEngine(lro, {
|
212
212
|
resumeFrom: options?.resumeFrom,
|
213
213
|
intervalInMs: options?.updateIntervalInMs
|
214
214
|
});
|
215
|
+
await poller.poll();
|
216
|
+
return poller;
|
215
217
|
}
|
216
218
|
|
217
219
|
/**
|
@@ -296,10 +298,12 @@ export class ReplicationsImpl implements Replications {
|
|
296
298
|
{ resourceGroupName, registryName, replicationName, options },
|
297
299
|
deleteOperationSpec
|
298
300
|
);
|
299
|
-
|
301
|
+
const poller = new LroEngine(lro, {
|
300
302
|
resumeFrom: options?.resumeFrom,
|
301
303
|
intervalInMs: options?.updateIntervalInMs
|
302
304
|
});
|
305
|
+
await poller.poll();
|
306
|
+
return poller;
|
303
307
|
}
|
304
308
|
|
305
309
|
/**
|
@@ -394,10 +398,12 @@ export class ReplicationsImpl implements Replications {
|
|
394
398
|
},
|
395
399
|
updateOperationSpec
|
396
400
|
);
|
397
|
-
|
401
|
+
const poller = new LroEngine(lro, {
|
398
402
|
resumeFrom: options?.resumeFrom,
|
399
403
|
intervalInMs: options?.updateIntervalInMs
|
400
404
|
});
|
405
|
+
await poller.poll();
|
406
|
+
return poller;
|
401
407
|
}
|
402
408
|
|
403
409
|
/**
|
package/src/operations/runs.ts
CHANGED
@@ -199,10 +199,12 @@ export class RunsImpl implements Runs {
|
|
199
199
|
{ resourceGroupName, registryName, runId, runUpdateParameters, options },
|
200
200
|
updateOperationSpec
|
201
201
|
);
|
202
|
-
|
202
|
+
const poller = new LroEngine(lro, {
|
203
203
|
resumeFrom: options?.resumeFrom,
|
204
204
|
intervalInMs: options?.updateIntervalInMs
|
205
205
|
});
|
206
|
+
await poller.poll();
|
207
|
+
return poller;
|
206
208
|
}
|
207
209
|
|
208
210
|
/**
|
@@ -306,10 +308,12 @@ export class RunsImpl implements Runs {
|
|
306
308
|
{ resourceGroupName, registryName, runId, options },
|
307
309
|
cancelOperationSpec
|
308
310
|
);
|
309
|
-
|
311
|
+
const poller = new LroEngine(lro, {
|
310
312
|
resumeFrom: options?.resumeFrom,
|
311
313
|
intervalInMs: options?.updateIntervalInMs
|
312
314
|
});
|
315
|
+
await poller.poll();
|
316
|
+
return poller;
|
313
317
|
}
|
314
318
|
|
315
319
|
/**
|
@@ -208,10 +208,12 @@ export class ScopeMapsImpl implements ScopeMaps {
|
|
208
208
|
},
|
209
209
|
createOperationSpec
|
210
210
|
);
|
211
|
-
|
211
|
+
const poller = new LroEngine(lro, {
|
212
212
|
resumeFrom: options?.resumeFrom,
|
213
213
|
intervalInMs: options?.updateIntervalInMs
|
214
214
|
});
|
215
|
+
await poller.poll();
|
216
|
+
return poller;
|
215
217
|
}
|
216
218
|
|
217
219
|
/**
|
@@ -296,10 +298,12 @@ export class ScopeMapsImpl implements ScopeMaps {
|
|
296
298
|
{ resourceGroupName, registryName, scopeMapName, options },
|
297
299
|
deleteOperationSpec
|
298
300
|
);
|
299
|
-
|
301
|
+
const poller = new LroEngine(lro, {
|
300
302
|
resumeFrom: options?.resumeFrom,
|
301
303
|
intervalInMs: options?.updateIntervalInMs
|
302
304
|
});
|
305
|
+
await poller.poll();
|
306
|
+
return poller;
|
303
307
|
}
|
304
308
|
|
305
309
|
/**
|
@@ -394,10 +398,12 @@ export class ScopeMapsImpl implements ScopeMaps {
|
|
394
398
|
},
|
395
399
|
updateOperationSpec
|
396
400
|
);
|
397
|
-
|
401
|
+
const poller = new LroEngine(lro, {
|
398
402
|
resumeFrom: options?.resumeFrom,
|
399
403
|
intervalInMs: options?.updateIntervalInMs
|
400
404
|
});
|
405
|
+
await poller.poll();
|
406
|
+
return poller;
|
401
407
|
}
|
402
408
|
|
403
409
|
/**
|
@@ -187,10 +187,12 @@ export class TaskRunsImpl implements TaskRuns {
|
|
187
187
|
{ resourceGroupName, registryName, taskRunName, taskRun, options },
|
188
188
|
createOperationSpec
|
189
189
|
);
|
190
|
-
|
190
|
+
const poller = new LroEngine(lro, {
|
191
191
|
resumeFrom: options?.resumeFrom,
|
192
192
|
intervalInMs: options?.updateIntervalInMs
|
193
193
|
});
|
194
|
+
await poller.poll();
|
195
|
+
return poller;
|
194
196
|
}
|
195
197
|
|
196
198
|
/**
|
@@ -275,10 +277,12 @@ export class TaskRunsImpl implements TaskRuns {
|
|
275
277
|
{ resourceGroupName, registryName, taskRunName, options },
|
276
278
|
deleteOperationSpec
|
277
279
|
);
|
278
|
-
|
280
|
+
const poller = new LroEngine(lro, {
|
279
281
|
resumeFrom: options?.resumeFrom,
|
280
282
|
intervalInMs: options?.updateIntervalInMs
|
281
283
|
});
|
284
|
+
await poller.poll();
|
285
|
+
return poller;
|
282
286
|
}
|
283
287
|
|
284
288
|
/**
|
@@ -373,10 +377,12 @@ export class TaskRunsImpl implements TaskRuns {
|
|
373
377
|
},
|
374
378
|
updateOperationSpec
|
375
379
|
);
|
376
|
-
|
380
|
+
const poller = new LroEngine(lro, {
|
377
381
|
resumeFrom: options?.resumeFrom,
|
378
382
|
intervalInMs: options?.updateIntervalInMs
|
379
383
|
});
|
384
|
+
await poller.poll();
|
385
|
+
return poller;
|
380
386
|
}
|
381
387
|
|
382
388
|
/**
|
package/src/operations/tasks.ts
CHANGED
@@ -207,10 +207,12 @@ export class TasksImpl implements Tasks {
|
|
207
207
|
},
|
208
208
|
createOperationSpec
|
209
209
|
);
|
210
|
-
|
210
|
+
const poller = new LroEngine(lro, {
|
211
211
|
resumeFrom: options?.resumeFrom,
|
212
212
|
intervalInMs: options?.updateIntervalInMs
|
213
213
|
});
|
214
|
+
await poller.poll();
|
215
|
+
return poller;
|
214
216
|
}
|
215
217
|
|
216
218
|
/**
|
@@ -295,10 +297,12 @@ export class TasksImpl implements Tasks {
|
|
295
297
|
{ resourceGroupName, registryName, taskName, options },
|
296
298
|
deleteOperationSpec
|
297
299
|
);
|
298
|
-
|
300
|
+
const poller = new LroEngine(lro, {
|
299
301
|
resumeFrom: options?.resumeFrom,
|
300
302
|
intervalInMs: options?.updateIntervalInMs
|
301
303
|
});
|
304
|
+
await poller.poll();
|
305
|
+
return poller;
|
302
306
|
}
|
303
307
|
|
304
308
|
/**
|
@@ -390,10 +394,12 @@ export class TasksImpl implements Tasks {
|
|
390
394
|
},
|
391
395
|
updateOperationSpec
|
392
396
|
);
|
393
|
-
|
397
|
+
const poller = new LroEngine(lro, {
|
394
398
|
resumeFrom: options?.resumeFrom,
|
395
399
|
intervalInMs: options?.updateIntervalInMs
|
396
400
|
});
|
401
|
+
await poller.poll();
|
402
|
+
return poller;
|
397
403
|
}
|
398
404
|
|
399
405
|
/**
|
package/src/operations/tokens.ts
CHANGED
@@ -205,10 +205,12 @@ export class TokensImpl implements Tokens {
|
|
205
205
|
},
|
206
206
|
createOperationSpec
|
207
207
|
);
|
208
|
-
|
208
|
+
const poller = new LroEngine(lro, {
|
209
209
|
resumeFrom: options?.resumeFrom,
|
210
210
|
intervalInMs: options?.updateIntervalInMs
|
211
211
|
});
|
212
|
+
await poller.poll();
|
213
|
+
return poller;
|
212
214
|
}
|
213
215
|
|
214
216
|
/**
|
@@ -293,10 +295,12 @@ export class TokensImpl implements Tokens {
|
|
293
295
|
{ resourceGroupName, registryName, tokenName, options },
|
294
296
|
deleteOperationSpec
|
295
297
|
);
|
296
|
-
|
298
|
+
const poller = new LroEngine(lro, {
|
297
299
|
resumeFrom: options?.resumeFrom,
|
298
300
|
intervalInMs: options?.updateIntervalInMs
|
299
301
|
});
|
302
|
+
await poller.poll();
|
303
|
+
return poller;
|
300
304
|
}
|
301
305
|
|
302
306
|
/**
|
@@ -388,10 +392,12 @@ export class TokensImpl implements Tokens {
|
|
388
392
|
},
|
389
393
|
updateOperationSpec
|
390
394
|
);
|
391
|
-
|
395
|
+
const poller = new LroEngine(lro, {
|
392
396
|
resumeFrom: options?.resumeFrom,
|
393
397
|
intervalInMs: options?.updateIntervalInMs
|
394
398
|
});
|
399
|
+
await poller.poll();
|
400
|
+
return poller;
|
395
401
|
}
|
396
402
|
|
397
403
|
/**
|
@@ -298,10 +298,12 @@ export class WebhooksImpl implements Webhooks {
|
|
298
298
|
},
|
299
299
|
createOperationSpec
|
300
300
|
);
|
301
|
-
|
301
|
+
const poller = new LroEngine(lro, {
|
302
302
|
resumeFrom: options?.resumeFrom,
|
303
303
|
intervalInMs: options?.updateIntervalInMs
|
304
304
|
});
|
305
|
+
await poller.poll();
|
306
|
+
return poller;
|
305
307
|
}
|
306
308
|
|
307
309
|
/**
|
@@ -386,10 +388,12 @@ export class WebhooksImpl implements Webhooks {
|
|
386
388
|
{ resourceGroupName, registryName, webhookName, options },
|
387
389
|
deleteOperationSpec
|
388
390
|
);
|
389
|
-
|
391
|
+
const poller = new LroEngine(lro, {
|
390
392
|
resumeFrom: options?.resumeFrom,
|
391
393
|
intervalInMs: options?.updateIntervalInMs
|
392
394
|
});
|
395
|
+
await poller.poll();
|
396
|
+
return poller;
|
393
397
|
}
|
394
398
|
|
395
399
|
/**
|
@@ -484,10 +488,12 @@ export class WebhooksImpl implements Webhooks {
|
|
484
488
|
},
|
485
489
|
updateOperationSpec
|
486
490
|
);
|
487
|
-
|
491
|
+
const poller = new LroEngine(lro, {
|
488
492
|
resumeFrom: options?.resumeFrom,
|
489
493
|
intervalInMs: options?.updateIntervalInMs
|
490
494
|
});
|
495
|
+
await poller.poll();
|
496
|
+
return poller;
|
491
497
|
}
|
492
498
|
|
493
499
|
/**
|
package/tsconfig.json
CHANGED
@@ -304,6 +304,22 @@ export declare interface AuthInfoUpdateParameters {
|
|
304
304
|
expiresIn?: number;
|
305
305
|
}
|
306
306
|
|
307
|
+
/** The policy for using ARM audience token for a container registry. */
|
308
|
+
export declare interface AzureADAuthenticationAsArmPolicy {
|
309
|
+
/** The value that indicates whether the policy is enabled or not. */
|
310
|
+
status?: AzureADAuthenticationAsArmPolicyStatus;
|
311
|
+
}
|
312
|
+
|
313
|
+
/**
|
314
|
+
* Defines values for AzureADAuthenticationAsArmPolicyStatus. \
|
315
|
+
* {@link KnownAzureADAuthenticationAsArmPolicyStatus} can be used interchangeably with AzureADAuthenticationAsArmPolicyStatus,
|
316
|
+
* this enum contains the known values that the service supports.
|
317
|
+
* ### Known values supported by the service
|
318
|
+
* **enabled** \
|
319
|
+
* **disabled**
|
320
|
+
*/
|
321
|
+
export declare type AzureADAuthenticationAsArmPolicyStatus = string;
|
322
|
+
|
307
323
|
/** Properties that describe a base image dependency. */
|
308
324
|
export declare interface BaseImageDependency {
|
309
325
|
/** The type of the base image dependency. */
|
@@ -1457,6 +1473,12 @@ export declare enum KnownAuditLogStatus {
|
|
1457
1473
|
Disabled = "Disabled"
|
1458
1474
|
}
|
1459
1475
|
|
1476
|
+
/** Known values of {@link AzureADAuthenticationAsArmPolicyStatus} that the service accepts. */
|
1477
|
+
export declare enum KnownAzureADAuthenticationAsArmPolicyStatus {
|
1478
|
+
Enabled = "enabled",
|
1479
|
+
Disabled = "disabled"
|
1480
|
+
}
|
1481
|
+
|
1460
1482
|
/** Known values of {@link BaseImageDependencyType} that the service accepts. */
|
1461
1483
|
export declare enum KnownBaseImageDependencyType {
|
1462
1484
|
BuildTime = "BuildTime",
|
@@ -1819,8 +1841,6 @@ export declare type NetworkRuleBypassOptions = string;
|
|
1819
1841
|
export declare interface NetworkRuleSet {
|
1820
1842
|
/** The default action of allow or deny when no other rules match. */
|
1821
1843
|
defaultAction: DefaultAction;
|
1822
|
-
/** The virtual network rules. */
|
1823
|
-
virtualNetworkRules?: VirtualNetworkRule[];
|
1824
1844
|
/** The IP ACL rules. */
|
1825
1845
|
ipRules?: IPRule[];
|
1826
1846
|
}
|
@@ -1947,6 +1967,17 @@ export declare interface OverrideTaskStepProperties {
|
|
1947
1967
|
updateTriggerToken?: string;
|
1948
1968
|
}
|
1949
1969
|
|
1970
|
+
/** The properties of a package type. */
|
1971
|
+
export declare interface PackageType {
|
1972
|
+
/** The name of the package type. */
|
1973
|
+
name?: string;
|
1974
|
+
/**
|
1975
|
+
* The endpoint of the package type.
|
1976
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1977
|
+
*/
|
1978
|
+
readonly endpoint?: string;
|
1979
|
+
}
|
1980
|
+
|
1950
1981
|
/** The properties of the connected registry parent. */
|
1951
1982
|
export declare interface ParentProperties {
|
1952
1983
|
/** The resource ID of the parent to which the connected registry will be associated. */
|
@@ -2223,6 +2254,10 @@ export declare interface Policies {
|
|
2223
2254
|
retentionPolicy?: RetentionPolicy;
|
2224
2255
|
/** The export policy for a container registry. */
|
2225
2256
|
exportPolicy?: ExportPolicy;
|
2257
|
+
/** The policy for using ARM audience token for a container registry. */
|
2258
|
+
azureADAuthenticationAsArmPolicy?: AzureADAuthenticationAsArmPolicy;
|
2259
|
+
/** The soft delete policy for a container registry. */
|
2260
|
+
softDeletePolicy?: SoftDeletePolicy;
|
2226
2261
|
}
|
2227
2262
|
|
2228
2263
|
/**
|
@@ -3647,6 +3682,19 @@ export declare type SkuName = string;
|
|
3647
3682
|
*/
|
3648
3683
|
export declare type SkuTier = string;
|
3649
3684
|
|
3685
|
+
/** The soft delete policy for a container registry */
|
3686
|
+
export declare interface SoftDeletePolicy {
|
3687
|
+
/** The number of days after which a soft-deleted item is permanently deleted. */
|
3688
|
+
retentionDays?: number;
|
3689
|
+
/**
|
3690
|
+
* The timestamp when the policy was last updated.
|
3691
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
3692
|
+
*/
|
3693
|
+
readonly lastUpdatedTime?: Date;
|
3694
|
+
/** The value that indicates whether the policy is enabled or not. */
|
3695
|
+
status?: PolicyStatus;
|
3696
|
+
}
|
3697
|
+
|
3650
3698
|
/** The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it. */
|
3651
3699
|
export declare interface Source {
|
3652
3700
|
/** The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port. */
|
@@ -3834,6 +3882,12 @@ export declare interface StatusDetailProperties {
|
|
3834
3882
|
*/
|
3835
3883
|
export declare type StepType = string;
|
3836
3884
|
|
3885
|
+
/** The properties of a storage account for a container registry. Only applicable to Classic SKU. */
|
3886
|
+
export declare interface StorageAccountProperties {
|
3887
|
+
/** The resource ID of the storage account. */
|
3888
|
+
id: string;
|
3889
|
+
}
|
3890
|
+
|
3837
3891
|
/** The sync properties of the connected registry with its parent. */
|
3838
3892
|
export declare interface SyncProperties {
|
3839
3893
|
/** The resource ID of the ACR token used to authenticate the connected registry to its parent during sync. */
|
@@ -4723,14 +4777,6 @@ export declare interface UserIdentityProperties {
|
|
4723
4777
|
*/
|
4724
4778
|
export declare type Variant = string;
|
4725
4779
|
|
4726
|
-
/** Virtual network rule. */
|
4727
|
-
export declare interface VirtualNetworkRule {
|
4728
|
-
/** The action of virtual network rule. */
|
4729
|
-
action?: Action;
|
4730
|
-
/** Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */
|
4731
|
-
virtualNetworkResourceId: string;
|
4732
|
-
}
|
4733
|
-
|
4734
4780
|
/** An object that represents a webhook for a container registry. */
|
4735
4781
|
export declare type Webhook = Resource & {
|
4736
4782
|
/** The status of the webhook at the time the operation was called. */
|