1. Packages
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. getPhaSupportedLocations
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud

    Using getPhaSupportedLocations

    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 getPhaSupportedLocations(args: GetPhaSupportedLocationsArgs, opts?: InvokeOptions): Promise<GetPhaSupportedLocationsResult>
    function getPhaSupportedLocationsOutput(args: GetPhaSupportedLocationsOutputArgs, opts?: InvokeOptions): Output<GetPhaSupportedLocationsResult>
    def get_pha_supported_locations(id: Optional[str] = None,
                                    if_none_match: Optional[str] = None,
                                    instance_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetPhaSupportedLocationsResult
    def get_pha_supported_locations_output(id: pulumi.Input[Optional[str]] = None,
                                    if_none_match: pulumi.Input[Optional[str]] = None,
                                    instance_id: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetPhaSupportedLocationsResult]
    func GetPhaSupportedLocations(ctx *Context, args *GetPhaSupportedLocationsArgs, opts ...InvokeOption) (*GetPhaSupportedLocationsResult, error)
    func GetPhaSupportedLocationsOutput(ctx *Context, args *GetPhaSupportedLocationsOutputArgs, opts ...InvokeOption) GetPhaSupportedLocationsResultOutput

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

    public static class GetPhaSupportedLocations 
    {
        public static Task<GetPhaSupportedLocationsResult> InvokeAsync(GetPhaSupportedLocationsArgs args, InvokeOptions? opts = null)
        public static Output<GetPhaSupportedLocationsResult> Invoke(GetPhaSupportedLocationsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPhaSupportedLocationsResult> getPhaSupportedLocations(GetPhaSupportedLocationsArgs args, InvokeOptions options)
    public static Output<GetPhaSupportedLocationsResult> getPhaSupportedLocations(GetPhaSupportedLocationsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getPhaSupportedLocations:getPhaSupportedLocations
      arguments:
        # arguments dictionary
    data "ibm_getphasupportedlocations" "name" {
        # arguments
    }

    The following arguments are supported:

    InstanceId string
    Id string
    IfNoneMatch string
    InstanceId string
    Id string
    IfNoneMatch string
    instance_id string
    id string
    if_none_match string
    instanceId String
    id String
    ifNoneMatch String
    instanceId string
    id string
    ifNoneMatch string
    instanceId String
    id String
    ifNoneMatch String

    getPhaSupportedLocations Result

    The following output properties are available:

    Supporting Types

    GetPhaSupportedLocationsLocation

    Id string
    Name string
    Id string
    Name string
    id string
    name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    Viewing docs for ibm 2.1.0
    published on Tuesday, May 5, 2026 by ibm-cloud
      Try Pulumi Cloud free. Your team will thank you.