Azure Classic v5.43.0, May 6 23
Azure Classic v5.43.0, May 6 23
azure.appservice.getEnvironmentV3
Explore with Pulumi AI
Use this data source to access information about an existing 3rd Generation (v3) App Service Environment.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.AppService.GetEnvironmentV3.Invoke(new()
{
Name = "example-ASE",
ResourceGroupName = "example-resource-group",
});
return new Dictionary<string, object?>
{
["id"] = example.Apply(getEnvironmentV3Result => getEnvironmentV3Result.Id),
};
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := appservice.LookupEnvironmentV3(ctx, &appservice.LookupEnvironmentV3Args{
Name: "example-ASE",
ResourceGroupName: "example-resource-group",
}, nil)
if err != nil {
return err
}
ctx.Export("id", example.Id)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.appservice.AppserviceFunctions;
import com.pulumi.azure.appservice.inputs.GetEnvironmentV3Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AppserviceFunctions.getEnvironmentV3(GetEnvironmentV3Args.builder()
.name("example-ASE")
.resourceGroupName("example-resource-group")
.build());
ctx.export("id", example.applyValue(getEnvironmentV3Result -> getEnvironmentV3Result.id()));
}
}
import pulumi
import pulumi_azure as azure
example = azure.appservice.get_environment_v3(name="example-ASE",
resource_group_name="example-resource-group")
pulumi.export("id", example.id)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.appservice.getEnvironmentV3({
name: "example-ASE",
resourceGroupName: "example-resource-group",
});
export const id = example.then(example => example.id);
variables:
example:
fn::invoke:
Function: azure:appservice:getEnvironmentV3
Arguments:
name: example-ASE
resourceGroupName: example-resource-group
outputs:
id: ${example.id}
Using getEnvironmentV3
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEnvironmentV3(args: GetEnvironmentV3Args, opts?: InvokeOptions): Promise<GetEnvironmentV3Result>
function getEnvironmentV3Output(args: GetEnvironmentV3OutputArgs, opts?: InvokeOptions): Output<GetEnvironmentV3Result>
def get_environment_v3(name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnvironmentV3Result
def get_environment_v3_output(name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentV3Result]
func LookupEnvironmentV3(ctx *Context, args *LookupEnvironmentV3Args, opts ...InvokeOption) (*LookupEnvironmentV3Result, error)
func LookupEnvironmentV3Output(ctx *Context, args *LookupEnvironmentV3OutputArgs, opts ...InvokeOption) LookupEnvironmentV3ResultOutput
> Note: This function is named LookupEnvironmentV3
in the Go SDK.
public static class GetEnvironmentV3
{
public static Task<GetEnvironmentV3Result> InvokeAsync(GetEnvironmentV3Args args, InvokeOptions? opts = null)
public static Output<GetEnvironmentV3Result> Invoke(GetEnvironmentV3InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentV3Result> getEnvironmentV3(GetEnvironmentV3Args args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:appservice/getEnvironmentV3:getEnvironmentV3
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
The name of this v3 App Service Environment.
- Resource
Group stringName The name of the Resource Group where the v3 App Service Environment exists.
- Name string
The name of this v3 App Service Environment.
- Resource
Group stringName The name of the Resource Group where the v3 App Service Environment exists.
- name String
The name of this v3 App Service Environment.
- resource
Group StringName The name of the Resource Group where the v3 App Service Environment exists.
- name string
The name of this v3 App Service Environment.
- resource
Group stringName The name of the Resource Group where the v3 App Service Environment exists.
- name str
The name of this v3 App Service Environment.
- resource_
group_ strname The name of the Resource Group where the v3 App Service Environment exists.
- name String
The name of this v3 App Service Environment.
- resource
Group StringName The name of the Resource Group where the v3 App Service Environment exists.
getEnvironmentV3 Result
The following output properties are available:
- Allow
New boolPrivate Endpoint Connections Are new Private Endpoint Connections allowed.
- Cluster
Settings List<GetEnvironment V3Cluster Setting> A
cluster_setting
block as defined below.- Dedicated
Host intCount The number of Dedicated Hosts used by this ASEv3.
- Dns
Suffix string the DNS suffix for this App Service Environment V3.
- External
Inbound List<string>Ip Addresses The external inbound IP addresses of the App Service Environment V3.
- Id string
The provider-assigned unique ID for this managed resource.
- Inbound
Network List<GetDependencies Environment V3Inbound Network Dependency> An Inbound Network Dependencies block as defined below.
- Internal
Inbound List<string>Ip Addresses The internal inbound IP addresses of the App Service Environment V3.
- Internal
Load stringBalancing Mode The Internal Load Balancing Mode of this ASEv3.
- Ip
Ssl intAddress Count The number of IP SSL addresses reserved for the App Service Environment V3.
- Linux
Outbound List<string>Ip Addresses The list of Outbound IP Addresses of Linux based Apps in this App Service Environment V3.
- Location string
The location where the App Service Environment exists.
- Name string
The name of the Cluster Setting.
- Pricing
Tier string Pricing tier for the front end instances.
- Resource
Group stringName - Subnet
Id string The ID of the v3 App Service Environment Subnet.
- Dictionary<string, string>
A mapping of tags assigned to the v3 App Service Environment.
- Windows
Outbound List<string>Ip Addresses Outbound addresses of Windows based Apps in this App Service Environment V3.
- Zone
Redundant bool
- Allow
New boolPrivate Endpoint Connections Are new Private Endpoint Connections allowed.
- Cluster
Settings []GetEnvironment V3Cluster Setting A
cluster_setting
block as defined below.- Dedicated
Host intCount The number of Dedicated Hosts used by this ASEv3.
- Dns
Suffix string the DNS suffix for this App Service Environment V3.
- External
Inbound []stringIp Addresses The external inbound IP addresses of the App Service Environment V3.
- Id string
The provider-assigned unique ID for this managed resource.
- Inbound
Network []GetDependencies Environment V3Inbound Network Dependency An Inbound Network Dependencies block as defined below.
- Internal
Inbound []stringIp Addresses The internal inbound IP addresses of the App Service Environment V3.
- Internal
Load stringBalancing Mode The Internal Load Balancing Mode of this ASEv3.
- Ip
Ssl intAddress Count The number of IP SSL addresses reserved for the App Service Environment V3.
- Linux
Outbound []stringIp Addresses The list of Outbound IP Addresses of Linux based Apps in this App Service Environment V3.
- Location string
The location where the App Service Environment exists.
- Name string
The name of the Cluster Setting.
- Pricing
Tier string Pricing tier for the front end instances.
- Resource
Group stringName - Subnet
Id string The ID of the v3 App Service Environment Subnet.
- map[string]string
A mapping of tags assigned to the v3 App Service Environment.
- Windows
Outbound []stringIp Addresses Outbound addresses of Windows based Apps in this App Service Environment V3.
- Zone
Redundant bool
- allow
New BooleanPrivate Endpoint Connections Are new Private Endpoint Connections allowed.
- cluster
Settings List<GetEnvironment V3Cluster Setting> A
cluster_setting
block as defined below.- dedicated
Host IntegerCount The number of Dedicated Hosts used by this ASEv3.
- dns
Suffix String the DNS suffix for this App Service Environment V3.
- external
Inbound List<String>Ip Addresses The external inbound IP addresses of the App Service Environment V3.
- id String
The provider-assigned unique ID for this managed resource.
- inbound
Network List<GetDependencies Environment V3Inbound Network Dependency> An Inbound Network Dependencies block as defined below.
- internal
Inbound List<String>Ip Addresses The internal inbound IP addresses of the App Service Environment V3.
- internal
Load StringBalancing Mode The Internal Load Balancing Mode of this ASEv3.
- ip
Ssl IntegerAddress Count The number of IP SSL addresses reserved for the App Service Environment V3.
- linux
Outbound List<String>Ip Addresses The list of Outbound IP Addresses of Linux based Apps in this App Service Environment V3.
- location String
The location where the App Service Environment exists.
- name String
The name of the Cluster Setting.
- pricing
Tier String Pricing tier for the front end instances.
- resource
Group StringName - subnet
Id String The ID of the v3 App Service Environment Subnet.
- Map<String,String>
A mapping of tags assigned to the v3 App Service Environment.
- windows
Outbound List<String>Ip Addresses Outbound addresses of Windows based Apps in this App Service Environment V3.
- zone
Redundant Boolean
- allow
New booleanPrivate Endpoint Connections Are new Private Endpoint Connections allowed.
- cluster
Settings GetEnvironment V3Cluster Setting[] A
cluster_setting
block as defined below.- dedicated
Host numberCount The number of Dedicated Hosts used by this ASEv3.
- dns
Suffix string the DNS suffix for this App Service Environment V3.
- external
Inbound string[]Ip Addresses The external inbound IP addresses of the App Service Environment V3.
- id string
The provider-assigned unique ID for this managed resource.
- inbound
Network GetDependencies Environment V3Inbound Network Dependency[] An Inbound Network Dependencies block as defined below.
- internal
Inbound string[]Ip Addresses The internal inbound IP addresses of the App Service Environment V3.
- internal
Load stringBalancing Mode The Internal Load Balancing Mode of this ASEv3.
- ip
Ssl numberAddress Count The number of IP SSL addresses reserved for the App Service Environment V3.
- linux
Outbound string[]Ip Addresses The list of Outbound IP Addresses of Linux based Apps in this App Service Environment V3.
- location string
The location where the App Service Environment exists.
- name string
The name of the Cluster Setting.
- pricing
Tier string Pricing tier for the front end instances.
- resource
Group stringName - subnet
Id string The ID of the v3 App Service Environment Subnet.
- {[key: string]: string}
A mapping of tags assigned to the v3 App Service Environment.
- windows
Outbound string[]Ip Addresses Outbound addresses of Windows based Apps in this App Service Environment V3.
- zone
Redundant boolean
- allow_
new_ boolprivate_ endpoint_ connections Are new Private Endpoint Connections allowed.
- cluster_
settings Sequence[GetEnvironment V3Cluster Setting] A
cluster_setting
block as defined below.- dedicated_
host_ intcount The number of Dedicated Hosts used by this ASEv3.
- dns_
suffix str the DNS suffix for this App Service Environment V3.
- external_
inbound_ Sequence[str]ip_ addresses The external inbound IP addresses of the App Service Environment V3.
- id str
The provider-assigned unique ID for this managed resource.
- inbound_
network_ Sequence[Getdependencies Environment V3Inbound Network Dependency] An Inbound Network Dependencies block as defined below.
- internal_
inbound_ Sequence[str]ip_ addresses The internal inbound IP addresses of the App Service Environment V3.
- internal_
load_ strbalancing_ mode The Internal Load Balancing Mode of this ASEv3.
- ip_
ssl_ intaddress_ count The number of IP SSL addresses reserved for the App Service Environment V3.
- linux_
outbound_ Sequence[str]ip_ addresses The list of Outbound IP Addresses of Linux based Apps in this App Service Environment V3.
- location str
The location where the App Service Environment exists.
- name str
The name of the Cluster Setting.
- pricing_
tier str Pricing tier for the front end instances.
- resource_
group_ strname - subnet_
id str The ID of the v3 App Service Environment Subnet.
- Mapping[str, str]
A mapping of tags assigned to the v3 App Service Environment.
- windows_
outbound_ Sequence[str]ip_ addresses Outbound addresses of Windows based Apps in this App Service Environment V3.
- zone_
redundant bool
- allow
New BooleanPrivate Endpoint Connections Are new Private Endpoint Connections allowed.
- cluster
Settings List<Property Map> A
cluster_setting
block as defined below.- dedicated
Host NumberCount The number of Dedicated Hosts used by this ASEv3.
- dns
Suffix String the DNS suffix for this App Service Environment V3.
- external
Inbound List<String>Ip Addresses The external inbound IP addresses of the App Service Environment V3.
- id String
The provider-assigned unique ID for this managed resource.
- inbound
Network List<Property Map>Dependencies An Inbound Network Dependencies block as defined below.
- internal
Inbound List<String>Ip Addresses The internal inbound IP addresses of the App Service Environment V3.
- internal
Load StringBalancing Mode The Internal Load Balancing Mode of this ASEv3.
- ip
Ssl NumberAddress Count The number of IP SSL addresses reserved for the App Service Environment V3.
- linux
Outbound List<String>Ip Addresses The list of Outbound IP Addresses of Linux based Apps in this App Service Environment V3.
- location String
The location where the App Service Environment exists.
- name String
The name of the Cluster Setting.
- pricing
Tier String Pricing tier for the front end instances.
- resource
Group StringName - subnet
Id String The ID of the v3 App Service Environment Subnet.
- Map<String>
A mapping of tags assigned to the v3 App Service Environment.
- windows
Outbound List<String>Ip Addresses Outbound addresses of Windows based Apps in this App Service Environment V3.
- zone
Redundant Boolean
Supporting Types
GetEnvironmentV3ClusterSetting
GetEnvironmentV3InboundNetworkDependency
- Description string
A short description of the purpose of the network traffic.
- Ip
Addresses List<string> A list of IP addresses that network traffic will originate from in CIDR notation.
- Ports List<string>
The ports that network traffic will arrive to the App Service Environment V3 on.
- Description string
A short description of the purpose of the network traffic.
- Ip
Addresses []string A list of IP addresses that network traffic will originate from in CIDR notation.
- Ports []string
The ports that network traffic will arrive to the App Service Environment V3 on.
- description String
A short description of the purpose of the network traffic.
- ip
Addresses List<String> A list of IP addresses that network traffic will originate from in CIDR notation.
- ports List<String>
The ports that network traffic will arrive to the App Service Environment V3 on.
- description string
A short description of the purpose of the network traffic.
- ip
Addresses string[] A list of IP addresses that network traffic will originate from in CIDR notation.
- ports string[]
The ports that network traffic will arrive to the App Service Environment V3 on.
- description str
A short description of the purpose of the network traffic.
- ip_
addresses Sequence[str] A list of IP addresses that network traffic will originate from in CIDR notation.
- ports Sequence[str]
The ports that network traffic will arrive to the App Service Environment V3 on.
- description String
A short description of the purpose of the network traffic.
- ip
Addresses List<String> A list of IP addresses that network traffic will originate from in CIDR notation.
- ports List<String>
The ports that network traffic will arrive to the App Service Environment V3 on.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.