import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Servers extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'servers' , } ) ; } } schema export class ServersConfigurations extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'servers_configurations' , } ) ; } } schema export class ServersDatabases extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'servers_databases' , } ) ; } } schema export class ServersFirewallRules extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'servers_firewallRules' , } ) ; } } schema export class ServersPrivateEndpointConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'servers_privateEndpointConnections' , } ) ; } } schema export class ServersSecurityAlertPolicies extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'servers_securityAlertPolicies' , } ) ; } } schema export class ServersVirtualNetworkRules extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'servers_virtualNetworkRules' , } ) ; } } schema export interface ServersOptions { schema readonly apiVersion ? : MicrosoftDbForMariaDbServersApiVersion ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : ServerPropertiesForCreate ; schema readonly resources ? : MicrosoftDbForMariaDbServersResources [ ] ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftDbForMariaDbServersTags ; schema readonly type : MicrosoftDbForMariaDbServersType ; } schema export interface ServersConfigurationsOptions { schema readonly apiVersion ? : MicrosoftDbForMariaDbServersConfigurationsApiVersion ; schema readonly name : string ; schema readonly properties : ConfigurationProperties ; schema readonly type : MicrosoftDbForMariaDbServersConfigurationsType ; } schema export interface ServersDatabasesOptions { schema readonly apiVersion ? : MicrosoftDbForMariaDbServersDatabasesApiVersion ; schema readonly name : string ; schema readonly properties : DatabaseProperties ; schema readonly type : MicrosoftDbForMariaDbServersDatabasesType ; } schema export interface ServersFirewallRulesOptions { schema readonly apiVersion ? : MicrosoftDbForMariaDbServersFirewallRulesApiVersion ; schema readonly name : string ; schema readonly properties : FirewallRuleProperties ; schema readonly type : MicrosoftDbForMariaDbServersFirewallRulesType ; } schema export interface ServersPrivateEndpointConnectionsOptions { schema readonly apiVersion ? : MicrosoftDbForMariaDbServersPrivateEndpointConnectionsApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : MicrosoftDbForMariaDbServersPrivateEndpointConnectionsType ; } schema export interface ServersSecurityAlertPoliciesOptions { schema readonly apiVersion ? : MicrosoftDbForMariaDbServersSecurityAlertPoliciesApiVersion ; schema readonly name : MicrosoftDbForMariaDbServersSecurityAlertPoliciesNamePattern ; schema readonly properties : SecurityAlertPolicyProperties ; schema readonly type : MicrosoftDbForMariaDbServersSecurityAlertPoliciesType ; } schema export interface ServersVirtualNetworkRulesOptions { schema readonly apiVersion ? : MicrosoftDbForMariaDbServersVirtualNetworkRulesApiVersion ; schema readonly name : string ; schema readonly properties : VirtualNetworkRuleProperties ; schema readonly type : MicrosoftDbForMariaDbServersVirtualNetworkRulesType ; } export enum MicrosoftDbForMariaDbServersApiVersion { "MicrosoftDbForMariaDbServersApiVersion_2018_06_01" = '2018-06-01' } schema export class ServerPropertiesForCreate { public static fromServerPropertiesForDefaultCreate ( value ) { return new ServerPropertiesForCreate ( value ) ; } public static fromServerPropertiesForRestore ( value ) { return new ServerPropertiesForCreate ( value ) ; } public static fromServerPropertiesForGeoRestore ( value ) { return new ServerPropertiesForCreate ( value ) ; } public static fromServerPropertiesForReplica ( value ) { return new ServerPropertiesForCreate ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export class MicrosoftDbForMariaDbServersResources { public static fromServersFirewallRulesChildResource ( value ) { return new MicrosoftDbForMariaDbServersResources ( value ) ; } public static fromServersVirtualNetworkRulesChildResource ( value ) { return new MicrosoftDbForMariaDbServersResources ( value ) ; } public static fromServersDatabasesChildResource ( value ) { return new MicrosoftDbForMariaDbServersResources ( value ) ; } public static fromServersConfigurationsChildResource ( value ) { return new MicrosoftDbForMariaDbServersResources ( value ) ; } public static fromServersPrivateEndpointConnectionsChildResource ( value ) { return new MicrosoftDbForMariaDbServersResources ( value ) ; } public static fromServersSecurityAlertPoliciesChildResource ( value ) { return new MicrosoftDbForMariaDbServersResources ( 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 : string ; schema readonly size ? : string ; schema readonly tier ? : SkuTier ; } schema export interface MicrosoftDbForMariaDbServersTags { } export enum MicrosoftDbForMariaDbServersType { "MicrosoftDbForMariaDbServersType_MICROSOFT_DB_FOR_MARIA_DB_SERVERS" = 'Microsoft.DBForMariaDB/servers' } export enum MicrosoftDbForMariaDbServersConfigurationsApiVersion { "MicrosoftDbForMariaDbServersConfigurationsApiVersion_2018_06_01" = '2018-06-01' } schema export interface ConfigurationProperties { schema readonly source ? : string ; schema readonly value ? : string ; } export enum MicrosoftDbForMariaDbServersConfigurationsType { "MicrosoftDbForMariaDbServersConfigurationsType_MICROSOFT_DB_FOR_MARIA_DB_SERVERS_CONFIGURATIONS" = 'Microsoft.DBForMariaDB/servers/configurations' } export enum MicrosoftDbForMariaDbServersDatabasesApiVersion { "MicrosoftDbForMariaDbServersDatabasesApiVersion_2018_06_01" = '2018-06-01' } schema export interface DatabaseProperties { schema readonly charset ? : string ; schema readonly collation ? : string ; } export enum MicrosoftDbForMariaDbServersDatabasesType { "MicrosoftDbForMariaDbServersDatabasesType_MICROSOFT_DB_FOR_MARIA_DB_SERVERS_DATABASES" = 'Microsoft.DBForMariaDB/servers/databases' } export enum MicrosoftDbForMariaDbServersFirewallRulesApiVersion { "MicrosoftDbForMariaDbServersFirewallRulesApiVersion_2018_06_01" = '2018-06-01' } schema export interface FirewallRuleProperties { schema readonly endIpAddress : FirewallRulePropertiesEndIpAddressPattern ; schema readonly startIpAddress : FirewallRulePropertiesStartIpAddressPattern ; } export enum MicrosoftDbForMariaDbServersFirewallRulesType { "MicrosoftDbForMariaDbServersFirewallRulesType_MICROSOFT_DB_FOR_MARIA_DB_SERVERS_FIREWALL_RULES" = 'Microsoft.DBForMariaDB/servers/firewallRules' } export enum MicrosoftDbForMariaDbServersPrivateEndpointConnectionsApiVersion { "MicrosoftDbForMariaDbServersPrivateEndpointConnectionsApiVersion_2018_06_01" = '2018-06-01' } schema export interface PrivateEndpointConnectionProperties { schema readonly privateEndpoint ? : PrivateEndpointProperty ; schema readonly privateLinkServiceConnectionState ? : PrivateLinkServiceConnectionStateProperty ; } export enum MicrosoftDbForMariaDbServersPrivateEndpointConnectionsType { "MicrosoftDbForMariaDbServersPrivateEndpointConnectionsType_MICROSOFT_D_BFOR_MARIA_DB_SERVERS_PRIVATE_ENDPOINT_CONNECTIONS" = 'Microsoft.DBforMariaDB/servers/privateEndpointConnections' } export enum MicrosoftDbForMariaDbServersSecurityAlertPoliciesApiVersion { "MicrosoftDbForMariaDbServersSecurityAlertPoliciesApiVersion_2018_06_01" = '2018-06-01' } schema export class MicrosoftDbForMariaDbServersSecurityAlertPoliciesNamePattern { public static pattern ( value ) { return value ; } } schema export interface SecurityAlertPolicyProperties { schema readonly disabledAlerts ? : string [ ] ; schema readonly emailAccountAdmins ? : boolean ; schema readonly emailAddresses ? : string [ ] ; schema readonly retentionDays ? : number ; schema readonly state : SecurityAlertPolicyPropertiesState ; schema readonly storageAccountAccessKey ? : string ; schema readonly storageEndpoint ? : string ; } export enum MicrosoftDbForMariaDbServersSecurityAlertPoliciesType { "MicrosoftDbForMariaDbServersSecurityAlertPoliciesType_MICROSOFT_D_BFOR_MARIA_DB_SERVERS_SECURITY_ALERT_POLICIES" = 'Microsoft.DBforMariaDB/servers/securityAlertPolicies' } export enum MicrosoftDbForMariaDbServersVirtualNetworkRulesApiVersion { "MicrosoftDbForMariaDbServersVirtualNetworkRulesApiVersion_2018_06_01" = '2018-06-01' } schema export interface VirtualNetworkRuleProperties { schema readonly ignoreMissingVnetServiceEndpoint ? : boolean ; schema readonly virtualNetworkSubnetId : string ; } export enum MicrosoftDbForMariaDbServersVirtualNetworkRulesType { "MicrosoftDbForMariaDbServersVirtualNetworkRulesType_MICROSOFT_DB_FOR_MARIA_DB_SERVERS_VIRTUAL_NETWORK_RULES" = 'Microsoft.DBForMariaDB/servers/virtualNetworkRules' } schema export interface ServerPropertiesForDefaultCreate { schema readonly administratorLogin : string ; schema readonly administratorLoginPassword : string ; schema readonly createMode : ServerPropertiesForDefaultCreateCreateMode ; } schema export interface ServerPropertiesForRestore { schema readonly createMode : ServerPropertiesForRestoreCreateMode ; schema readonly restorePointInTime : Date ; schema readonly sourceServerId : string ; } schema export interface ServerPropertiesForGeoRestore { schema readonly createMode : ServerPropertiesForGeoRestoreCreateMode ; schema readonly sourceServerId : string ; } schema export interface ServerPropertiesForReplica { schema readonly createMode : ServerPropertiesForReplicaCreateMode ; schema readonly sourceServerId : string ; } schema export interface ServersFirewallRulesChildResource { schema readonly apiVersion : ServersFirewallRulesChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : FirewallRuleProperties ; schema readonly type : ServersFirewallRulesChildResourceType ; } schema export interface ServersVirtualNetworkRulesChildResource { schema readonly apiVersion : ServersVirtualNetworkRulesChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : VirtualNetworkRuleProperties ; schema readonly type : ServersVirtualNetworkRulesChildResourceType ; } schema export interface ServersDatabasesChildResource { schema readonly apiVersion : ServersDatabasesChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : DatabaseProperties ; schema readonly type : ServersDatabasesChildResourceType ; } schema export interface ServersConfigurationsChildResource { schema readonly apiVersion : ServersConfigurationsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : ConfigurationProperties ; schema readonly type : ServersConfigurationsChildResourceType ; } schema export interface ServersPrivateEndpointConnectionsChildResource { schema readonly apiVersion : ServersPrivateEndpointConnectionsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : ServersPrivateEndpointConnectionsChildResourceType ; } schema export interface ServersSecurityAlertPoliciesChildResource { schema readonly apiVersion : ServersSecurityAlertPoliciesChildResourceApiVersion ; schema readonly name : ServersSecurityAlertPoliciesChildResourceName ; schema readonly properties : SecurityAlertPolicyProperties ; schema readonly type : ServersSecurityAlertPoliciesChildResourceType ; } export enum SkuTier { BASIC = 'Basic' , GENERAL_PURPOSE = 'GeneralPurpose' , MEMORY_OPTIMIZED = 'MemoryOptimized' } schema export class FirewallRulePropertiesEndIpAddressPattern { public static pattern ( value ) { return value ; } } schema export class FirewallRulePropertiesStartIpAddressPattern { public static pattern ( value ) { return value ; } } schema export interface PrivateEndpointProperty { schema readonly id ? : string ; } schema export interface PrivateLinkServiceConnectionStateProperty { schema readonly description : string ; schema readonly status : string ; } export enum SecurityAlertPolicyPropertiesState { ENABLED = 'Enabled' , DISABLED = 'Disabled' } export enum ServerPropertiesForDefaultCreateCreateMode { DEFAULT = 'Default' } export enum ServerPropertiesForRestoreCreateMode { POINT_IN_TIME_RESTORE = 'PointInTimeRestore' } export enum ServerPropertiesForGeoRestoreCreateMode { GEO_RESTORE = 'GeoRestore' } export enum ServerPropertiesForReplicaCreateMode { REPLICA = 'Replica' } export enum ServersFirewallRulesChildResourceApiVersion { "ServersFirewallRulesChildResourceApiVersion_2018_06_01" = '2018-06-01' } export enum ServersFirewallRulesChildResourceType { FIREWALL_RULES = 'firewallRules' } export enum ServersVirtualNetworkRulesChildResourceApiVersion { "ServersVirtualNetworkRulesChildResourceApiVersion_2018_06_01" = '2018-06-01' } export enum ServersVirtualNetworkRulesChildResourceType { VIRTUAL_NETWORK_RULES = 'virtualNetworkRules' } export enum ServersDatabasesChildResourceApiVersion { "ServersDatabasesChildResourceApiVersion_2018_06_01" = '2018-06-01' } export enum ServersDatabasesChildResourceType { DATABASES = 'databases' } export enum ServersConfigurationsChildResourceApiVersion { "ServersConfigurationsChildResourceApiVersion_2018_06_01" = '2018-06-01' } export enum ServersConfigurationsChildResourceType { CONFIGURATIONS = 'configurations' } export enum ServersPrivateEndpointConnectionsChildResourceApiVersion { "ServersPrivateEndpointConnectionsChildResourceApiVersion_2018_06_01" = '2018-06-01' } export enum ServersPrivateEndpointConnectionsChildResourceType { PRIVATE_ENDPOINT_CONNECTIONS = 'privateEndpointConnections' } export enum ServersSecurityAlertPoliciesChildResourceApiVersion { "ServersSecurityAlertPoliciesChildResourceApiVersion_2018_06_01" = '2018-06-01' } export enum ServersSecurityAlertPoliciesChildResourceName { DEFAULT = 'default' } export enum ServersSecurityAlertPoliciesChildResourceType { SECURITY_ALERT_POLICIES = 'securityAlertPolicies' }