import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class Domains extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'domains' , } ) ; } } schema export class DomainsPrivateEndpointConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'domains_privateEndpointConnections' , } ) ; } } schema export class DomainsTopics extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'domains_topics' , } ) ; } } schema export class Topics extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'topics' , } ) ; } } schema export class TopicsPrivateEndpointConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'topics_privateEndpointConnections' , } ) ; } } schema export interface DomainsOptions { schema readonly apiVersion ? : MicrosoftEventGridDomainsApiVersion ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : DomainProperties ; schema readonly resources ? : MicrosoftEventGridDomainsResources [ ] ; schema readonly tags ? : MicrosoftEventGridDomainsTags ; schema readonly type : MicrosoftEventGridDomainsType ; } schema export interface DomainsPrivateEndpointConnectionsOptions { schema readonly apiVersion ? : MicrosoftEventGridDomainsPrivateEndpointConnectionsApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : MicrosoftEventGridDomainsPrivateEndpointConnectionsType ; } schema export interface DomainsTopicsOptions { schema readonly apiVersion ? : MicrosoftEventGridDomainsTopicsApiVersion ; schema readonly name : string ; schema readonly type : MicrosoftEventGridDomainsTopicsType ; } schema export interface TopicsOptions { schema readonly apiVersion ? : MicrosoftEventGridTopicsApiVersion ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : TopicProperties ; schema readonly resources ? : TopicsPrivateEndpointConnectionsChildResource [ ] ; schema readonly tags ? : MicrosoftEventGridTopicsTags ; schema readonly type : MicrosoftEventGridTopicsType ; } schema export interface TopicsPrivateEndpointConnectionsOptions { schema readonly apiVersion ? : MicrosoftEventGridTopicsPrivateEndpointConnectionsApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : MicrosoftEventGridTopicsPrivateEndpointConnectionsType ; } export enum MicrosoftEventGridDomainsApiVersion { "MicrosoftEventGridDomainsApiVersion_2020_06_01" = '2020-06-01' } schema export interface DomainProperties { schema readonly inboundIpRules ? : InboundIpRule [ ] ; schema readonly inputSchema ? : DomainPropertiesInputSchema ; schema readonly inputSchemaMapping ? : JsonInputSchemaMapping ; schema readonly publicNetworkAccess ? : DomainPropertiesPublicNetworkAccess ; } schema export class MicrosoftEventGridDomainsResources { public static fromDomainsTopicsChildResource ( value ) { return new MicrosoftEventGridDomainsResources ( value ) ; } public static fromDomainsPrivateEndpointConnectionsChildResource ( value ) { return new MicrosoftEventGridDomainsResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface MicrosoftEventGridDomainsTags { } export enum MicrosoftEventGridDomainsType { "MicrosoftEventGridDomainsType_MICROSOFT_EVENT_GRID_DOMAINS" = 'Microsoft.EventGrid/domains' } export enum MicrosoftEventGridDomainsPrivateEndpointConnectionsApiVersion { "MicrosoftEventGridDomainsPrivateEndpointConnectionsApiVersion_2020_06_01" = '2020-06-01' } schema export interface PrivateEndpointConnectionProperties { schema readonly groupIds ? : string [ ] ; schema readonly privateEndpoint ? : PrivateEndpoint ; schema readonly privateLinkServiceConnectionState ? : ConnectionState ; schema readonly provisioningState ? : PrivateEndpointConnectionPropertiesProvisioningState ; } export enum MicrosoftEventGridDomainsPrivateEndpointConnectionsType { "MicrosoftEventGridDomainsPrivateEndpointConnectionsType_MICROSOFT_EVENT_GRID_DOMAINS_PRIVATE_ENDPOINT_CONNECTIONS" = 'Microsoft.EventGrid/domains/privateEndpointConnections' } export enum MicrosoftEventGridDomainsTopicsApiVersion { "MicrosoftEventGridDomainsTopicsApiVersion_2020_06_01" = '2020-06-01' } export enum MicrosoftEventGridDomainsTopicsType { "MicrosoftEventGridDomainsTopicsType_MICROSOFT_EVENT_GRID_DOMAINS_TOPICS" = 'Microsoft.EventGrid/domains/topics' } export enum MicrosoftEventGridTopicsApiVersion { "MicrosoftEventGridTopicsApiVersion_2020_06_01" = '2020-06-01' } schema export interface TopicProperties { schema readonly inboundIpRules ? : InboundIpRule [ ] ; schema readonly inputSchema ? : TopicPropertiesInputSchema ; schema readonly inputSchemaMapping ? : JsonInputSchemaMapping ; schema readonly publicNetworkAccess ? : TopicPropertiesPublicNetworkAccess ; } schema export interface TopicsPrivateEndpointConnectionsChildResource { schema readonly apiVersion : TopicsPrivateEndpointConnectionsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : TopicsPrivateEndpointConnectionsChildResourceType ; } schema export interface MicrosoftEventGridTopicsTags { } export enum MicrosoftEventGridTopicsType { "MicrosoftEventGridTopicsType_MICROSOFT_EVENT_GRID_TOPICS" = 'Microsoft.EventGrid/topics' } export enum MicrosoftEventGridTopicsPrivateEndpointConnectionsApiVersion { "MicrosoftEventGridTopicsPrivateEndpointConnectionsApiVersion_2020_06_01" = '2020-06-01' } export enum MicrosoftEventGridTopicsPrivateEndpointConnectionsType { "MicrosoftEventGridTopicsPrivateEndpointConnectionsType_MICROSOFT_EVENT_GRID_TOPICS_PRIVATE_ENDPOINT_CONNECTIONS" = 'Microsoft.EventGrid/topics/privateEndpointConnections' } schema export interface InboundIpRule { schema readonly action ? : InboundIpRuleAction ; schema readonly ipMask ? : string ; } export enum DomainPropertiesInputSchema { EVENT_GRID_SCHEMA = 'EventGridSchema' , CUSTOM_EVENT_SCHEMA = 'CustomEventSchema' , "DomainPropertiesInputSchema_CLOUD_EVENT_SCHEMA_V1_0" = 'CloudEventSchemaV1_0' } schema export interface JsonInputSchemaMapping { schema readonly inputSchemaMappingType : JsonInputSchemaMappingInputSchemaMappingType ; schema readonly properties ? : JsonInputSchemaMappingProperties ; } export enum DomainPropertiesPublicNetworkAccess { ENABLED = 'Enabled' , DISABLED = 'Disabled' } schema export interface DomainsTopicsChildResource { schema readonly apiVersion : DomainsTopicsChildResourceApiVersion ; schema readonly name : string ; schema readonly type : DomainsTopicsChildResourceType ; } schema export interface DomainsPrivateEndpointConnectionsChildResource { schema readonly apiVersion : DomainsPrivateEndpointConnectionsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : DomainsPrivateEndpointConnectionsChildResourceType ; } schema export interface PrivateEndpoint { schema readonly id ? : string ; } schema export interface ConnectionState { schema readonly actionsRequired ? : string ; schema readonly description ? : string ; schema readonly status ? : ConnectionStateStatus ; } export enum PrivateEndpointConnectionPropertiesProvisioningState { CREATING = 'Creating' , UPDATING = 'Updating' , DELETING = 'Deleting' , SUCCEEDED = 'Succeeded' , CANCELED = 'Canceled' , FAILED = 'Failed' } export enum TopicPropertiesInputSchema { EVENT_GRID_SCHEMA = 'EventGridSchema' , CUSTOM_EVENT_SCHEMA = 'CustomEventSchema' , "TopicPropertiesInputSchema_CLOUD_EVENT_SCHEMA_V1_0" = 'CloudEventSchemaV1_0' } export enum TopicPropertiesPublicNetworkAccess { ENABLED = 'Enabled' , DISABLED = 'Disabled' } export enum TopicsPrivateEndpointConnectionsChildResourceApiVersion { "TopicsPrivateEndpointConnectionsChildResourceApiVersion_2020_06_01" = '2020-06-01' } export enum TopicsPrivateEndpointConnectionsChildResourceType { PRIVATE_ENDPOINT_CONNECTIONS = 'privateEndpointConnections' } export enum InboundIpRuleAction { ALLOW = 'Allow' } export enum JsonInputSchemaMappingInputSchemaMappingType { JSON = 'Json' } schema export interface JsonInputSchemaMappingProperties { schema readonly dataVersion ? : JsonFieldWithDefault ; schema readonly eventTime ? : JsonField ; schema readonly eventType ? : JsonFieldWithDefault ; schema readonly id ? : JsonField ; schema readonly subject ? : JsonFieldWithDefault ; schema readonly topic ? : JsonField ; } export enum DomainsTopicsChildResourceApiVersion { "DomainsTopicsChildResourceApiVersion_2020_06_01" = '2020-06-01' } export enum DomainsTopicsChildResourceType { TOPICS = 'topics' } export enum DomainsPrivateEndpointConnectionsChildResourceApiVersion { "DomainsPrivateEndpointConnectionsChildResourceApiVersion_2020_06_01" = '2020-06-01' } export enum DomainsPrivateEndpointConnectionsChildResourceType { PRIVATE_ENDPOINT_CONNECTIONS = 'privateEndpointConnections' } export enum ConnectionStateStatus { PENDING = 'Pending' , APPROVED = 'Approved' , REJECTED = 'Rejected' , DISCONNECTED = 'Disconnected' } schema export interface JsonFieldWithDefault { schema readonly defaultValue ? : string ; schema readonly sourceField ? : string ; } schema export interface JsonField { schema readonly sourceField ? : string ; }