vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware
vcd.getResourceList
Start a Neo task
Explain and create a vcd.getResourceList resource
Using getResourceList
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 getResourceList(args: GetResourceListArgs, opts?: InvokeOptions): Promise<GetResourceListResult>
function getResourceListOutput(args: GetResourceListOutputArgs, opts?: InvokeOptions): Output<GetResourceListResult>def get_resource_list(id: Optional[str] = None,
import_file_name: Optional[str] = None,
list_mode: Optional[str] = None,
name: Optional[str] = None,
name_id_separator: Optional[str] = None,
name_regex: Optional[str] = None,
org: Optional[str] = None,
parent: Optional[str] = None,
resource_type: Optional[str] = None,
vdc: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResourceListResult
def get_resource_list_output(id: Optional[pulumi.Input[str]] = None,
import_file_name: Optional[pulumi.Input[str]] = None,
list_mode: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
name_id_separator: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
org: Optional[pulumi.Input[str]] = None,
parent: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
vdc: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResourceListResult]func GetResourceList(ctx *Context, args *GetResourceListArgs, opts ...InvokeOption) (*GetResourceListResult, error)
func GetResourceListOutput(ctx *Context, args *GetResourceListOutputArgs, opts ...InvokeOption) GetResourceListResultOutput> Note: This function is named GetResourceList in the Go SDK.
public static class GetResourceList
{
public static Task<GetResourceListResult> InvokeAsync(GetResourceListArgs args, InvokeOptions? opts = null)
public static Output<GetResourceListResult> Invoke(GetResourceListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetResourceListResult> getResourceList(GetResourceListArgs args, InvokeOptions options)
public static Output<GetResourceListResult> getResourceList(GetResourceListArgs args, InvokeOptions options)
fn::invoke:
function: vcd:index/getResourceList:getResourceList
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- An unique name to identify the data source
- Resource
Type string - Which resource we want to list. Supported keywords are:
- Id string
- Import
File stringName - Name of the file containing the import block. (Requires
list_mode = "import"). See [Importing resources][import-resources] for more information on importing. - List
Mode string - How the list should be built. One of:
- Name
Id stringSeparator - A string separating name and ID in the list. Default is " " (two spaces)
- Name
Regex string - If set, will restrict the list of resources to the ones whose name matches the given regular expression.
- Org string
- The name of organization to use, optional if defined at provider level
- Parent string
- The resource parent, such as vApp, catalog, or edge gateway name, when needed.
- Vdc string
- The name of VDC to use, optional if defined at provider level
- Name string
- An unique name to identify the data source
- Resource
Type string - Which resource we want to list. Supported keywords are:
- Id string
- Import
File stringName - Name of the file containing the import block. (Requires
list_mode = "import"). See [Importing resources][import-resources] for more information on importing. - List
Mode string - How the list should be built. One of:
- Name
Id stringSeparator - A string separating name and ID in the list. Default is " " (two spaces)
- Name
Regex string - If set, will restrict the list of resources to the ones whose name matches the given regular expression.
- Org string
- The name of organization to use, optional if defined at provider level
- Parent string
- The resource parent, such as vApp, catalog, or edge gateway name, when needed.
- Vdc string
- The name of VDC to use, optional if defined at provider level
- name String
- An unique name to identify the data source
- resource
Type String - Which resource we want to list. Supported keywords are:
- id String
- import
File StringName - Name of the file containing the import block. (Requires
list_mode = "import"). See [Importing resources][import-resources] for more information on importing. - list
Mode String - How the list should be built. One of:
- name
Id StringSeparator - A string separating name and ID in the list. Default is " " (two spaces)
- name
Regex String - If set, will restrict the list of resources to the ones whose name matches the given regular expression.
- org String
- The name of organization to use, optional if defined at provider level
- parent String
- The resource parent, such as vApp, catalog, or edge gateway name, when needed.
- vdc String
- The name of VDC to use, optional if defined at provider level
- name string
- An unique name to identify the data source
- resource
Type string - Which resource we want to list. Supported keywords are:
- id string
- import
File stringName - Name of the file containing the import block. (Requires
list_mode = "import"). See [Importing resources][import-resources] for more information on importing. - list
Mode string - How the list should be built. One of:
- name
Id stringSeparator - A string separating name and ID in the list. Default is " " (two spaces)
- name
Regex string - If set, will restrict the list of resources to the ones whose name matches the given regular expression.
- org string
- The name of organization to use, optional if defined at provider level
- parent string
- The resource parent, such as vApp, catalog, or edge gateway name, when needed.
- vdc string
- The name of VDC to use, optional if defined at provider level
- name str
- An unique name to identify the data source
- resource_
type str - Which resource we want to list. Supported keywords are:
- id str
- import_
file_ strname - Name of the file containing the import block. (Requires
list_mode = "import"). See [Importing resources][import-resources] for more information on importing. - list_
mode str - How the list should be built. One of:
- name_
id_ strseparator - A string separating name and ID in the list. Default is " " (two spaces)
- name_
regex str - If set, will restrict the list of resources to the ones whose name matches the given regular expression.
- org str
- The name of organization to use, optional if defined at provider level
- parent str
- The resource parent, such as vApp, catalog, or edge gateway name, when needed.
- vdc str
- The name of VDC to use, optional if defined at provider level
- name String
- An unique name to identify the data source
- resource
Type String - Which resource we want to list. Supported keywords are:
- id String
- import
File StringName - Name of the file containing the import block. (Requires
list_mode = "import"). See [Importing resources][import-resources] for more information on importing. - list
Mode String - How the list should be built. One of:
- name
Id StringSeparator - A string separating name and ID in the list. Default is " " (two spaces)
- name
Regex String - If set, will restrict the list of resources to the ones whose name matches the given regular expression.
- org String
- The name of organization to use, optional if defined at provider level
- parent String
- The resource parent, such as vApp, catalog, or edge gateway name, when needed.
- vdc String
- The name of VDC to use, optional if defined at provider level
getResourceList Result
The following output properties are available:
- Id string
- Lists List<string>
- (Computed) The list of requested resources in the chosen format.
- Name string
- Resource
Type string - Import
File stringName - List
Mode string - Name
Id stringSeparator - Name
Regex string - Org string
- Parent string
- Vdc string
- Id string
- Lists []string
- (Computed) The list of requested resources in the chosen format.
- Name string
- Resource
Type string - Import
File stringName - List
Mode string - Name
Id stringSeparator - Name
Regex string - Org string
- Parent string
- Vdc string
- id String
- lists List<String>
- (Computed) The list of requested resources in the chosen format.
- name String
- resource
Type String - import
File StringName - list
Mode String - name
Id StringSeparator - name
Regex String - org String
- parent String
- vdc String
- id string
- lists string[]
- (Computed) The list of requested resources in the chosen format.
- name string
- resource
Type string - import
File stringName - list
Mode string - name
Id stringSeparator - name
Regex string - org string
- parent string
- vdc string
- id str
- lists Sequence[str]
- (Computed) The list of requested resources in the chosen format.
- name str
- resource_
type str - import_
file_ strname - list_
mode str - name_
id_ strseparator - name_
regex str - org str
- parent str
- vdc str
- id String
- lists List<String>
- (Computed) The list of requested resources in the chosen format.
- name String
- resource
Type String - import
File StringName - list
Mode String - name
Id StringSeparator - name
Regex String - org String
- parent String
- vdc String
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcdTerraform Provider.
