import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Registries extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'registries' , } ) ; } } schema export class RegistriesReplications extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'registries_replications' , } ) ; } } schema export class RegistriesWebhooks extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'registries_webhooks' , } ) ; } } schema export interface RegistriesOptions { schema readonly apiVersion ? : MicrosoftContainerRegistryRegistriesApiVersion ; schema readonly location : string ; schema readonly name : MicrosoftContainerRegistryRegistriesNamePattern ; schema readonly properties : RegistryProperties ; schema readonly resources ? : MicrosoftContainerRegistryRegistriesResources [ ] ; schema readonly sku : Sku ; schema readonly tags ? : MicrosoftContainerRegistryRegistriesTags ; schema readonly type : MicrosoftContainerRegistryRegistriesType ; } schema export interface RegistriesReplicationsOptions { schema readonly apiVersion ? : MicrosoftContainerRegistryRegistriesReplicationsApiVersion ; schema readonly location : string ; schema readonly name : MicrosoftContainerRegistryRegistriesReplicationsNamePattern ; schema readonly properties : ReplicationProperties ; schema readonly tags ? : MicrosoftContainerRegistryRegistriesReplicationsTags ; schema readonly type : MicrosoftContainerRegistryRegistriesReplicationsType ; } schema export interface RegistriesWebhooksOptions { schema readonly apiVersion ? : MicrosoftContainerRegistryRegistriesWebhooksApiVersion ; schema readonly location : string ; schema readonly name : MicrosoftContainerRegistryRegistriesWebhooksNamePattern ; schema readonly properties : WebhookPropertiesCreateParameters ; schema readonly tags ? : MicrosoftContainerRegistryRegistriesWebhooksTags ; schema readonly type : MicrosoftContainerRegistryRegistriesWebhooksType ; } export enum MicrosoftContainerRegistryRegistriesApiVersion { "MicrosoftContainerRegistryRegistriesApiVersion_2019_05_01" = '2019-05-01' } schema export class MicrosoftContainerRegistryRegistriesNamePattern { public static pattern ( value ) { return value ; } } schema export interface RegistryProperties { schema readonly adminUserEnabled ? : boolean ; schema readonly networkRuleSet ? : NetworkRuleSet ; schema readonly policies ? : Policies ; schema readonly storageAccount ? : StorageAccountProperties ; } schema export class MicrosoftContainerRegistryRegistriesResources { public static fromRegistriesReplicationsChildResource ( value ) { return new MicrosoftContainerRegistryRegistriesResources ( value ) ; } public static fromRegistriesWebhooksChildResource ( value ) { return new MicrosoftContainerRegistryRegistriesResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface Sku { schema readonly name : SkuName ; } schema export interface MicrosoftContainerRegistryRegistriesTags { } export enum MicrosoftContainerRegistryRegistriesType { "MicrosoftContainerRegistryRegistriesType_MICROSOFT_CONTAINER_REGISTRY_REGISTRIES" = 'Microsoft.ContainerRegistry/registries' } export enum MicrosoftContainerRegistryRegistriesReplicationsApiVersion { "MicrosoftContainerRegistryRegistriesReplicationsApiVersion_2019_05_01" = '2019-05-01' } schema export class MicrosoftContainerRegistryRegistriesReplicationsNamePattern { public static pattern ( value ) { return value ; } } schema export interface ReplicationProperties { } schema export interface MicrosoftContainerRegistryRegistriesReplicationsTags { } export enum MicrosoftContainerRegistryRegistriesReplicationsType { "MicrosoftContainerRegistryRegistriesReplicationsType_MICROSOFT_CONTAINER_REGISTRY_REGISTRIES_REPLICATIONS" = 'Microsoft.ContainerRegistry/registries/replications' } export enum MicrosoftContainerRegistryRegistriesWebhooksApiVersion { "MicrosoftContainerRegistryRegistriesWebhooksApiVersion_2019_05_01" = '2019-05-01' } schema export class MicrosoftContainerRegistryRegistriesWebhooksNamePattern { public static pattern ( value ) { return value ; } } schema export interface WebhookPropertiesCreateParameters { schema readonly actions : WebhookPropertiesCreateParametersActions [ ] ; schema readonly customHeaders ? : WebhookPropertiesCreateParametersCustomHeaders ; schema readonly scope ? : string ; schema readonly serviceUri : string ; schema readonly status ? : WebhookPropertiesCreateParametersStatus ; } schema export interface MicrosoftContainerRegistryRegistriesWebhooksTags { } export enum MicrosoftContainerRegistryRegistriesWebhooksType { "MicrosoftContainerRegistryRegistriesWebhooksType_MICROSOFT_CONTAINER_REGISTRY_REGISTRIES_WEBHOOKS" = 'Microsoft.ContainerRegistry/registries/webhooks' } schema export interface NetworkRuleSet { schema readonly defaultAction : NetworkRuleSetDefaultAction ; schema readonly ipRules ? : IpRule [ ] ; schema readonly virtualNetworkRules ? : VirtualNetworkRule [ ] ; } schema export interface Policies { schema readonly quarantinePolicy ? : QuarantinePolicy ; schema readonly retentionPolicy ? : RetentionPolicy ; schema readonly trustPolicy ? : TrustPolicy ; } schema export interface StorageAccountProperties { schema readonly id : string ; } schema export interface RegistriesReplicationsChildResource { schema readonly apiVersion : RegistriesReplicationsChildResourceApiVersion ; schema readonly location : string ; schema readonly name : RegistriesReplicationsChildResourceNamePattern ; schema readonly properties : ReplicationProperties ; schema readonly tags ? : RegistriesReplicationsChildResourceTags ; schema readonly type : RegistriesReplicationsChildResourceType ; } schema export interface RegistriesWebhooksChildResource { schema readonly apiVersion : RegistriesWebhooksChildResourceApiVersion ; schema readonly location : string ; schema readonly name : RegistriesWebhooksChildResourceNamePattern ; schema readonly properties : WebhookPropertiesCreateParameters ; schema readonly tags ? : RegistriesWebhooksChildResourceTags ; schema readonly type : RegistriesWebhooksChildResourceType ; } export enum SkuName { CLASSIC = 'Classic' , BASIC = 'Basic' , STANDARD = 'Standard' , PREMIUM = 'Premium' } export enum WebhookPropertiesCreateParametersActions { PUSH = 'push' , DELETE = 'delete' , QUARANTINE = 'quarantine' , CHART_PUSH = 'chart_push' , CHART_DELETE = 'chart_delete' } schema export interface WebhookPropertiesCreateParametersCustomHeaders { } export enum WebhookPropertiesCreateParametersStatus { ENABLED = 'enabled' , DISABLED = 'disabled' } export enum NetworkRuleSetDefaultAction { ALLOW = 'Allow' , DENY = 'Deny' } schema export interface IpRule { schema readonly action ? : IpRuleAction ; schema readonly value : string ; } schema export interface VirtualNetworkRule { schema readonly action ? : VirtualNetworkRuleAction ; schema readonly id : string ; } schema export interface QuarantinePolicy { schema readonly status ? : QuarantinePolicyStatus ; } schema export interface RetentionPolicy { schema readonly days ? : number ; schema readonly status ? : RetentionPolicyStatus ; } schema export interface TrustPolicy { schema readonly status ? : TrustPolicyStatus ; schema readonly type ? : TrustPolicyType ; } export enum RegistriesReplicationsChildResourceApiVersion { "RegistriesReplicationsChildResourceApiVersion_2019_05_01" = '2019-05-01' } schema export class RegistriesReplicationsChildResourceNamePattern { public static pattern ( value ) { return value ; } } schema export interface RegistriesReplicationsChildResourceTags { } export enum RegistriesReplicationsChildResourceType { REPLICATIONS = 'replications' } export enum RegistriesWebhooksChildResourceApiVersion { "RegistriesWebhooksChildResourceApiVersion_2019_05_01" = '2019-05-01' } schema export class RegistriesWebhooksChildResourceNamePattern { public static pattern ( value ) { return value ; } } schema export interface RegistriesWebhooksChildResourceTags { } export enum RegistriesWebhooksChildResourceType { WEBHOOKS = 'webhooks' } export enum IpRuleAction { ALLOW = 'Allow' } export enum VirtualNetworkRuleAction { ALLOW = 'Allow' } export enum QuarantinePolicyStatus { ENABLED = 'enabled' , DISABLED = 'disabled' } export enum RetentionPolicyStatus { ENABLED = 'enabled' , DISABLED = 'disabled' } export enum TrustPolicyStatus { ENABLED = 'enabled' , DISABLED = 'disabled' } export enum TrustPolicyType { NOTARY = 'Notary' }