import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class CertificateOrders extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'certificateOrders' , } ) ; } } schema export class CertificateOrdersCertificates extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'certificateOrders_certificates' , } ) ; } } schema export interface CertificateOrdersOptions { schema readonly type : MicrosoftCertificateRegistrationCertificateOrdersType ; schema readonly apiVersion ? : MicrosoftCertificateRegistrationCertificateOrdersApiVersion ; schema readonly properties : CertificateOrderProperties ; schema readonly resources ? : CertificateOrdersCertificatesChildResource [ ] ; } schema export interface CertificateOrdersCertificatesOptions { schema readonly type : MicrosoftCertificateRegistrationCertificateOrdersCertificatesType ; schema readonly apiVersion ? : MicrosoftCertificateRegistrationCertificateOrdersCertificatesApiVersion ; schema readonly properties : CertificateOrderCertificateProperties ; } export enum MicrosoftCertificateRegistrationCertificateOrdersType { "MicrosoftCertificateRegistrationCertificateOrdersType_MICROSOFT_CERTIFICATE_REGISTRATION_CERTIFICATE_ORDERS" = 'Microsoft.CertificateRegistration/certificateOrders' } export enum MicrosoftCertificateRegistrationCertificateOrdersApiVersion { "MicrosoftCertificateRegistrationCertificateOrdersApiVersion_2015_08_01" = '2015-08-01' } schema export interface CertificateOrderProperties { schema readonly certificates ? : { [ key ] : CertificateOrderCertificate ; } ; schema readonly distinguishedName ? : string ; schema readonly domainVerificationToken ? : string ; schema readonly validityInYears ? : number ; schema readonly keySize ? : number ; schema readonly productType ? : CertificateOrderPropertiesProductType ; schema readonly autoRenew ? : boolean ; schema readonly provisioningState ? : CertificateOrderPropertiesProvisioningState ; schema readonly status ? : CertificateOrderPropertiesStatus ; schema readonly signedCertificate ? : CertificateDetails ; schema readonly csr ? : string ; schema readonly intermediate ? : CertificateDetails ; schema readonly root ? : CertificateDetails ; schema readonly serialNumber ? : string ; schema readonly lastCertificateIssuanceTime ? : Date ; schema readonly expirationTime ? : Date ; } schema export interface CertificateOrdersCertificatesChildResource { schema readonly type : CertificateOrdersCertificatesChildResourceType ; schema readonly apiVersion : CertificateOrdersCertificatesChildResourceApiVersion ; schema readonly properties : CertificateOrderCertificateProperties ; } export enum MicrosoftCertificateRegistrationCertificateOrdersCertificatesType { "MicrosoftCertificateRegistrationCertificateOrdersCertificatesType_MICROSOFT_CERTIFICATE_REGISTRATION_CERTIFICATE_ORDERS_CERTIFICATES" = 'Microsoft.CertificateRegistration/certificateOrders/certificates' } export enum MicrosoftCertificateRegistrationCertificateOrdersCertificatesApiVersion { "MicrosoftCertificateRegistrationCertificateOrdersCertificatesApiVersion_2015_08_01" = '2015-08-01' } schema export interface CertificateOrderCertificateProperties { schema readonly keyVaultId ? : string ; schema readonly keyVaultSecretName ? : string ; schema readonly provisioningState ? : CertificateOrderCertificatePropertiesProvisioningState ; } schema export interface CertificateOrderCertificate { schema readonly id ? : string ; schema readonly name ? : string ; schema readonly kind ? : string ; schema readonly location : string ; schema readonly type ? : string ; schema readonly tags ? : { [ key ] : string ; } ; schema readonly properties ? : CertificateOrderCertificateProperties ; } export enum CertificateOrderPropertiesProductType { STANDARD_DOMAIN_VALIDATED_SSL = 'StandardDomainValidatedSsl' , STANDARD_DOMAIN_VALIDATED_WILD_CARD_SSL = 'StandardDomainValidatedWildCardSsl' } export enum CertificateOrderPropertiesProvisioningState { SUCCEEDED = 'Succeeded' , FAILED = 'Failed' , CANCELED = 'Canceled' , IN_PROGRESS = 'InProgress' , DELETING = 'Deleting' } export enum CertificateOrderPropertiesStatus { PENDINGISSUANCE = 'Pendingissuance' , ISSUED = 'Issued' , REVOKED = 'Revoked' , CANCELED = 'Canceled' , DENIED = 'Denied' , PENDINGREVOCATION = 'Pendingrevocation' , PENDING_REKEY = 'PendingRekey' , UNUSED = 'Unused' , EXPIRED = 'Expired' , NOT_SUBMITTED = 'NotSubmitted' } schema export interface CertificateDetails { schema readonly id ? : string ; schema readonly name ? : string ; schema readonly kind ? : string ; schema readonly location : string ; schema readonly type ? : string ; schema readonly tags ? : { [ key ] : string ; } ; schema readonly properties ? : CertificateDetailsProperties ; } export enum CertificateOrdersCertificatesChildResourceType { CERTIFICATES = 'certificates' } export enum CertificateOrdersCertificatesChildResourceApiVersion { "CertificateOrdersCertificatesChildResourceApiVersion_2015_08_01" = '2015-08-01' } export enum CertificateOrderCertificatePropertiesProvisioningState { INITIALIZED = 'Initialized' , WAITING_ON_CERTIFICATE_ORDER = 'WaitingOnCertificateOrder' , SUCCEEDED = 'Succeeded' , CERTIFICATE_ORDER_FAILED = 'CertificateOrderFailed' , OPERATION_NOT_PERMITTED_ON_KEY_VAULT = 'OperationNotPermittedOnKeyVault' , AZURE_SERVICE_UNAUTHORIZED_TO_ACCESS_KEY_VAULT = 'AzureServiceUnauthorizedToAccessKeyVault' , KEY_VAULT_DOES_NOT_EXIST = 'KeyVaultDoesNotExist' , KEY_VAULT_SECRET_DOES_NOT_EXIST = 'KeyVaultSecretDoesNotExist' , UNKNOWN_ERROR = 'UnknownError' , UNKNOWN = 'Unknown' } schema export interface CertificateDetailsProperties { schema readonly version ? : number ; schema readonly serialNumber ? : string ; schema readonly thumbprint ? : string ; schema readonly subject ? : string ; schema readonly notBefore ? : Date ; schema readonly notAfter ? : Date ; schema readonly signatureAlgorithm ? : string ; schema readonly issuer ? : string ; schema readonly rawData ? : string ; }