We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
This data source return the available Extended Locations for a specific Azure Region.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.Core.GetExtendedLocations.InvokeAsync(new Azure.Core.GetExtendedLocationsArgs
{
Location = "West Europe",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/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
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = pulumi.output(azure.core.getExtendedLocations({
location: "West Europe",
}));
import pulumi
import pulumi_azure as azure
example = azure.core.get_extended_locations(location="West Europe")
Example coming soon!
Using getExtendedLocations
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 getExtendedLocations(args: GetExtendedLocationsArgs, opts?: InvokeOptions): Promise<GetExtendedLocationsResult>
function getExtendedLocationsOutput(args: GetExtendedLocationsOutputArgs, opts?: InvokeOptions): Output<GetExtendedLocationsResult>def get_extended_locations(location: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExtendedLocationsResult
def get_extended_locations_output(location: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExtendedLocationsResult]func GetExtendedLocations(ctx *Context, args *GetExtendedLocationsArgs, opts ...InvokeOption) (*GetExtendedLocationsResult, error)
func GetExtendedLocationsOutput(ctx *Context, args *GetExtendedLocationsOutputArgs, opts ...InvokeOption) GetExtendedLocationsResultOutput> Note: This function is named GetExtendedLocations in the Go SDK.
public static class GetExtendedLocations
{
public static Task<GetExtendedLocationsResult> InvokeAsync(GetExtendedLocationsArgs args, InvokeOptions? opts = null)
public static Output<GetExtendedLocationsResult> Invoke(GetExtendedLocationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetExtendedLocationsResult> getExtendedLocations(GetExtendedLocationsArgs args, InvokeOptions options)
public static Output<GetExtendedLocationsResult> getExtendedLocations(GetExtendedLocationsArgs args, InvokeOptions options)
fn::invoke:
function: azure:core/getExtendedLocations:getExtendedLocations
arguments:
# arguments dictionaryThe following arguments are supported:
- Location string
- The Azure location to retrieve the Extended Locations for.
- Location string
- The Azure location to retrieve the Extended Locations for.
- location String
- The Azure location to retrieve the Extended Locations for.
- location string
- The Azure location to retrieve the Extended Locations for.
- location str
- The Azure location to retrieve the Extended Locations for.
- location String
- The Azure location to retrieve the Extended Locations for.
getExtendedLocations Result
The following output properties are available:
- Extended
Locations List<string> - The available extended locations for the Azure Location.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Extended
Locations []string - The available extended locations for the Azure Location.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- extended
Locations List<String> - The available extended locations for the Azure Location.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- extended
Locations string[] - The available extended locations for the Azure Location.
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- extended_
locations Sequence[str] - The available extended locations for the Azure Location.
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- extended
Locations List<String> - The available extended locations for the Azure Location.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
