import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Clusters extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'clusters' , } ) ; } } 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 interface ClustersOptions { schema readonly apiVersion ? : MicrosoftOperationalInsightsClustersApiVersion ; schema readonly identity ? : Identity ; schema readonly location : string ; schema readonly name : MicrosoftOperationalInsightsClustersNamePattern ; schema readonly properties : ClusterProperties ; schema readonly sku ? : ClusterSku ; schema readonly tags ? : MicrosoftOperationalInsightsClustersTags ; schema readonly type : MicrosoftOperationalInsightsClustersType ; } schema export interface WorkspacesOptions { schema readonly apiVersion ? : MicrosoftOperationalInsightsWorkspacesApiVersion ; schema readonly eTag ? : string ; schema readonly location : string ; schema readonly name : MicrosoftOperationalInsightsWorkspacesNamePattern ; schema readonly properties : WorkspaceProperties ; schema readonly tags ? : MicrosoftOperationalInsightsWorkspacesTags ; schema readonly type : MicrosoftOperationalInsightsWorkspacesType ; } export enum MicrosoftOperationalInsightsClustersApiVersion { "MicrosoftOperationalInsightsClustersApiVersion_2020_10_01" = '2020-10-01' } schema export interface Identity { schema readonly type : IdentityType ; schema readonly userAssignedIdentities ? : IdentityUserAssignedIdentities ; } schema export class MicrosoftOperationalInsightsClustersNamePattern { public static pattern ( value ) { return value ; } } schema export interface ClusterProperties { schema readonly associatedWorkspaces ? : AssociatedWorkspace [ ] ; schema readonly billingType ? : ClusterPropertiesBillingType ; schema readonly capacityReservationProperties ? : CapacityReservationProperties ; schema readonly isAvailabilityZonesEnabled ? : boolean ; schema readonly isDoubleEncryptionEnabled ? : boolean ; schema readonly keyVaultProperties ? : KeyVaultProperties ; } schema export interface ClusterSku { schema readonly capacity ? : number ; schema readonly name ? : ClusterSkuName ; } schema export interface MicrosoftOperationalInsightsClustersTags { } export enum MicrosoftOperationalInsightsClustersType { "MicrosoftOperationalInsightsClustersType_MICROSOFT_OPERATIONAL_INSIGHTS_CLUSTERS" = 'Microsoft.OperationalInsights/clusters' } export enum MicrosoftOperationalInsightsWorkspacesApiVersion { "MicrosoftOperationalInsightsWorkspacesApiVersion_2020_10_01" = '2020-10-01' } schema export class MicrosoftOperationalInsightsWorkspacesNamePattern { public static pattern ( value ) { return value ; } } schema export interface WorkspaceProperties { schema readonly features ? : WorkspacePropertiesFeatures ; schema readonly forceCmkForQuery ? : boolean ; schema readonly provisioningState ? : WorkspacePropertiesProvisioningState ; schema readonly publicNetworkAccessForIngestion ? : WorkspacePropertiesPublicNetworkAccessForIngestion ; schema readonly publicNetworkAccessForQuery ? : WorkspacePropertiesPublicNetworkAccessForQuery ; schema readonly retentionInDays ? : number ; schema readonly sku ? : WorkspaceSku ; schema readonly workspaceCapping ? : WorkspaceCapping ; } schema export interface MicrosoftOperationalInsightsWorkspacesTags { } export enum MicrosoftOperationalInsightsWorkspacesType { "MicrosoftOperationalInsightsWorkspacesType_MICROSOFT_OPERATIONAL_INSIGHTS_WORKSPACES" = 'Microsoft.OperationalInsights/workspaces' } export enum IdentityType { SYSTEM_ASSIGNED = 'SystemAssigned' , USER_ASSIGNED = 'UserAssigned' , NONE = 'None' } schema export interface IdentityUserAssignedIdentities { } schema export interface AssociatedWorkspace { } export enum ClusterPropertiesBillingType { CLUSTER = 'Cluster' , WORKSPACES = 'Workspaces' } schema export interface CapacityReservationProperties { } schema export interface KeyVaultProperties { schema readonly keyName ? : string ; schema readonly keyRsaSize ? : number ; schema readonly keyVaultUri ? : string ; schema readonly keyVersion ? : string ; } export enum ClusterSkuName { CAPACITY_RESERVATION = 'CapacityReservation' } schema export interface WorkspacePropertiesFeatures { } export enum WorkspacePropertiesProvisioningState { CREATING = 'Creating' , SUCCEEDED = 'Succeeded' , FAILED = 'Failed' , CANCELED = 'Canceled' , DELETING = 'Deleting' , PROVISIONING_ACCOUNT = 'ProvisioningAccount' , UPDATING = 'Updating' } export enum WorkspacePropertiesPublicNetworkAccessForIngestion { ENABLED = 'Enabled' , DISABLED = 'Disabled' } export enum WorkspacePropertiesPublicNetworkAccessForQuery { ENABLED = 'Enabled' , DISABLED = 'Disabled' } schema export interface WorkspaceSku { schema readonly capacityReservationLevel ? : number ; schema readonly name : WorkspaceSkuName ; } schema export interface WorkspaceCapping { schema readonly dailyQuotaGb ? : number ; } export enum WorkspaceSkuName { FREE = 'Free' , STANDARD = 'Standard' , PREMIUM = 'Premium' , PER_NODE = 'PerNode' , "WorkspaceSkuName_PER_GB2018" = 'PerGB2018' , STANDALONE = 'Standalone' , CAPACITY_RESERVATION = 'CapacityReservation' , LA_CLUSTER = 'LACluster' }