Viewing docs for vcd 3.14.1
published on Monday, Apr 14, 2025 by vmware
published on Monday, Apr 14, 2025 by vmware
Viewing docs for vcd 3.14.1
published on Monday, Apr 14, 2025 by vmware
published on Monday, Apr 14, 2025 by vmware
Provides a VMware Cloud Director Org VDC Network data source directly connected to an external network. This can be used to reference internal networks for vApps to connect.
Supported in provider v2.5+
Using getNetworkDirect
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 getNetworkDirect(args: GetNetworkDirectArgs, opts?: InvokeOptions): Promise<GetNetworkDirectResult>
function getNetworkDirectOutput(args: GetNetworkDirectOutputArgs, opts?: InvokeOptions): Output<GetNetworkDirectResult>def get_network_direct(filter: Optional[GetNetworkDirectFilter] = None,
id: Optional[str] = None,
name: Optional[str] = None,
org: Optional[str] = None,
vdc: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkDirectResult
def get_network_direct_output(filter: Optional[pulumi.Input[GetNetworkDirectFilterArgs]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
org: Optional[pulumi.Input[str]] = None,
vdc: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkDirectResult]func LookupNetworkDirect(ctx *Context, args *LookupNetworkDirectArgs, opts ...InvokeOption) (*LookupNetworkDirectResult, error)
func LookupNetworkDirectOutput(ctx *Context, args *LookupNetworkDirectOutputArgs, opts ...InvokeOption) LookupNetworkDirectResultOutput> Note: This function is named LookupNetworkDirect in the Go SDK.
public static class GetNetworkDirect
{
public static Task<GetNetworkDirectResult> InvokeAsync(GetNetworkDirectArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkDirectResult> Invoke(GetNetworkDirectInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkDirectResult> getNetworkDirect(GetNetworkDirectArgs args, InvokeOptions options)
public static Output<GetNetworkDirectResult> getNetworkDirect(GetNetworkDirectArgs args, InvokeOptions options)
fn::invoke:
function: vcd:index/getNetworkDirect:getNetworkDirect
arguments:
# arguments dictionaryThe following arguments are supported:
- Filter
Get
Network Direct Filter - Retrieves the data source using one or more filter parameters
- Id string
- Name string
- A unique name for the network (optional when
filteris used) - Org string
- The name of organization to use, optional if defined at provider level.
- Vdc string
- The name of VDC to use, optional if defined at provider level.
- Filter
Get
Network Direct Filter - Retrieves the data source using one or more filter parameters
- Id string
- Name string
- A unique name for the network (optional when
filteris used) - Org string
- The name of organization to use, optional if defined at provider level.
- Vdc string
- The name of VDC to use, optional if defined at provider level.
- filter
Get
Network Direct Filter - Retrieves the data source using one or more filter parameters
- id String
- name String
- A unique name for the network (optional when
filteris used) - org String
- The name of organization to use, optional if defined at provider level.
- vdc String
- The name of VDC to use, optional if defined at provider level.
- filter
Get
Network Direct Filter - Retrieves the data source using one or more filter parameters
- id string
- name string
- A unique name for the network (optional when
filteris used) - org string
- The name of organization to use, optional if defined at provider level.
- vdc string
- The name of VDC to use, optional if defined at provider level.
- filter
Get
Network Direct Filter - Retrieves the data source using one or more filter parameters
- id str
- name str
- A unique name for the network (optional when
filteris used) - org str
- The name of organization to use, optional if defined at provider level.
- vdc str
- The name of VDC to use, optional if defined at provider level.
- filter Property Map
- Retrieves the data source using one or more filter parameters
- id String
- name String
- A unique name for the network (optional when
filteris used) - org String
- The name of organization to use, optional if defined at provider level.
- vdc String
- The name of VDC to use, optional if defined at provider level.
getNetworkDirect Result
The following output properties are available:
- Description string
- External
Network string - The name of the external network.
- External
Network stringDns1 - External
Network stringDns2 - External
Network stringDns Suffix - External
Network stringGateway - External
Network stringNetmask - Href string
- Id string
- Metadata Dictionary<string, string>
- Metadata
Entries List<GetNetwork Direct Metadata Entry> - bool
- Defines if this network is shared between multiple vDCs in the vOrg.
- Filter
Get
Network Direct Filter - Name string
- Org string
- Vdc string
- Description string
- External
Network string - The name of the external network.
- External
Network stringDns1 - External
Network stringDns2 - External
Network stringDns Suffix - External
Network stringGateway - External
Network stringNetmask - Href string
- Id string
- Metadata map[string]string
- Metadata
Entries []GetNetwork Direct Metadata Entry - bool
- Defines if this network is shared between multiple vDCs in the vOrg.
- Filter
Get
Network Direct Filter - Name string
- Org string
- Vdc string
- description String
- external
Network String - The name of the external network.
- external
Network StringDns1 - external
Network StringDns2 - external
Network StringDns Suffix - external
Network StringGateway - external
Network StringNetmask - href String
- id String
- metadata Map<String,String>
- metadata
Entries List<GetNetwork Direct Metadata Entry> - Boolean
- Defines if this network is shared between multiple vDCs in the vOrg.
- filter
Get
Network Direct Filter - name String
- org String
- vdc String
- description string
- external
Network string - The name of the external network.
- external
Network stringDns1 - external
Network stringDns2 - external
Network stringDns Suffix - external
Network stringGateway - external
Network stringNetmask - href string
- id string
- metadata {[key: string]: string}
- metadata
Entries GetNetwork Direct Metadata Entry[] - boolean
- Defines if this network is shared between multiple vDCs in the vOrg.
- filter
Get
Network Direct Filter - name string
- org string
- vdc string
- description str
- external_
network str - The name of the external network.
- external_
network_ strdns1 - external_
network_ strdns2 - external_
network_ strdns_ suffix - external_
network_ strgateway - external_
network_ strnetmask - href str
- id str
- metadata Mapping[str, str]
- metadata_
entries Sequence[GetNetwork Direct Metadata Entry] - bool
- Defines if this network is shared between multiple vDCs in the vOrg.
- filter
Get
Network Direct Filter - name str
- org str
- vdc str
- description String
- external
Network String - The name of the external network.
- external
Network StringDns1 - external
Network StringDns2 - external
Network StringDns Suffix - external
Network StringGateway - external
Network StringNetmask - href String
- id String
- metadata Map<String>
- metadata
Entries List<Property Map> - Boolean
- Defines if this network is shared between multiple vDCs in the vOrg.
- filter Property Map
- name String
- org String
- vdc String
Supporting Types
GetNetworkDirectFilter
- Ip string
- Search by IP. The value can be a regular expression
- Metadatas
List<Get
Network Direct Filter Metadata> - metadata filter
- Name
Regex string - Search by name with a regular expression
- Ip string
- Search by IP. The value can be a regular expression
- Metadatas
[]Get
Network Direct Filter Metadata - metadata filter
- Name
Regex string - Search by name with a regular expression
- ip String
- Search by IP. The value can be a regular expression
- metadatas
List<Get
Network Direct Filter Metadata> - metadata filter
- name
Regex String - Search by name with a regular expression
- ip string
- Search by IP. The value can be a regular expression
- metadatas
Get
Network Direct Filter Metadata[] - metadata filter
- name
Regex string - Search by name with a regular expression
- ip str
- Search by IP. The value can be a regular expression
- metadatas
Sequence[Get
Network Direct Filter Metadata] - metadata filter
- name_
regex str - Search by name with a regular expression
- ip String
- Search by IP. The value can be a regular expression
- metadatas List<Property Map>
- metadata filter
- name
Regex String - Search by name with a regular expression
GetNetworkDirectFilterMetadata
- Key string
- Metadata key (field name)
- Value string
- Metadata value (can be a regular expression if "use_api_search" is false)
- Is
System bool - True if is a metadata@SYSTEM key
- Type string
- Type of metadata value (needed only if "use_api_search" is true)
- Use
Api boolSearch - If true, will search the vCD using native metadata query (without regular expressions)
- Key string
- Metadata key (field name)
- Value string
- Metadata value (can be a regular expression if "use_api_search" is false)
- Is
System bool - True if is a metadata@SYSTEM key
- Type string
- Type of metadata value (needed only if "use_api_search" is true)
- Use
Api boolSearch - If true, will search the vCD using native metadata query (without regular expressions)
- key String
- Metadata key (field name)
- value String
- Metadata value (can be a regular expression if "use_api_search" is false)
- is
System Boolean - True if is a metadata@SYSTEM key
- type String
- Type of metadata value (needed only if "use_api_search" is true)
- use
Api BooleanSearch - If true, will search the vCD using native metadata query (without regular expressions)
- key string
- Metadata key (field name)
- value string
- Metadata value (can be a regular expression if "use_api_search" is false)
- is
System boolean - True if is a metadata@SYSTEM key
- type string
- Type of metadata value (needed only if "use_api_search" is true)
- use
Api booleanSearch - If true, will search the vCD using native metadata query (without regular expressions)
- key str
- Metadata key (field name)
- value str
- Metadata value (can be a regular expression if "use_api_search" is false)
- is_
system bool - True if is a metadata@SYSTEM key
- type str
- Type of metadata value (needed only if "use_api_search" is true)
- use_
api_ boolsearch - If true, will search the vCD using native metadata query (without regular expressions)
- key String
- Metadata key (field name)
- value String
- Metadata value (can be a regular expression if "use_api_search" is false)
- is
System Boolean - True if is a metadata@SYSTEM key
- type String
- Type of metadata value (needed only if "use_api_search" is true)
- use
Api BooleanSearch - If true, will search the vCD using native metadata query (without regular expressions)
GetNetworkDirectMetadataEntry
- Is
System bool - Key string
- Type string
- User
Access string - Value string
- Is
System bool - Key string
- Type string
- User
Access string - Value string
- is
System Boolean - key String
- type String
- user
Access String - value String
- is
System boolean - key string
- type string
- user
Access string - value string
- is_
system bool - key str
- type str
- user_
access str - value str
- is
System Boolean - key String
- type String
- user
Access String - value String
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcdTerraform Provider.
Viewing docs for vcd 3.14.1
published on Monday, Apr 14, 2025 by vmware
published on Monday, Apr 14, 2025 by vmware
