1. Registry
  2. Packages
  3. Scaleway
  4. API Docs
  5. regionFromId
Viewing docs for Scaleway v1.55.1
published on Wednesday, Sep 9, 2026 by pulumiverse
scaleway logo
Viewing docs for Scaleway v1.55.1
published on Wednesday, Sep 9, 2026 by pulumiverse

    Given an ID string value, returns the region contained in the ID.

    Using regionFromId

    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 regionFromId(args: RegionFromIdArgs, opts?: InvokeOptions): Promise<RegionFromIdResult>
    function regionFromIdOutput(args: RegionFromIdOutputArgs, opts?: InvokeOutputOptions): Output<RegionFromIdResult>
    def region_from_id(id: Optional[str] = None,
                       skip_region_validation: Optional[bool] = None,
                       opts: Optional[InvokeOptions] = None) -> RegionFromIdResult
    def region_from_id_output(id: pulumi.Input[Optional[str]] = None,
                       skip_region_validation: pulumi.Input[Optional[bool]] = None,
                       opts: Optional[InvokeOutputOptions] = None) -> Output[RegionFromIdResult]
    func RegionFromId(ctx *Context, args *RegionFromIdArgs, opts ...InvokeOption) (*RegionFromIdResult, error)
    func RegionFromIdOutput(ctx *Context, args *RegionFromIdOutputArgs, opts ...InvokeOption) RegionFromIdResultOutput

    > Note: This function is named RegionFromId in the Go SDK.

    public static class RegionFromId 
    {
        public static Task<RegionFromIdResult> InvokeAsync(RegionFromIdArgs args, InvokeOptions? opts = null)
        public static Output<RegionFromIdResult> Invoke(RegionFromIdInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<RegionFromIdResult> regionFromId(RegionFromIdArgs args, InvokeOptions options)
    public static Output<RegionFromIdResult> regionFromId(RegionFromIdArgs args, InvokeOptions options)
    public static Output<RegionFromIdResult> regionFromId(RegionFromIdArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: scaleway:index/regionFromId:regionFromId
      arguments:
        # arguments dictionary
    data "scaleway_region_from_id" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    id to extract the region from
    SkipRegionValidation bool
    If true, will skip region validation with the region known by the Scaleway SDK.
    Id string
    id to extract the region from
    SkipRegionValidation bool
    If true, will skip region validation with the region known by the Scaleway SDK.
    id string
    id to extract the region from
    skip_region_validation bool
    If true, will skip region validation with the region known by the Scaleway SDK.
    id String
    id to extract the region from
    skipRegionValidation Boolean
    If true, will skip region validation with the region known by the Scaleway SDK.
    id string
    id to extract the region from
    skipRegionValidation boolean
    If true, will skip region validation with the region known by the Scaleway SDK.
    id str
    id to extract the region from
    skip_region_validation bool
    If true, will skip region validation with the region known by the Scaleway SDK.
    id String
    id to extract the region from
    skipRegionValidation Boolean
    If true, will skip region validation with the region known by the Scaleway SDK.

    regionFromId Result

    The following output properties are available:

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Viewing docs for Scaleway v1.55.1
    published on Wednesday, Sep 9, 2026 by pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial