import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Namespaces extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'namespaces' , } ) ; } } schema export class NamespacesAuthorizationRules extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'namespaces_authorizationRules' , } ) ; } } schema export class NamespacesDisasterRecoveryConfigs extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'namespaces_disasterRecoveryConfigs' , } ) ; } } schema export class NamespacesEventhubs extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'namespaces_eventhubs' , } ) ; } } schema export class NamespacesEventhubsAuthorizationRules extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'namespaces_eventhubs_authorizationRules' , } ) ; } } schema export class NamespacesEventhubsConsumergroups extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'namespaces_eventhubs_consumergroups' , } ) ; } } schema export class NamespacesNetworkRuleSets extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'namespaces_networkRuleSets' , } ) ; } } schema export interface NamespacesOptions { schema readonly apiVersion ? : MicrosoftEventHubNamespacesApiVersion ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : EhNamespaceProperties ; schema readonly resources ? : MicrosoftEventHubNamespacesResources [ ] ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftEventHubNamespacesTags ; schema readonly type : MicrosoftEventHubNamespacesType ; } schema export interface NamespacesAuthorizationRulesOptions { schema readonly apiVersion ? : MicrosoftEventHubNamespacesAuthorizationRulesApiVersion ; schema readonly name : string ; schema readonly properties : AuthorizationRuleProperties ; schema readonly type : MicrosoftEventHubNamespacesAuthorizationRulesType ; } schema export interface NamespacesDisasterRecoveryConfigsOptions { schema readonly apiVersion ? : MicrosoftEventHubNamespacesDisasterRecoveryConfigsApiVersion ; schema readonly name : string ; schema readonly properties : ArmDisasterRecoveryProperties ; schema readonly type : MicrosoftEventHubNamespacesDisasterRecoveryConfigsType ; } schema export interface NamespacesEventhubsOptions { schema readonly apiVersion ? : MicrosoftEventHubNamespacesEventhubsApiVersion ; schema readonly name : string ; schema readonly properties : EventhubProperties ; schema readonly resources ? : MicrosoftEventHubNamespacesEventhubsResources [ ] ; schema readonly type : MicrosoftEventHubNamespacesEventhubsType ; } schema export interface NamespacesEventhubsAuthorizationRulesOptions { schema readonly apiVersion ? : MicrosoftEventHubNamespacesEventhubsAuthorizationRulesApiVersion ; schema readonly name : string ; schema readonly properties : AuthorizationRuleProperties ; schema readonly type : MicrosoftEventHubNamespacesEventhubsAuthorizationRulesType ; } schema export interface NamespacesEventhubsConsumergroupsOptions { schema readonly apiVersion ? : MicrosoftEventHubNamespacesEventhubsConsumergroupsApiVersion ; schema readonly name : string ; schema readonly properties : ConsumerGroupProperties ; schema readonly type : MicrosoftEventHubNamespacesEventhubsConsumergroupsType ; } schema export interface NamespacesNetworkRuleSetsOptions { schema readonly apiVersion ? : MicrosoftEventHubNamespacesNetworkRuleSetsApiVersion ; schema readonly name : MicrosoftEventHubNamespacesNetworkRuleSetsNamePattern ; schema readonly properties : NetworkRuleSetProperties ; schema readonly type : MicrosoftEventHubNamespacesNetworkRuleSetsType ; } export enum MicrosoftEventHubNamespacesApiVersion { "MicrosoftEventHubNamespacesApiVersion_2017_04_01" = '2017-04-01' } schema export interface EhNamespaceProperties { schema readonly isAutoInflateEnabled ? : boolean ; schema readonly kafkaEnabled ? : boolean ; schema readonly maximumThroughputUnits ? : number ; } schema export class MicrosoftEventHubNamespacesResources { public static fromNamespacesAuthorizationRulesChildResource ( value ) { return new MicrosoftEventHubNamespacesResources ( value ) ; } public static fromNamespacesNetworkRuleSetsChildResource ( value ) { return new MicrosoftEventHubNamespacesResources ( value ) ; } public static fromNamespacesDisasterRecoveryConfigsChildResource ( value ) { return new MicrosoftEventHubNamespacesResources ( value ) ; } public static fromNamespacesEventhubsChildResource ( value ) { return new MicrosoftEventHubNamespacesResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface Sku { schema readonly capacity ? : number ; schema readonly name : SkuName ; schema readonly tier ? : SkuTier ; } schema export interface MicrosoftEventHubNamespacesTags { } export enum MicrosoftEventHubNamespacesType { "MicrosoftEventHubNamespacesType_MICROSOFT_EVENT_HUB_NAMESPACES" = 'Microsoft.EventHub/namespaces' } export enum MicrosoftEventHubNamespacesAuthorizationRulesApiVersion { "MicrosoftEventHubNamespacesAuthorizationRulesApiVersion_2017_04_01" = '2017-04-01' } schema export interface AuthorizationRuleProperties { schema readonly rights : AuthorizationRulePropertiesRights [ ] ; } export enum MicrosoftEventHubNamespacesAuthorizationRulesType { "MicrosoftEventHubNamespacesAuthorizationRulesType_MICROSOFT_EVENT_HUB_NAMESPACES_AUTHORIZATION_RULES" = 'Microsoft.EventHub/namespaces/authorizationRules' } export enum MicrosoftEventHubNamespacesDisasterRecoveryConfigsApiVersion { "MicrosoftEventHubNamespacesDisasterRecoveryConfigsApiVersion_2017_04_01" = '2017-04-01' } schema export interface ArmDisasterRecoveryProperties { schema readonly alternateName ? : string ; schema readonly partnerNamespace ? : string ; } export enum MicrosoftEventHubNamespacesDisasterRecoveryConfigsType { "MicrosoftEventHubNamespacesDisasterRecoveryConfigsType_MICROSOFT_EVENT_HUB_NAMESPACES_DISASTER_RECOVERY_CONFIGS" = 'Microsoft.EventHub/namespaces/disasterRecoveryConfigs' } export enum MicrosoftEventHubNamespacesEventhubsApiVersion { "MicrosoftEventHubNamespacesEventhubsApiVersion_2017_04_01" = '2017-04-01' } schema export interface EventhubProperties { schema readonly captureDescription ? : CaptureDescription ; schema readonly messageRetentionInDays ? : number ; schema readonly partitionCount ? : number ; schema readonly status ? : EventhubPropertiesStatus ; } schema export class MicrosoftEventHubNamespacesEventhubsResources { public static fromNamespacesEventhubsAuthorizationRulesChildResource ( value ) { return new MicrosoftEventHubNamespacesEventhubsResources ( value ) ; } public static fromNamespacesEventhubsConsumergroupsChildResource ( value ) { return new MicrosoftEventHubNamespacesEventhubsResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } export enum MicrosoftEventHubNamespacesEventhubsType { "MicrosoftEventHubNamespacesEventhubsType_MICROSOFT_EVENT_HUB_NAMESPACES_EVENTHUBS" = 'Microsoft.EventHub/namespaces/eventhubs' } export enum MicrosoftEventHubNamespacesEventhubsAuthorizationRulesApiVersion { "MicrosoftEventHubNamespacesEventhubsAuthorizationRulesApiVersion_2017_04_01" = '2017-04-01' } export enum MicrosoftEventHubNamespacesEventhubsAuthorizationRulesType { "MicrosoftEventHubNamespacesEventhubsAuthorizationRulesType_MICROSOFT_EVENT_HUB_NAMESPACES_EVENTHUBS_AUTHORIZATION_RULES" = 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules' } export enum MicrosoftEventHubNamespacesEventhubsConsumergroupsApiVersion { "MicrosoftEventHubNamespacesEventhubsConsumergroupsApiVersion_2017_04_01" = '2017-04-01' } schema export interface ConsumerGroupProperties { schema readonly userMetadata ? : string ; } export enum MicrosoftEventHubNamespacesEventhubsConsumergroupsType { "MicrosoftEventHubNamespacesEventhubsConsumergroupsType_MICROSOFT_EVENT_HUB_NAMESPACES_EVENTHUBS_CONSUMERGROUPS" = 'Microsoft.EventHub/namespaces/eventhubs/consumergroups' } export enum MicrosoftEventHubNamespacesNetworkRuleSetsApiVersion { "MicrosoftEventHubNamespacesNetworkRuleSetsApiVersion_2017_04_01" = '2017-04-01' } schema export class MicrosoftEventHubNamespacesNetworkRuleSetsNamePattern { public static pattern ( value ) { return value ; } } schema export interface NetworkRuleSetProperties { schema readonly defaultAction ? : NetworkRuleSetPropertiesDefaultAction ; schema readonly ipRules ? : NwRuleSetIpRules [ ] ; schema readonly virtualNetworkRules ? : NwRuleSetVirtualNetworkRules [ ] ; } export enum MicrosoftEventHubNamespacesNetworkRuleSetsType { "MicrosoftEventHubNamespacesNetworkRuleSetsType_MICROSOFT_EVENT_HUB_NAMESPACES_NETWORK_RULE_SETS" = 'Microsoft.EventHub/namespaces/networkRuleSets' } schema export interface NamespacesAuthorizationRulesChildResource { schema readonly apiVersion : NamespacesAuthorizationRulesChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : AuthorizationRuleProperties ; schema readonly type : NamespacesAuthorizationRulesChildResourceType ; } schema export interface NamespacesNetworkRuleSetsChildResource { schema readonly apiVersion : NamespacesNetworkRuleSetsChildResourceApiVersion ; schema readonly name : NamespacesNetworkRuleSetsChildResourceName ; schema readonly properties : NetworkRuleSetProperties ; schema readonly type : NamespacesNetworkRuleSetsChildResourceType ; } schema export interface NamespacesDisasterRecoveryConfigsChildResource { schema readonly apiVersion : NamespacesDisasterRecoveryConfigsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : ArmDisasterRecoveryProperties ; schema readonly type : NamespacesDisasterRecoveryConfigsChildResourceType ; } schema export interface NamespacesEventhubsChildResource { schema readonly apiVersion : NamespacesEventhubsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : EventhubProperties ; schema readonly type : NamespacesEventhubsChildResourceType ; } export enum SkuName { BASIC = 'Basic' , STANDARD = 'Standard' } export enum SkuTier { BASIC = 'Basic' , STANDARD = 'Standard' } export enum AuthorizationRulePropertiesRights { MANAGE = 'Manage' , SEND = 'Send' , LISTEN = 'Listen' } schema export interface CaptureDescription { schema readonly destination ? : Destination ; schema readonly enabled ? : boolean ; schema readonly encoding ? : CaptureDescriptionEncoding ; schema readonly intervalInSeconds ? : number ; schema readonly sizeLimitInBytes ? : number ; schema readonly skipEmptyArchives ? : boolean ; } export enum EventhubPropertiesStatus { ACTIVE = 'Active' , DISABLED = 'Disabled' , RESTORING = 'Restoring' , SEND_DISABLED = 'SendDisabled' , RECEIVE_DISABLED = 'ReceiveDisabled' , CREATING = 'Creating' , DELETING = 'Deleting' , RENAMING = 'Renaming' , UNKNOWN = 'Unknown' } schema export interface NamespacesEventhubsAuthorizationRulesChildResource { schema readonly apiVersion : NamespacesEventhubsAuthorizationRulesChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : AuthorizationRuleProperties ; schema readonly type : NamespacesEventhubsAuthorizationRulesChildResourceType ; } schema export interface NamespacesEventhubsConsumergroupsChildResource { schema readonly apiVersion : NamespacesEventhubsConsumergroupsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : ConsumerGroupProperties ; schema readonly type : NamespacesEventhubsConsumergroupsChildResourceType ; } export enum NetworkRuleSetPropertiesDefaultAction { ALLOW = 'Allow' , DENY = 'Deny' } schema export interface NwRuleSetIpRules { schema readonly action ? : NwRuleSetIpRulesAction ; schema readonly ipMask ? : string ; } schema export interface NwRuleSetVirtualNetworkRules { schema readonly ignoreMissingVnetServiceEndpoint ? : boolean ; schema readonly subnet ? : Subnet ; } export enum NamespacesAuthorizationRulesChildResourceApiVersion { "NamespacesAuthorizationRulesChildResourceApiVersion_2017_04_01" = '2017-04-01' } export enum NamespacesAuthorizationRulesChildResourceType { AUTHORIZATION_RULES = 'authorizationRules' } export enum NamespacesNetworkRuleSetsChildResourceApiVersion { "NamespacesNetworkRuleSetsChildResourceApiVersion_2017_04_01" = '2017-04-01' } export enum NamespacesNetworkRuleSetsChildResourceName { DEFAULT = 'default' } export enum NamespacesNetworkRuleSetsChildResourceType { NETWORK_RULE_SETS = 'networkRuleSets' } export enum NamespacesDisasterRecoveryConfigsChildResourceApiVersion { "NamespacesDisasterRecoveryConfigsChildResourceApiVersion_2017_04_01" = '2017-04-01' } export enum NamespacesDisasterRecoveryConfigsChildResourceType { DISASTER_RECOVERY_CONFIGS = 'disasterRecoveryConfigs' } export enum NamespacesEventhubsChildResourceApiVersion { "NamespacesEventhubsChildResourceApiVersion_2017_04_01" = '2017-04-01' } export enum NamespacesEventhubsChildResourceType { EVENTHUBS = 'eventhubs' } schema export interface Destination { schema readonly name ? : string ; schema readonly properties ? : DestinationProperties ; } export enum CaptureDescriptionEncoding { AVRO = 'Avro' , AVRO_DEFLATE = 'AvroDeflate' } export enum NamespacesEventhubsAuthorizationRulesChildResourceApiVersion { "NamespacesEventhubsAuthorizationRulesChildResourceApiVersion_2017_04_01" = '2017-04-01' } export enum NamespacesEventhubsAuthorizationRulesChildResourceType { AUTHORIZATION_RULES = 'authorizationRules' } export enum NamespacesEventhubsConsumergroupsChildResourceApiVersion { "NamespacesEventhubsConsumergroupsChildResourceApiVersion_2017_04_01" = '2017-04-01' } export enum NamespacesEventhubsConsumergroupsChildResourceType { CONSUMERGROUPS = 'consumergroups' } export enum NwRuleSetIpRulesAction { ALLOW = 'Allow' } schema export interface Subnet { schema readonly id : string ; } schema export interface DestinationProperties { schema readonly archiveNameFormat ? : string ; schema readonly blobContainer ? : string ; schema readonly storageAccountResourceId ? : string ; }