@azure/arm-containerregistry package
Interfaces
| ActivationProperties |
The activation properties of the connected registry. |
| Actor |
The agent that initiated the event. For most situations, this could be from the authorization context of the request. |
| Archive |
An object that represents a archive for a container registry. |
| ArchivePackageSourceProperties |
The properties of the archive package source. |
| ArchiveProperties |
The properties of a archive. |
| ArchiveUpdateParameters |
The parameters for updating a archive. |
| ArchiveUpdateProperties |
The properties of a archive. |
| ArchiveVersion |
An object that represents an export pipeline for a container registry. |
| ArchiveVersionProperties |
The properties of an archive version. |
| ArchiveVersionsCreateOptionalParams |
Optional parameters. |
| ArchiveVersionsDeleteOptionalParams |
Optional parameters. |
| ArchiveVersionsGetOptionalParams |
Optional parameters. |
| ArchiveVersionsListOptionalParams |
Optional parameters. |
| ArchiveVersionsOperations |
Interface representing a ArchiveVersions operations. |
| ArchivesCreateOptionalParams |
Optional parameters. |
| ArchivesDeleteOptionalParams |
Optional parameters. |
| ArchivesGetOptionalParams |
Optional parameters. |
| ArchivesListOptionalParams |
Optional parameters. |
| ArchivesOperations |
Interface representing a Archives operations. |
| ArchivesUpdateOptionalParams |
Optional parameters. |
| AuthCredential |
Authentication credential stored for an upstream. |
| AzureADAuthenticationAsArmPolicy |
The policy for using Azure Resource Manager audience token for a container registry. |
| CacheRule |
An object that represents a cache rule for a container registry. |
| CacheRuleProperties |
The properties of a cache rule. |
| CacheRuleUpdateParameters |
The parameters for updating a cache rule. |
| CacheRuleUpdateProperties |
The parameters for updating cache rule properties. |
| CacheRulesCreateOptionalParams |
Optional parameters. |
| CacheRulesDeleteOptionalParams |
Optional parameters. |
| CacheRulesGetOptionalParams |
Optional parameters. |
| CacheRulesListOptionalParams |
Optional parameters. |
| CacheRulesOperations |
Interface representing a CacheRules operations. |
| CacheRulesUpdateOptionalParams |
Optional parameters. |
| CallbackConfig |
The configuration of service URI and custom headers for the webhook. |
| ConnectedRegistriesCreateOptionalParams |
Optional parameters. |
| ConnectedRegistriesDeactivateOptionalParams |
Optional parameters. |
| ConnectedRegistriesDeleteOptionalParams |
Optional parameters. |
| ConnectedRegistriesGetOptionalParams |
Optional parameters. |
| ConnectedRegistriesListOptionalParams |
Optional parameters. |
| ConnectedRegistriesOperations |
Interface representing a ConnectedRegistries operations. |
| ConnectedRegistriesResyncOptionalParams |
Optional parameters. |
| ConnectedRegistriesUpdateOptionalParams |
Optional parameters. |
| ConnectedRegistry |
An object that represents a connected registry for a container registry. |
| ConnectedRegistryProperties |
The properties of a connected registry. |
| ConnectedRegistryUpdateParameters |
The parameters for updating a connected registry. |
| ConnectedRegistryUpdateProperties |
The parameters for updating token properties. |
| ContainerRegistryManagementClientOptionalParams |
Optional parameters for the client. |
| CredentialHealth |
The health of the auth credential. |
| CredentialSet |
An object that represents a credential set resource for a container registry. |
| CredentialSetProperties |
The properties of a credential set resource. |
| CredentialSetUpdateParameters |
The parameters for updating a credential set |
| CredentialSetUpdateProperties |
The parameters for updating credential set properties. |
| CredentialSetsCreateOptionalParams |
Optional parameters. |
| CredentialSetsDeleteOptionalParams |
Optional parameters. |
| CredentialSetsGetOptionalParams |
Optional parameters. |
| CredentialSetsListOptionalParams |
Optional parameters. |
| CredentialSetsOperations |
Interface representing a CredentialSets operations. |
| CredentialSetsUpdateOptionalParams |
Optional parameters. |
| EncryptionProperty |
model interface EncryptionProperty |
| ErrorAdditionalInfo |
The resource management error additional info. |
| ErrorDetail |
The error detail. |
| ErrorResponse |
Common error response for all Azure Resource Manager APIs to return error details for failed operations. |
| Event |
The event for a webhook. |
| EventContent |
The content of the event request message. |
| EventInfo |
The basic information of an event. |
| EventRequestMessage |
The event request message sent to the service URI. |
| EventResponseMessage |
The event response message received from the service URI. |
| ExportPipeline |
An object that represents an export pipeline for a container registry. |
| ExportPipelineProperties |
The properties of an export pipeline. |
| ExportPipelineTargetProperties |
The properties of the export pipeline target. |
| ExportPipelinesCreateOptionalParams |
Optional parameters. |
| ExportPipelinesDeleteOptionalParams |
Optional parameters. |
| ExportPipelinesGetOptionalParams |
Optional parameters. |
| ExportPipelinesListOptionalParams |
Optional parameters. |
| ExportPipelinesOperations |
Interface representing a ExportPipelines operations. |
| ExportPolicy |
The export policy for a container registry. |
| GarbageCollectionProperties |
The garbage collection properties of the connected registry. |
| GenerateCredentialsParameters |
The parameters used to generate credentials for a specified token or user of a container registry. |
| GenerateCredentialsResult |
The response from the GenerateCredentials operation. |
| IPRule |
IP rule with specific IP or IP range in CIDR format. |
| IdentityProperties |
Managed identity for the resource. |
| ImportImageParameters |
model interface ImportImageParameters |
| ImportPipeline |
An object that represents an import pipeline for a container registry. |
| ImportPipelineProperties |
The properties of an import pipeline. |
| ImportPipelineSourceProperties |
The properties of the import pipeline source. |
| ImportPipelinesCreateOptionalParams |
Optional parameters. |
| ImportPipelinesDeleteOptionalParams |
Optional parameters. |
| ImportPipelinesGetOptionalParams |
Optional parameters. |
| ImportPipelinesListOptionalParams |
Optional parameters. |
| ImportPipelinesOperations |
Interface representing a ImportPipelines operations. |
| ImportSource |
model interface ImportSource |
| ImportSourceCredentials |
model interface ImportSourceCredentials |
| KeyVaultProperties |
model interface KeyVaultProperties |
| LoggingProperties |
The logging properties of the connected registry. |
| LoginServerProperties |
The login server properties of the connected registry. |
| NetworkRuleSet |
The network rule set for a container registry. |
| OperationDefinition |
The definition of a container registry operation. |
| OperationDisplayDefinition |
The display information for a container registry operation. |
| OperationLogSpecificationDefinition |
The definition of Azure Monitoring log. |
| OperationMetricSpecificationDefinition |
The definition of Azure Monitoring metric. |
| OperationPropertiesDefinition |
The definition of Azure Monitoring properties. |
| OperationServiceSpecificationDefinition |
The definition of Azure Monitoring list. |
| OperationsListOptionalParams |
Optional parameters. |
| OperationsOperations |
Interface representing a Operations operations. |
| PageSettings |
Options for the byPage method |
| PagedAsyncIterableIterator |
An interface that allows async iterable iteration both to completion and by page. |
| ParentProperties |
The properties of the connected registry parent. |
| PipelineRun |
An object that represents a pipeline run for a container registry. |
| PipelineRunProperties |
The properties of a pipeline run. |
| PipelineRunRequest |
The request properties provided for a pipeline run. |
| PipelineRunResponse |
The response properties returned for a pipeline run. |
| PipelineRunSourceProperties |
The pipeline run source properties |
| PipelineRunTargetProperties |
The pipeline run target properties |
| PipelineRunsCreateOptionalParams |
Optional parameters. |
| PipelineRunsDeleteOptionalParams |
Optional parameters. |
| PipelineRunsGetOptionalParams |
Optional parameters. |
| PipelineRunsListOptionalParams |
Optional parameters. |
| PipelineRunsOperations |
Interface representing a PipelineRuns operations. |
| PipelineSourceTriggerDescriptor |
The pipeline source trigger descriptor. |
| PipelineSourceTriggerProperties |
The source trigger properties of the import pipeline |
| PipelineTriggerDescriptor |
The pipeline trigger descriptor |
| PipelineTriggerProperties |
The trigger properties of the import pipeline |
| Policies |
The policies for a container registry. |
| PrivateEndpoint |
The Private Endpoint resource. |
| PrivateEndpointConnection |
An object that represents a private endpoint connection for a container registry. |
| PrivateEndpointConnectionProperties |
The properties of a private endpoint connection. |
| PrivateEndpointConnectionsCreateOrUpdateOptionalParams |
Optional parameters. |
| PrivateEndpointConnectionsDeleteOptionalParams |
Optional parameters. |
| PrivateEndpointConnectionsGetOptionalParams |
Optional parameters. |
| PrivateEndpointConnectionsListOptionalParams |
Optional parameters. |
| PrivateEndpointConnectionsOperations |
Interface representing a PrivateEndpointConnections operations. |
| PrivateLinkResource |
A private link resource. |
| PrivateLinkResourceProperties |
Properties of a private link resource. |
| PrivateLinkServiceConnectionState |
The state of a private link service connection. |
| ProgressProperties |
The progress properties. |
| ProxyResource |
The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location |
| QuarantinePolicy |
The quarantine policy for a container registry. |
| RegenerateCredentialParameters |
The parameters used to regenerate the login credential. |
| RegistriesCheckNameAvailabilityOptionalParams |
Optional parameters. |
| RegistriesCreateOptionalParams |
Optional parameters. |
| RegistriesDeleteOptionalParams |
Optional parameters. |
| RegistriesGenerateCredentialsOptionalParams |
Optional parameters. |
| RegistriesGetOptionalParams |
Optional parameters. |
| RegistriesGetPrivateLinkResourceOptionalParams |
Optional parameters. |
| RegistriesImportImageOptionalParams |
Optional parameters. |
| RegistriesListByResourceGroupOptionalParams |
Optional parameters. |
| RegistriesListCredentialsOptionalParams |
Optional parameters. |
| RegistriesListOptionalParams |
Optional parameters. |
| RegistriesListPrivateLinkResourcesOptionalParams |
Optional parameters. |
| RegistriesListUsagesOptionalParams |
Optional parameters. |
| RegistriesOperations |
Interface representing a Registries operations. |
| RegistriesRegenerateCredentialOptionalParams |
Optional parameters. |
| RegistriesUpdateOptionalParams |
Optional parameters. |
| Registry |
An object that represents a container registry. |
| RegistryListCredentialsResult |
The response from the ListCredentials operation. |
| RegistryNameCheckRequest |
A request to check whether a container registry name is available. |
| RegistryNameStatus |
The result of a request to check the availability of a container registry name. |
| RegistryPassword |
The login password for the container registry. |
| RegistryProperties |
The properties of a container registry. |
| RegistryPropertiesUpdateParameters |
The parameters for updating the properties of a container registry. |
| RegistrySyncResult |
The registry sync result of the connected registry. |
| RegistryUpdateParameters |
The parameters for updating a container registry. |
| RegistryUsage |
The quota usage for a container registry. |
| RegistryUsageListResult |
The result of a request to get container registry quota usages. |
| Replication |
An object that represents a replication for a container registry. |
| ReplicationProperties |
The properties of a replication. |
| ReplicationUpdateParameters |
The parameters for updating a replication. |
| ReplicationUpdateParametersProperties |
model interface ReplicationUpdateParametersProperties |
| ReplicationsCreateOptionalParams |
Optional parameters. |
| ReplicationsDeleteOptionalParams |
Optional parameters. |
| ReplicationsGetOptionalParams |
Optional parameters. |
| ReplicationsListOptionalParams |
Optional parameters. |
| ReplicationsOperations |
Interface representing a Replications operations. |
| ReplicationsUpdateOptionalParams |
Optional parameters. |
| Request |
The request that generated the event. |
| Resource |
Common fields that are returned in the response for all Azure Resource Manager resources |
| RestorePollerOptions | |
| RetentionPolicy |
The retention policy for a container registry. |
| ScopeMap |
An object that represents a scope map for a container registry. |
| ScopeMapProperties |
The properties of a scope map. |
| ScopeMapPropertiesUpdateParameters |
The update parameters for scope map properties. |
| ScopeMapUpdateParameters |
The properties for updating the scope map. |
| ScopeMapsCreateOptionalParams |
Optional parameters. |
| ScopeMapsDeleteOptionalParams |
Optional parameters. |
| ScopeMapsGetOptionalParams |
Optional parameters. |
| ScopeMapsListOptionalParams |
Optional parameters. |
| ScopeMapsOperations |
Interface representing a ScopeMaps operations. |
| ScopeMapsUpdateOptionalParams |
Optional parameters. |
| SimplePollerLike |
A simple poller that can be used to poll a long running operation. |
| Sku |
The SKU of a container registry. |
| SoftDeletePolicy |
The soft delete policy for a container registry |
| Source |
The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it. |
| Status |
The status of an Azure resource at the time the operation was called. |
| StatusDetailProperties |
The status detail properties of the connected registry. |
| SyncProperties |
The sync properties of the connected registry with its parent. |
| SyncUpdateProperties |
The parameters for updating the sync properties of the connected registry with its parent. |
| SystemData |
Metadata pertaining to creation and last modification of the resource. |
| Target |
The target of the event. |
| TlsCertificateProperties |
The TLS certificate properties of the connected registry login server. |
| TlsProperties |
The TLS properties of the connected registry login server. |
| Token |
An object that represents a token for a container registry. |
| TokenCertificate |
The properties of a certificate used for authenticating a token. |
| TokenCredentialsProperties |
The properties of the credentials that can be used for authenticating the token. |
| TokenPassword |
The password that will be used for authenticating the token of a container registry. |
| TokenProperties |
The properties of a token. |
| TokenUpdateParameters |
The parameters for updating a token. |
| TokenUpdateProperties |
The parameters for updating token properties. |
| TokensCreateOptionalParams |
Optional parameters. |
| TokensDeleteOptionalParams |
Optional parameters. |
| TokensGetOptionalParams |
Optional parameters. |
| TokensListOptionalParams |
Optional parameters. |
| TokensOperations |
Interface representing a Tokens operations. |
| TokensUpdateOptionalParams |
Optional parameters. |
| TrackedResource |
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' |
| TrustPolicy |
The content trust policy for a container registry. |
| UserIdentityProperties |
model interface UserIdentityProperties |
| Webhook |
An object that represents a webhook for a container registry. |
| WebhookCreateParameters |
The parameters for creating a webhook. |
| WebhookProperties |
The properties of a webhook. |
| WebhookPropertiesCreateParameters |
The parameters for creating the properties of a webhook. |
| WebhookPropertiesUpdateParameters |
The parameters for updating the properties of a webhook. |
| WebhookUpdateParameters |
The parameters for updating a webhook. |
| WebhooksCreateOptionalParams |
Optional parameters. |
| WebhooksDeleteOptionalParams |
Optional parameters. |
| WebhooksGetCallbackConfigOptionalParams |
Optional parameters. |
| WebhooksGetOptionalParams |
Optional parameters. |
| WebhooksListEventsOptionalParams |
Optional parameters. |
| WebhooksListOptionalParams |
Optional parameters. |
| WebhooksOperations |
Interface representing a Webhooks operations. |
| WebhooksPingOptionalParams |
Optional parameters. |
| WebhooksUpdateOptionalParams |
Optional parameters. |
Type Aliases
| Action |
The action of IP ACL rule. Known values supported by the serviceAllow |
| ActionsRequired |
A message indicating if changes on the service provider require any updates on the consumer. Known values supported by the serviceNone |
| ActivationStatus |
The activation status of the connected registry. Known values supported by the serviceActive |
| AuditLogStatus |
Indicates whether audit logs are enabled on the connected registry. Known values supported by the serviceEnabled |
| AutoGeneratedDomainNameLabelScope |
The auto generated domain name label of the container registry. This value defaults to "Unsecure". Known values supported by the serviceUnsecure |
| AzureADAuthenticationAsArmPolicyStatus |
The value that indicates whether the policy is enabled or not. Known values supported by the serviceenabled |
| AzureSupportedClouds |
The supported values for cloud setting as a string literal type |
| CertificateType |
The type of certificate location. Known values supported by the serviceLocalDirectory |
| ConnectedRegistryMode |
The mode of the connected registry resource that indicates the permissions of the registry. Known values supported by the serviceReadWrite |
| ConnectionState |
The current connection state of the connected registry. Known values supported by the serviceOnline |
| ConnectionStatus |
The private link service connection status. Known values supported by the serviceApproved |
| ContainerRegistryResourceType |
The resource type for Container Registry. |
| ContinuablePage |
An interface that describes a page of results. |
| CreatedByType |
The kind of entity that created the resource. Known values supported by the serviceUser: The entity was created by a user. |
| CredentialHealthStatus |
The health status of credential. Known values supported by the serviceHealthy |
| CredentialName |
The name of the credential. Known values supported by the serviceCredential1 |
| DefaultAction |
The default action of allow or deny when no other rules match. Known values supported by the serviceAllow |
| EncryptionStatus |
Indicates whether or not the encryption is enabled for container registry. Known values supported by the serviceenabled |
| EndpointProtocol |
The connectivity protocol for the registry. Known values supported by the serviceIPv4: IPv4 connectivity only |
| ExportPolicyStatus |
The value that indicates whether the policy is enabled or not. Known values supported by the serviceenabled |
| ImportMode |
When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. Known values supported by the serviceNoForce |
| LogLevel |
The verbosity of logs persisted on the connected registry. Known values supported by the serviceDebug |
| MetadataSearch |
Determines whether registry artifacts are indexed for metadata search. Known values supported by the serviceEnabled |
| NetworkRuleBypassOptions |
Whether to allow trusted Azure services to access a network restricted registry. Known values supported by the serviceAzureServices |
| PackageSourceType |
The type of package source for a archive. Known values supported by the serviceremote |
| PasswordName |
The password name. |
| PipelineOptions |
Type of PipelineOptions |
| PipelineRunSourceType |
The type of the source. Known values supported by the serviceAzureStorageBlob |
| PipelineRunTargetType |
The type of the target. Known values supported by the serviceAzureStorageBlob |
| PipelineSourceType |
The type of source for the import pipeline. Known values supported by the serviceAzureStorageBlobContainer |
| PolicyStatus |
The value that indicates whether the policy is enabled or not. Known values supported by the serviceenabled |
| ProvisioningState |
The provisioning state of the archive at the time the operation was called. Known values supported by the serviceCreating |
| PublicNetworkAccess |
Whether or not public network access is allowed for the container registry. Known values supported by the serviceEnabled |
| RegionalEndpoints |
Whether or not per-region endpoints are enabled for accessing the registry. Known values supported by the serviceEnabled: Regional endpoints are enabled. |
| RegistryUsageUnit |
The unit of measurement. Known values supported by the serviceCount |
| ResourceIdentityType |
The identity type. |
| RoleAssignmentMode |
Determines registry role assignment mode. Known values supported by the serviceAbacRepositoryPermissions |
| SkuName |
The SKU name of the container registry. Required for registry creation. Known values supported by the serviceClassic |
| SkuTier |
The SKU tier based on the SKU name. Known values supported by the serviceClassic |
| StorageAccessMode |
The storage access mode used for the customer storage account. Known values supported by the serviceManagedIdentity: Managed Identity access mode |
| SyncState |
The action that triggered the most recent registry sync. Known values supported by the serviceNotActivated: Connected Registry is not activated |
| SyncTrigger |
The status of the connected registry's most recent sync. Known values supported by the serviceSyncTokenUpdate: Connected Registry sync was triggered by a sync token update |
| TlsStatus |
Indicates whether HTTPS is enabled for the login server. Known values supported by the serviceEnabled |
| TokenCertificateName |
Type of TokenCertificateName |
| TokenPasswordName |
The password name "password1" or "password2" Known values supported by the servicepassword1 |
| TokenStatus |
The status of the token example enabled or disabled. Known values supported by the serviceenabled |
| TriggerStatus |
The current status of the source trigger. Known values supported by the serviceEnabled |
| TrustPolicyType |
The type of trust policy. Known values supported by the serviceNotary |
| WebhookAction |
Type of WebhookAction |
| WebhookStatus |
The status of the webhook at the time the operation was called. Known values supported by the serviceenabled |
| ZoneRedundancy |
Whether or not zone redundancy is enabled for this container registry Known values supported by the serviceEnabled |
Enums
| AzureClouds |
An enum to describe Azure Cloud environments. |
| KnownAction |
The action of IP ACL rule. |
| KnownActionsRequired |
A message indicating if changes on the service provider require any updates on the consumer. |
| KnownActivationStatus |
The activation status of the connected registry. |
| KnownAuditLogStatus |
Indicates whether audit logs are enabled on the connected registry. |
| KnownAutoGeneratedDomainNameLabelScope |
The auto generated domain name label of the container registry. This value defaults to "Unsecure". |
| KnownAzureADAuthenticationAsArmPolicyStatus |
The value that indicates whether the policy is enabled or not. |
| KnownCertificateType |
The type of certificate location. |
| KnownConnectedRegistryMode |
The mode of the connected registry resource that indicates the permissions of the registry. |
| KnownConnectionState |
The current connection state of the connected registry. |
| KnownConnectionStatus |
The private link service connection status. |
| KnownCreatedByType |
The kind of entity that created the resource. |
| KnownCredentialHealthStatus |
The health status of credential. |
| KnownCredentialName |
The name of the credential. |
| KnownDefaultAction |
The default action of allow or deny when no other rules match. |
| KnownEncryptionStatus |
Indicates whether or not the encryption is enabled for container registry. |
| KnownEndpointProtocol |
The connectivity protocol for the registry. |
| KnownExportPolicyStatus |
The value that indicates whether the policy is enabled or not. |
| KnownImportMode |
When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. |
| KnownLogLevel |
The verbosity of logs persisted on the connected registry. |
| KnownMetadataSearch |
Determines whether registry artifacts are indexed for metadata search. |
| KnownNetworkRuleBypassOptions |
Whether to allow trusted Azure services to access a network restricted registry. |
| KnownPackageSourceType |
The type of package source for a archive. |
| KnownPipelineOptions |
Known values of PipelineOptions that the service accepts. |
| KnownPipelineRunSourceType |
The type of the source. |
| KnownPipelineRunTargetType |
The type of the target. |
| KnownPipelineSourceType |
The type of source for the import pipeline. |
| KnownPolicyStatus |
The value that indicates whether the policy is enabled or not. |
| KnownProvisioningState |
The provisioning state of the archive at the time the operation was called. |
| KnownPublicNetworkAccess |
Whether or not public network access is allowed for the container registry. |
| KnownRegionalEndpoints |
Whether or not per-region endpoints are enabled for accessing the registry. |
| KnownRegistryUsageUnit |
The unit of measurement. |
| KnownRoleAssignmentMode |
Determines registry role assignment mode. |
| KnownSkuName |
The SKU name of the container registry. Required for registry creation. |
| KnownSkuTier |
The SKU tier based on the SKU name. |
| KnownStorageAccessMode |
The storage access mode used for the customer storage account. |
| KnownSyncState |
The action that triggered the most recent registry sync. |
| KnownSyncTrigger |
The status of the connected registry's most recent sync. |
| KnownTlsStatus |
Indicates whether HTTPS is enabled for the login server. |
| KnownTokenCertificateName |
Known values of TokenCertificateName that the service accepts. |
| KnownTokenPasswordName |
The password name "password1" or "password2" |
| KnownTokenStatus |
The status of the token example enabled or disabled. |
| KnownTriggerStatus |
The current status of the source trigger. |
| KnownTrustPolicyType |
The type of trust policy. |
| KnownVersions |
The available API versions. |
| KnownWebhookAction |
Known values of WebhookAction that the service accepts. |
| KnownWebhookStatus |
The status of the webhook at the time the operation was called. |
| KnownZoneRedundancy |
Whether or not zone redundancy is enabled for this container registry |
Functions
| restore |
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope. |
Function Details
restorePoller<TResponse, TResult>(ContainerRegistryManagementClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.
function restorePoller<TResponse, TResult>(client: ContainerRegistryManagementClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>
Parameters
- serializedState
-
string
- sourceOperation
-
(args: any[]) => PollerLike<OperationState<TResult>, TResult>
- options
-
RestorePollerOptions<TResult, PathUncheckedResponse>
Returns
PollerLike<OperationState<TResult>, TResult>