import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Accounts extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'accounts' , } ) ; } } schema export class AccountsPrivateEndpointConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'accounts_privateEndpointConnections' , } ) ; } } schema export interface AccountsOptions { schema readonly apiVersion ? : MicrosoftCognitiveServicesAccountsApiVersion ; schema readonly identity ? : Identity ; schema readonly kind ? : string ; schema readonly location ? : string ; schema readonly name : MicrosoftCognitiveServicesAccountsNamePattern ; schema readonly properties : CognitiveServicesAccountProperties ; schema readonly resources ? : AccountsPrivateEndpointConnectionsChildResource [ ] ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftCognitiveServicesAccountsTags ; schema readonly type : MicrosoftCognitiveServicesAccountsType ; } schema export interface AccountsPrivateEndpointConnectionsOptions { schema readonly apiVersion ? : MicrosoftCognitiveServicesAccountsPrivateEndpointConnectionsApiVersion ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : MicrosoftCognitiveServicesAccountsPrivateEndpointConnectionsType ; } export enum MicrosoftCognitiveServicesAccountsApiVersion { "MicrosoftCognitiveServicesAccountsApiVersion_2017_04_18" = '2017-04-18' } schema export interface Identity { schema readonly type ? : IdentityType ; schema readonly userAssignedIdentities ? : IdentityUserAssignedIdentities ; } schema export class MicrosoftCognitiveServicesAccountsNamePattern { public static pattern ( value ) { return value ; } } schema export interface CognitiveServicesAccountProperties { schema readonly apiProperties ? : CognitiveServicesAccountApiProperties ; schema readonly customSubDomainName ? : string ; schema readonly encryption ? : Encryption ; schema readonly networkAcls ? : NetworkRuleSet ; schema readonly privateEndpointConnections ? : PrivateEndpointConnection [ ] ; schema readonly publicNetworkAccess ? : CognitiveServicesAccountPropertiesPublicNetworkAccess ; schema readonly userOwnedStorage ? : UserOwnedStorage [ ] ; } schema export interface AccountsPrivateEndpointConnectionsChildResource { schema readonly apiVersion : AccountsPrivateEndpointConnectionsChildResourceApiVersion ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : AccountsPrivateEndpointConnectionsChildResourceType ; } schema export interface Sku { schema readonly name : string ; } schema export interface MicrosoftCognitiveServicesAccountsTags { } export enum MicrosoftCognitiveServicesAccountsType { "MicrosoftCognitiveServicesAccountsType_MICROSOFT_COGNITIVE_SERVICES_ACCOUNTS" = 'Microsoft.CognitiveServices/accounts' } export enum MicrosoftCognitiveServicesAccountsPrivateEndpointConnectionsApiVersion { "MicrosoftCognitiveServicesAccountsPrivateEndpointConnectionsApiVersion_2017_04_18" = '2017-04-18' } schema export interface PrivateEndpointConnectionProperties { schema readonly groupIds ? : string [ ] ; schema readonly privateEndpoint ? : PrivateEndpoint ; schema readonly privateLinkServiceConnectionState : PrivateLinkServiceConnectionState ; } export enum MicrosoftCognitiveServicesAccountsPrivateEndpointConnectionsType { "MicrosoftCognitiveServicesAccountsPrivateEndpointConnectionsType_MICROSOFT_COGNITIVE_SERVICES_ACCOUNTS_PRIVATE_ENDPOINT_CONNECTIONS" = 'Microsoft.CognitiveServices/accounts/privateEndpointConnections' } export enum IdentityType { NONE = 'None' , SYSTEM_ASSIGNED = 'SystemAssigned' , USER_ASSIGNED = 'UserAssigned' } schema export interface IdentityUserAssignedIdentities { } schema export interface CognitiveServicesAccountApiProperties { schema readonly aadClientId ? : string ; schema readonly aadTenantId ? : string ; schema readonly eventHubConnectionString ? : CognitiveServicesAccountApiPropertiesEventHubConnectionStringPattern ; schema readonly qnaAzureSearchEndpointId ? : string ; schema readonly qnaAzureSearchEndpointKey ? : string ; schema readonly qnaRuntimeEndpoint ? : string ; schema readonly statisticsEnabled ? : boolean ; schema readonly storageAccountConnectionString ? : CognitiveServicesAccountApiPropertiesStorageAccountConnectionStringPattern ; schema readonly superUser ? : string ; schema readonly websiteName ? : string ; } schema export interface Encryption { schema readonly keySource ? : EncryptionKeySource ; schema readonly keyVaultProperties ? : KeyVaultProperties ; } schema export interface NetworkRuleSet { schema readonly defaultAction ? : NetworkRuleSetDefaultAction ; schema readonly ipRules ? : IpRule [ ] ; schema readonly virtualNetworkRules ? : VirtualNetworkRule [ ] ; } schema export interface PrivateEndpointConnection { schema readonly location ? : string ; schema readonly properties ? : PrivateEndpointConnectionProperties ; } export enum CognitiveServicesAccountPropertiesPublicNetworkAccess { ENABLED = 'Enabled' , DISABLED = 'Disabled' } schema export interface UserOwnedStorage { schema readonly resourceId ? : string ; } export enum AccountsPrivateEndpointConnectionsChildResourceApiVersion { "AccountsPrivateEndpointConnectionsChildResourceApiVersion_2017_04_18" = '2017-04-18' } export enum AccountsPrivateEndpointConnectionsChildResourceType { PRIVATE_ENDPOINT_CONNECTIONS = 'privateEndpointConnections' } schema export interface PrivateEndpoint { } schema export interface PrivateLinkServiceConnectionState { schema readonly actionsRequired ? : string ; schema readonly description ? : string ; schema readonly status ? : PrivateLinkServiceConnectionStateStatus ; } schema export class CognitiveServicesAccountApiPropertiesEventHubConnectionStringPattern { public static pattern ( value ) { return value ; } } schema export class CognitiveServicesAccountApiPropertiesStorageAccountConnectionStringPattern { public static pattern ( value ) { return value ; } } export enum EncryptionKeySource { "EncryptionKeySource_MICROSOFT_COGNITIVE_SERVICES" = 'Microsoft.CognitiveServices' , "EncryptionKeySource_MICROSOFT_KEY_VAULT" = 'Microsoft.KeyVault' } schema export interface KeyVaultProperties { schema readonly keyName ? : string ; schema readonly keyVaultUri ? : string ; schema readonly keyVersion ? : string ; } export enum NetworkRuleSetDefaultAction { ALLOW = 'Allow' , DENY = 'Deny' } schema export interface IpRule { schema readonly value : string ; } schema export interface VirtualNetworkRule { schema readonly id : string ; schema readonly ignoreMissingVnetServiceEndpoint ? : boolean ; schema readonly state ? : string ; } export enum PrivateLinkServiceConnectionStateStatus { PENDING = 'Pending' , APPROVED = 'Approved' , REJECTED = 'Rejected' , DISCONNECTED = 'Disconnected' }