1. Packages
  2. Nutanix
  3. API Docs
  4. getPbr
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

nutanix.getPbr

Explore with Pulumi AI

nutanix logo
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

    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:

    PbrUuid string
    pbr UUID
    PbrUuid string
    pbr UUID
    pbrUuid String
    pbr UUID
    pbrUuid string
    pbr UUID
    pbr_uuid str
    pbr UUID
    pbrUuid String
    pbr UUID

    getPbr Result

    The following output properties are available:

    ApiVersion 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.
    PbrUuid string
    Specs List<PiersKarsenbarg.Nutanix.Outputs.GetPbrSpec>
    PBR input spec
    Statuses List<PiersKarsenbarg.Nutanix.Outputs.GetPbrStatus>
    PBR output status
    ApiVersion 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.
    PbrUuid string
    Specs []GetPbrSpec
    PBR input spec
    Statuses []GetPbrStatus
    PBR output status
    apiVersion 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.
    pbrUuid String
    specs List<GetPbrSpec>
    PBR input spec
    statuses List<GetPbrStatus>
    PBR output status
    apiVersion 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.
    pbrUuid string
    specs GetPbrSpec[]
    PBR input spec
    statuses GetPbrStatus[]
    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[GetPbrSpec]
    PBR input spec
    statuses Sequence[GetPbrStatus]
    PBR output status
    apiVersion 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.
    pbrUuid String
    specs List<Property Map>
    PBR input spec
    statuses List<Property Map>
    PBR output status

    Supporting Types

    GetPbrSpec

    Name string
    • the name.
    Resources []GetPbrSpecResource
    PBR resources status
    name String
    • the name.
    resources List<GetPbrSpecResource>
    PBR resources status
    name string
    • the name.
    resources GetPbrSpecResource[]
    PBR resources status
    name str
    • the name.
    resources Sequence[GetPbrSpecResource]
    PBR resources status
    name String
    • the name.
    resources List<Property Map>
    PBR resources status

    GetPbrSpecResource

    Actions List<PiersKarsenbarg.Nutanix.Inputs.GetPbrSpecResourceAction>
    Routing policy action
    Destinations List<PiersKarsenbarg.Nutanix.Inputs.GetPbrSpecResourceDestination>
    destination address of an IP.
    IsBidirectional bool
    Policy in reverse direction.
    Priority int
    priority of routing policy
    ProtocolParameters List<PiersKarsenbarg.Nutanix.Inputs.GetPbrSpecResourceProtocolParameter>
    Routing policy IP protocol parameters
    ProtocolType string
    Protocol type of routing policy
    Sources List<PiersKarsenbarg.Nutanix.Inputs.GetPbrSpecResourceSource>
    source address of an IP.
    VpcReference Dictionary<string, string>
    Reference to VPC
    Actions []GetPbrSpecResourceAction
    Routing policy action
    Destinations []GetPbrSpecResourceDestination
    destination address of an IP.
    IsBidirectional bool
    Policy in reverse direction.
    Priority int
    priority of routing policy
    ProtocolParameters []GetPbrSpecResourceProtocolParameter
    Routing policy IP protocol parameters
    ProtocolType string
    Protocol type of routing policy
    Sources []GetPbrSpecResourceSource
    source address of an IP.
    VpcReference map[string]string
    Reference to VPC
    actions List<GetPbrSpecResourceAction>
    Routing policy action
    destinations List<GetPbrSpecResourceDestination>
    destination address of an IP.
    isBidirectional Boolean
    Policy in reverse direction.
    priority Integer
    priority of routing policy
    protocolParameters List<GetPbrSpecResourceProtocolParameter>
    Routing policy IP protocol parameters
    protocolType String
    Protocol type of routing policy
    sources List<GetPbrSpecResourceSource>
    source address of an IP.
    vpcReference Map<String,String>
    Reference to VPC
    actions GetPbrSpecResourceAction[]
    Routing policy action
    destinations GetPbrSpecResourceDestination[]
    destination address of an IP.
    isBidirectional boolean
    Policy in reverse direction.
    priority number
    priority of routing policy
    protocolParameters GetPbrSpecResourceProtocolParameter[]
    Routing policy IP protocol parameters
    protocolType string
    Protocol type of routing policy
    sources GetPbrSpecResourceSource[]
    source address of an IP.
    vpcReference {[key: string]: string}
    Reference to VPC
    actions Sequence[GetPbrSpecResourceAction]
    Routing policy action
    destinations Sequence[GetPbrSpecResourceDestination]
    destination address of an IP.
    is_bidirectional bool
    Policy in reverse direction.
    priority int
    priority of routing policy
    protocol_parameters Sequence[GetPbrSpecResourceProtocolParameter]
    Routing policy IP protocol parameters
    protocol_type str
    Protocol type of routing policy
    sources Sequence[GetPbrSpecResourceSource]
    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.
    isBidirectional Boolean
    Policy in reverse direction.
    priority Number
    priority of routing policy
    protocolParameters List<Property Map>
    Routing policy IP protocol parameters
    protocolType String
    Protocol type of routing policy
    sources List<Property Map>
    source address of an IP.
    vpcReference Map<String>
    Reference to VPC

    GetPbrSpecResourceAction

    Action string
    Routing policy action
    ServiceIpLists List<string>
    Action string
    Routing policy action
    ServiceIpLists []string
    action String
    Routing policy action
    serviceIpLists List<String>
    action string
    Routing policy action
    serviceIpLists string[]
    action str
    Routing policy action
    service_ip_lists Sequence[str]
    action String
    Routing policy action
    serviceIpLists List<String>

    GetPbrSpecResourceDestination

    AddressType string
    PrefixLength int
    prefix length of provided subnet.
    SubnetIp string
    IP subnet provided as an address.
    AddressType string
    PrefixLength int
    prefix length of provided subnet.
    SubnetIp string
    IP subnet provided as an address.
    addressType String
    prefixLength Integer
    prefix length of provided subnet.
    subnetIp String
    IP subnet provided as an address.
    addressType string
    prefixLength number
    prefix length of provided subnet.
    subnetIp 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.
    addressType String
    prefixLength Number
    prefix length of provided subnet.
    subnetIp String
    IP subnet provided as an address.

    GetPbrSpecResourceProtocolParameter

    Icmps []GetPbrSpecResourceProtocolParameterIcmp
    ICMP parameters in routing policy.
    ProtocolNumber int
    Protocol number in routing policy
    Tcps []GetPbrSpecResourceProtocolParameterTcp
    TCP parameters in routing policy
    Udps []GetPbrSpecResourceProtocolParameterUdp
    UDP parameters in routing policy
    icmps List<GetPbrSpecResourceProtocolParameterIcmp>
    ICMP parameters in routing policy.
    protocolNumber Integer
    Protocol number in routing policy
    tcps List<GetPbrSpecResourceProtocolParameterTcp>
    TCP parameters in routing policy
    udps List<GetPbrSpecResourceProtocolParameterUdp>
    UDP parameters in routing policy
    icmps GetPbrSpecResourceProtocolParameterIcmp[]
    ICMP parameters in routing policy.
    protocolNumber number
    Protocol number in routing policy
    tcps GetPbrSpecResourceProtocolParameterTcp[]
    TCP parameters in routing policy
    udps GetPbrSpecResourceProtocolParameterUdp[]
    UDP parameters in routing policy
    icmps Sequence[GetPbrSpecResourceProtocolParameterIcmp]
    ICMP parameters in routing policy.
    protocol_number int
    Protocol number in routing policy
    tcps Sequence[GetPbrSpecResourceProtocolParameterTcp]
    TCP parameters in routing policy
    udps Sequence[GetPbrSpecResourceProtocolParameterUdp]
    UDP parameters in routing policy
    icmps List<Property Map>
    ICMP parameters in routing policy.
    protocolNumber 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

    icmpCode Integer
    icmpType Integer
    icmpCode number
    icmpType number
    icmpCode Number
    icmpType Number

    GetPbrSpecResourceProtocolParameterTcp

    GetPbrSpecResourceProtocolParameterTcpDestinationPortRangeList

    endPort Integer
    startPort Integer
    endPort number
    startPort number
    endPort Number
    startPort Number

    GetPbrSpecResourceProtocolParameterTcpSourcePortRangeList

    endPort Integer
    startPort Integer
    endPort number
    startPort number
    endPort Number
    startPort Number

    GetPbrSpecResourceProtocolParameterUdp

    GetPbrSpecResourceProtocolParameterUdpDestinationPortRangeList

    endPort Integer
    startPort Integer
    endPort number
    startPort number
    endPort Number
    startPort Number

    GetPbrSpecResourceProtocolParameterUdpSourcePortRangeList

    endPort Integer
    startPort Integer
    endPort number
    startPort number
    endPort Number
    startPort Number

    GetPbrSpecResourceSource

    AddressType string
    PrefixLength int
    prefix length of provided subnet.
    SubnetIp string
    IP subnet provided as an address.
    AddressType string
    PrefixLength int
    prefix length of provided subnet.
    SubnetIp string
    IP subnet provided as an address.
    addressType String
    prefixLength Integer
    prefix length of provided subnet.
    subnetIp String
    IP subnet provided as an address.
    addressType string
    prefixLength number
    prefix length of provided subnet.
    subnetIp 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.
    addressType String
    prefixLength Number
    prefix length of provided subnet.
    subnetIp String
    IP subnet provided as an address.

    GetPbrStatus

    ExecutionContexts []GetPbrStatusExecutionContext
    Execution Context of PBR.
    Name string
    • the name.
    Resources []GetPbrStatusResource
    PBR resources status
    State string
    The state of the PBR
    executionContexts List<GetPbrStatusExecutionContext>
    Execution Context of PBR.
    name String
    • the name.
    resources List<GetPbrStatusResource>
    PBR resources status
    state String
    The state of the PBR
    executionContexts GetPbrStatusExecutionContext[]
    Execution Context of PBR.
    name string
    • the name.
    resources GetPbrStatusResource[]
    PBR resources status
    state string
    The state of the PBR
    execution_contexts Sequence[GetPbrStatusExecutionContext]
    Execution Context of PBR.
    name str
    • the name.
    resources Sequence[GetPbrStatusResource]
    PBR resources status
    state str
    The state of the PBR
    executionContexts 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

    TaskUuids List<string>
    TaskUuids []string
    taskUuids List<String>
    taskUuids string[]
    task_uuids Sequence[str]
    taskUuids List<String>

    GetPbrStatusResource

    Actions []GetPbrStatusResourceAction
    Routing policy action
    Destinations []GetPbrStatusResourceDestination
    destination address of an IP.
    IsBidirectional bool
    Policy in reverse direction.
    Priority int
    priority of routing policy
    ProtocolParameters []GetPbrStatusResourceProtocolParameter
    Routing policy IP protocol parameters
    ProtocolType string
    Protocol type of routing policy
    RoutingPolicyCounters []GetPbrStatusResourceRoutingPolicyCounter
    Sources []GetPbrStatusResourceSource
    source address of an IP.
    VpcReference map[string]string
    Reference to VPC
    actions List<GetPbrStatusResourceAction>
    Routing policy action
    destinations List<GetPbrStatusResourceDestination>
    destination address of an IP.
    isBidirectional Boolean
    Policy in reverse direction.
    priority Integer
    priority of routing policy
    protocolParameters List<GetPbrStatusResourceProtocolParameter>
    Routing policy IP protocol parameters
    protocolType String
    Protocol type of routing policy
    routingPolicyCounters List<GetPbrStatusResourceRoutingPolicyCounter>
    sources List<GetPbrStatusResourceSource>
    source address of an IP.
    vpcReference Map<String,String>
    Reference to VPC
    actions GetPbrStatusResourceAction[]
    Routing policy action
    destinations GetPbrStatusResourceDestination[]
    destination address of an IP.
    isBidirectional boolean
    Policy in reverse direction.
    priority number
    priority of routing policy
    protocolParameters GetPbrStatusResourceProtocolParameter[]
    Routing policy IP protocol parameters
    protocolType string
    Protocol type of routing policy
    routingPolicyCounters GetPbrStatusResourceRoutingPolicyCounter[]
    sources GetPbrStatusResourceSource[]
    source address of an IP.
    vpcReference {[key: string]: string}
    Reference to VPC
    actions Sequence[GetPbrStatusResourceAction]
    Routing policy action
    destinations Sequence[GetPbrStatusResourceDestination]
    destination address of an IP.
    is_bidirectional bool
    Policy in reverse direction.
    priority int
    priority of routing policy
    protocol_parameters Sequence[GetPbrStatusResourceProtocolParameter]
    Routing policy IP protocol parameters
    protocol_type str
    Protocol type of routing policy
    routing_policy_counters Sequence[GetPbrStatusResourceRoutingPolicyCounter]
    sources Sequence[GetPbrStatusResourceSource]
    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.
    isBidirectional Boolean
    Policy in reverse direction.
    priority Number
    priority of routing policy
    protocolParameters List<Property Map>
    Routing policy IP protocol parameters
    protocolType String
    Protocol type of routing policy
    routingPolicyCounters List<Property Map>
    sources List<Property Map>
    source address of an IP.
    vpcReference Map<String>
    Reference to VPC

    GetPbrStatusResourceAction

    Action string
    Routing policy action
    ServiceIpLists List<string>
    Action string
    Routing policy action
    ServiceIpLists []string
    action String
    Routing policy action
    serviceIpLists List<String>
    action string
    Routing policy action
    serviceIpLists string[]
    action str
    Routing policy action
    service_ip_lists Sequence[str]
    action String
    Routing policy action
    serviceIpLists List<String>

    GetPbrStatusResourceDestination

    AddressType string
    PrefixLength int
    prefix length of provided subnet.
    SubnetIp string
    IP subnet provided as an address.
    AddressType string
    PrefixLength int
    prefix length of provided subnet.
    SubnetIp string
    IP subnet provided as an address.
    addressType String
    prefixLength Integer
    prefix length of provided subnet.
    subnetIp String
    IP subnet provided as an address.
    addressType string
    prefixLength number
    prefix length of provided subnet.
    subnetIp 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.
    addressType String
    prefixLength Number
    prefix length of provided subnet.
    subnetIp String
    IP subnet provided as an address.

    GetPbrStatusResourceProtocolParameter

    Icmps []GetPbrStatusResourceProtocolParameterIcmp
    ICMP parameters in routing policy.
    ProtocolNumber int
    Protocol number in routing policy
    Tcps []GetPbrStatusResourceProtocolParameterTcp
    TCP parameters in routing policy
    Udps []GetPbrStatusResourceProtocolParameterUdp
    UDP parameters in routing policy
    icmps List<GetPbrStatusResourceProtocolParameterIcmp>
    ICMP parameters in routing policy.
    protocolNumber Integer
    Protocol number in routing policy
    tcps List<GetPbrStatusResourceProtocolParameterTcp>
    TCP parameters in routing policy
    udps List<GetPbrStatusResourceProtocolParameterUdp>
    UDP parameters in routing policy
    icmps GetPbrStatusResourceProtocolParameterIcmp[]
    ICMP parameters in routing policy.
    protocolNumber number
    Protocol number in routing policy
    tcps GetPbrStatusResourceProtocolParameterTcp[]
    TCP parameters in routing policy
    udps GetPbrStatusResourceProtocolParameterUdp[]
    UDP parameters in routing policy
    icmps Sequence[GetPbrStatusResourceProtocolParameterIcmp]
    ICMP parameters in routing policy.
    protocol_number int
    Protocol number in routing policy
    tcps Sequence[GetPbrStatusResourceProtocolParameterTcp]
    TCP parameters in routing policy
    udps Sequence[GetPbrStatusResourceProtocolParameterUdp]
    UDP parameters in routing policy
    icmps List<Property Map>
    ICMP parameters in routing policy.
    protocolNumber 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

    icmpCode Integer
    icmpType Integer
    icmpCode number
    icmpType number
    icmpCode Number
    icmpType Number

    GetPbrStatusResourceProtocolParameterTcp

    GetPbrStatusResourceProtocolParameterTcpDestinationPortRangeList

    endPort Integer
    startPort Integer
    endPort number
    startPort number
    endPort Number
    startPort Number

    GetPbrStatusResourceProtocolParameterTcpSourcePortRangeList

    endPort Integer
    startPort Integer
    endPort number
    startPort number
    endPort Number
    startPort Number

    GetPbrStatusResourceProtocolParameterUdp

    GetPbrStatusResourceProtocolParameterUdpDestinationPortRangeList

    endPort Integer
    startPort Integer
    endPort number
    startPort number
    endPort Number
    startPort Number

    GetPbrStatusResourceProtocolParameterUdpSourcePortRangeList

    endPort Integer
    startPort Integer
    endPort number
    startPort number
    endPort Number
    startPort Number

    GetPbrStatusResourceRoutingPolicyCounter

    byteCount Integer
    packetCount Integer
    byteCount number
    packetCount number
    byteCount Number
    packetCount Number

    GetPbrStatusResourceSource

    AddressType string
    PrefixLength int
    prefix length of provided subnet.
    SubnetIp string
    IP subnet provided as an address.
    AddressType string
    PrefixLength int
    prefix length of provided subnet.
    SubnetIp string
    IP subnet provided as an address.
    addressType String
    prefixLength Integer
    prefix length of provided subnet.
    subnetIp String
    IP subnet provided as an address.
    addressType string
    prefixLength number
    prefix length of provided subnet.
    subnetIp 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.
    addressType String
    prefixLength Number
    prefix length of provided subnet.
    subnetIp 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.
    nutanix logo
    Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg