import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing API Management Gateway Host Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.apimanagement.getService({ * name: "example-apim", * resourceGroupName: "example-resources", * }); * const exampleGetGateway = azure.apimanagement.getGateway({ * name: "example-gateway", * apiManagementId: main.id, * }); * const exampleGetGatewayHostNameConfiguration = Promise.all([example, exampleGetGateway]).then(([example, exampleGetGateway]) => azure.apimanagement.getGatewayHostNameConfiguration({ * name: "example-host-configuration", * apiManagementId: example.id, * gatewayName: exampleGetGateway.name, * })); * export const hostName = exampleGetGatewayHostNameConfiguration.then(exampleGetGatewayHostNameConfiguration => exampleGetGatewayHostNameConfiguration.hostName); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ApiManagement` - 2022-08-01 */ export declare function getGatewayHostNameConfiguration(args: GetGatewayHostNameConfigurationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getGatewayHostNameConfiguration. */ export interface GetGatewayHostNameConfigurationArgs { /** * The ID of the API Management Service. */ apiManagementId: string; /** * The name of the API Management Gateway. * * */ gatewayName: string; /** * The name of the API Management Gateway Host Name Configuration. */ name: string; } /** * A collection of values returned by getGatewayHostNameConfiguration. */ export interface GetGatewayHostNameConfigurationResult { readonly apiManagementId: string; /** * The ID of the certificate used for TLS connection establishment. */ readonly certificateId: string; readonly gatewayName: string; /** * The host name used for the API Management Gateway Host Name Configuration. */ readonly hostName: string; /** * Whether HTTP/2.0 is supported. */ readonly http2Enabled: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * Whether the API Management Gateway requests a client certificate. */ readonly requestClientCertificateEnabled: boolean; /** * Whether TLS 1.0 is supported. */ readonly tls10Enabled: boolean; /** * Whether TLS 1.1 is supported. */ readonly tls11Enabled: boolean; } /** * Use this data source to access information about an existing API Management Gateway Host Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.apimanagement.getService({ * name: "example-apim", * resourceGroupName: "example-resources", * }); * const exampleGetGateway = azure.apimanagement.getGateway({ * name: "example-gateway", * apiManagementId: main.id, * }); * const exampleGetGatewayHostNameConfiguration = Promise.all([example, exampleGetGateway]).then(([example, exampleGetGateway]) => azure.apimanagement.getGatewayHostNameConfiguration({ * name: "example-host-configuration", * apiManagementId: example.id, * gatewayName: exampleGetGateway.name, * })); * export const hostName = exampleGetGatewayHostNameConfiguration.then(exampleGetGatewayHostNameConfiguration => exampleGetGatewayHostNameConfiguration.hostName); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ApiManagement` - 2022-08-01 */ export declare function getGatewayHostNameConfigurationOutput(args: GetGatewayHostNameConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getGatewayHostNameConfiguration. */ export interface GetGatewayHostNameConfigurationOutputArgs { /** * The ID of the API Management Service. */ apiManagementId: pulumi.Input; /** * The name of the API Management Gateway. * * */ gatewayName: pulumi.Input; /** * The name of the API Management Gateway Host Name Configuration. */ name: pulumi.Input; }