import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Spring Cloud Service. * * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudService` data source is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.appplatform.getSpringCloudService({ * name: exampleAzurermSpringCloudService.name, * resourceGroupName: exampleAzurermSpringCloudService.resourceGroupName, * }); * export const springCloudServiceId = example.then(example => example.id); * ``` */ export declare function getSpringCloudService(args: GetSpringCloudServiceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSpringCloudService. */ export interface GetSpringCloudServiceArgs { /** * Specifies The name of the Spring Cloud Service resource. */ name: string; /** * Specifies the name of the Resource Group where the Spring Cloud Service exists. */ resourceGroupName: string; } /** * A collection of values returned by getSpringCloudService. */ export interface GetSpringCloudServiceResult { /** * A `configServerGitSetting` block as defined below. */ readonly configServerGitSettings: outputs.appplatform.GetSpringCloudServiceConfigServerGitSetting[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The location of Spring Cloud Service. */ readonly location: string; /** * The name to identify on the Git repository. */ readonly name: string; /** * A list of the outbound Public IP Addresses used by this Spring Cloud Service. */ readonly outboundPublicIpAddresses: string[]; /** * A list of `requiredNetworkTrafficRules` blocks as defined below. */ readonly requiredNetworkTrafficRules: outputs.appplatform.GetSpringCloudServiceRequiredNetworkTrafficRule[]; readonly resourceGroupName: string; /** * A mapping of tags assigned to Spring Cloud Service. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Spring Cloud Service. * * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudService` data source is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.appplatform.getSpringCloudService({ * name: exampleAzurermSpringCloudService.name, * resourceGroupName: exampleAzurermSpringCloudService.resourceGroupName, * }); * export const springCloudServiceId = example.then(example => example.id); * ``` */ export declare function getSpringCloudServiceOutput(args: GetSpringCloudServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSpringCloudService. */ export interface GetSpringCloudServiceOutputArgs { /** * Specifies The name of the Spring Cloud Service resource. */ name: pulumi.Input; /** * Specifies the name of the Resource Group where the Spring Cloud Service exists. */ resourceGroupName: pulumi.Input; }