Class GetSpringCloudService
Inheritance
System.Object
GetSpringCloudService
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.AppPlatform
Assembly: Pulumi.Azure.dll
Syntax
public static class GetSpringCloudService
Methods
View SourceInvokeAsync(GetSpringCloudServiceArgs, InvokeOptions)
Use this data source to access information about an existing Spring Cloud Service.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.AppPlatform.GetSpringCloudService.InvokeAsync(new Azure.AppPlatform.GetSpringCloudServiceArgs
{
Name = azurerm_spring_cloud_service.Example.Name,
ResourceGroupName = azurerm_spring_cloud_service.Example.Resource_group_name,
}));
this.SpringCloudServiceId = example.Apply(example => example.Id);
}
[Output("springCloudServiceId")]
public Output<string> SpringCloudServiceId { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetSpringCloudServiceResult> InvokeAsync(GetSpringCloudServiceArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSpringCloudServiceArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetSpringCloudServiceResult> |