get Extended Locations
suspend fun getExtendedLocations(argument: GetExtendedLocationsPlainArgs): GetExtendedLocationsResult
This data source return the available Extended Locations for a specific Azure Region.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.core.getExtendedLocations({
location: "West Europe",
});
Content copied to clipboard
import pulumi
import pulumi_azure as azure
example = azure.core.get_extended_locations(location="West Europe")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.Core.GetExtendedLocations.Invoke(new()
{
Location = "West Europe",
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := core.GetExtendedLocations(ctx, &core.GetExtendedLocationsArgs{
Location: "West Europe",
}, nil)
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.core.inputs.GetExtendedLocationsArgs;
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 = CoreFunctions.getExtendedLocations(GetExtendedLocationsArgs.builder()
.location("West Europe")
.build());
}
}
Content copied to clipboard
variables:
example:
fn::invoke:
function: azure:core:getExtendedLocations
arguments:
location: West Europe
Content copied to clipboard
Return
A collection of values returned by getExtendedLocations.
Parameters
argument
A collection of arguments for invoking getExtendedLocations.
Return
A collection of values returned by getExtendedLocations.
Parameters
location
The Azure location to retrieve the Extended Locations for.
See also
suspend fun getExtendedLocations(argument: suspend GetExtendedLocationsPlainArgsBuilder.() -> Unit): GetExtendedLocationsResult
Return
A collection of values returned by getExtendedLocations.
Parameters
argument
Builder for com.pulumi.azure.core.kotlin.inputs.GetExtendedLocationsPlainArgs.