1. Registry
  2. Packages
  3. Scaleway
  4. API Docs
  5. idFromRegionalId
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 a regional ID string value, returns the ID without the region prefix.

    Using idFromRegionalId

    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 idFromRegionalId(args: IdFromRegionalIdArgs, opts?: InvokeOptions): Promise<IdFromRegionalIdResult>
    function idFromRegionalIdOutput(args: IdFromRegionalIdOutputArgs, opts?: InvokeOutputOptions): Output<IdFromRegionalIdResult>
    def id_from_regional_id(regional_id: Optional[str] = None,
                            skip_region_validation: Optional[bool] = None,
                            opts: Optional[InvokeOptions] = None) -> IdFromRegionalIdResult
    def id_from_regional_id_output(regional_id: pulumi.Input[Optional[str]] = None,
                            skip_region_validation: pulumi.Input[Optional[bool]] = None,
                            opts: Optional[InvokeOutputOptions] = None) -> Output[IdFromRegionalIdResult]
    func IdFromRegionalId(ctx *Context, args *IdFromRegionalIdArgs, opts ...InvokeOption) (*IdFromRegionalIdResult, error)
    func IdFromRegionalIdOutput(ctx *Context, args *IdFromRegionalIdOutputArgs, opts ...InvokeOption) IdFromRegionalIdResultOutput

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

    public static class IdFromRegionalId 
    {
        public static Task<IdFromRegionalIdResult> InvokeAsync(IdFromRegionalIdArgs args, InvokeOptions? opts = null)
        public static Output<IdFromRegionalIdResult> Invoke(IdFromRegionalIdInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<IdFromRegionalIdResult> idFromRegionalId(IdFromRegionalIdArgs args, InvokeOptions options)
    public static Output<IdFromRegionalIdResult> idFromRegionalId(IdFromRegionalIdArgs args, InvokeOptions options)
    public static Output<IdFromRegionalIdResult> idFromRegionalId(IdFromRegionalIdArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: scaleway:index/idFromRegionalId:idFromRegionalId
      arguments:
        # arguments dictionary
    data "scaleway_id_from_regional_id" "name" {
        # arguments
    }

    The following arguments are supported:

    RegionalId string
    regional ID to extract the ID from
    SkipRegionValidation bool
    If true, will skip region validation with the region known by the Scaleway SDK.
    RegionalId string
    regional ID to extract the ID from
    SkipRegionValidation bool
    If true, will skip region validation with the region known by the Scaleway SDK.
    regional_id string
    regional ID to extract the ID from
    skip_region_validation bool
    If true, will skip region validation with the region known by the Scaleway SDK.
    regionalId String
    regional ID to extract the ID from
    skipRegionValidation Boolean
    If true, will skip region validation with the region known by the Scaleway SDK.
    regionalId string
    regional ID to extract the ID from
    skipRegionValidation boolean
    If true, will skip region validation with the region known by the Scaleway SDK.
    regional_id str
    regional ID to extract the ID from
    skip_region_validation bool
    If true, will skip region validation with the region known by the Scaleway SDK.
    regionalId String
    regional ID to extract the ID from
    skipRegionValidation Boolean
    If true, will skip region validation with the region known by the Scaleway SDK.

    idFromRegionalId 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