import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Domains extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'domains' , } ) ; } } schema export class DomainsDomainOwnershipIdentifiers extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'domains_domainOwnershipIdentifiers' , } ) ; } } schema export interface DomainsOptions { schema readonly type : MicrosoftDomainRegistrationDomainsType ; schema readonly apiVersion ? : MicrosoftDomainRegistrationDomainsApiVersion ; schema readonly properties : DomainProperties ; schema readonly resources ? : DomainsDomainOwnershipIdentifiersChildResource [ ] ; } schema export interface DomainsDomainOwnershipIdentifiersOptions { schema readonly type : MicrosoftDomainRegistrationDomainsDomainOwnershipIdentifiersType ; schema readonly apiVersion ? : MicrosoftDomainRegistrationDomainsDomainOwnershipIdentifiersApiVersion ; schema readonly properties : DomainOwnershipIdentifierProperties ; } export enum MicrosoftDomainRegistrationDomainsType { "MicrosoftDomainRegistrationDomainsType_MICROSOFT_DOMAIN_REGISTRATION_DOMAINS" = 'Microsoft.DomainRegistration/domains' } export enum MicrosoftDomainRegistrationDomainsApiVersion { "MicrosoftDomainRegistrationDomainsApiVersion_2015_04_01" = '2015-04-01' } schema export interface DomainProperties { schema readonly contactAdmin ? : Contact ; schema readonly contactBilling ? : Contact ; schema readonly contactRegistrant ? : Contact ; schema readonly contactTech ? : Contact ; schema readonly nameServers ? : string [ ] ; schema readonly privacy ? : boolean ; schema readonly autoRenew ? : boolean ; schema readonly managedHostNames ? : HostName [ ] ; schema readonly consent ? : DomainPurchaseConsent ; schema readonly domainNotRenewableReasons ? : DomainPropertiesDomainNotRenewableReasons [ ] ; } schema export interface DomainsDomainOwnershipIdentifiersChildResource { schema readonly type : DomainsDomainOwnershipIdentifiersChildResourceType ; schema readonly apiVersion : DomainsDomainOwnershipIdentifiersChildResourceApiVersion ; schema readonly properties : DomainOwnershipIdentifierProperties ; } export enum MicrosoftDomainRegistrationDomainsDomainOwnershipIdentifiersType { "MicrosoftDomainRegistrationDomainsDomainOwnershipIdentifiersType_MICROSOFT_DOMAIN_REGISTRATION_DOMAINS_DOMAIN_OWNERSHIP_IDENTIFIERS" = 'Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers' } export enum MicrosoftDomainRegistrationDomainsDomainOwnershipIdentifiersApiVersion { "MicrosoftDomainRegistrationDomainsDomainOwnershipIdentifiersApiVersion_2015_04_01" = '2015-04-01' } schema export interface DomainOwnershipIdentifierProperties { schema readonly ownershipId ? : string ; } schema export interface Contact { schema readonly addressMailing ? : Address ; schema readonly email : string ; schema readonly fax ? : string ; schema readonly jobTitle ? : string ; schema readonly nameFirst : string ; schema readonly nameLast : string ; schema readonly nameMiddle ? : string ; schema readonly organization ? : string ; schema readonly phone : string ; } schema export interface HostName { schema readonly name ? : string ; schema readonly siteNames ? : string [ ] ; schema readonly azureResourceName ? : string ; schema readonly azureResourceType ? : HostNameAzureResourceType ; schema readonly customHostNameDnsRecordType ? : HostNameCustomHostNameDnsRecordType ; schema readonly hostNameType ? : HostNameHostNameType ; } schema export interface DomainPurchaseConsent { schema readonly agreementKeys ? : string [ ] ; schema readonly agreedBy ? : string ; schema readonly agreedAt ? : Date ; } export enum DomainPropertiesDomainNotRenewableReasons { REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = 'RegistrationStatusNotSupportedForRenewal' , EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = 'ExpirationNotInRenewalTimeRange' , SUBSCRIPTION_NOT_ACTIVE = 'SubscriptionNotActive' } export enum DomainsDomainOwnershipIdentifiersChildResourceType { DOMAIN_OWNERSHIP_IDENTIFIERS = 'domainOwnershipIdentifiers' } export enum DomainsDomainOwnershipIdentifiersChildResourceApiVersion { "DomainsDomainOwnershipIdentifiersChildResourceApiVersion_2015_04_01" = '2015-04-01' } schema export interface Address { schema readonly address1 : string ; schema readonly address2 ? : string ; schema readonly city : string ; schema readonly country : string ; schema readonly postalCode : string ; schema readonly state : string ; } export enum HostNameAzureResourceType { WEBSITE = 'Website' , TRAFFIC_MANAGER = 'TrafficManager' } export enum HostNameCustomHostNameDnsRecordType { C_NAME = 'CName' , A = 'A' } export enum HostNameHostNameType { VERIFIED = 'Verified' , MANAGED = 'Managed' }