Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
nutanix.getVpc
Explore with Pulumi AI
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
Provides a datasource to retrieve VPC with vpc_uuid or vpc_name .
Using getVpc
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 getVpc(args: GetVpcArgs, opts?: InvokeOptions): Promise<GetVpcResult>
function getVpcOutput(args: GetVpcOutputArgs, opts?: InvokeOptions): Output<GetVpcResult>
def get_vpc(vpc_name: Optional[str] = None,
vpc_uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcResult
def get_vpc_output(vpc_name: Optional[pulumi.Input[str]] = None,
vpc_uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcResult]
func LookupVpc(ctx *Context, args *LookupVpcArgs, opts ...InvokeOption) (*LookupVpcResult, error)
func LookupVpcOutput(ctx *Context, args *LookupVpcOutputArgs, opts ...InvokeOption) LookupVpcResultOutput
> Note: This function is named LookupVpc
in the Go SDK.
public static class GetVpc
{
public static Task<GetVpcResult> InvokeAsync(GetVpcArgs args, InvokeOptions? opts = null)
public static Output<GetVpcResult> Invoke(GetVpcInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVpcResult> getVpc(GetVpcArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getVpc:getVpc
arguments:
# arguments dictionary
The following arguments are supported:
getVpc Result
The following output properties are available:
- Api
Version string - The version of the API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadata Dictionary<string, string>
- The vpc kind metadata.
- Specs
List<Piers
Karsenbarg. Nutanix. Outputs. Get Vpc Spec> - VPC input spec
- Statuses
List<Piers
Karsenbarg. Nutanix. Outputs. Get Vpc Status> - VPC output status
- Vpc
Name string - Vpc
Uuid string
- Api
Version string - The version of the API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadata map[string]string
- The vpc kind metadata.
- Specs
[]Get
Vpc Spec - VPC input spec
- Statuses
[]Get
Vpc Status - VPC output status
- Vpc
Name string - Vpc
Uuid string
- api
Version String - The version of the API.
- id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String,String>
- The vpc kind metadata.
- specs
List<Get
Vpc Spec> - VPC input spec
- statuses
List<Get
Vpc Status> - VPC output status
- vpc
Name String - vpc
Uuid String
- api
Version string - The version of the API.
- id string
- The provider-assigned unique ID for this managed resource.
- metadata {[key: string]: string}
- The vpc kind metadata.
- specs
Get
Vpc Spec[] - VPC input spec
- statuses
Get
Vpc Status[] - VPC output status
- vpc
Name string - vpc
Uuid string
- api_
version str - The version of the API.
- id str
- The provider-assigned unique ID for this managed resource.
- metadata Mapping[str, str]
- The vpc kind metadata.
- specs
Sequence[Get
Vpc Spec] - VPC input spec
- statuses
Sequence[Get
Vpc Status] - VPC output status
- vpc_
name str - vpc_
uuid str
- api
Version String - The version of the API.
- id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String>
- The vpc kind metadata.
- specs List<Property Map>
- VPC input spec
- statuses List<Property Map>
- VPC output status
- vpc
Name String - vpc
Uuid String
Supporting Types
GetVpcSpec
- Name string
- the name.
- Resources
List<Piers
Karsenbarg. Nutanix. Inputs. Get Vpc Spec Resource> - VPC resources status
- Name string
- the name.
- Resources
[]Get
Vpc Spec Resource - VPC resources status
- name String
- the name.
- resources
List<Get
Vpc Spec Resource> - VPC resources status
- name string
- the name.
- resources
Get
Vpc Spec Resource[] - VPC resources status
- name str
- the name.
- resources
Sequence[Get
Vpc Spec Resource] - VPC resources status
- name String
- the name.
- resources List<Property Map>
- VPC resources status
GetVpcSpecResource
- Common
Domain List<PiersName Server Ip Lists Karsenbarg. Nutanix. Inputs. Get Vpc Spec Resource Common Domain Name Server Ip List> - List of domain name server IPs.
- External
Subnet List<PiersLists Karsenbarg. Nutanix. Inputs. Get Vpc Spec Resource External Subnet List> - List of external subnets attached to this VPC.
- Externally
Routable List<PiersPrefix Lists Karsenbarg. Nutanix. Inputs. Get Vpc Spec Resource Externally Routable Prefix List> - List of external routable ip and prefix .
- Common
Domain []GetName Server Ip Lists Vpc Spec Resource Common Domain Name Server Ip List - List of domain name server IPs.
- External
Subnet []GetLists Vpc Spec Resource External Subnet List - List of external subnets attached to this VPC.
- Externally
Routable []GetPrefix Lists Vpc Spec Resource Externally Routable Prefix List - List of external routable ip and prefix .
- common
Domain List<GetName Server Ip Lists Vpc Spec Resource Common Domain Name Server Ip List> - List of domain name server IPs.
- external
Subnet List<GetLists Vpc Spec Resource External Subnet List> - List of external subnets attached to this VPC.
- externally
Routable List<GetPrefix Lists Vpc Spec Resource Externally Routable Prefix List> - List of external routable ip and prefix .
- common
Domain GetName Server Ip Lists Vpc Spec Resource Common Domain Name Server Ip List[] - List of domain name server IPs.
- external
Subnet GetLists Vpc Spec Resource External Subnet List[] - List of external subnets attached to this VPC.
- externally
Routable GetPrefix Lists Vpc Spec Resource Externally Routable Prefix List[] - List of external routable ip and prefix .
- common_
domain_ Sequence[Getname_ server_ ip_ lists Vpc Spec Resource Common Domain Name Server Ip List] - List of domain name server IPs.
- external_
subnet_ Sequence[Getlists Vpc Spec Resource External Subnet List] - List of external subnets attached to this VPC.
- externally_
routable_ Sequence[Getprefix_ lists Vpc Spec Resource Externally Routable Prefix List] - List of external routable ip and prefix .
- common
Domain List<Property Map>Name Server Ip Lists - List of domain name server IPs.
- external
Subnet List<Property Map>Lists - List of external subnets attached to this VPC.
- externally
Routable List<Property Map>Prefix Lists - List of external routable ip and prefix .
GetVpcSpecResourceCommonDomainNameServerIpList
- Ip string
- ip address of domain name server.
- Ip string
- ip address of domain name server.
- ip String
- ip address of domain name server.
- ip string
- ip address of domain name server.
- ip str
- ip address of domain name server.
- ip String
- ip address of domain name server.
GetVpcSpecResourceExternalSubnetList
- External
Subnet Dictionary<string, string>Reference - Reference to a subnet.
- External
Subnet map[string]stringReference - Reference to a subnet.
- external
Subnet Map<String,String>Reference - Reference to a subnet.
- external
Subnet {[key: string]: string}Reference - Reference to a subnet.
- external_
subnet_ Mapping[str, str]reference - Reference to a subnet.
- external
Subnet Map<String>Reference - Reference to a subnet.
GetVpcSpecResourceExternallyRoutablePrefixList
- Ip string
- ip address of domain name server.
- Prefix
Length int - prefix length of routable ip .
- Ip string
- ip address of domain name server.
- Prefix
Length int - prefix length of routable ip .
- ip String
- ip address of domain name server.
- prefix
Length Integer - prefix length of routable ip .
- ip string
- ip address of domain name server.
- prefix
Length number - prefix length of routable ip .
- ip str
- ip address of domain name server.
- prefix_
length int - prefix length of routable ip .
- ip String
- ip address of domain name server.
- prefix
Length Number - prefix length of routable ip .
GetVpcStatus
- Execution
Contexts List<PiersKarsenbarg. Nutanix. Inputs. Get Vpc Status Execution Context> - Execution Context of VPC.
- Name string
- the name.
- Resources
List<Piers
Karsenbarg. Nutanix. Inputs. Get Vpc Status Resource> - VPC resources status
- State string
- The state of the VPC
- Execution
Contexts []GetVpc Status Execution Context - Execution Context of VPC.
- Name string
- the name.
- Resources
[]Get
Vpc Status Resource - VPC resources status
- State string
- The state of the VPC
- execution
Contexts List<GetVpc Status Execution Context> - Execution Context of VPC.
- name String
- the name.
- resources
List<Get
Vpc Status Resource> - VPC resources status
- state String
- The state of the VPC
- execution
Contexts GetVpc Status Execution Context[] - Execution Context of VPC.
- name string
- the name.
- resources
Get
Vpc Status Resource[] - VPC resources status
- state string
- The state of the VPC
- execution_
contexts Sequence[GetVpc Status Execution Context] - Execution Context of VPC.
- name str
- the name.
- resources
Sequence[Get
Vpc Status Resource] - VPC resources status
- state str
- The state of the VPC
- execution
Contexts List<Property Map> - Execution Context of VPC.
- name String
- the name.
- resources List<Property Map>
- VPC resources status
- state String
- The state of the VPC
GetVpcStatusExecutionContext
- Task
Uuids List<string>
- Task
Uuids []string
- task
Uuids List<String>
- task
Uuids string[]
- task_
uuids Sequence[str]
- task
Uuids List<String>
GetVpcStatusResource
- Common
Domain List<PiersName Server Ip Lists Karsenbarg. Nutanix. Inputs. Get Vpc Status Resource Common Domain Name Server Ip List> - List of domain name server IPs.
- External
Subnet List<PiersLists Karsenbarg. Nutanix. Inputs. Get Vpc Status Resource External Subnet List> - List of external subnets attached to this VPC.
- Externally
Routable List<PiersPrefix Lists Karsenbarg. Nutanix. Inputs. Get Vpc Status Resource Externally Routable Prefix List> - List of external routable ip and prefix .
- Common
Domain []GetName Server Ip Lists Vpc Status Resource Common Domain Name Server Ip List - List of domain name server IPs.
- External
Subnet []GetLists Vpc Status Resource External Subnet List - List of external subnets attached to this VPC.
- Externally
Routable []GetPrefix Lists Vpc Status Resource Externally Routable Prefix List - List of external routable ip and prefix .
- common
Domain List<GetName Server Ip Lists Vpc Status Resource Common Domain Name Server Ip List> - List of domain name server IPs.
- external
Subnet List<GetLists Vpc Status Resource External Subnet List> - List of external subnets attached to this VPC.
- externally
Routable List<GetPrefix Lists Vpc Status Resource Externally Routable Prefix List> - List of external routable ip and prefix .
- common
Domain GetName Server Ip Lists Vpc Status Resource Common Domain Name Server Ip List[] - List of domain name server IPs.
- external
Subnet GetLists Vpc Status Resource External Subnet List[] - List of external subnets attached to this VPC.
- externally
Routable GetPrefix Lists Vpc Status Resource Externally Routable Prefix List[] - List of external routable ip and prefix .
- common_
domain_ Sequence[Getname_ server_ ip_ lists Vpc Status Resource Common Domain Name Server Ip List] - List of domain name server IPs.
- external_
subnet_ Sequence[Getlists Vpc Status Resource External Subnet List] - List of external subnets attached to this VPC.
- externally_
routable_ Sequence[Getprefix_ lists Vpc Status Resource Externally Routable Prefix List] - List of external routable ip and prefix .
- common
Domain List<Property Map>Name Server Ip Lists - List of domain name server IPs.
- external
Subnet List<Property Map>Lists - List of external subnets attached to this VPC.
- externally
Routable List<Property Map>Prefix Lists - List of external routable ip and prefix .
GetVpcStatusResourceCommonDomainNameServerIpList
- Ip string
- ip address of domain name server.
- Ip string
- ip address of domain name server.
- ip String
- ip address of domain name server.
- ip string
- ip address of domain name server.
- ip str
- ip address of domain name server.
- ip String
- ip address of domain name server.
GetVpcStatusResourceExternalSubnetList
- Active
Gateway List<PiersNodes Karsenbarg. Nutanix. Inputs. Get Vpc Status Resource External Subnet List Active Gateway Node> - Active Gateway Node. Only present in VPC Status Resources.
- External
Ip List<string>Lists - List of external subnets attached to this VPC. Only present in VPC Status Resources .
- External
Subnet Dictionary<string, string>Reference - Reference to a subnet.
- Active
Gateway []GetNodes Vpc Status Resource External Subnet List Active Gateway Node - Active Gateway Node. Only present in VPC Status Resources.
- External
Ip []stringLists - List of external subnets attached to this VPC. Only present in VPC Status Resources .
- External
Subnet map[string]stringReference - Reference to a subnet.
- active
Gateway List<GetNodes Vpc Status Resource External Subnet List Active Gateway Node> - Active Gateway Node. Only present in VPC Status Resources.
- external
Ip List<String>Lists - List of external subnets attached to this VPC. Only present in VPC Status Resources .
- external
Subnet Map<String,String>Reference - Reference to a subnet.
- active
Gateway GetNodes Vpc Status Resource External Subnet List Active Gateway Node[] - Active Gateway Node. Only present in VPC Status Resources.
- external
Ip string[]Lists - List of external subnets attached to this VPC. Only present in VPC Status Resources .
- external
Subnet {[key: string]: string}Reference - Reference to a subnet.
- active_
gateway_ Sequence[Getnodes Vpc Status Resource External Subnet List Active Gateway Node] - Active Gateway Node. Only present in VPC Status Resources.
- external_
ip_ Sequence[str]lists - List of external subnets attached to this VPC. Only present in VPC Status Resources .
- external_
subnet_ Mapping[str, str]reference - Reference to a subnet.
- active
Gateway List<Property Map>Nodes - Active Gateway Node. Only present in VPC Status Resources.
- external
Ip List<String>Lists - List of external subnets attached to this VPC. Only present in VPC Status Resources .
- external
Subnet Map<String>Reference - Reference to a subnet.
GetVpcStatusResourceExternalSubnetListActiveGatewayNode
- Host
Reference Dictionary<string, string> - Reference to host.
- Ip
Address string - ip address.
- Host
Reference map[string]string - Reference to host.
- Ip
Address string - ip address.
- host
Reference Map<String,String> - Reference to host.
- ip
Address String - ip address.
- host
Reference {[key: string]: string} - Reference to host.
- ip
Address string - ip address.
- host_
reference Mapping[str, str] - Reference to host.
- ip_
address str - ip address.
- host
Reference Map<String> - Reference to host.
- ip
Address String - ip address.
GetVpcStatusResourceExternallyRoutablePrefixList
- Ip string
- ip address of domain name server.
- Prefix
Length int - prefix length of routable ip .
- Ip string
- ip address of domain name server.
- Prefix
Length int - prefix length of routable ip .
- ip String
- ip address of domain name server.
- prefix
Length Integer - prefix length of routable ip .
- ip string
- ip address of domain name server.
- prefix
Length number - prefix length of routable ip .
- ip str
- ip address of domain name server.
- prefix_
length int - prefix length of routable ip .
- ip String
- ip address of domain name server.
- prefix
Length Number - prefix length of routable ip .
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg