import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Workspaces extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'workspaces' , } ) ; } } schema export class WorkspacesVirtualNetworkPeerings extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'workspaces_virtualNetworkPeerings' , } ) ; } } schema export interface WorkspacesOptions { schema readonly apiVersion ? : MicrosoftDatabricksWorkspacesApiVersion ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : WorkspaceProperties ; schema readonly resources ? : WorkspacesVirtualNetworkPeeringsChildResource [ ] ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftDatabricksWorkspacesTags ; schema readonly type : MicrosoftDatabricksWorkspacesType ; } schema export interface WorkspacesVirtualNetworkPeeringsOptions { schema readonly apiVersion ? : MicrosoftDatabricksWorkspacesVirtualNetworkPeeringsApiVersion ; schema readonly name : string ; schema readonly properties : VirtualNetworkPeeringPropertiesFormat ; schema readonly type : MicrosoftDatabricksWorkspacesVirtualNetworkPeeringsType ; } export enum MicrosoftDatabricksWorkspacesApiVersion { "MicrosoftDatabricksWorkspacesApiVersion_2018_04_01" = '2018-04-01' } schema export interface WorkspaceProperties { schema readonly authorizations ? : WorkspaceProviderAuthorization [ ] ; schema readonly createdBy ? : CreatedBy ; schema readonly createdDateTime ? : Date ; schema readonly managedResourceGroupId : string ; schema readonly parameters ? : WorkspaceCustomParameters ; schema readonly storageAccountIdentity ? : ManagedIdentityConfiguration ; schema readonly uiDefinitionUri ? : string ; schema readonly updatedBy ? : CreatedBy ; } schema export interface WorkspacesVirtualNetworkPeeringsChildResource { schema readonly apiVersion : WorkspacesVirtualNetworkPeeringsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : VirtualNetworkPeeringPropertiesFormat ; schema readonly type : WorkspacesVirtualNetworkPeeringsChildResourceType ; } schema export interface Sku { schema readonly name : string ; schema readonly tier ? : string ; } schema export interface MicrosoftDatabricksWorkspacesTags { } export enum MicrosoftDatabricksWorkspacesType { "MicrosoftDatabricksWorkspacesType_MICROSOFT_DATABRICKS_WORKSPACES" = 'Microsoft.Databricks/workspaces' } export enum MicrosoftDatabricksWorkspacesVirtualNetworkPeeringsApiVersion { "MicrosoftDatabricksWorkspacesVirtualNetworkPeeringsApiVersion_2018_04_01" = '2018-04-01' } schema export interface VirtualNetworkPeeringPropertiesFormat { schema readonly allowForwardedTraffic ? : boolean ; schema readonly allowGatewayTransit ? : boolean ; schema readonly allowVirtualNetworkAccess ? : boolean ; schema readonly databricksAddressSpace ? : AddressSpace ; schema readonly databricksVirtualNetwork ? : VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork ; schema readonly remoteAddressSpace ? : AddressSpace ; schema readonly remoteVirtualNetwork : VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork ; schema readonly useRemoteGateways ? : boolean ; } export enum MicrosoftDatabricksWorkspacesVirtualNetworkPeeringsType { "MicrosoftDatabricksWorkspacesVirtualNetworkPeeringsType_MICROSOFT_DATABRICKS_WORKSPACES_VIRTUAL_NETWORK_PEERINGS" = 'Microsoft.Databricks/workspaces/virtualNetworkPeerings' } schema export interface WorkspaceProviderAuthorization { schema readonly principalId : WorkspaceProviderAuthorizationPrincipalIdPattern ; schema readonly roleDefinitionId : WorkspaceProviderAuthorizationRoleDefinitionIdPattern ; } schema export interface CreatedBy { } schema export interface WorkspaceCustomParameters { schema readonly amlWorkspaceId ? : WorkspaceCustomStringParameter ; schema readonly customPrivateSubnetName ? : WorkspaceCustomStringParameter ; schema readonly customPublicSubnetName ? : WorkspaceCustomStringParameter ; schema readonly customVirtualNetworkId ? : WorkspaceCustomStringParameter ; schema readonly enableNoPublicIp ? : WorkspaceCustomBooleanParameter ; schema readonly encryption ? : WorkspaceEncryptionParameter ; schema readonly loadBalancerBackendPoolName ? : WorkspaceCustomStringParameter ; schema readonly loadBalancerId ? : WorkspaceCustomStringParameter ; schema readonly natGatewayName ? : WorkspaceCustomStringParameter ; schema readonly prepareEncryption ? : WorkspaceCustomBooleanParameter ; schema readonly publicIpName ? : WorkspaceCustomStringParameter ; schema readonly requireInfrastructureEncryption ? : WorkspaceCustomBooleanParameter ; schema readonly storageAccountName ? : WorkspaceCustomStringParameter ; schema readonly storageAccountSkuName ? : WorkspaceCustomStringParameter ; schema readonly vnetAddressPrefix ? : WorkspaceCustomStringParameter ; } schema export interface ManagedIdentityConfiguration { } export enum WorkspacesVirtualNetworkPeeringsChildResourceApiVersion { "WorkspacesVirtualNetworkPeeringsChildResourceApiVersion_2018_04_01" = '2018-04-01' } export enum WorkspacesVirtualNetworkPeeringsChildResourceType { VIRTUAL_NETWORK_PEERINGS = 'virtualNetworkPeerings' } schema export interface AddressSpace { schema readonly addressPrefixes ? : string [ ] ; } schema export interface VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork { schema readonly id ? : string ; } schema export interface VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork { schema readonly id ? : string ; } schema export class WorkspaceProviderAuthorizationPrincipalIdPattern { public static pattern ( value ) { return value ; } } schema export class WorkspaceProviderAuthorizationRoleDefinitionIdPattern { public static pattern ( value ) { return value ; } } schema export interface WorkspaceCustomStringParameter { schema readonly type ? : WorkspaceCustomStringParameterType ; schema readonly value : string ; } schema export interface WorkspaceCustomBooleanParameter { schema readonly type ? : WorkspaceCustomBooleanParameterType ; schema readonly value : boolean ; } schema export interface WorkspaceEncryptionParameter { schema readonly type ? : WorkspaceEncryptionParameterType ; schema readonly value ? : Encryption ; } export enum WorkspaceCustomStringParameterType { BOOL = 'Bool' , OBJECT = 'Object' , STRING = 'String' } export enum WorkspaceCustomBooleanParameterType { BOOL = 'Bool' , OBJECT = 'Object' , STRING = 'String' } export enum WorkspaceEncryptionParameterType { BOOL = 'Bool' , OBJECT = 'Object' , STRING = 'String' } schema export interface Encryption { schema readonly keyName ? : string ; schema readonly keySource ? : EncryptionKeySource ; schema readonly keyvaulturi ? : string ; schema readonly keyversion ? : string ; } export enum EncryptionKeySource { DEFAULT = 'Default' , "EncryptionKeySource_MICROSOFT_KEYVAULT" = 'Microsoft.Keyvault' }