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 NamespacesNotificationHubs extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'namespaces_notificationHubs' , } ) ; } } schema export class NamespacesNotificationHubsAuthorizationRules extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'namespaces_notificationHubs_AuthorizationRules' , } ) ; } } schema export interface NamespacesOptions { schema readonly apiVersion ? : MicrosoftNotificationHubsNamespacesApiVersion ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : NamespaceProperties ; schema readonly resources ? : MicrosoftNotificationHubsNamespacesResources [ ] ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftNotificationHubsNamespacesTags ; schema readonly type : MicrosoftNotificationHubsNamespacesType ; } schema export interface NamespacesAuthorizationRulesOptions { schema readonly apiVersion ? : MicrosoftNotificationHubsNamespacesAuthorizationRulesApiVersion ; schema readonly name : string ; schema readonly properties : SharedAccessAuthorizationRuleProperties ; schema readonly type : MicrosoftNotificationHubsNamespacesAuthorizationRulesType ; } schema export interface NamespacesNotificationHubsOptions { schema readonly apiVersion ? : MicrosoftNotificationHubsNamespacesNotificationHubsApiVersion ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : NotificationHubProperties ; schema readonly resources ? : NamespacesNotificationHubsAuthorizationRulesChildResource [ ] ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftNotificationHubsNamespacesNotificationHubsTags ; schema readonly type : MicrosoftNotificationHubsNamespacesNotificationHubsType ; } schema export interface NamespacesNotificationHubsAuthorizationRulesOptions { schema readonly apiVersion ? : MicrosoftNotificationHubsNamespacesNotificationHubsAuthorizationRulesApiVersion ; schema readonly name : string ; schema readonly properties : SharedAccessAuthorizationRuleProperties ; schema readonly type : MicrosoftNotificationHubsNamespacesNotificationHubsAuthorizationRulesType ; } export enum MicrosoftNotificationHubsNamespacesApiVersion { "MicrosoftNotificationHubsNamespacesApiVersion_2017_04_01" = '2017-04-01' } schema export interface NamespaceProperties { schema readonly createdAt ? : Date ; schema readonly critical ? : boolean ; schema readonly dataCenter ? : string ; schema readonly enabled ? : boolean ; schema readonly name ? : string ; schema readonly namespaceType ? : NamespacePropertiesNamespaceType ; schema readonly provisioningState ? : string ; schema readonly region ? : string ; schema readonly scaleUnit ? : string ; schema readonly serviceBusEndpoint ? : string ; schema readonly status ? : string ; schema readonly subscriptionId ? : string ; schema readonly updatedAt ? : Date ; } schema export class MicrosoftNotificationHubsNamespacesResources { public static fromNamespacesAuthorizationRulesChildResource ( value ) { return new MicrosoftNotificationHubsNamespacesResources ( value ) ; } public static fromNamespacesNotificationHubsChildResource ( value ) { return new MicrosoftNotificationHubsNamespacesResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface Sku { schema readonly capacity ? : number ; schema readonly family ? : string ; schema readonly name : SkuName ; schema readonly size ? : string ; schema readonly tier ? : string ; } schema export interface MicrosoftNotificationHubsNamespacesTags { } export enum MicrosoftNotificationHubsNamespacesType { "MicrosoftNotificationHubsNamespacesType_MICROSOFT_NOTIFICATION_HUBS_NAMESPACES" = 'Microsoft.NotificationHubs/namespaces' } export enum MicrosoftNotificationHubsNamespacesAuthorizationRulesApiVersion { "MicrosoftNotificationHubsNamespacesAuthorizationRulesApiVersion_2017_04_01" = '2017-04-01' } schema export interface SharedAccessAuthorizationRuleProperties { schema readonly rights ? : SharedAccessAuthorizationRulePropertiesRights [ ] ; } export enum MicrosoftNotificationHubsNamespacesAuthorizationRulesType { "MicrosoftNotificationHubsNamespacesAuthorizationRulesType_MICROSOFT_NOTIFICATION_HUBS_NAMESPACES_AUTHORIZATION_RULES" = 'Microsoft.NotificationHubs/namespaces/AuthorizationRules' } export enum MicrosoftNotificationHubsNamespacesNotificationHubsApiVersion { "MicrosoftNotificationHubsNamespacesNotificationHubsApiVersion_2017_04_01" = '2017-04-01' } schema export interface NotificationHubProperties { schema readonly admCredential ? : AdmCredential ; schema readonly apnsCredential ? : ApnsCredential ; schema readonly authorizationRules ? : SharedAccessAuthorizationRuleProperties [ ] ; schema readonly baiduCredential ? : BaiduCredential ; schema readonly gcmCredential ? : GcmCredential ; schema readonly mpnsCredential ? : MpnsCredential ; schema readonly name ? : string ; schema readonly registrationTtl ? : string ; schema readonly wnsCredential ? : WnsCredential ; } schema export interface NamespacesNotificationHubsAuthorizationRulesChildResource { schema readonly apiVersion : NamespacesNotificationHubsAuthorizationRulesChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : SharedAccessAuthorizationRuleProperties ; schema readonly type : NamespacesNotificationHubsAuthorizationRulesChildResourceType ; } schema export interface MicrosoftNotificationHubsNamespacesNotificationHubsTags { } export enum MicrosoftNotificationHubsNamespacesNotificationHubsType { "MicrosoftNotificationHubsNamespacesNotificationHubsType_MICROSOFT_NOTIFICATION_HUBS_NAMESPACES_NOTIFICATION_HUBS" = 'Microsoft.NotificationHubs/namespaces/notificationHubs' } export enum MicrosoftNotificationHubsNamespacesNotificationHubsAuthorizationRulesApiVersion { "MicrosoftNotificationHubsNamespacesNotificationHubsAuthorizationRulesApiVersion_2017_04_01" = '2017-04-01' } export enum MicrosoftNotificationHubsNamespacesNotificationHubsAuthorizationRulesType { "MicrosoftNotificationHubsNamespacesNotificationHubsAuthorizationRulesType_MICROSOFT_NOTIFICATION_HUBS_NAMESPACES_NOTIFICATION_HUBS_AUTHORIZATION_RULES" = 'Microsoft.NotificationHubs/namespaces/notificationHubs/AuthorizationRules' } export enum NamespacePropertiesNamespaceType { MESSAGING = 'Messaging' , NOTIFICATION_HUB = 'NotificationHub' } schema export interface NamespacesAuthorizationRulesChildResource { schema readonly apiVersion : NamespacesAuthorizationRulesChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : SharedAccessAuthorizationRuleProperties ; schema readonly type : NamespacesAuthorizationRulesChildResourceType ; } schema export interface NamespacesNotificationHubsChildResource { schema readonly apiVersion : NamespacesNotificationHubsChildResourceApiVersion ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : NotificationHubProperties ; schema readonly sku ? : Sku ; schema readonly tags ? : NamespacesNotificationHubsChildResourceTags ; schema readonly type : NamespacesNotificationHubsChildResourceType ; } export enum SkuName { FREE = 'Free' , BASIC = 'Basic' , STANDARD = 'Standard' } export enum SharedAccessAuthorizationRulePropertiesRights { MANAGE = 'Manage' , SEND = 'Send' , LISTEN = 'Listen' } schema export interface AdmCredential { schema readonly properties ? : AdmCredentialProperties ; } schema export interface ApnsCredential { schema readonly properties ? : ApnsCredentialProperties ; } schema export interface BaiduCredential { schema readonly properties ? : BaiduCredentialProperties ; } schema export interface GcmCredential { schema readonly properties ? : GcmCredentialProperties ; } schema export interface MpnsCredential { schema readonly properties ? : MpnsCredentialProperties ; } schema export interface WnsCredential { schema readonly properties ? : WnsCredentialProperties ; } export enum NamespacesNotificationHubsAuthorizationRulesChildResourceApiVersion { "NamespacesNotificationHubsAuthorizationRulesChildResourceApiVersion_2017_04_01" = '2017-04-01' } export enum NamespacesNotificationHubsAuthorizationRulesChildResourceType { AUTHORIZATION_RULES = 'AuthorizationRules' } export enum NamespacesAuthorizationRulesChildResourceApiVersion { "NamespacesAuthorizationRulesChildResourceApiVersion_2017_04_01" = '2017-04-01' } export enum NamespacesAuthorizationRulesChildResourceType { AUTHORIZATION_RULES = 'AuthorizationRules' } export enum NamespacesNotificationHubsChildResourceApiVersion { "NamespacesNotificationHubsChildResourceApiVersion_2017_04_01" = '2017-04-01' } schema export interface NamespacesNotificationHubsChildResourceTags { } export enum NamespacesNotificationHubsChildResourceType { NOTIFICATION_HUBS = 'notificationHubs' } schema export interface AdmCredentialProperties { schema readonly authTokenUrl ? : string ; schema readonly clientId ? : string ; schema readonly clientSecret ? : string ; } schema export interface ApnsCredentialProperties { schema readonly apnsCertificate ? : string ; schema readonly appId ? : string ; schema readonly appName ? : string ; schema readonly certificateKey ? : string ; schema readonly endpoint ? : string ; schema readonly keyId ? : string ; schema readonly thumbprint ? : string ; schema readonly token ? : string ; } schema export interface BaiduCredentialProperties { schema readonly baiduApiKey ? : string ; schema readonly baiduEndPoint ? : string ; schema readonly baiduSecretKey ? : string ; } schema export interface GcmCredentialProperties { schema readonly gcmEndpoint ? : string ; schema readonly googleApiKey ? : string ; } schema export interface MpnsCredentialProperties { schema readonly certificateKey ? : string ; schema readonly mpnsCertificate ? : string ; schema readonly thumbprint ? : string ; } schema export interface WnsCredentialProperties { schema readonly packageSid ? : string ; schema readonly secretKey ? : string ; schema readonly windowsLiveEndpoint ? : string ; }