import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class SearchServices extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'searchServices' , } ) ; } } schema export class SearchServicesPrivateEndpointConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'searchServices_privateEndpointConnections' , } ) ; } } schema export class SearchServicesSharedPrivateLinkResources extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'searchServices_sharedPrivateLinkResources' , } ) ; } } schema export interface SearchServicesOptions { schema readonly apiVersion ? : MicrosoftSearchSearchServicesApiVersion ; schema readonly identity ? : Identity ; schema readonly location : string ; schema readonly name : string ; schema readonly properties : SearchServiceProperties ; schema readonly resources ? : MicrosoftSearchSearchServicesResources [ ] ; schema readonly sku ? : Sku ; schema readonly tags ? : MicrosoftSearchSearchServicesTags ; schema readonly type : MicrosoftSearchSearchServicesType ; } schema export interface SearchServicesPrivateEndpointConnectionsOptions { schema readonly apiVersion ? : MicrosoftSearchSearchServicesPrivateEndpointConnectionsApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : MicrosoftSearchSearchServicesPrivateEndpointConnectionsType ; } schema export interface SearchServicesSharedPrivateLinkResourcesOptions { schema readonly apiVersion ? : MicrosoftSearchSearchServicesSharedPrivateLinkResourcesApiVersion ; schema readonly name : string ; schema readonly properties : SharedPrivateLinkResourceProperties ; schema readonly type : MicrosoftSearchSearchServicesSharedPrivateLinkResourcesType ; } export enum MicrosoftSearchSearchServicesApiVersion { "MicrosoftSearchSearchServicesApiVersion_2020_08_01" = '2020-08-01' } schema export interface Identity { schema readonly type : IdentityType ; } schema export interface SearchServiceProperties { schema readonly hostingMode ? : SearchServicePropertiesHostingMode ; schema readonly networkRuleSet ? : NetworkRuleSet ; schema readonly partitionCount ? : number ; schema readonly publicNetworkAccess ? : SearchServicePropertiesPublicNetworkAccess ; schema readonly replicaCount ? : number ; } schema export class MicrosoftSearchSearchServicesResources { public static fromSearchServicesPrivateEndpointConnectionsChildResource ( value ) { return new MicrosoftSearchSearchServicesResources ( value ) ; } public static fromSearchServicesSharedPrivateLinkResourcesChildResource ( value ) { return new MicrosoftSearchSearchServicesResources ( value ) ; } private constructor ( value ) { Object . defineProperty ( this , 'resolve' , { value : ( ) => value } ) ; } } schema export interface Sku { schema readonly name ? : SkuName ; } schema export interface MicrosoftSearchSearchServicesTags { } export enum MicrosoftSearchSearchServicesType { "MicrosoftSearchSearchServicesType_MICROSOFT_SEARCH_SEARCH_SERVICES" = 'Microsoft.Search/searchServices' } export enum MicrosoftSearchSearchServicesPrivateEndpointConnectionsApiVersion { "MicrosoftSearchSearchServicesPrivateEndpointConnectionsApiVersion_2020_08_01" = '2020-08-01' } schema export interface PrivateEndpointConnectionProperties { schema readonly privateEndpoint ? : PrivateEndpointConnectionPropertiesPrivateEndpoint ; schema readonly privateLinkServiceConnectionState ? : PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState ; } export enum MicrosoftSearchSearchServicesPrivateEndpointConnectionsType { "MicrosoftSearchSearchServicesPrivateEndpointConnectionsType_MICROSOFT_SEARCH_SEARCH_SERVICES_PRIVATE_ENDPOINT_CONNECTIONS" = 'Microsoft.Search/searchServices/privateEndpointConnections' } export enum MicrosoftSearchSearchServicesSharedPrivateLinkResourcesApiVersion { "MicrosoftSearchSearchServicesSharedPrivateLinkResourcesApiVersion_2020_08_01" = '2020-08-01' } schema export interface SharedPrivateLinkResourceProperties { schema readonly groupId ? : string ; schema readonly privateLinkResourceId ? : string ; schema readonly provisioningState ? : SharedPrivateLinkResourcePropertiesProvisioningState ; schema readonly requestMessage ? : string ; schema readonly resourceRegion ? : string ; schema readonly status ? : SharedPrivateLinkResourcePropertiesStatus ; } export enum MicrosoftSearchSearchServicesSharedPrivateLinkResourcesType { "MicrosoftSearchSearchServicesSharedPrivateLinkResourcesType_MICROSOFT_SEARCH_SEARCH_SERVICES_SHARED_PRIVATE_LINK_RESOURCES" = 'Microsoft.Search/searchServices/sharedPrivateLinkResources' } export enum IdentityType { NONE = 'None' , SYSTEM_ASSIGNED = 'SystemAssigned' } export enum SearchServicePropertiesHostingMode { DEFAULT = 'default' , HIGH_DENSITY = 'highDensity' } schema export interface NetworkRuleSet { schema readonly ipRules ? : IpRule [ ] ; } export enum SearchServicePropertiesPublicNetworkAccess { ENABLED = 'enabled' , DISABLED = 'disabled' } schema export interface SearchServicesPrivateEndpointConnectionsChildResource { schema readonly apiVersion : SearchServicesPrivateEndpointConnectionsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : SearchServicesPrivateEndpointConnectionsChildResourceType ; } schema export interface SearchServicesSharedPrivateLinkResourcesChildResource { schema readonly apiVersion : SearchServicesSharedPrivateLinkResourcesChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : SharedPrivateLinkResourceProperties ; schema readonly type : SearchServicesSharedPrivateLinkResourcesChildResourceType ; } export enum SkuName { FREE = 'free' , BASIC = 'basic' , STANDARD = 'standard' , "SkuName_STANDARD2" = 'standard2' , "SkuName_STANDARD3" = 'standard3' , "SkuName_STORAGE_OPTIMIZED_L1" = 'storage_optimized_l1' , "SkuName_STORAGE_OPTIMIZED_L2" = 'storage_optimized_l2' } schema export interface PrivateEndpointConnectionPropertiesPrivateEndpoint { schema readonly id ? : string ; } schema export interface PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState { schema readonly actionsRequired ? : string ; schema readonly description ? : string ; schema readonly status ? : PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateStatus ; } export enum SharedPrivateLinkResourcePropertiesProvisioningState { UPDATING = 'Updating' , DELETING = 'Deleting' , FAILED = 'Failed' , SUCCEEDED = 'Succeeded' , INCOMPLETE = 'Incomplete' } export enum SharedPrivateLinkResourcePropertiesStatus { PENDING = 'Pending' , APPROVED = 'Approved' , REJECTED = 'Rejected' , DISCONNECTED = 'Disconnected' } schema export interface IpRule { schema readonly value ? : string ; } export enum SearchServicesPrivateEndpointConnectionsChildResourceApiVersion { "SearchServicesPrivateEndpointConnectionsChildResourceApiVersion_2020_08_01" = '2020-08-01' } export enum SearchServicesPrivateEndpointConnectionsChildResourceType { PRIVATE_ENDPOINT_CONNECTIONS = 'privateEndpointConnections' } export enum SearchServicesSharedPrivateLinkResourcesChildResourceApiVersion { "SearchServicesSharedPrivateLinkResourcesChildResourceApiVersion_2020_08_01" = '2020-08-01' } export enum SearchServicesSharedPrivateLinkResourcesChildResourceType { SHARED_PRIVATE_LINK_RESOURCES = 'sharedPrivateLinkResources' } export enum PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateStatus { PENDING = 'Pending' , APPROVED = 'Approved' , REJECTED = 'Rejected' , DISCONNECTED = 'Disconnected' }