/** * This file contains only generated model types and their (de)serializers. * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input. */ /** The result of a request to list container registry operations. */ export interface _OperationListResult { /** The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations. */ value?: OperationDefinition[]; /** The URI that can be used to request the next list of container registry operations. */ nextLink?: string; } export declare function _operationListResultDeserializer(item: any): _OperationListResult; export declare function operationDefinitionArrayDeserializer(result: Array): any[]; /** The definition of a container registry operation. */ export interface OperationDefinition { /** The origin information of the container registry operation. */ origin?: string; /** Operation name: {provider}/{resource}/{operation}. */ name?: string; /** The display information for the container registry operation. */ display?: OperationDisplayDefinition; /** * This property indicates if the operation is an action or a data action * ref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations */ isDataAction?: boolean; /** The definition of Azure Monitoring service. */ serviceSpecification?: OperationServiceSpecificationDefinition; } export declare function operationDefinitionDeserializer(item: any): OperationDefinition; /** The display information for a container registry operation. */ export interface OperationDisplayDefinition { /** The resource provider name: Microsoft.ContainerRegistry. */ provider?: string; /** The resource on which the operation is performed. */ resource?: string; /** The operation that users can perform. */ operation?: string; /** The description for the operation. */ description?: string; } export declare function operationDisplayDefinitionDeserializer(item: any): OperationDisplayDefinition; /** The definition of Azure Monitoring properties. */ export interface OperationPropertiesDefinition { /** The definition of Azure Monitoring service. */ serviceSpecification?: OperationServiceSpecificationDefinition; } export declare function operationPropertiesDefinitionDeserializer(item: any): OperationPropertiesDefinition; /** The definition of Azure Monitoring list. */ export interface OperationServiceSpecificationDefinition { /** A list of Azure Monitoring metrics definition. */ metricSpecifications?: OperationMetricSpecificationDefinition[]; /** A list of Azure Monitoring log definitions. */ logSpecifications?: OperationLogSpecificationDefinition[]; } export declare function operationServiceSpecificationDefinitionDeserializer(item: any): OperationServiceSpecificationDefinition; export declare function operationMetricSpecificationDefinitionArrayDeserializer(result: Array): any[]; /** The definition of Azure Monitoring metric. */ export interface OperationMetricSpecificationDefinition { /** Metric name. */ name?: string; /** Metric display name. */ displayName?: string; /** Metric description. */ displayDescription?: string; /** Metric unit. */ unit?: string; /** Metric aggregation type. */ aggregationType?: string; /** Internal metric name. */ internalMetricName?: string; } export declare function operationMetricSpecificationDefinitionDeserializer(item: any): OperationMetricSpecificationDefinition; export declare function operationLogSpecificationDefinitionArrayDeserializer(result: Array): any[]; /** The definition of Azure Monitoring log. */ export interface OperationLogSpecificationDefinition { /** Log name. */ name?: string; /** Log display name. */ displayName?: string; /** Log blob duration. */ blobDuration?: string; } export declare function operationLogSpecificationDefinitionDeserializer(item: any): OperationLogSpecificationDefinition; /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */ export interface ErrorResponse { /** The error object. */ error?: ErrorDetail; } export declare function errorResponseDeserializer(item: any): ErrorResponse; /** The error detail. */ export interface ErrorDetail { /** The error code. */ readonly code?: string; /** The error message. */ readonly message?: string; /** The error target. */ readonly target?: string; /** The error details. */ readonly details?: ErrorDetail[]; /** The error additional info. */ readonly additionalInfo?: ErrorAdditionalInfo[]; } export declare function errorDetailDeserializer(item: any): ErrorDetail; export declare function errorDetailArrayDeserializer(result: Array): any[]; export declare function errorAdditionalInfoArrayDeserializer(result: Array): any[]; /** The resource management error additional info. */ export interface ErrorAdditionalInfo { /** The additional info type. */ readonly type?: string; /** The additional info. */ readonly info?: any; } export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo; /** An object that represents a container registry. */ export interface Registry extends TrackedResource { /** The SKU of the container registry. */ sku: Sku; /** The identity of the container registry. */ identity?: IdentityProperties; /** The URL that can be used to log into the container registry. */ readonly loginServer?: string; /** The creation date of the container registry in ISO8601 format. */ readonly creationDate?: Date; /** The provisioning state of the container registry at the time the operation was called. */ readonly provisioningState?: ProvisioningState; /** The status of the container registry at the time the operation was called. */ readonly status?: Status; /** The value that indicates whether the admin user is enabled. */ adminUserEnabled?: boolean; /** The network rule set for a container registry. */ networkRuleSet?: NetworkRuleSet; /** The policies for a container registry. */ policies?: Policies; /** The encryption settings of container registry. */ encryption?: EncryptionProperty; /** Enable a single data endpoint per region for serving data. */ dataEndpointEnabled?: boolean; /** List of host names that will serve data when dataEndpointEnabled is true. */ readonly dataEndpointHostNames?: string[]; /** List of private endpoint connections for a container registry. */ readonly privateEndpointConnections?: PrivateEndpointConnection[]; /** Whether or not public network access is allowed for the container registry. */ publicNetworkAccess?: PublicNetworkAccess; /** Whether to allow trusted Azure services to access a network restricted registry. */ networkRuleBypassOptions?: NetworkRuleBypassOptions; /** Whether or not Tasks allowed to bypass the network rules for this container registry. */ networkRuleBypassAllowedForTasks?: boolean; /** Whether or not zone redundancy is enabled for this container registry */ zoneRedundancy?: ZoneRedundancy; /** Enables registry-wide pull from unauthenticated clients. */ anonymousPullEnabled?: boolean; /** Determines registry role assignment mode. */ roleAssignmentMode?: RoleAssignmentMode; } export declare function registrySerializer(item: Registry): any; export declare function registryDeserializer(item: any): Registry; /** The properties of a container registry. */ export interface RegistryProperties { /** The URL that can be used to log into the container registry. */ readonly loginServer?: string; /** The creation date of the container registry in ISO8601 format. */ readonly creationDate?: Date; /** The provisioning state of the container registry at the time the operation was called. */ readonly provisioningState?: ProvisioningState; /** The status of the container registry at the time the operation was called. */ readonly status?: Status; /** The value that indicates whether the admin user is enabled. */ adminUserEnabled?: boolean; /** The network rule set for a container registry. */ networkRuleSet?: NetworkRuleSet; /** The policies for a container registry. */ policies?: Policies; /** The encryption settings of container registry. */ encryption?: EncryptionProperty; /** Enable a single data endpoint per region for serving data. */ dataEndpointEnabled?: boolean; /** List of host names that will serve data when dataEndpointEnabled is true. */ readonly dataEndpointHostNames?: string[]; /** List of private endpoint connections for a container registry. */ readonly privateEndpointConnections?: PrivateEndpointConnection[]; /** Whether or not public network access is allowed for the container registry. */ publicNetworkAccess?: PublicNetworkAccess; /** Whether to allow trusted Azure services to access a network restricted registry. */ networkRuleBypassOptions?: NetworkRuleBypassOptions; /** Whether or not Tasks allowed to bypass the network rules for this container registry. */ networkRuleBypassAllowedForTasks?: boolean; /** Whether or not zone redundancy is enabled for this container registry */ zoneRedundancy?: ZoneRedundancy; /** Enables registry-wide pull from unauthenticated clients. */ anonymousPullEnabled?: boolean; /** Determines registry role assignment mode. */ roleAssignmentMode?: RoleAssignmentMode; } export declare function registryPropertiesSerializer(item: RegistryProperties): any; export declare function registryPropertiesDeserializer(item: any): RegistryProperties; /** The provisioning state of the archive at the time the operation was called. */ export declare enum KnownProvisioningState { /** Creating */ Creating = "Creating", /** Updating */ Updating = "Updating", /** Deleting */ Deleting = "Deleting", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", /** Canceled */ Canceled = "Canceled" } /** * The provisioning state of the archive at the time the operation was called. \ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Creating** \ * **Updating** \ * **Deleting** \ * **Succeeded** \ * **Failed** \ * **Canceled** */ export type ProvisioningState = string; /** The status of an Azure resource at the time the operation was called. */ export interface Status { /** The short label for the status. */ readonly displayStatus?: string; /** The detailed message for the status, including alerts and error messages. */ readonly message?: string; /** The timestamp when the status was changed to the current value. */ readonly timestamp?: Date; } export declare function statusDeserializer(item: any): Status; /** The network rule set for a container registry. */ export interface NetworkRuleSet { /** The default action of allow or deny when no other rules match. */ defaultAction: DefaultAction; /** The IP ACL rules. */ ipRules?: IPRule[]; } export declare function networkRuleSetSerializer(item: NetworkRuleSet): any; export declare function networkRuleSetDeserializer(item: any): NetworkRuleSet; /** The default action of allow or deny when no other rules match. */ export declare enum KnownDefaultAction { /** Allow */ Allow = "Allow", /** Deny */ Deny = "Deny" } /** * The default action of allow or deny when no other rules match. \ * {@link KnownDefaultAction} can be used interchangeably with DefaultAction, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Allow** \ * **Deny** */ export type DefaultAction = string; export declare function ipRuleArraySerializer(result: Array): any[]; export declare function ipRuleArrayDeserializer(result: Array): any[]; /** IP rule with specific IP or IP range in CIDR format. */ export interface IPRule { /** The action of IP ACL rule. */ action?: Action; /** Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. */ iPAddressOrRange: string; } export declare function ipRuleSerializer(item: IPRule): any; export declare function ipRuleDeserializer(item: any): IPRule; /** The action of IP ACL rule. */ export declare enum KnownAction { /** Allow */ Allow = "Allow" } /** * The action of IP ACL rule. \ * {@link KnownAction} can be used interchangeably with Action, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Allow** */ export type Action = string; /** The policies for a container registry. */ export interface Policies { /** The quarantine policy for a container registry. */ quarantinePolicy?: QuarantinePolicy; /** The content trust policy for a container registry. */ trustPolicy?: TrustPolicy; /** The retention policy for a container registry. */ retentionPolicy?: RetentionPolicy; /** The export policy for a container registry. */ exportPolicy?: ExportPolicy; /** The policy for using Azure Resource Manager audience token for a container registry. */ azureADAuthenticationAsArmPolicy?: AzureADAuthenticationAsArmPolicy; } export declare function policiesSerializer(item: Policies): any; export declare function policiesDeserializer(item: any): Policies; /** The quarantine policy for a container registry. */ export interface QuarantinePolicy { /** The value that indicates whether the policy is enabled or not. */ status?: PolicyStatus; } export declare function quarantinePolicySerializer(item: QuarantinePolicy): any; export declare function quarantinePolicyDeserializer(item: any): QuarantinePolicy; /** The value that indicates whether the policy is enabled or not. */ export declare enum KnownPolicyStatus { /** enabled */ Enabled = "enabled", /** disabled */ Disabled = "disabled" } /** * The value that indicates whether the policy is enabled or not. \ * {@link KnownPolicyStatus} can be used interchangeably with PolicyStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **enabled** \ * **disabled** */ export type PolicyStatus = string; /** The content trust policy for a container registry. */ export interface TrustPolicy { /** The type of trust policy. */ type?: TrustPolicyType; /** The value that indicates whether the policy is enabled or not. */ status?: PolicyStatus; } export declare function trustPolicySerializer(item: TrustPolicy): any; export declare function trustPolicyDeserializer(item: any): TrustPolicy; /** The type of trust policy. */ export declare enum KnownTrustPolicyType { /** Notary */ Notary = "Notary" } /** * The type of trust policy. \ * {@link KnownTrustPolicyType} can be used interchangeably with TrustPolicyType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Notary** */ export type TrustPolicyType = string; /** The retention policy for a container registry. */ export interface RetentionPolicy { /** The number of days to retain an untagged manifest after which it gets purged. */ days?: number; /** The timestamp when the policy was last updated. */ readonly lastUpdatedTime?: Date; /** The value that indicates whether the policy is enabled or not. */ status?: PolicyStatus; } export declare function retentionPolicySerializer(item: RetentionPolicy): any; export declare function retentionPolicyDeserializer(item: any): RetentionPolicy; /** The export policy for a container registry. */ export interface ExportPolicy { /** The value that indicates whether the policy is enabled or not. */ status?: ExportPolicyStatus; } export declare function exportPolicySerializer(item: ExportPolicy): any; export declare function exportPolicyDeserializer(item: any): ExportPolicy; /** The value that indicates whether the policy is enabled or not. */ export declare enum KnownExportPolicyStatus { /** enabled */ Enabled = "enabled", /** disabled */ Disabled = "disabled" } /** * The value that indicates whether the policy is enabled or not. \ * {@link KnownExportPolicyStatus} can be used interchangeably with ExportPolicyStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **enabled** \ * **disabled** */ export type ExportPolicyStatus = string; /** The policy for using Azure Resource Manager audience token for a container registry. */ export interface AzureADAuthenticationAsArmPolicy { /** The value that indicates whether the policy is enabled or not. */ status?: AzureADAuthenticationAsArmPolicyStatus; } export declare function azureADAuthenticationAsArmPolicySerializer(item: AzureADAuthenticationAsArmPolicy): any; export declare function azureADAuthenticationAsArmPolicyDeserializer(item: any): AzureADAuthenticationAsArmPolicy; /** The value that indicates whether the policy is enabled or not. */ export declare enum KnownAzureADAuthenticationAsArmPolicyStatus { /** enabled */ Enabled = "enabled", /** disabled */ Disabled = "disabled" } /** * The value that indicates whether the policy is enabled or not. \ * {@link KnownAzureADAuthenticationAsArmPolicyStatus} can be used interchangeably with AzureADAuthenticationAsArmPolicyStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **enabled** \ * **disabled** */ export type AzureADAuthenticationAsArmPolicyStatus = string; /** model interface EncryptionProperty */ export interface EncryptionProperty { /** Indicates whether or not the encryption is enabled for container registry. */ status?: EncryptionStatus; /** Key vault properties. */ keyVaultProperties?: KeyVaultProperties; } export declare function encryptionPropertySerializer(item: EncryptionProperty): any; export declare function encryptionPropertyDeserializer(item: any): EncryptionProperty; /** Indicates whether or not the encryption is enabled for container registry. */ export declare enum KnownEncryptionStatus { /** enabled */ Enabled = "enabled", /** disabled */ Disabled = "disabled" } /** * Indicates whether or not the encryption is enabled for container registry. \ * {@link KnownEncryptionStatus} can be used interchangeably with EncryptionStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **enabled** \ * **disabled** */ export type EncryptionStatus = string; /** model interface KeyVaultProperties */ export interface KeyVaultProperties { /** Key vault uri to access the encryption key. */ keyIdentifier?: string; /** The fully qualified key identifier that includes the version of the key that is actually used for encryption. */ readonly versionedKeyIdentifier?: string; /** The client id of the identity which will be used to access key vault. */ identity?: string; /** Auto key rotation status for a CMK enabled registry. */ readonly keyRotationEnabled?: boolean; /** Timestamp of the last successful key rotation. */ readonly lastKeyRotationTimestamp?: Date; } export declare function keyVaultPropertiesSerializer(item: KeyVaultProperties): any; export declare function keyVaultPropertiesDeserializer(item: any): KeyVaultProperties; export declare function privateEndpointConnectionArraySerializer(result: Array): any[]; export declare function privateEndpointConnectionArrayDeserializer(result: Array): any[]; /** An object that represents a private endpoint connection for a container registry. */ export interface PrivateEndpointConnection extends ProxyResource { /** The resource of private endpoint. */ privateEndpoint?: PrivateEndpoint; /** A collection of information about the state of the connection between service consumer and provider. */ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; /** The provisioning state of private endpoint connection resource. */ readonly provisioningState?: ProvisioningState; } export declare function privateEndpointConnectionSerializer(item: PrivateEndpointConnection): any; export declare function privateEndpointConnectionDeserializer(item: any): PrivateEndpointConnection; /** The properties of a private endpoint connection. */ export interface PrivateEndpointConnectionProperties { /** The resource of private endpoint. */ privateEndpoint?: PrivateEndpoint; /** A collection of information about the state of the connection between service consumer and provider. */ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; /** The provisioning state of private endpoint connection resource. */ readonly provisioningState?: ProvisioningState; } export declare function privateEndpointConnectionPropertiesSerializer(item: PrivateEndpointConnectionProperties): any; export declare function privateEndpointConnectionPropertiesDeserializer(item: any): PrivateEndpointConnectionProperties; /** The Private Endpoint resource. */ export interface PrivateEndpoint { /** This is private endpoint resource created with Microsoft.Network resource provider. */ id?: string; } export declare function privateEndpointSerializer(item: PrivateEndpoint): any; export declare function privateEndpointDeserializer(item: any): PrivateEndpoint; /** The state of a private link service connection. */ export interface PrivateLinkServiceConnectionState { /** The private link service connection status. */ status?: ConnectionStatus; /** The description for connection status. For example if connection is rejected it can indicate reason for rejection. */ description?: string; /** A message indicating if changes on the service provider require any updates on the consumer. */ actionsRequired?: ActionsRequired; } export declare function privateLinkServiceConnectionStateSerializer(item: PrivateLinkServiceConnectionState): any; export declare function privateLinkServiceConnectionStateDeserializer(item: any): PrivateLinkServiceConnectionState; /** The private link service connection status. */ export declare enum KnownConnectionStatus { /** Approved */ Approved = "Approved", /** Pending */ Pending = "Pending", /** Rejected */ Rejected = "Rejected", /** Disconnected */ Disconnected = "Disconnected" } /** * The private link service connection status. \ * {@link KnownConnectionStatus} can be used interchangeably with ConnectionStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Approved** \ * **Pending** \ * **Rejected** \ * **Disconnected** */ export type ConnectionStatus = string; /** A message indicating if changes on the service provider require any updates on the consumer. */ export declare enum KnownActionsRequired { /** None */ None = "None", /** Recreate */ Recreate = "Recreate" } /** * A message indicating if changes on the service provider require any updates on the consumer. \ * {@link KnownActionsRequired} can be used interchangeably with ActionsRequired, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None** \ * **Recreate** */ export type ActionsRequired = string; /** Whether or not public network access is allowed for the container registry. */ export declare enum KnownPublicNetworkAccess { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** * Whether or not public network access is allowed for the container registry. \ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ export type PublicNetworkAccess = string; /** Whether to allow trusted Azure services to access a network restricted registry. */ export declare enum KnownNetworkRuleBypassOptions { /** AzureServices */ AzureServices = "AzureServices", /** None */ None = "None" } /** * Whether to allow trusted Azure services to access a network restricted registry. \ * {@link KnownNetworkRuleBypassOptions} can be used interchangeably with NetworkRuleBypassOptions, * this enum contains the known values that the service supports. * ### Known values supported by the service * **AzureServices** \ * **None** */ export type NetworkRuleBypassOptions = string; /** Whether or not zone redundancy is enabled for this container registry */ export declare enum KnownZoneRedundancy { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** * Whether or not zone redundancy is enabled for this container registry \ * {@link KnownZoneRedundancy} can be used interchangeably with ZoneRedundancy, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ export type ZoneRedundancy = string; /** Determines registry role assignment mode. */ export declare enum KnownRoleAssignmentMode { /** AbacRepositoryPermissions */ AbacRepositoryPermissions = "AbacRepositoryPermissions", /** LegacyRegistryPermissions */ LegacyRegistryPermissions = "LegacyRegistryPermissions" } /** * Determines registry role assignment mode. \ * {@link KnownRoleAssignmentMode} can be used interchangeably with RoleAssignmentMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **AbacRepositoryPermissions** \ * **LegacyRegistryPermissions** */ export type RoleAssignmentMode = string; /** The SKU of a container registry. */ export interface Sku { /** The SKU name of the container registry. Required for registry creation. */ name: SkuName; /** The SKU tier based on the SKU name. */ readonly tier?: SkuTier; } export declare function skuSerializer(item: Sku): any; export declare function skuDeserializer(item: any): Sku; /** The SKU name of the container registry. Required for registry creation. */ export declare enum KnownSkuName { /** Classic */ Classic = "Classic", /** Basic */ Basic = "Basic", /** Standard */ Standard = "Standard", /** Premium */ Premium = "Premium" } /** * The SKU name of the container registry. Required for registry creation. \ * {@link KnownSkuName} can be used interchangeably with SkuName, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Classic** \ * **Basic** \ * **Standard** \ * **Premium** */ export type SkuName = string; /** The SKU tier based on the SKU name. */ export declare enum KnownSkuTier { /** Classic */ Classic = "Classic", /** Basic */ Basic = "Basic", /** Standard */ Standard = "Standard", /** Premium */ Premium = "Premium" } /** * The SKU tier based on the SKU name. \ * {@link KnownSkuTier} can be used interchangeably with SkuTier, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Classic** \ * **Basic** \ * **Standard** \ * **Premium** */ export type SkuTier = string; /** Managed identity for the resource. */ export interface IdentityProperties { /** The principal ID of resource identity. */ readonly principalId?: string; /** The tenant ID of resource. */ readonly tenantId?: string; /** The identity type. */ type?: ResourceIdentityType; /** * The list of user identities associated with the resource. The user identity * dictionary key references will be ARM resource ids in the form: * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ * providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: Record; } export declare function identityPropertiesSerializer(item: IdentityProperties): any; export declare function identityPropertiesDeserializer(item: any): IdentityProperties; /** The identity type. */ export type ResourceIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"; export declare function userIdentityPropertiesRecordSerializer(item: Record): Record; export declare function userIdentityPropertiesRecordDeserializer(item: Record): Record; /** model interface UserIdentityProperties */ export interface UserIdentityProperties { /** The principal id of user assigned identity. */ readonly principalId?: string; /** The client id of user assigned identity. */ readonly clientId?: string; } export declare function userIdentityPropertiesSerializer(item: UserIdentityProperties): any; export declare function userIdentityPropertiesDeserializer(item: any): UserIdentityProperties; /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ export interface ProxyResource extends Resource { } export declare function proxyResourceSerializer(item: ProxyResource): any; export declare function proxyResourceDeserializer(item: any): ProxyResource; /** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface Resource { /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id?: string; /** The name of the private link resource. */ readonly name?: string; /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type?: string; /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData?: SystemData; } export declare function resourceSerializer(item: Resource): any; export declare function resourceDeserializer(item: any): Resource; /** Metadata pertaining to creation and last modification of the resource. */ export interface SystemData { /** The identity that created the resource. */ createdBy?: string; /** The type of identity that created the resource. */ createdByType?: CreatedByType; /** The timestamp of resource creation (UTC). */ createdAt?: Date; /** The identity that last modified the resource. */ lastModifiedBy?: string; /** The type of identity that last modified the resource. */ lastModifiedByType?: CreatedByType; /** The timestamp of resource last modification (UTC) */ lastModifiedAt?: Date; } export declare function systemDataDeserializer(item: any): SystemData; /** The kind of entity that created the resource. */ export declare enum KnownCreatedByType { /** The entity was created by a user. */ User = "User", /** The entity was created by an application. */ Application = "Application", /** The entity was created by a managed identity. */ ManagedIdentity = "ManagedIdentity", /** The entity was created by a key. */ Key = "Key" } /** * The kind of entity that created the resource. \ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **User**: The entity was created by a user. \ * **Application**: The entity was created by an application. \ * **ManagedIdentity**: The entity was created by a managed identity. \ * **Key**: The entity was created by a key. */ export type CreatedByType = string; /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export interface TrackedResource extends Resource { /** Resource tags. */ tags?: Record; /** The geo-location where the resource lives */ location: string; } export declare function trackedResourceSerializer(item: TrackedResource): any; export declare function trackedResourceDeserializer(item: any): TrackedResource; /** The parameters for updating a container registry. */ export interface RegistryUpdateParameters { /** The identity of the container registry. */ identity?: IdentityProperties; /** The tags for the container registry. */ tags?: Record; /** The SKU of the container registry. */ sku?: Sku; /** The value that indicates whether the admin user is enabled. */ adminUserEnabled?: boolean; /** The network rule set for a container registry. */ networkRuleSet?: NetworkRuleSet; /** The policies for a container registry. */ policies?: Policies; /** The encryption settings of container registry. */ encryption?: EncryptionProperty; /** Enable a single data endpoint per region for serving data. */ dataEndpointEnabled?: boolean; /** Whether or not public network access is allowed for the container registry. */ publicNetworkAccess?: PublicNetworkAccess; /** Whether to allow trusted Azure services to access a network restricted registry. */ networkRuleBypassOptions?: NetworkRuleBypassOptions; /** Whether to allow ACR Tasks service to access a network restricted registry. */ networkRuleBypassAllowedForTasks?: boolean; /** Enables registry-wide pull from unauthenticated clients. */ anonymousPullEnabled?: boolean; /** Determines registry role assignment mode. */ roleAssignmentMode?: RoleAssignmentMode; } export declare function registryUpdateParametersSerializer(item: RegistryUpdateParameters): any; /** The parameters for updating the properties of a container registry. */ export interface RegistryPropertiesUpdateParameters { /** The value that indicates whether the admin user is enabled. */ adminUserEnabled?: boolean; /** The network rule set for a container registry. */ networkRuleSet?: NetworkRuleSet; /** The policies for a container registry. */ policies?: Policies; /** The encryption settings of container registry. */ encryption?: EncryptionProperty; /** Enable a single data endpoint per region for serving data. */ dataEndpointEnabled?: boolean; /** Whether or not public network access is allowed for the container registry. */ publicNetworkAccess?: PublicNetworkAccess; /** Whether to allow trusted Azure services to access a network restricted registry. */ networkRuleBypassOptions?: NetworkRuleBypassOptions; /** Whether to allow ACR Tasks service to access a network restricted registry. */ networkRuleBypassAllowedForTasks?: boolean; /** Enables registry-wide pull from unauthenticated clients. */ anonymousPullEnabled?: boolean; /** Determines registry role assignment mode. */ roleAssignmentMode?: RoleAssignmentMode; } export declare function registryPropertiesUpdateParametersSerializer(item: RegistryPropertiesUpdateParameters): any; /** The result of a request to list container registries. */ export interface _RegistryListResult { /** The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries. */ value?: Registry[]; /** The URI that can be used to request the next list of container registries. */ nextLink?: string; } export declare function _registryListResultDeserializer(item: any): _RegistryListResult; export declare function registryArraySerializer(result: Array): any[]; export declare function registryArrayDeserializer(result: Array): any[]; /** model interface ImportImageParameters */ export interface ImportImageParameters { /** The source of the image. */ source: ImportSource; /** List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted). */ targetTags?: string[]; /** List of strings of repository names to do a manifest only copy. No tag will be created. */ untaggedTargetRepositories?: string[]; /** When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. */ mode?: ImportMode; } export declare function importImageParametersSerializer(item: ImportImageParameters): any; /** model interface ImportSource */ export interface ImportSource { /** The resource identifier of the source Azure Container Registry. */ resourceId?: string; /** The address of the source registry (e.g. 'mcr.microsoft.com'). */ registryUri?: string; /** Credentials used when importing from a registry uri. */ credentials?: ImportSourceCredentials; /** * Repository name of the source image. * Specify an image by repository ('hello-world'). This will use the 'latest' tag. * Specify an image by tag ('hello-world:latest'). * Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123'). */ sourceImage: string; } export declare function importSourceSerializer(item: ImportSource): any; /** model interface ImportSourceCredentials */ export interface ImportSourceCredentials { /** The username to authenticate with the source registry. */ username?: string; /** The password used to authenticate with the source registry. */ password: string; } export declare function importSourceCredentialsSerializer(item: ImportSourceCredentials): any; /** When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. */ export declare enum KnownImportMode { /** NoForce */ NoForce = "NoForce", /** Force */ Force = "Force" } /** * When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. \ * {@link KnownImportMode} can be used interchangeably with ImportMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **NoForce** \ * **Force** */ export type ImportMode = string; /** The result of a request to get container registry quota usages. */ export interface RegistryUsageListResult { /** The list of container registry quota usages. */ value?: RegistryUsage[]; } export declare function registryUsageListResultDeserializer(item: any): RegistryUsageListResult; export declare function registryUsageArrayDeserializer(result: Array): any[]; /** The quota usage for a container registry. */ export interface RegistryUsage { /** The name of the usage. */ name?: string; /** The limit of the usage. */ limit?: number; /** The current value of the usage. */ currentValue?: number; /** The unit of measurement. */ unit?: RegistryUsageUnit; } export declare function registryUsageDeserializer(item: any): RegistryUsage; /** The unit of measurement. */ export declare enum KnownRegistryUsageUnit { /** Count */ Count = "Count", /** Bytes */ Bytes = "Bytes" } /** * The unit of measurement. \ * {@link KnownRegistryUsageUnit} can be used interchangeably with RegistryUsageUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Count** \ * **Bytes** */ export type RegistryUsageUnit = string; /** The response from the ListCredentials operation. */ export interface RegistryListCredentialsResult { /** The username for a container registry. */ username?: string; /** The list of passwords for a container registry. */ passwords?: RegistryPassword[]; } export declare function registryListCredentialsResultDeserializer(item: any): RegistryListCredentialsResult; export declare function registryPasswordArrayDeserializer(result: Array): any[]; /** The login password for the container registry. */ export interface RegistryPassword { /** The password name. */ name?: PasswordName; /** The password value. */ value?: string; } export declare function registryPasswordDeserializer(item: any): RegistryPassword; /** The password name. */ export type PasswordName = "password" | "password2"; /** The parameters used to regenerate the login credential. */ export interface RegenerateCredentialParameters { /** Specifies name of the password which should be regenerated -- password or password2. */ name: PasswordName; } export declare function regenerateCredentialParametersSerializer(item: RegenerateCredentialParameters): any; /** The parameters used to generate credentials for a specified token or user of a container registry. */ export interface GenerateCredentialsParameters { /** The resource ID of the token for which credentials have to be generated. */ tokenId?: string; /** The expiry date of the generated credentials after which the credentials become invalid. */ expiry?: Date; /** Specifies name of the password which should be regenerated if any -- password1 or password2. */ name?: TokenPasswordName; } export declare function generateCredentialsParametersSerializer(item: GenerateCredentialsParameters): any; /** The password name "password1" or "password2" */ export declare enum KnownTokenPasswordName { /** password1 */ Password1 = "password1", /** password2 */ Password2 = "password2" } /** * The password name "password1" or "password2" \ * {@link KnownTokenPasswordName} can be used interchangeably with TokenPasswordName, * this enum contains the known values that the service supports. * ### Known values supported by the service * **password1** \ * **password2** */ export type TokenPasswordName = string; /** The response from the GenerateCredentials operation. */ export interface GenerateCredentialsResult { /** The username for a container registry. */ username?: string; /** The list of passwords for a container registry. */ passwords?: TokenPassword[]; } export declare function generateCredentialsResultDeserializer(item: any): GenerateCredentialsResult; export declare function tokenPasswordArraySerializer(result: Array): any[]; export declare function tokenPasswordArrayDeserializer(result: Array): any[]; /** The password that will be used for authenticating the token of a container registry. */ export interface TokenPassword { /** The creation datetime of the password. */ creationTime?: Date; /** The expiry datetime of the password. */ expiry?: Date; /** The password name "password1" or "password2" */ name?: TokenPasswordName; /** The password value. */ readonly value?: string; } export declare function tokenPasswordSerializer(item: TokenPassword): any; export declare function tokenPasswordDeserializer(item: any): TokenPassword; /** A request to check whether a container registry name is available. */ export interface RegistryNameCheckRequest { /** The name of the container registry. */ name: string; /** The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'. */ type: ContainerRegistryResourceType; } export declare function registryNameCheckRequestSerializer(item: RegistryNameCheckRequest): any; /** The resource type for Container Registry. */ export type ContainerRegistryResourceType = "Microsoft.ContainerRegistry/registries"; /** The result of a request to check the availability of a container registry name. */ export interface RegistryNameStatus { /** The value that indicates whether the name is available. */ nameAvailable?: boolean; /** If any, the reason that the name is not available. */ reason?: string; /** If any, the error message that provides more detail for the reason that the name is not available. */ message?: string; } export declare function registryNameStatusDeserializer(item: any): RegistryNameStatus; /** A private link resource. */ export interface PrivateLinkResource extends Resource { /** A resource that supports private link capabilities. */ properties?: PrivateLinkResourceProperties; } export declare function privateLinkResourceDeserializer(item: any): PrivateLinkResource; /** Properties of a private link resource. */ export interface PrivateLinkResourceProperties { /** The private link resource group id. */ readonly groupId?: string; /** The private link resource required member names. */ readonly requiredMembers?: string[]; /** The private link resource private link DNS zone name. */ requiredZoneNames?: string[]; } export declare function privateLinkResourcePropertiesDeserializer(item: any): PrivateLinkResourceProperties; /** The result of a request to list private link resources for a container registry. */ export interface _PrivateLinkResourceListResult { /** The list of private link resources. Since this list may be incomplete, the nextLink field should be used to request the next list of private link resources. */ value?: PrivateLinkResource[]; /** The URI that can be used to request the next list of private link resources. */ nextLink?: string; } export declare function _privateLinkResourceListResultDeserializer(item: any): _PrivateLinkResourceListResult; export declare function privateLinkResourceArrayDeserializer(result: Array): any[]; /** An object that represents a cache rule for a container registry. */ export interface CacheRule extends ProxyResource { /** The ARM resource ID of the credential store which is associated with the cache rule. */ credentialSetResourceId?: string; /** Source repository pulled from upstream. */ sourceRepository?: string; /** * Target repository specified in docker pull command. * Eg: docker pull myregistry.azurecr.io/{targetRepository}:{tag} */ targetRepository?: string; /** The creation date of the cache rule. */ readonly creationDate?: Date; /** Provisioning state of the resource. */ readonly provisioningState?: ProvisioningState; } export declare function cacheRuleSerializer(item: CacheRule): any; export declare function cacheRuleDeserializer(item: any): CacheRule; /** The properties of a cache rule. */ export interface CacheRuleProperties { /** The ARM resource ID of the credential store which is associated with the cache rule. */ credentialSetResourceId?: string; /** Source repository pulled from upstream. */ sourceRepository?: string; /** * Target repository specified in docker pull command. * Eg: docker pull myregistry.azurecr.io/{targetRepository}:{tag} */ targetRepository?: string; /** The creation date of the cache rule. */ readonly creationDate?: Date; /** Provisioning state of the resource. */ readonly provisioningState?: ProvisioningState; } export declare function cacheRulePropertiesSerializer(item: CacheRuleProperties): any; export declare function cacheRulePropertiesDeserializer(item: any): CacheRuleProperties; /** The parameters for updating a cache rule. */ export interface CacheRuleUpdateParameters { /** The ARM resource ID of the credential store which is associated with the Cache rule. */ credentialSetResourceId?: string; } export declare function cacheRuleUpdateParametersSerializer(item: CacheRuleUpdateParameters): any; /** The parameters for updating cache rule properties. */ export interface CacheRuleUpdateProperties { /** The ARM resource ID of the credential store which is associated with the Cache rule. */ credentialSetResourceId?: string; } export declare function cacheRuleUpdatePropertiesSerializer(item: CacheRuleUpdateProperties): any; /** The result of a request to list cache rules for a container registry. */ export interface _CacheRulesListResult { /** The list of cache rules. Since this list may be incomplete, the nextLink field should be used to request the next list of cache rules. */ value?: CacheRule[]; /** The URI that can be used to request the next list of cache rules. */ nextLink?: string; } export declare function _cacheRulesListResultDeserializer(item: any): _CacheRulesListResult; export declare function cacheRuleArraySerializer(result: Array): any[]; export declare function cacheRuleArrayDeserializer(result: Array): any[]; /** An object that represents a credential set resource for a container registry. */ export interface CredentialSet extends ProxyResource { /** Identities associated with the resource. This is used to access the KeyVault secrets. */ identity?: IdentityProperties; /** The credentials are stored for this upstream or login server. */ loginServer?: string; /** * List of authentication credentials stored for an upstream. * Usually consists of a primary and an optional secondary credential. */ authCredentials?: AuthCredential[]; /** The creation date of credential store resource. */ readonly creationDate?: Date; /** Provisioning state of the resource. */ readonly provisioningState?: ProvisioningState; } export declare function credentialSetSerializer(item: CredentialSet): any; export declare function credentialSetDeserializer(item: any): CredentialSet; /** The properties of a credential set resource. */ export interface CredentialSetProperties { /** The credentials are stored for this upstream or login server. */ loginServer?: string; /** * List of authentication credentials stored for an upstream. * Usually consists of a primary and an optional secondary credential. */ authCredentials?: AuthCredential[]; /** The creation date of credential store resource. */ readonly creationDate?: Date; /** Provisioning state of the resource. */ readonly provisioningState?: ProvisioningState; } export declare function credentialSetPropertiesSerializer(item: CredentialSetProperties): any; export declare function credentialSetPropertiesDeserializer(item: any): CredentialSetProperties; export declare function authCredentialArraySerializer(result: Array): any[]; export declare function authCredentialArrayDeserializer(result: Array): any[]; /** Authentication credential stored for an upstream. */ export interface AuthCredential { /** The name of the credential. */ name?: CredentialName; /** KeyVault Secret URI for accessing the username. */ usernameSecretIdentifier?: string; /** KeyVault Secret URI for accessing the password. */ passwordSecretIdentifier?: string; /** This provides data pertaining to the health of the auth credential. */ readonly credentialHealth?: CredentialHealth; } export declare function authCredentialSerializer(item: AuthCredential): any; export declare function authCredentialDeserializer(item: any): AuthCredential; /** The name of the credential. */ export declare enum KnownCredentialName { /** Credential1 */ Credential1 = "Credential1" } /** * The name of the credential. \ * {@link KnownCredentialName} can be used interchangeably with CredentialName, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Credential1** */ export type CredentialName = string; /** The health of the auth credential. */ export interface CredentialHealth { /** The health status of credential. */ status?: CredentialHealthStatus; /** Error code representing the health check error. */ errorCode?: string; /** Descriptive message representing the health check error. */ errorMessage?: string; } export declare function credentialHealthDeserializer(item: any): CredentialHealth; /** The health status of credential. */ export declare enum KnownCredentialHealthStatus { /** Healthy */ Healthy = "Healthy", /** Unhealthy */ Unhealthy = "Unhealthy" } /** * The health status of credential. \ * {@link KnownCredentialHealthStatus} can be used interchangeably with CredentialHealthStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Healthy** \ * **Unhealthy** */ export type CredentialHealthStatus = string; /** The parameters for updating a credential set */ export interface CredentialSetUpdateParameters { /** Identities associated with the resource. This is used to access the KeyVault secrets. */ identity?: IdentityProperties; /** * List of authentication credentials stored for an upstream. * Usually consists of a primary and an optional secondary credential. */ authCredentials?: AuthCredential[]; } export declare function credentialSetUpdateParametersSerializer(item: CredentialSetUpdateParameters): any; /** The parameters for updating credential set properties. */ export interface CredentialSetUpdateProperties { /** * List of authentication credentials stored for an upstream. * Usually consists of a primary and an optional secondary credential. */ authCredentials?: AuthCredential[]; } export declare function credentialSetUpdatePropertiesSerializer(item: CredentialSetUpdateProperties): any; /** The result of a request to list credential sets for a container registry. */ export interface _CredentialSetListResult { /** The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets. */ value?: CredentialSet[]; /** The URI that can be used to request the next list of credential sets. */ nextLink?: string; } export declare function _credentialSetListResultDeserializer(item: any): _CredentialSetListResult; export declare function credentialSetArraySerializer(result: Array): any[]; export declare function credentialSetArrayDeserializer(result: Array): any[]; /** An object that represents a connected registry for a container registry. */ export interface ConnectedRegistry extends ProxyResource { /** Provisioning state of the resource. */ readonly provisioningState?: ProvisioningState; /** The mode of the connected registry resource that indicates the permissions of the registry. */ mode?: ConnectedRegistryMode; /** The current version of ACR runtime on the connected registry. */ readonly version?: string; /** The current connection state of the connected registry. */ readonly connectionState?: ConnectionState; /** The last activity time of the connected registry. */ readonly lastActivityTime?: Date; /** The activation properties of the connected registry. */ readonly activation?: ActivationProperties; /** The parent of the connected registry. */ parent?: ParentProperties; /** The list of the ACR token resource IDs used to authenticate clients to the connected registry. */ clientTokenIds?: string[]; /** The login server properties of the connected registry. */ loginServer?: LoginServerProperties; /** The logging properties of the connected registry. */ logging?: LoggingProperties; /** The list of current statuses of the connected registry. */ readonly statusDetails?: StatusDetailProperties[]; /** The list of notifications subscription information for the connected registry. */ notificationsList?: string[]; /** The garbage collection properties of the connected registry. */ garbageCollection?: GarbageCollectionProperties; } export declare function connectedRegistrySerializer(item: ConnectedRegistry): any; export declare function connectedRegistryDeserializer(item: any): ConnectedRegistry; /** The properties of a connected registry. */ export interface ConnectedRegistryProperties { /** Provisioning state of the resource. */ readonly provisioningState?: ProvisioningState; /** The mode of the connected registry resource that indicates the permissions of the registry. */ mode: ConnectedRegistryMode; /** The current version of ACR runtime on the connected registry. */ readonly version?: string; /** The current connection state of the connected registry. */ readonly connectionState?: ConnectionState; /** The last activity time of the connected registry. */ readonly lastActivityTime?: Date; /** The activation properties of the connected registry. */ readonly activation?: ActivationProperties; /** The parent of the connected registry. */ parent: ParentProperties; /** The list of the ACR token resource IDs used to authenticate clients to the connected registry. */ clientTokenIds?: string[]; /** The login server properties of the connected registry. */ loginServer?: LoginServerProperties; /** The logging properties of the connected registry. */ logging?: LoggingProperties; /** The list of current statuses of the connected registry. */ readonly statusDetails?: StatusDetailProperties[]; /** The list of notifications subscription information for the connected registry. */ notificationsList?: string[]; /** The garbage collection properties of the connected registry. */ garbageCollection?: GarbageCollectionProperties; } export declare function connectedRegistryPropertiesSerializer(item: ConnectedRegistryProperties): any; export declare function connectedRegistryPropertiesDeserializer(item: any): ConnectedRegistryProperties; /** The mode of the connected registry resource that indicates the permissions of the registry. */ export declare enum KnownConnectedRegistryMode { /** ReadWrite */ ReadWrite = "ReadWrite", /** ReadOnly */ ReadOnly = "ReadOnly", /** Registry */ Registry = "Registry", /** Mirror */ Mirror = "Mirror" } /** * The mode of the connected registry resource that indicates the permissions of the registry. \ * {@link KnownConnectedRegistryMode} can be used interchangeably with ConnectedRegistryMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **ReadWrite** \ * **ReadOnly** \ * **Registry** \ * **Mirror** */ export type ConnectedRegistryMode = string; /** The current connection state of the connected registry. */ export declare enum KnownConnectionState { /** Online */ Online = "Online", /** Offline */ Offline = "Offline", /** Syncing */ Syncing = "Syncing", /** Unhealthy */ Unhealthy = "Unhealthy" } /** * The current connection state of the connected registry. \ * {@link KnownConnectionState} can be used interchangeably with ConnectionState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Online** \ * **Offline** \ * **Syncing** \ * **Unhealthy** */ export type ConnectionState = string; /** The activation properties of the connected registry. */ export interface ActivationProperties { /** The activation status of the connected registry. */ readonly status?: ActivationStatus; } export declare function activationPropertiesDeserializer(item: any): ActivationProperties; /** The activation status of the connected registry. */ export declare enum KnownActivationStatus { /** Active */ Active = "Active", /** Inactive */ Inactive = "Inactive" } /** * The activation status of the connected registry. \ * {@link KnownActivationStatus} can be used interchangeably with ActivationStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Active** \ * **Inactive** */ export type ActivationStatus = string; /** The properties of the connected registry parent. */ export interface ParentProperties { /** The resource ID of the parent to which the connected registry will be associated. */ id?: string; /** The sync properties of the connected registry with its parent. */ syncProperties: SyncProperties; } export declare function parentPropertiesSerializer(item: ParentProperties): any; export declare function parentPropertiesDeserializer(item: any): ParentProperties; /** The sync properties of the connected registry with its parent. */ export interface SyncProperties { /** The resource ID of the ACR token used to authenticate the connected registry to its parent during sync. */ tokenId: string; /** The cron expression indicating the schedule that the connected registry will sync with its parent. */ schedule?: string; /** The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. */ syncWindow?: string; /** The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. */ messageTtl: string; /** The last time a sync occurred between the connected registry and its parent. */ readonly lastSyncTime?: Date; /** The gateway endpoint used by the connected registry to communicate with its parent. */ readonly gatewayEndpoint?: string; } export declare function syncPropertiesSerializer(item: SyncProperties): any; export declare function syncPropertiesDeserializer(item: any): SyncProperties; /** The login server properties of the connected registry. */ export interface LoginServerProperties { /** The host of the connected registry. Can be FQDN or IP. */ readonly host?: string; /** The TLS properties of the connected registry login server. */ readonly tls?: TlsProperties; } export declare function loginServerPropertiesSerializer(item: LoginServerProperties): any; export declare function loginServerPropertiesDeserializer(item: any): LoginServerProperties; /** The TLS properties of the connected registry login server. */ export interface TlsProperties { /** Indicates whether HTTPS is enabled for the login server. */ readonly status?: TlsStatus; /** The certificate used to configure HTTPS for the login server. */ readonly certificate?: TlsCertificateProperties; } export declare function tlsPropertiesDeserializer(item: any): TlsProperties; /** Indicates whether HTTPS is enabled for the login server. */ export declare enum KnownTlsStatus { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** * Indicates whether HTTPS is enabled for the login server. \ * {@link KnownTlsStatus} can be used interchangeably with TlsStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ export type TlsStatus = string; /** The TLS certificate properties of the connected registry login server. */ export interface TlsCertificateProperties { /** The type of certificate location. */ readonly type?: CertificateType; /** Indicates the location of the certificates. */ readonly location?: string; } export declare function tlsCertificatePropertiesDeserializer(item: any): TlsCertificateProperties; /** The type of certificate location. */ export declare enum KnownCertificateType { /** LocalDirectory */ LocalDirectory = "LocalDirectory" } /** * The type of certificate location. \ * {@link KnownCertificateType} can be used interchangeably with CertificateType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **LocalDirectory** */ export type CertificateType = string; /** The logging properties of the connected registry. */ export interface LoggingProperties { /** The verbosity of logs persisted on the connected registry. */ logLevel?: LogLevel; /** Indicates whether audit logs are enabled on the connected registry. */ auditLogStatus?: AuditLogStatus; } export declare function loggingPropertiesSerializer(item: LoggingProperties): any; export declare function loggingPropertiesDeserializer(item: any): LoggingProperties; /** The verbosity of logs persisted on the connected registry. */ export declare enum KnownLogLevel { /** Debug */ Debug = "Debug", /** Information */ Information = "Information", /** Warning */ Warning = "Warning", /** Error */ Error = "Error", /** None */ None = "None" } /** * The verbosity of logs persisted on the connected registry. \ * {@link KnownLogLevel} can be used interchangeably with LogLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Debug** \ * **Information** \ * **Warning** \ * **Error** \ * **None** */ export type LogLevel = string; /** Indicates whether audit logs are enabled on the connected registry. */ export declare enum KnownAuditLogStatus { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** * Indicates whether audit logs are enabled on the connected registry. \ * {@link KnownAuditLogStatus} can be used interchangeably with AuditLogStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ export type AuditLogStatus = string; export declare function statusDetailPropertiesArrayDeserializer(result: Array): any[]; /** The status detail properties of the connected registry. */ export interface StatusDetailProperties { /** The component of the connected registry corresponding to the status. */ readonly type?: string; /** The HTTP status code. */ readonly code?: string; /** The description of the status. */ readonly description?: string; /** The timestamp of the status. */ readonly timestamp?: Date; /** The correlation ID of the status. */ readonly correlationId?: string; } export declare function statusDetailPropertiesDeserializer(item: any): StatusDetailProperties; /** The garbage collection properties of the connected registry. */ export interface GarbageCollectionProperties { /** Indicates whether garbage collection is enabled for the connected registry. */ enabled?: boolean; /** The cron expression indicating the schedule that the connected registry will run garbage collection. */ schedule?: string; } export declare function garbageCollectionPropertiesSerializer(item: GarbageCollectionProperties): any; export declare function garbageCollectionPropertiesDeserializer(item: any): GarbageCollectionProperties; /** The parameters for updating a connected registry. */ export interface ConnectedRegistryUpdateParameters { /** The sync properties of the connected registry with its parent. */ syncProperties?: SyncUpdateProperties; /** The logging properties of the connected registry. */ logging?: LoggingProperties; /** The list of the ACR token resource IDs used to authenticate clients to the connected registry. */ clientTokenIds?: string[]; /** The list of notifications subscription information for the connected registry. */ notificationsList?: string[]; /** The garbage collection properties of the connected registry. */ garbageCollection?: GarbageCollectionProperties; } export declare function connectedRegistryUpdateParametersSerializer(item: ConnectedRegistryUpdateParameters): any; /** The parameters for updating token properties. */ export interface ConnectedRegistryUpdateProperties { /** The sync properties of the connected registry with its parent. */ syncProperties?: SyncUpdateProperties; /** The logging properties of the connected registry. */ logging?: LoggingProperties; /** The list of the ACR token resource IDs used to authenticate clients to the connected registry. */ clientTokenIds?: string[]; /** The list of notifications subscription information for the connected registry. */ notificationsList?: string[]; /** The garbage collection properties of the connected registry. */ garbageCollection?: GarbageCollectionProperties; } export declare function connectedRegistryUpdatePropertiesSerializer(item: ConnectedRegistryUpdateProperties): any; /** The parameters for updating the sync properties of the connected registry with its parent. */ export interface SyncUpdateProperties { /** The cron expression indicating the schedule that the connected registry will sync with its parent. */ schedule?: string; /** The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. */ syncWindow?: string; /** The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. */ messageTtl?: string; } export declare function syncUpdatePropertiesSerializer(item: SyncUpdateProperties): any; /** The result of a request to list connected registries for a container registry. */ export interface _ConnectedRegistryListResult { /** The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries. */ value?: ConnectedRegistry[]; /** The URI that can be used to request the next list of connected registries. */ nextLink?: string; } export declare function _connectedRegistryListResultDeserializer(item: any): _ConnectedRegistryListResult; export declare function connectedRegistryArraySerializer(result: Array): any[]; export declare function connectedRegistryArrayDeserializer(result: Array): any[]; /** The result of a request to list private endpoint connections for a container registry. */ export interface _PrivateEndpointConnectionListResult { /** The list of private endpoint connections. Since this list may be incomplete, the nextLink field should be used to request the next list of private endpoint connections. */ value?: PrivateEndpointConnection[]; /** The URI that can be used to request the next list of private endpoint connections. */ nextLink?: string; } export declare function _privateEndpointConnectionListResultDeserializer(item: any): _PrivateEndpointConnectionListResult; /** An object that represents a replication for a container registry. */ export interface Replication extends TrackedResource { /** The provisioning state of the replication at the time the operation was called. */ readonly provisioningState?: ProvisioningState; /** The status of the replication at the time the operation was called. */ readonly status?: Status; /** Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. */ regionEndpointEnabled?: boolean; /** Whether or not zone redundancy is enabled for this container registry replication */ zoneRedundancy?: ZoneRedundancy; } export declare function replicationSerializer(item: Replication): any; export declare function replicationDeserializer(item: any): Replication; /** The properties of a replication. */ export interface ReplicationProperties { /** The provisioning state of the replication at the time the operation was called. */ readonly provisioningState?: ProvisioningState; /** The status of the replication at the time the operation was called. */ readonly status?: Status; /** Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. */ regionEndpointEnabled?: boolean; /** Whether or not zone redundancy is enabled for this container registry replication */ zoneRedundancy?: ZoneRedundancy; } export declare function replicationPropertiesSerializer(item: ReplicationProperties): any; export declare function replicationPropertiesDeserializer(item: any): ReplicationProperties; /** The parameters for updating a replication. */ export interface ReplicationUpdateParameters { /** The tags for the replication. */ tags?: Record; /** Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. */ regionEndpointEnabled?: boolean; } export declare function replicationUpdateParametersSerializer(item: ReplicationUpdateParameters): any; /** model interface ReplicationUpdateParametersProperties */ export interface ReplicationUpdateParametersProperties { /** Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. */ regionEndpointEnabled?: boolean; } export declare function replicationUpdateParametersPropertiesSerializer(item: ReplicationUpdateParametersProperties): any; /** The result of a request to list replications for a container registry. */ export interface _ReplicationListResult { /** The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications. */ value?: Replication[]; /** The URI that can be used to request the next list of replications. */ nextLink?: string; } export declare function _replicationListResultDeserializer(item: any): _ReplicationListResult; export declare function replicationArraySerializer(result: Array): any[]; export declare function replicationArrayDeserializer(result: Array): any[]; /** An object that represents a scope map for a container registry. */ export interface ScopeMap extends ProxyResource { /** The user friendly description of the scope map. */ description?: string; /** The type of the scope map. E.g. BuildIn scope map. */ readonly typePropertiesType?: string; /** The creation date of scope map. */ readonly creationDate?: Date; /** Provisioning state of the resource. */ readonly provisioningState?: ProvisioningState; /** * The list of scoped permissions for registry artifacts. * E.g. repositories/repository-name/content/read, * repositories/repository-name/metadata/write */ actions?: string[]; } export declare function scopeMapSerializer(item: ScopeMap): any; export declare function scopeMapDeserializer(item: any): ScopeMap; /** The properties of a scope map. */ export interface ScopeMapProperties { /** The user friendly description of the scope map. */ description?: string; /** The type of the scope map. E.g. BuildIn scope map. */ readonly type?: string; /** The creation date of scope map. */ readonly creationDate?: Date; /** Provisioning state of the resource. */ readonly provisioningState?: ProvisioningState; /** * The list of scoped permissions for registry artifacts. * E.g. repositories/repository-name/content/read, * repositories/repository-name/metadata/write */ actions: string[]; } export declare function scopeMapPropertiesSerializer(item: ScopeMapProperties): any; export declare function scopeMapPropertiesDeserializer(item: any): ScopeMapProperties; /** The properties for updating the scope map. */ export interface ScopeMapUpdateParameters { /** The user friendly description of the scope map. */ description?: string; /** * The list of scope permissions for registry artifacts. * E.g. repositories/repository-name/pull, * repositories/repository-name/delete */ actions?: string[]; } export declare function scopeMapUpdateParametersSerializer(item: ScopeMapUpdateParameters): any; /** The update parameters for scope map properties. */ export interface ScopeMapPropertiesUpdateParameters { /** The user friendly description of the scope map. */ description?: string; /** * The list of scope permissions for registry artifacts. * E.g. repositories/repository-name/pull, * repositories/repository-name/delete */ actions?: string[]; } export declare function scopeMapPropertiesUpdateParametersSerializer(item: ScopeMapPropertiesUpdateParameters): any; /** The result of a request to list scope maps for a container registry. */ export interface _ScopeMapListResult { /** The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps. */ value?: ScopeMap[]; /** The URI that can be used to request the next list of scope maps. */ nextLink?: string; } export declare function _scopeMapListResultDeserializer(item: any): _ScopeMapListResult; export declare function scopeMapArraySerializer(result: Array): any[]; export declare function scopeMapArrayDeserializer(result: Array): any[]; /** An object that represents a token for a container registry. */ export interface Token extends ProxyResource { /** The creation date of scope map. */ readonly creationDate?: Date; /** Provisioning state of the resource. */ readonly provisioningState?: ProvisioningState; /** The resource ID of the scope map to which the token will be associated with. */ scopeMapId?: string; /** The credentials that can be used for authenticating the token. */ credentials?: TokenCredentialsProperties; /** The status of the token example enabled or disabled. */ status?: TokenStatus; } export declare function tokenSerializer(item: Token): any; export declare function tokenDeserializer(item: any): Token; /** The properties of a token. */ export interface TokenProperties { /** The creation date of scope map. */ readonly creationDate?: Date; /** Provisioning state of the resource. */ readonly provisioningState?: ProvisioningState; /** The resource ID of the scope map to which the token will be associated with. */ scopeMapId?: string; /** The credentials that can be used for authenticating the token. */ credentials?: TokenCredentialsProperties; /** The status of the token example enabled or disabled. */ status?: TokenStatus; } export declare function tokenPropertiesSerializer(item: TokenProperties): any; export declare function tokenPropertiesDeserializer(item: any): TokenProperties; /** The properties of the credentials that can be used for authenticating the token. */ export interface TokenCredentialsProperties { certificates?: TokenCertificate[]; passwords?: TokenPassword[]; } export declare function tokenCredentialsPropertiesSerializer(item: TokenCredentialsProperties): any; export declare function tokenCredentialsPropertiesDeserializer(item: any): TokenCredentialsProperties; export declare function tokenCertificateArraySerializer(result: Array): any[]; export declare function tokenCertificateArrayDeserializer(result: Array): any[]; /** The properties of a certificate used for authenticating a token. */ export interface TokenCertificate { name?: TokenCertificateName; /** The expiry datetime of the certificate. */ expiry?: Date; /** The thumbprint of the certificate. */ thumbprint?: string; /** Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token. */ encodedPemCertificate?: string; } export declare function tokenCertificateSerializer(item: TokenCertificate): any; export declare function tokenCertificateDeserializer(item: any): TokenCertificate; /** Known values of {@link TokenCertificateName} that the service accepts. */ export declare enum KnownTokenCertificateName { /** certificate1 */ Certificate1 = "certificate1", /** certificate2 */ Certificate2 = "certificate2" } /** Type of TokenCertificateName */ export type TokenCertificateName = string; /** The status of the token example enabled or disabled. */ export declare enum KnownTokenStatus { /** enabled */ Enabled = "enabled", /** disabled */ Disabled = "disabled" } /** * The status of the token example enabled or disabled. \ * {@link KnownTokenStatus} can be used interchangeably with TokenStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **enabled** \ * **disabled** */ export type TokenStatus = string; /** The parameters for updating a token. */ export interface TokenUpdateParameters { /** The resource ID of the scope map to which the token will be associated with. */ scopeMapId?: string; /** The status of the token example enabled or disabled. */ status?: TokenStatus; /** The credentials that can be used for authenticating the token. */ credentials?: TokenCredentialsProperties; } export declare function tokenUpdateParametersSerializer(item: TokenUpdateParameters): any; /** The parameters for updating token properties. */ export interface TokenUpdateProperties { /** The resource ID of the scope map to which the token will be associated with. */ scopeMapId?: string; /** The status of the token example enabled or disabled. */ status?: TokenStatus; /** The credentials that can be used for authenticating the token. */ credentials?: TokenCredentialsProperties; } export declare function tokenUpdatePropertiesSerializer(item: TokenUpdateProperties): any; /** The result of a request to list tokens for a container registry. */ export interface _TokenListResult { /** The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens. */ value?: Token[]; /** The URI that can be used to request the next list of tokens. */ nextLink?: string; } export declare function _tokenListResultDeserializer(item: any): _TokenListResult; export declare function tokenArraySerializer(result: Array): any[]; export declare function tokenArrayDeserializer(result: Array): any[]; /** An object that represents a webhook for a container registry. */ export interface Webhook extends TrackedResource { /** The status of the webhook at the time the operation was called. */ status?: WebhookStatus; /** The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** The list of actions that trigger the webhook to post notifications. */ actions?: WebhookAction[]; /** The provisioning state of the webhook at the time the operation was called. */ readonly provisioningState?: ProvisioningState; } export declare function webhookDeserializer(item: any): Webhook; /** The properties of a webhook. */ export interface WebhookProperties { /** The status of the webhook at the time the operation was called. */ status?: WebhookStatus; /** The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** The list of actions that trigger the webhook to post notifications. */ actions: WebhookAction[]; /** The provisioning state of the webhook at the time the operation was called. */ readonly provisioningState?: ProvisioningState; } export declare function webhookPropertiesDeserializer(item: any): WebhookProperties; /** The status of the webhook at the time the operation was called. */ export declare enum KnownWebhookStatus { /** enabled */ Enabled = "enabled", /** disabled */ Disabled = "disabled" } /** * The status of the webhook at the time the operation was called. \ * {@link KnownWebhookStatus} can be used interchangeably with WebhookStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **enabled** \ * **disabled** */ export type WebhookStatus = string; /** Known values of {@link WebhookAction} that the service accepts. */ export declare enum KnownWebhookAction { /** push */ Push = "push", /** delete */ Delete = "delete", /** quarantine */ Quarantine = "quarantine", /** chart_push */ ChartPush = "chart_push", /** chart_delete */ ChartDelete = "chart_delete" } /** Type of WebhookAction */ export type WebhookAction = string; /** The parameters for creating a webhook. */ export interface WebhookCreateParameters { /** The tags for the webhook. */ tags?: Record; /** The location of the webhook. This cannot be changed after the resource is created. */ location: string; /** The service URI for the webhook to post notifications. */ serviceUri?: string; /** Custom headers that will be added to the webhook notifications. */ customHeaders?: Record; /** The status of the webhook at the time the operation was called. */ status?: WebhookStatus; /** The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** The list of actions that trigger the webhook to post notifications. */ actions?: WebhookAction[]; } export declare function webhookCreateParametersSerializer(item: WebhookCreateParameters): any; /** The parameters for creating the properties of a webhook. */ export interface WebhookPropertiesCreateParameters { /** The service URI for the webhook to post notifications. */ serviceUri: string; /** Custom headers that will be added to the webhook notifications. */ customHeaders?: Record; /** The status of the webhook at the time the operation was called. */ status?: WebhookStatus; /** The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** The list of actions that trigger the webhook to post notifications. */ actions: WebhookAction[]; } export declare function webhookPropertiesCreateParametersSerializer(item: WebhookPropertiesCreateParameters): any; /** The parameters for updating a webhook. */ export interface WebhookUpdateParameters { /** The tags for the webhook. */ tags?: Record; /** The service URI for the webhook to post notifications. */ serviceUri?: string; /** Custom headers that will be added to the webhook notifications. */ customHeaders?: Record; /** The status of the webhook at the time the operation was called. */ status?: WebhookStatus; /** The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** The list of actions that trigger the webhook to post notifications. */ actions?: WebhookAction[]; } export declare function webhookUpdateParametersSerializer(item: WebhookUpdateParameters): any; /** The parameters for updating the properties of a webhook. */ export interface WebhookPropertiesUpdateParameters { /** The service URI for the webhook to post notifications. */ serviceUri?: string; /** Custom headers that will be added to the webhook notifications. */ customHeaders?: Record; /** The status of the webhook at the time the operation was called. */ status?: WebhookStatus; /** The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** The list of actions that trigger the webhook to post notifications. */ actions?: WebhookAction[]; } export declare function webhookPropertiesUpdateParametersSerializer(item: WebhookPropertiesUpdateParameters): any; /** The result of a request to list webhooks for a container registry. */ export interface _WebhookListResult { /** The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks. */ value?: Webhook[]; /** The URI that can be used to request the next list of webhooks. */ nextLink?: string; } export declare function _webhookListResultDeserializer(item: any): _WebhookListResult; export declare function webhookArrayDeserializer(result: Array): any[]; /** The basic information of an event. */ export interface EventInfo { /** The event ID. */ id?: string; } export declare function eventInfoDeserializer(item: any): EventInfo; /** The result of a request to list events for a webhook. */ export interface _EventListResult { /** The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events. */ value?: Event[]; /** The URI that can be used to request the next list of events. */ nextLink?: string; } export declare function _eventListResultDeserializer(item: any): _EventListResult; export declare function eventArrayDeserializer(result: Array): any[]; /** The event for a webhook. */ export interface Event extends EventInfo { /** The event request message sent to the service URI. */ eventRequestMessage?: EventRequestMessage; /** The event response message received from the service URI. */ eventResponseMessage?: EventResponseMessage; } export declare function eventDeserializer(item: any): Event; /** The event request message sent to the service URI. */ export interface EventRequestMessage { /** The content of the event request message. */ content?: EventContent; /** The headers of the event request message. */ headers?: Record; /** The HTTP method used to send the event request message. */ method?: string; /** The URI used to send the event request message. */ requestUri?: string; /** The HTTP message version. */ version?: string; } export declare function eventRequestMessageDeserializer(item: any): EventRequestMessage; /** The content of the event request message. */ export interface EventContent { /** The event ID. */ id?: string; /** The time at which the event occurred. */ timestamp?: Date; /** The action that encompasses the provided event. */ action?: string; /** The target of the event. */ target?: Target; /** The request that generated the event. */ request?: Request; /** The agent that initiated the event. For most situations, this could be from the authorization context of the request. */ actor?: Actor; /** The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it. */ source?: Source; } export declare function eventContentDeserializer(item: any): EventContent; /** The target of the event. */ export interface Target { /** The MIME type of the referenced object. */ mediaType?: string; /** The number of bytes of the content. Same as Length field. */ size?: number; /** The digest of the content, as defined by the Registry V2 HTTP API Specification. */ digest?: string; /** The number of bytes of the content. Same as Size field. */ length?: number; /** The repository name. */ repository?: string; /** The direct URL to the content. */ url?: string; /** The tag name. */ tag?: string; /** The name of the artifact. */ name?: string; /** The version of the artifact. */ version?: string; } export declare function targetDeserializer(item: any): Target; /** The request that generated the event. */ export interface Request { /** The ID of the request that initiated the event. */ id?: string; /** The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request. */ addr?: string; /** The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests. */ host?: string; /** The request method that generated the event. */ method?: string; /** The user agent header of the request. */ useragent?: string; } export declare function requestDeserializer(item: any): Request; /** The agent that initiated the event. For most situations, this could be from the authorization context of the request. */ export interface Actor { /** The subject or username associated with the request context that generated the event. */ name?: string; } export declare function actorDeserializer(item: any): Actor; /** The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it. */ export interface Source { /** 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. */ addr?: string; /** The running instance of an application. Changes after each restart. */ instanceID?: string; } export declare function sourceDeserializer(item: any): Source; /** The event response message received from the service URI. */ export interface EventResponseMessage { /** The content of the event response message. */ content?: string; /** The headers of the event response message. */ headers?: Record; /** The reason phrase of the event response message. */ reasonPhrase?: string; /** The status code of the event response message. */ statusCode?: string; /** The HTTP message version. */ version?: string; } export declare function eventResponseMessageDeserializer(item: any): EventResponseMessage; /** The configuration of service URI and custom headers for the webhook. */ export interface CallbackConfig { /** The service URI for the webhook to post notifications. */ serviceUri: string; /** Custom headers that will be added to the webhook notifications. */ customHeaders?: Record; } export declare function callbackConfigDeserializer(item: any): CallbackConfig; /** The available API versions. */ export declare enum KnownVersions { /** The 2025-11-01 API version. */ V20251101 = "2025-11-01" } export declare function _operationDefinitionPropertiesDeserializer(item: any): { serviceSpecification: any; }; export declare function _privateEndpointConnectionPropertiesSerializer(item: PrivateEndpointConnection): any; export declare function _privateEndpointConnectionPropertiesDeserializer(item: any): { privateEndpoint: any; privateLinkServiceConnectionState: any; provisioningState: any; }; export declare function _registryPropertiesSerializer(item: Registry): any; export declare function _registryPropertiesDeserializer(item: any): { loginServer: any; creationDate: any; provisioningState: any; status: any; adminUserEnabled: any; networkRuleSet: any; policies: any; encryption: any; dataEndpointEnabled: any; dataEndpointHostNames: any; privateEndpointConnections: any; publicNetworkAccess: any; networkRuleBypassOptions: any; networkRuleBypassAllowedForTasks: any; zoneRedundancy: any; anonymousPullEnabled: any; roleAssignmentMode: any; }; export declare function _registryUpdateParametersPropertiesSerializer(item: RegistryUpdateParameters): any; export declare function _cacheRulePropertiesSerializer(item: CacheRule): any; export declare function _cacheRulePropertiesDeserializer(item: any): { credentialSetResourceId: any; sourceRepository: any; targetRepository: any; creationDate: any; provisioningState: any; }; export declare function _cacheRuleUpdateParametersPropertiesSerializer(item: CacheRuleUpdateParameters): any; export declare function _credentialSetPropertiesSerializer(item: CredentialSet): any; export declare function _credentialSetPropertiesDeserializer(item: any): { loginServer: any; authCredentials: any; creationDate: any; provisioningState: any; }; export declare function _credentialSetUpdateParametersPropertiesSerializer(item: CredentialSetUpdateParameters): any; export declare function _connectedRegistryPropertiesSerializer(item: ConnectedRegistry): any; export declare function _connectedRegistryPropertiesDeserializer(item: any): { provisioningState: any; mode: any; version: any; connectionState: any; lastActivityTime: any; activation: any; parent: any; clientTokenIds: any; loginServer: any; logging: any; statusDetails: any; notificationsList: any; garbageCollection: any; }; export declare function _connectedRegistryUpdateParametersPropertiesSerializer(item: ConnectedRegistryUpdateParameters): any; export declare function _replicationPropertiesSerializer(item: Replication): any; export declare function _replicationPropertiesDeserializer(item: any): { provisioningState: any; status: any; regionEndpointEnabled: any; zoneRedundancy: any; }; export declare function _replicationUpdateParametersPropertiesSerializer(item: ReplicationUpdateParameters): any; export declare function _scopeMapPropertiesSerializer(item: ScopeMap): any; export declare function _scopeMapPropertiesDeserializer(item: any): { description: any; typePropertiesType: any; creationDate: any; provisioningState: any; actions: any; }; export declare function _scopeMapUpdateParametersPropertiesSerializer(item: ScopeMapUpdateParameters): any; export declare function _tokenPropertiesSerializer(item: Token): any; export declare function _tokenPropertiesDeserializer(item: any): { creationDate: any; provisioningState: any; scopeMapId: any; credentials: any; status: any; }; export declare function _tokenUpdateParametersPropertiesSerializer(item: TokenUpdateParameters): any; export declare function _webhookPropertiesDeserializer(item: any): { status: any; scope: any; actions: any; provisioningState: any; }; export declare function _webhookCreateParametersPropertiesSerializer(item: WebhookCreateParameters): any; export declare function _webhookUpdateParametersPropertiesSerializer(item: WebhookUpdateParameters): any; //# sourceMappingURL=models.d.ts.map