Class GetAppServiceEnvironment
Inheritance
System.Object
GetAppServiceEnvironment
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.AppService
Assembly: Pulumi.Azure.dll
Syntax
public static class GetAppServiceEnvironment
Methods
View SourceInvokeAsync(GetAppServiceEnvironmentArgs, InvokeOptions)
Use this data source to access information about an existing App Service Environment
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.AppService.GetAppServiceEnvironment.InvokeAsync(new Azure.AppService.GetAppServiceEnvironmentArgs
{
Name = "example-ase",
ResourceGroupName = "example-rg",
}));
this.AppServiceEnvironmentId = data.Azurerm_app_service_environment.Id;
}
[Output("appServiceEnvironmentId")]
public Output<string> AppServiceEnvironmentId { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetAppServiceEnvironmentResult> InvokeAsync(GetAppServiceEnvironmentArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAppServiceEnvironmentArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetAppServiceEnvironmentResult> |