import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Environments extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'environments' , } ) ; } } schema export class EnvironmentsAccessPolicies extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'environments_accessPolicies' , } ) ; } } schema export class EnvironmentsEventSources extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'environments_eventSources' , } ) ; } } schema export class EnvironmentsReferenceDataSets extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'environments_referenceDataSets' , } ) ; } } schema export class EnvironmentsOptions { public static fromGen1EnvironmentCreateOrUpdateParameters ( value ) { return new EnvironmentsOptions ( value ) ; } public static fromGen2EnvironmentCreateOrUpdateParameters ( value ) { return new EnvironmentsOptions ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface EnvironmentsAccessPoliciesOptions { schema readonly apiVersion ? : MicrosoftTimeSeriesInsightsEnvironmentsAccessPoliciesApiVersion ; schema readonly name : string ; schema readonly properties : AccessPolicyResourceProperties ; schema readonly type : MicrosoftTimeSeriesInsightsEnvironmentsAccessPoliciesType ; } schema export class EnvironmentsEventSourcesOptions { public static fromEventHubEventSourceCreateOrUpdateParameters ( value ) { return new EnvironmentsEventSourcesOptions ( value ) ; } public static fromIoTHubEventSourceCreateOrUpdateParameters ( value ) { return new EnvironmentsEventSourcesOptions ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface EnvironmentsReferenceDataSetsOptions { schema readonly apiVersion ? : MicrosoftTimeSeriesInsightsEnvironmentsReferenceDataSetsApiVersion ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : ReferenceDataSetCreationProperties ; schema readonly tags ? : MicrosoftTimeSeriesInsightsEnvironmentsReferenceDataSetsTags ; schema readonly type : MicrosoftTimeSeriesInsightsEnvironmentsReferenceDataSetsType ; } schema export interface Gen1EnvironmentCreateOrUpdateParameters { schema readonly kind : Gen1EnvironmentCreateOrUpdateParametersKind ; schema readonly properties : Gen1EnvironmentCreationProperties ; } schema export interface Gen2EnvironmentCreateOrUpdateParameters { schema readonly kind : Gen2EnvironmentCreateOrUpdateParametersKind ; schema readonly properties : Gen2EnvironmentCreationProperties ; } export enum MicrosoftTimeSeriesInsightsEnvironmentsAccessPoliciesApiVersion { "MicrosoftTimeSeriesInsightsEnvironmentsAccessPoliciesApiVersion_2020_05_15" = '2020-05-15' } schema export interface AccessPolicyResourceProperties { schema readonly description ? : string ; schema readonly principalObjectId ? : string ; schema readonly roles ? : AccessPolicyResourcePropertiesRoles [ ] ; } export enum MicrosoftTimeSeriesInsightsEnvironmentsAccessPoliciesType { "MicrosoftTimeSeriesInsightsEnvironmentsAccessPoliciesType_MICROSOFT_TIME_SERIES_INSIGHTS_ENVIRONMENTS_ACCESS_POLICIES" = 'Microsoft.TimeSeriesInsights/environments/accessPolicies' } schema export interface EventHubEventSourceCreateOrUpdateParameters { schema readonly kind : EventHubEventSourceCreateOrUpdateParametersKind ; schema readonly properties : EventHubEventSourceCreationProperties ; } schema export interface IoTHubEventSourceCreateOrUpdateParameters { schema readonly kind : IoTHubEventSourceCreateOrUpdateParametersKind ; schema readonly properties : IoTHubEventSourceCreationProperties ; } export enum MicrosoftTimeSeriesInsightsEnvironmentsReferenceDataSetsApiVersion { "MicrosoftTimeSeriesInsightsEnvironmentsReferenceDataSetsApiVersion_2020_05_15" = '2020-05-15' } schema export interface ReferenceDataSetCreationProperties { schema readonly dataStringComparisonBehavior ? : ReferenceDataSetCreationPropertiesDataStringComparisonBehavior ; schema readonly keyProperties : ReferenceDataSetKeyProperty [ ] ; } schema export interface MicrosoftTimeSeriesInsightsEnvironmentsReferenceDataSetsTags { } export enum MicrosoftTimeSeriesInsightsEnvironmentsReferenceDataSetsType { "MicrosoftTimeSeriesInsightsEnvironmentsReferenceDataSetsType_MICROSOFT_TIME_SERIES_INSIGHTS_ENVIRONMENTS_REFERENCE_DATA_SETS" = 'Microsoft.TimeSeriesInsights/environments/referenceDataSets' } export enum Gen1EnvironmentCreateOrUpdateParametersKind { "Gen1EnvironmentCreateOrUpdateParametersKind_GEN1" = 'Gen1' } schema export interface Gen1EnvironmentCreationProperties { schema readonly dataRetentionTime : string ; schema readonly partitionKeyProperties ? : TimeSeriesIdProperty [ ] ; schema readonly storageLimitExceededBehavior ? : Gen1EnvironmentCreationPropertiesStorageLimitExceededBehavior ; } export enum Gen2EnvironmentCreateOrUpdateParametersKind { "Gen2EnvironmentCreateOrUpdateParametersKind_GEN2" = 'Gen2' } schema export interface Gen2EnvironmentCreationProperties { schema readonly storageConfiguration : Gen2StorageConfigurationInput ; schema readonly timeSeriesIdProperties : TimeSeriesIdProperty [ ] ; schema readonly warmStoreConfiguration ? : WarmStoreConfigurationProperties ; } export enum AccessPolicyResourcePropertiesRoles { READER = 'Reader' , CONTRIBUTOR = 'Contributor' } export enum EventHubEventSourceCreateOrUpdateParametersKind { "EventHubEventSourceCreateOrUpdateParametersKind_MICROSOFT_EVENT_HUB" = 'Microsoft.EventHub' } schema export interface EventHubEventSourceCreationProperties { schema readonly consumerGroupName : string ; schema readonly eventHubName : string ; schema readonly eventSourceResourceId : string ; schema readonly keyName : string ; schema readonly provisioningState ? : EventHubEventSourceCreationPropertiesProvisioningState ; schema readonly serviceBusNamespace : string ; schema readonly sharedAccessKey : string ; schema readonly timestampPropertyName ? : string ; } export enum IoTHubEventSourceCreateOrUpdateParametersKind { "IoTHubEventSourceCreateOrUpdateParametersKind_MICROSOFT_IO_T_HUB" = 'Microsoft.IoTHub' } schema export interface IoTHubEventSourceCreationProperties { schema readonly consumerGroupName : string ; schema readonly eventSourceResourceId : string ; schema readonly iotHubName : string ; schema readonly keyName : string ; schema readonly provisioningState ? : IoTHubEventSourceCreationPropertiesProvisioningState ; schema readonly sharedAccessKey : string ; schema readonly timestampPropertyName ? : string ; } export enum ReferenceDataSetCreationPropertiesDataStringComparisonBehavior { ORDINAL = 'Ordinal' , ORDINAL_IGNORE_CASE = 'OrdinalIgnoreCase' } schema export interface ReferenceDataSetKeyProperty { schema readonly name ? : string ; schema readonly type ? : ReferenceDataSetKeyPropertyType ; } schema export interface TimeSeriesIdProperty { schema readonly name ? : string ; schema readonly type ? : TimeSeriesIdPropertyType ; } export enum Gen1EnvironmentCreationPropertiesStorageLimitExceededBehavior { PURGE_OLD_DATA = 'PurgeOldData' , PAUSE_INGRESS = 'PauseIngress' } schema export interface Gen2StorageConfigurationInput { schema readonly accountName : string ; schema readonly managementKey : string ; } schema export interface WarmStoreConfigurationProperties { schema readonly dataRetention : string ; } export enum EventHubEventSourceCreationPropertiesProvisioningState { ACCEPTED = 'Accepted' , CREATING = 'Creating' , UPDATING = 'Updating' , SUCCEEDED = 'Succeeded' , FAILED = 'Failed' , DELETING = 'Deleting' } export enum IoTHubEventSourceCreationPropertiesProvisioningState { ACCEPTED = 'Accepted' , CREATING = 'Creating' , UPDATING = 'Updating' , SUCCEEDED = 'Succeeded' , FAILED = 'Failed' , DELETING = 'Deleting' } export enum ReferenceDataSetKeyPropertyType { STRING = 'String' , DOUBLE = 'Double' , BOOL = 'Bool' , DATE_TIME = 'DateTime' } export enum TimeSeriesIdPropertyType { STRING = 'String' }