import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class RedisEnterprise extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'redisEnterprise' , } ) ; } } schema export class RedisEnterpriseDatabases extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'redisEnterprise_databases' , } ) ; } } schema export class RedisEnterprisePrivateEndpointConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'redisEnterprise_privateEndpointConnections' , } ) ; } } schema export interface RedisEnterpriseOptions { schema readonly apiVersion ? : MicrosoftCacheRedisEnterpriseApiVersion ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : ClusterProperties ; schema readonly resources ? : MicrosoftCacheRedisEnterpriseResources [ ] ; schema readonly sku : Sku ; schema readonly tags ? : MicrosoftCacheRedisEnterpriseTags ; schema readonly type : MicrosoftCacheRedisEnterpriseType ; schema readonly zones ? : string [ ] ; } schema export interface RedisEnterpriseDatabasesOptions { schema readonly apiVersion ? : MicrosoftCacheRedisEnterpriseDatabasesApiVersion ; schema readonly name : string ; schema readonly properties : DatabaseProperties ; schema readonly type : MicrosoftCacheRedisEnterpriseDatabasesType ; } schema export interface RedisEnterprisePrivateEndpointConnectionsOptions { schema readonly apiVersion ? : MicrosoftCacheRedisEnterprisePrivateEndpointConnectionsApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : MicrosoftCacheRedisEnterprisePrivateEndpointConnectionsType ; } export enum MicrosoftCacheRedisEnterpriseApiVersion { "MicrosoftCacheRedisEnterpriseApiVersion_2021_03_01" = '2021-03-01' } schema export interface ClusterProperties { schema readonly minimumTlsVersion ? : ClusterPropertiesMinimumTlsVersion ; } schema export class MicrosoftCacheRedisEnterpriseResources { public static fromRedisEnterpriseDatabasesChildResource ( value ) { return new MicrosoftCacheRedisEnterpriseResources ( value ) ; } public static fromRedisEnterprisePrivateEndpointConnectionsChildResource ( value ) { return new MicrosoftCacheRedisEnterpriseResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface Sku { default schema readonly capacity ? : number ; schema readonly name : SkuName ; } schema export interface MicrosoftCacheRedisEnterpriseTags { } export enum MicrosoftCacheRedisEnterpriseType { "MicrosoftCacheRedisEnterpriseType_MICROSOFT_CACHE_REDIS_ENTERPRISE" = 'Microsoft.Cache/redisEnterprise' } export enum MicrosoftCacheRedisEnterpriseDatabasesApiVersion { "MicrosoftCacheRedisEnterpriseDatabasesApiVersion_2021_03_01" = '2021-03-01' } schema export interface DatabaseProperties { default schema readonly clientProtocol ? : DatabasePropertiesClientProtocol ; schema readonly clusteringPolicy ? : DatabasePropertiesClusteringPolicy ; schema readonly evictionPolicy ? : DatabasePropertiesEvictionPolicy ; schema readonly modules ? : Module [ ] ; schema readonly persistence ? : Persistence ; default schema readonly port ? : number ; } export enum MicrosoftCacheRedisEnterpriseDatabasesType { "MicrosoftCacheRedisEnterpriseDatabasesType_MICROSOFT_CACHE_REDIS_ENTERPRISE_DATABASES" = 'Microsoft.Cache/redisEnterprise/databases' } export enum MicrosoftCacheRedisEnterprisePrivateEndpointConnectionsApiVersion { "MicrosoftCacheRedisEnterprisePrivateEndpointConnectionsApiVersion_2021_03_01" = '2021-03-01' } schema export interface PrivateEndpointConnectionProperties { schema readonly privateEndpoint ? : PrivateEndpoint ; schema readonly privateLinkServiceConnectionState : PrivateLinkServiceConnectionState ; schema readonly provisioningState ? : PrivateEndpointConnectionPropertiesProvisioningState ; } export enum MicrosoftCacheRedisEnterprisePrivateEndpointConnectionsType { "MicrosoftCacheRedisEnterprisePrivateEndpointConnectionsType_MICROSOFT_CACHE_REDIS_ENTERPRISE_PRIVATE_ENDPOINT_CONNECTIONS" = 'Microsoft.Cache/redisEnterprise/privateEndpointConnections' } export enum ClusterPropertiesMinimumTlsVersion { "ClusterPropertiesMinimumTlsVersion_1_0" = '1.0' , "ClusterPropertiesMinimumTlsVersion_1_1" = '1.1' , "ClusterPropertiesMinimumTlsVersion_1_2" = '1.2' } schema export interface RedisEnterpriseDatabasesChildResource { schema readonly apiVersion : RedisEnterpriseDatabasesChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : DatabaseProperties ; schema readonly type : RedisEnterpriseDatabasesChildResourceType ; } schema export interface RedisEnterprisePrivateEndpointConnectionsChildResource { schema readonly apiVersion : RedisEnterprisePrivateEndpointConnectionsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : RedisEnterprisePrivateEndpointConnectionsChildResourceType ; } export enum SkuName { "SkuName_ENTERPRISE_E10" = 'Enterprise_E10' , "SkuName_ENTERPRISE_E20" = 'Enterprise_E20' , "SkuName_ENTERPRISE_E50" = 'Enterprise_E50' , "SkuName_ENTERPRISE_E100" = 'Enterprise_E100' , "SkuName_ENTERPRISE_FLASH_F300" = 'EnterpriseFlash_F300' , "SkuName_ENTERPRISE_FLASH_F700" = 'EnterpriseFlash_F700' , "SkuName_ENTERPRISE_FLASH_F1500" = 'EnterpriseFlash_F1500' } export enum DatabasePropertiesClientProtocol { ENCRYPTED = 'Encrypted' , PLAINTEXT = 'Plaintext' } export enum DatabasePropertiesClusteringPolicy { ENTERPRISE_CLUSTER = 'EnterpriseCluster' , OSS_CLUSTER = 'OSSCluster' } export enum DatabasePropertiesEvictionPolicy { ALL_KEYS_LFU = 'AllKeysLFU' , ALL_KEYS_LRU = 'AllKeysLRU' , ALL_KEYS_RANDOM = 'AllKeysRandom' , VOLATILE_LRU = 'VolatileLRU' , VOLATILE_LFU = 'VolatileLFU' , VOLATILE_TTL = 'VolatileTTL' , VOLATILE_RANDOM = 'VolatileRandom' , NO_EVICTION = 'NoEviction' } schema export interface Module { schema readonly args ? : string ; schema readonly name : string ; } schema export interface Persistence { schema readonly aofEnabled ? : boolean ; schema readonly aofFrequency ? : PersistenceAofFrequency ; schema readonly rdbEnabled ? : boolean ; schema readonly rdbFrequency ? : PersistenceRdbFrequency ; } schema export interface PrivateEndpoint { } schema export interface PrivateLinkServiceConnectionState { schema readonly actionsRequired ? : string ; schema readonly description ? : string ; schema readonly status ? : PrivateLinkServiceConnectionStateStatus ; } export enum PrivateEndpointConnectionPropertiesProvisioningState { SUCCEEDED = 'Succeeded' , CREATING = 'Creating' , DELETING = 'Deleting' , FAILED = 'Failed' } export enum RedisEnterpriseDatabasesChildResourceApiVersion { "RedisEnterpriseDatabasesChildResourceApiVersion_2021_03_01" = '2021-03-01' } export enum RedisEnterpriseDatabasesChildResourceType { DATABASES = 'databases' } export enum RedisEnterprisePrivateEndpointConnectionsChildResourceApiVersion { "RedisEnterprisePrivateEndpointConnectionsChildResourceApiVersion_2021_03_01" = '2021-03-01' } export enum RedisEnterprisePrivateEndpointConnectionsChildResourceType { PRIVATE_ENDPOINT_CONNECTIONS = 'privateEndpointConnections' } export enum PersistenceAofFrequency { "PersistenceAofFrequency_1S" = '1s' , ALWAYS = 'always' } export enum PersistenceRdbFrequency { "PersistenceRdbFrequency_1H" = '1h' , "PersistenceRdbFrequency_6H" = '6h' , "PersistenceRdbFrequency_12H" = '12h' } export enum PrivateLinkServiceConnectionStateStatus { PENDING = 'Pending' , APPROVED = 'Approved' , REJECTED = 'Rejected' }