import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing API Management Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.apimanagement.getService({ * name: "search-api", * resourceGroupName: "search-service", * }); * export const apiManagementId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ApiManagement` - 2024-05-01, 2022-08-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 API Management service. */ name: string; /** * The Name of the Resource Group in which the API Management Service exists. */ resourceGroupName: string; /** * A mapping of tags assigned to the resource. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getService. */ export interface GetServiceResult { /** * Zero or more `additionalLocation` blocks as defined below */ readonly additionalLocations: outputs.apimanagement.GetServiceAdditionalLocation[]; /** * The URL for the Developer Portal associated with this API Management service. */ readonly developerPortalUrl: string; /** * Gateway URL of the API Management service in the Region. */ readonly gatewayRegionalUrl: string; /** * The URL for the API Management Service's Gateway. */ readonly gatewayUrl: string; /** * A `hostnameConfiguration` block as defined below. */ readonly hostnameConfigurations: outputs.apimanagement.GetServiceHostnameConfiguration[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as defined below. */ readonly identities: outputs.apimanagement.GetServiceIdentity[]; /** * The location name of the additional region among Azure Data center regions. */ readonly location: string; /** * The URL for the Management API. */ readonly managementApiUrl: string; readonly name: string; /** * The email address from which the notification will be sent. */ readonly notificationSenderEmail: string; /** * The URL of the Publisher Portal. */ readonly portalUrl: string; /** * Private IP addresses of the API Management service in the additional location, for instances using virtual network mode. */ readonly privateIpAddresses: string[]; /** * ID of the standard SKU IPv4 Public IP. Available only for Premium SKU deployed in a virtual network. */ readonly publicIpAddressId: string; /** * Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU. */ readonly publicIpAddresses: string[]; /** * The email of Publisher/Company of the API Management Service. */ readonly publisherEmail: string; /** * The name of the Publisher/Company of the API Management Service. */ readonly publisherName: string; readonly resourceGroupName: string; /** * The SCM (Source Code Management) endpoint. */ readonly scmUrl: string; /** * The SKU of the API Management Service consisting of the name and capacity, separated by an underscore. */ readonly skuName: string; /** * A mapping of tags assigned to the resource. */ readonly tags?: { [key: string]: string; }; /** * A `tenantAccess` block as defined below. */ readonly tenantAccesses: outputs.apimanagement.GetServiceTenantAccess[]; } /** * Use this data source to access information about an existing API Management Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.apimanagement.getService({ * name: "search-api", * resourceGroupName: "search-service", * }); * export const apiManagementId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ApiManagement` - 2024-05-01, 2022-08-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 API Management service. */ name: pulumi.Input; /** * The Name of the Resource Group in which the API Management Service exists. */ resourceGroupName: pulumi.Input; /** * A mapping of tags assigned to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }