Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg
nutanix.getPbr
Explore with Pulumi AI
Provides a datasource to retrieve PBR with pbr_uuid .
Using getPbr
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 getPbr(args: GetPbrArgs, opts?: InvokeOptions): Promise<GetPbrResult>
function getPbrOutput(args: GetPbrOutputArgs, opts?: InvokeOptions): Output<GetPbrResult>
def get_pbr(pbr_uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPbrResult
def get_pbr_output(pbr_uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPbrResult]
func LookupPbr(ctx *Context, args *LookupPbrArgs, opts ...InvokeOption) (*LookupPbrResult, error)
func LookupPbrOutput(ctx *Context, args *LookupPbrOutputArgs, opts ...InvokeOption) LookupPbrResultOutput
> Note: This function is named LookupPbr
in the Go SDK.
public static class GetPbr
{
public static Task<GetPbrResult> InvokeAsync(GetPbrArgs args, InvokeOptions? opts = null)
public static Output<GetPbrResult> Invoke(GetPbrInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPbrResult> getPbr(GetPbrArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getPbr:getPbr
arguments:
# arguments dictionary
The following arguments are supported:
- Pbr
Uuid string - pbr UUID
- Pbr
Uuid string - pbr UUID
- pbr
Uuid String - pbr UUID
- pbr
Uuid string - pbr UUID
- pbr_
uuid str - pbr UUID
- pbr
Uuid String - pbr UUID
getPbr 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 routing policies kind metadata.
- Pbr
Uuid string - Specs
List<Piers
Karsenbarg. Nutanix. Outputs. Get Pbr Spec> - PBR input spec
- Statuses
List<Piers
Karsenbarg. Nutanix. Outputs. Get Pbr Status> - PBR output status
- Api
Version string - The version of the API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadata map[string]string
- The routing policies kind metadata.
- Pbr
Uuid string - Specs
[]Get
Pbr Spec - PBR input spec
- Statuses
[]Get
Pbr Status - PBR output status
- api
Version String - The version of the API.
- id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String,String>
- The routing policies kind metadata.
- pbr
Uuid String - specs
List<Get
Pbr Spec> - PBR input spec
- statuses
List<Get
Pbr Status> - PBR output status
- api
Version string - The version of the API.
- id string
- The provider-assigned unique ID for this managed resource.
- metadata {[key: string]: string}
- The routing policies kind metadata.
- pbr
Uuid string - specs
Get
Pbr Spec[] - PBR input spec
- statuses
Get
Pbr Status[] - PBR output status
- api_
version str - The version of the API.
- id str
- The provider-assigned unique ID for this managed resource.
- metadata Mapping[str, str]
- The routing policies kind metadata.
- pbr_
uuid str - specs
Sequence[Get
Pbr Spec] - PBR input spec
- statuses
Sequence[Get
Pbr Status] - PBR output status
- api
Version String - The version of the API.
- id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String>
- The routing policies kind metadata.
- pbr
Uuid String - specs List<Property Map>
- PBR input spec
- statuses List<Property Map>
- PBR output status
Supporting Types
GetPbrSpec
- Name string
- the name.
- Resources
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Spec Resource> - PBR resources status
- Name string
- the name.
- Resources
[]Get
Pbr Spec Resource - PBR resources status
- name String
- the name.
- resources
List<Get
Pbr Spec Resource> - PBR resources status
- name string
- the name.
- resources
Get
Pbr Spec Resource[] - PBR resources status
- name str
- the name.
- resources
Sequence[Get
Pbr Spec Resource] - PBR resources status
- name String
- the name.
- resources List<Property Map>
- PBR resources status
GetPbrSpecResource
- Actions
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Spec Resource Action> - Routing policy action
- Destinations
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Spec Resource Destination> - destination address of an IP.
- Is
Bidirectional bool - Policy in reverse direction.
- Priority int
- priority of routing policy
- Protocol
Parameters List<PiersKarsenbarg. Nutanix. Inputs. Get Pbr Spec Resource Protocol Parameter> - Routing policy IP protocol parameters
- Protocol
Type string - Protocol type of routing policy
- Sources
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Spec Resource Source> - source address of an IP.
- Vpc
Reference Dictionary<string, string> - Reference to VPC
- Actions
[]Get
Pbr Spec Resource Action - Routing policy action
- Destinations
[]Get
Pbr Spec Resource Destination - destination address of an IP.
- Is
Bidirectional bool - Policy in reverse direction.
- Priority int
- priority of routing policy
- Protocol
Parameters []GetPbr Spec Resource Protocol Parameter - Routing policy IP protocol parameters
- Protocol
Type string - Protocol type of routing policy
- Sources
[]Get
Pbr Spec Resource Source - source address of an IP.
- Vpc
Reference map[string]string - Reference to VPC
- actions
List<Get
Pbr Spec Resource Action> - Routing policy action
- destinations
List<Get
Pbr Spec Resource Destination> - destination address of an IP.
- is
Bidirectional Boolean - Policy in reverse direction.
- priority Integer
- priority of routing policy
- protocol
Parameters List<GetPbr Spec Resource Protocol Parameter> - Routing policy IP protocol parameters
- protocol
Type String - Protocol type of routing policy
- sources
List<Get
Pbr Spec Resource Source> - source address of an IP.
- vpc
Reference Map<String,String> - Reference to VPC
- actions
Get
Pbr Spec Resource Action[] - Routing policy action
- destinations
Get
Pbr Spec Resource Destination[] - destination address of an IP.
- is
Bidirectional boolean - Policy in reverse direction.
- priority number
- priority of routing policy
- protocol
Parameters GetPbr Spec Resource Protocol Parameter[] - Routing policy IP protocol parameters
- protocol
Type string - Protocol type of routing policy
- sources
Get
Pbr Spec Resource Source[] - source address of an IP.
- vpc
Reference {[key: string]: string} - Reference to VPC
- actions
Sequence[Get
Pbr Spec Resource Action] - Routing policy action
- destinations
Sequence[Get
Pbr Spec Resource Destination] - destination address of an IP.
- is_
bidirectional bool - Policy in reverse direction.
- priority int
- priority of routing policy
- protocol_
parameters Sequence[GetPbr Spec Resource Protocol Parameter] - Routing policy IP protocol parameters
- protocol_
type str - Protocol type of routing policy
- sources
Sequence[Get
Pbr Spec Resource Source] - source address of an IP.
- vpc_
reference Mapping[str, str] - Reference to VPC
- actions List<Property Map>
- Routing policy action
- destinations List<Property Map>
- destination address of an IP.
- is
Bidirectional Boolean - Policy in reverse direction.
- priority Number
- priority of routing policy
- protocol
Parameters List<Property Map> - Routing policy IP protocol parameters
- protocol
Type String - Protocol type of routing policy
- sources List<Property Map>
- source address of an IP.
- vpc
Reference Map<String> - Reference to VPC
GetPbrSpecResourceAction
- Action string
- Routing policy action
- Service
Ip List<string>Lists
- Action string
- Routing policy action
- Service
Ip []stringLists
- action String
- Routing policy action
- service
Ip List<String>Lists
- action string
- Routing policy action
- service
Ip string[]Lists
- action str
- Routing policy action
- service_
ip_ Sequence[str]lists
- action String
- Routing policy action
- service
Ip List<String>Lists
GetPbrSpecResourceDestination
- Address
Type string - Prefix
Length int - prefix length of provided subnet.
- Subnet
Ip string - IP subnet provided as an address.
- Address
Type string - Prefix
Length int - prefix length of provided subnet.
- Subnet
Ip string - IP subnet provided as an address.
- address
Type String - prefix
Length Integer - prefix length of provided subnet.
- subnet
Ip String - IP subnet provided as an address.
- address
Type string - prefix
Length number - prefix length of provided subnet.
- subnet
Ip string - IP subnet provided as an address.
- address_
type str - prefix_
length int - prefix length of provided subnet.
- subnet_
ip str - IP subnet provided as an address.
- address
Type String - prefix
Length Number - prefix length of provided subnet.
- subnet
Ip String - IP subnet provided as an address.
GetPbrSpecResourceProtocolParameter
- Icmps
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Spec Resource Protocol Parameter Icmp> - ICMP parameters in routing policy.
- Protocol
Number int - Protocol number in routing policy
- Tcps
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Spec Resource Protocol Parameter Tcp> - TCP parameters in routing policy
- Udps
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Spec Resource Protocol Parameter Udp> - UDP parameters in routing policy
- Icmps
[]Get
Pbr Spec Resource Protocol Parameter Icmp - ICMP parameters in routing policy.
- Protocol
Number int - Protocol number in routing policy
- Tcps
[]Get
Pbr Spec Resource Protocol Parameter Tcp - TCP parameters in routing policy
- Udps
[]Get
Pbr Spec Resource Protocol Parameter Udp - UDP parameters in routing policy
- icmps
List<Get
Pbr Spec Resource Protocol Parameter Icmp> - ICMP parameters in routing policy.
- protocol
Number Integer - Protocol number in routing policy
- tcps
List<Get
Pbr Spec Resource Protocol Parameter Tcp> - TCP parameters in routing policy
- udps
List<Get
Pbr Spec Resource Protocol Parameter Udp> - UDP parameters in routing policy
- icmps
Get
Pbr Spec Resource Protocol Parameter Icmp[] - ICMP parameters in routing policy.
- protocol
Number number - Protocol number in routing policy
- tcps
Get
Pbr Spec Resource Protocol Parameter Tcp[] - TCP parameters in routing policy
- udps
Get
Pbr Spec Resource Protocol Parameter Udp[] - UDP parameters in routing policy
- icmps
Sequence[Get
Pbr Spec Resource Protocol Parameter Icmp] - ICMP parameters in routing policy.
- protocol_
number int - Protocol number in routing policy
- tcps
Sequence[Get
Pbr Spec Resource Protocol Parameter Tcp] - TCP parameters in routing policy
- udps
Sequence[Get
Pbr Spec Resource Protocol Parameter Udp] - UDP parameters in routing policy
- icmps List<Property Map>
- ICMP parameters in routing policy.
- protocol
Number Number - Protocol number in routing policy
- tcps List<Property Map>
- TCP parameters in routing policy
- udps List<Property Map>
- UDP parameters in routing policy
GetPbrSpecResourceProtocolParameterIcmp
GetPbrSpecResourceProtocolParameterTcp
GetPbrSpecResourceProtocolParameterTcpDestinationPortRangeList
- end_
port int - start_
port int
GetPbrSpecResourceProtocolParameterTcpSourcePortRangeList
- end_
port int - start_
port int
GetPbrSpecResourceProtocolParameterUdp
GetPbrSpecResourceProtocolParameterUdpDestinationPortRangeList
- end_
port int - start_
port int
GetPbrSpecResourceProtocolParameterUdpSourcePortRangeList
- end_
port int - start_
port int
GetPbrSpecResourceSource
- Address
Type string - Prefix
Length int - prefix length of provided subnet.
- Subnet
Ip string - IP subnet provided as an address.
- Address
Type string - Prefix
Length int - prefix length of provided subnet.
- Subnet
Ip string - IP subnet provided as an address.
- address
Type String - prefix
Length Integer - prefix length of provided subnet.
- subnet
Ip String - IP subnet provided as an address.
- address
Type string - prefix
Length number - prefix length of provided subnet.
- subnet
Ip string - IP subnet provided as an address.
- address_
type str - prefix_
length int - prefix length of provided subnet.
- subnet_
ip str - IP subnet provided as an address.
- address
Type String - prefix
Length Number - prefix length of provided subnet.
- subnet
Ip String - IP subnet provided as an address.
GetPbrStatus
- Execution
Contexts List<PiersKarsenbarg. Nutanix. Inputs. Get Pbr Status Execution Context> - Execution Context of PBR.
- Name string
- the name.
- Resources
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Status Resource> - PBR resources status
- State string
- The state of the PBR
- Execution
Contexts []GetPbr Status Execution Context - Execution Context of PBR.
- Name string
- the name.
- Resources
[]Get
Pbr Status Resource - PBR resources status
- State string
- The state of the PBR
- execution
Contexts List<GetPbr Status Execution Context> - Execution Context of PBR.
- name String
- the name.
- resources
List<Get
Pbr Status Resource> - PBR resources status
- state String
- The state of the PBR
- execution
Contexts GetPbr Status Execution Context[] - Execution Context of PBR.
- name string
- the name.
- resources
Get
Pbr Status Resource[] - PBR resources status
- state string
- The state of the PBR
- execution_
contexts Sequence[GetPbr Status Execution Context] - Execution Context of PBR.
- name str
- the name.
- resources
Sequence[Get
Pbr Status Resource] - PBR resources status
- state str
- The state of the PBR
- execution
Contexts List<Property Map> - Execution Context of PBR.
- name String
- the name.
- resources List<Property Map>
- PBR resources status
- state String
- The state of the PBR
GetPbrStatusExecutionContext
- Task
Uuids List<string>
- Task
Uuids []string
- task
Uuids List<String>
- task
Uuids string[]
- task_
uuids Sequence[str]
- task
Uuids List<String>
GetPbrStatusResource
- Actions
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Status Resource Action> - Routing policy action
- Destinations
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Status Resource Destination> - destination address of an IP.
- Is
Bidirectional bool - Policy in reverse direction.
- Priority int
- priority of routing policy
- Protocol
Parameters List<PiersKarsenbarg. Nutanix. Inputs. Get Pbr Status Resource Protocol Parameter> - Routing policy IP protocol parameters
- Protocol
Type string - Protocol type of routing policy
- Routing
Policy List<PiersCounters Karsenbarg. Nutanix. Inputs. Get Pbr Status Resource Routing Policy Counter> - Sources
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Status Resource Source> - source address of an IP.
- Vpc
Reference Dictionary<string, string> - Reference to VPC
- Actions
[]Get
Pbr Status Resource Action - Routing policy action
- Destinations
[]Get
Pbr Status Resource Destination - destination address of an IP.
- Is
Bidirectional bool - Policy in reverse direction.
- Priority int
- priority of routing policy
- Protocol
Parameters []GetPbr Status Resource Protocol Parameter - Routing policy IP protocol parameters
- Protocol
Type string - Protocol type of routing policy
- Routing
Policy []GetCounters Pbr Status Resource Routing Policy Counter - Sources
[]Get
Pbr Status Resource Source - source address of an IP.
- Vpc
Reference map[string]string - Reference to VPC
- actions
List<Get
Pbr Status Resource Action> - Routing policy action
- destinations
List<Get
Pbr Status Resource Destination> - destination address of an IP.
- is
Bidirectional Boolean - Policy in reverse direction.
- priority Integer
- priority of routing policy
- protocol
Parameters List<GetPbr Status Resource Protocol Parameter> - Routing policy IP protocol parameters
- protocol
Type String - Protocol type of routing policy
- routing
Policy List<GetCounters Pbr Status Resource Routing Policy Counter> - sources
List<Get
Pbr Status Resource Source> - source address of an IP.
- vpc
Reference Map<String,String> - Reference to VPC
- actions
Get
Pbr Status Resource Action[] - Routing policy action
- destinations
Get
Pbr Status Resource Destination[] - destination address of an IP.
- is
Bidirectional boolean - Policy in reverse direction.
- priority number
- priority of routing policy
- protocol
Parameters GetPbr Status Resource Protocol Parameter[] - Routing policy IP protocol parameters
- protocol
Type string - Protocol type of routing policy
- routing
Policy GetCounters Pbr Status Resource Routing Policy Counter[] - sources
Get
Pbr Status Resource Source[] - source address of an IP.
- vpc
Reference {[key: string]: string} - Reference to VPC
- actions
Sequence[Get
Pbr Status Resource Action] - Routing policy action
- destinations
Sequence[Get
Pbr Status Resource Destination] - destination address of an IP.
- is_
bidirectional bool - Policy in reverse direction.
- priority int
- priority of routing policy
- protocol_
parameters Sequence[GetPbr Status Resource Protocol Parameter] - Routing policy IP protocol parameters
- protocol_
type str - Protocol type of routing policy
- routing_
policy_ Sequence[Getcounters Pbr Status Resource Routing Policy Counter] - sources
Sequence[Get
Pbr Status Resource Source] - source address of an IP.
- vpc_
reference Mapping[str, str] - Reference to VPC
- actions List<Property Map>
- Routing policy action
- destinations List<Property Map>
- destination address of an IP.
- is
Bidirectional Boolean - Policy in reverse direction.
- priority Number
- priority of routing policy
- protocol
Parameters List<Property Map> - Routing policy IP protocol parameters
- protocol
Type String - Protocol type of routing policy
- routing
Policy List<Property Map>Counters - sources List<Property Map>
- source address of an IP.
- vpc
Reference Map<String> - Reference to VPC
GetPbrStatusResourceAction
- Action string
- Routing policy action
- Service
Ip List<string>Lists
- Action string
- Routing policy action
- Service
Ip []stringLists
- action String
- Routing policy action
- service
Ip List<String>Lists
- action string
- Routing policy action
- service
Ip string[]Lists
- action str
- Routing policy action
- service_
ip_ Sequence[str]lists
- action String
- Routing policy action
- service
Ip List<String>Lists
GetPbrStatusResourceDestination
- Address
Type string - Prefix
Length int - prefix length of provided subnet.
- Subnet
Ip string - IP subnet provided as an address.
- Address
Type string - Prefix
Length int - prefix length of provided subnet.
- Subnet
Ip string - IP subnet provided as an address.
- address
Type String - prefix
Length Integer - prefix length of provided subnet.
- subnet
Ip String - IP subnet provided as an address.
- address
Type string - prefix
Length number - prefix length of provided subnet.
- subnet
Ip string - IP subnet provided as an address.
- address_
type str - prefix_
length int - prefix length of provided subnet.
- subnet_
ip str - IP subnet provided as an address.
- address
Type String - prefix
Length Number - prefix length of provided subnet.
- subnet
Ip String - IP subnet provided as an address.
GetPbrStatusResourceProtocolParameter
- Icmps
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Status Resource Protocol Parameter Icmp> - ICMP parameters in routing policy.
- Protocol
Number int - Protocol number in routing policy
- Tcps
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Status Resource Protocol Parameter Tcp> - TCP parameters in routing policy
- Udps
List<Piers
Karsenbarg. Nutanix. Inputs. Get Pbr Status Resource Protocol Parameter Udp> - UDP parameters in routing policy
- Icmps
[]Get
Pbr Status Resource Protocol Parameter Icmp - ICMP parameters in routing policy.
- Protocol
Number int - Protocol number in routing policy
- Tcps
[]Get
Pbr Status Resource Protocol Parameter Tcp - TCP parameters in routing policy
- Udps
[]Get
Pbr Status Resource Protocol Parameter Udp - UDP parameters in routing policy
- icmps
List<Get
Pbr Status Resource Protocol Parameter Icmp> - ICMP parameters in routing policy.
- protocol
Number Integer - Protocol number in routing policy
- tcps
List<Get
Pbr Status Resource Protocol Parameter Tcp> - TCP parameters in routing policy
- udps
List<Get
Pbr Status Resource Protocol Parameter Udp> - UDP parameters in routing policy
- icmps
Get
Pbr Status Resource Protocol Parameter Icmp[] - ICMP parameters in routing policy.
- protocol
Number number - Protocol number in routing policy
- tcps
Get
Pbr Status Resource Protocol Parameter Tcp[] - TCP parameters in routing policy
- udps
Get
Pbr Status Resource Protocol Parameter Udp[] - UDP parameters in routing policy
- icmps
Sequence[Get
Pbr Status Resource Protocol Parameter Icmp] - ICMP parameters in routing policy.
- protocol_
number int - Protocol number in routing policy
- tcps
Sequence[Get
Pbr Status Resource Protocol Parameter Tcp] - TCP parameters in routing policy
- udps
Sequence[Get
Pbr Status Resource Protocol Parameter Udp] - UDP parameters in routing policy
- icmps List<Property Map>
- ICMP parameters in routing policy.
- protocol
Number Number - Protocol number in routing policy
- tcps List<Property Map>
- TCP parameters in routing policy
- udps List<Property Map>
- UDP parameters in routing policy
GetPbrStatusResourceProtocolParameterIcmp
GetPbrStatusResourceProtocolParameterTcp
GetPbrStatusResourceProtocolParameterTcpDestinationPortRangeList
- end_
port int - start_
port int
GetPbrStatusResourceProtocolParameterTcpSourcePortRangeList
- end_
port int - start_
port int
GetPbrStatusResourceProtocolParameterUdp
GetPbrStatusResourceProtocolParameterUdpDestinationPortRangeList
- end_
port int - start_
port int
GetPbrStatusResourceProtocolParameterUdpSourcePortRangeList
- end_
port int - start_
port int
GetPbrStatusResourceRoutingPolicyCounter
- Byte
Count int - Packet
Count int
- Byte
Count int - Packet
Count int
- byte
Count Integer - packet
Count Integer
- byte
Count number - packet
Count number
- byte_
count int - packet_
count int
- byte
Count Number - packet
Count Number
GetPbrStatusResourceSource
- Address
Type string - Prefix
Length int - prefix length of provided subnet.
- Subnet
Ip string - IP subnet provided as an address.
- Address
Type string - Prefix
Length int - prefix length of provided subnet.
- Subnet
Ip string - IP subnet provided as an address.
- address
Type String - prefix
Length Integer - prefix length of provided subnet.
- subnet
Ip String - IP subnet provided as an address.
- address
Type string - prefix
Length number - prefix length of provided subnet.
- subnet
Ip string - IP subnet provided as an address.
- address_
type str - prefix_
length int - prefix length of provided subnet.
- subnet_
ip str - IP subnet provided as an address.
- address
Type String - prefix
Length Number - prefix length of provided subnet.
- subnet
Ip String - IP subnet provided as an address.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.