title: "getIds" title_tag: "huaweicloud.Vpc.getIds" meta_desc: "Documentation for the huaweicloud.Vpc.getIds function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true


Using getIds {#using}

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 getIds(args: GetIdsArgs, opts?: InvokeOptions): Promise<GetIdsResult>
function getIdsOutput(args: GetIdsOutputArgs, opts?: InvokeOptions): Output<GetIdsResult>
def get_ids(region: Optional[str] = None,
            opts: Optional[InvokeOptions] = None) -> GetIdsResult
def get_ids_output(region: Optional[pulumi.Input[str]] = None,
            opts: Optional[InvokeOptions] = None) -> Output[GetIdsResult]
func GetIds(ctx *Context, args *GetIdsArgs, opts ...InvokeOption) (*GetIdsResult, error)
func GetIdsOutput(ctx *Context, args *GetIdsOutputArgs, opts ...InvokeOption) GetIdsResultOutput

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

public static class GetIds 
{
    public static Task<GetIdsResult> InvokeAsync(GetIdsArgs args, InvokeOptions? opts = null)
    public static Output<GetIdsResult> Invoke(GetIdsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIdsResult> getIds(GetIdsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: huaweicloud:Vpc/getIds:getIds
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Region string
Region string
region String
region string
region str
region String

getIds Result {#result}

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>
Region string
Id string

The provider-assigned unique ID for this managed resource.

Ids []string
Region string
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
region String
id string

The provider-assigned unique ID for this managed resource.

ids string[]
region string
id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]
region str
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
region String

Package Details

Repository
https://github.com/huaweicloud/pulumi-huaweicloud
License
Apache-2.0
Notes

This Pulumi package is based on the huaweicloud Terraform Provider.