import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class OpenShiftClusters extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'openShiftClusters' , } ) ; } } schema export interface OpenShiftClustersOptions { schema readonly apiVersion ? : MicrosoftRedHatOpenShiftOpenShiftClustersApiVersion ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : OpenShiftClusterProperties ; schema readonly tags ? : MicrosoftRedHatOpenShiftOpenShiftClustersTags ; schema readonly type : MicrosoftRedHatOpenShiftOpenShiftClustersType ; } export enum MicrosoftRedHatOpenShiftOpenShiftClustersApiVersion { "MicrosoftRedHatOpenShiftOpenShiftClustersApiVersion_2020_04_30" = '2020-04-30' } schema export interface OpenShiftClusterProperties { schema readonly apiserverProfile ? : ApiServerProfile ; schema readonly clusterProfile ? : ClusterProfile ; schema readonly consoleProfile ? : ConsoleProfile ; schema readonly ingressProfiles ? : IngressProfile [ ] ; schema readonly masterProfile ? : MasterProfile ; schema readonly networkProfile ? : NetworkProfile ; schema readonly provisioningState ? : OpenShiftClusterPropertiesProvisioningState ; schema readonly servicePrincipalProfile ? : ServicePrincipalProfile ; schema readonly workerProfiles ? : WorkerProfile [ ] ; } schema export interface MicrosoftRedHatOpenShiftOpenShiftClustersTags { } export enum MicrosoftRedHatOpenShiftOpenShiftClustersType { "MicrosoftRedHatOpenShiftOpenShiftClustersType_MICROSOFT_RED_HAT_OPEN_SHIFT_OPEN_SHIFT_CLUSTERS" = 'Microsoft.RedHatOpenShift/openShiftClusters' } schema export interface ApiServerProfile { schema readonly ip ? : string ; schema readonly url ? : string ; schema readonly visibility ? : ApiServerProfileVisibility ; } schema export interface ClusterProfile { schema readonly domain ? : string ; schema readonly pullSecret ? : string ; schema readonly resourceGroupId ? : string ; schema readonly version ? : string ; } schema export interface ConsoleProfile { schema readonly url ? : string ; } schema export interface IngressProfile { schema readonly ip ? : string ; schema readonly name ? : string ; schema readonly visibility ? : IngressProfileVisibility ; } schema export interface MasterProfile { schema readonly subnetId ? : string ; schema readonly vmSize ? : MasterProfileVmSize ; } schema export interface NetworkProfile { schema readonly podCidr ? : string ; schema readonly serviceCidr ? : string ; } export enum OpenShiftClusterPropertiesProvisioningState { ADMIN_UPDATING = 'AdminUpdating' , CREATING = 'Creating' , DELETING = 'Deleting' , FAILED = 'Failed' , SUCCEEDED = 'Succeeded' , UPDATING = 'Updating' } schema export interface ServicePrincipalProfile { schema readonly clientId ? : string ; schema readonly clientSecret ? : string ; } schema export interface WorkerProfile { schema readonly count ? : number ; schema readonly diskSizeGB ? : number ; schema readonly name ? : string ; schema readonly subnetId ? : string ; schema readonly vmSize ? : WorkerProfileVmSize ; } export enum ApiServerProfileVisibility { PRIVATE = 'Private' , PUBLIC = 'Public' } export enum IngressProfileVisibility { PRIVATE = 'Private' , PUBLIC = 'Public' } export enum MasterProfileVmSize { "MasterProfileVmSize_STANDARD_D2S_V3" = 'Standard_D2s_v3' , "MasterProfileVmSize_STANDARD_D4S_V3" = 'Standard_D4s_v3' , "MasterProfileVmSize_STANDARD_D8S_V3" = 'Standard_D8s_v3' } export enum WorkerProfileVmSize { "WorkerProfileVmSize_STANDARD_D2S_V3" = 'Standard_D2s_v3' , "WorkerProfileVmSize_STANDARD_D4S_V3" = 'Standard_D4s_v3' , "WorkerProfileVmSize_STANDARD_D8S_V3" = 'Standard_D8s_v3' }