import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Manages a Search Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const exampleResourceGroup = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const example = azure.search.getServiceOutput({ * name: "example-search-service", * resourceGroupName: exampleResourceGroup.name, * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Search` - 2025-05-01 */ export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getService. */ export interface GetServiceArgs { /** * The Name of the Search Service. */ name: string; /** * The name of the Resource Group where the Search Service exists. */ resourceGroupName: string; } /** * A collection of values returned by getService. */ export interface GetServiceResult { /** * Describes whether the search service is compliant or not with respect to having non-customer encrypted resources. If a service has more than one non-customer encrypted resource and `Enforcement` is `enabled` then the service will be marked as `NonCompliant`. If all the resources are customer encrypted, then the service will be marked as `Compliant`. */ readonly customerManagedKeyEncryptionComplianceStatus: string; /** * The endpoint used to connect to this Search Service. */ readonly endpoint: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as defined below. */ readonly identities: outputs.search.GetServiceIdentity[]; /** * The name of this Query Key. */ readonly name: string; /** * The number of partitions which have been created. */ readonly partitionCount: number; /** * The Primary Key used for Search Service Administration. */ readonly primaryKey: string; /** * Whether or not public network access is enabled for this resource. */ readonly publicNetworkAccessEnabled: boolean; /** * A `queryKeys` block as defined below. */ readonly queryKeys: outputs.search.GetServiceQueryKey[]; /** * The number of replica's which have been created. */ readonly replicaCount: number; readonly resourceGroupName: string; /** * The Secondary Key used for Search Service Administration. */ readonly secondaryKey: string; /** * A mapping of tags assigned to the resource. */ readonly tags: { [key: string]: string; }; } /** * Manages a Search Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const exampleResourceGroup = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const example = azure.search.getServiceOutput({ * name: "example-search-service", * resourceGroupName: exampleResourceGroup.name, * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Search` - 2025-05-01 */ export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getService. */ export interface GetServiceOutputArgs { /** * The Name of the Search Service. */ name: pulumi.Input; /** * The name of the Resource Group where the Search Service exists. */ resourceGroupName: pulumi.Input; }