1. Packages
  2. Vcd Provider
  3. API Docs
  4. getNsxtSegmentQosProfile
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.getNsxtSegmentQosProfile

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    Provides a VMware Cloud Director NSX-T QoS Profile data source. This can be used to read NSX-T Segment Profile definitions.

    Supported in provider v3.11+.

    Example Usage

    QoS Profile)

    import * as pulumi from "@pulumi/pulumi";
    import * as vcd from "@pulumi/vcd";
    
    const nsxt = vcd.getNsxtManager({
        name: "nsxManager1",
    });
    const first = nsxt.then(nsxt => vcd.getNsxtSegmentQosProfile({
        name: "qos-profile-0",
        nsxtManagerId: nsxt.id,
    }));
    
    import pulumi
    import pulumi_vcd as vcd
    
    nsxt = vcd.get_nsxt_manager(name="nsxManager1")
    first = vcd.get_nsxt_segment_qos_profile(name="qos-profile-0",
        nsxt_manager_id=nsxt.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vcd/v3/vcd"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		nsxt, err := vcd.GetNsxtManager(ctx, &vcd.GetNsxtManagerArgs{
    			Name: "nsxManager1",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = vcd.GetNsxtSegmentQosProfile(ctx, &vcd.GetNsxtSegmentQosProfileArgs{
    			Name:          "qos-profile-0",
    			NsxtManagerId: pulumi.StringRef(nsxt.Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vcd = Pulumi.Vcd;
    
    return await Deployment.RunAsync(() => 
    {
        var nsxt = Vcd.GetNsxtManager.Invoke(new()
        {
            Name = "nsxManager1",
        });
    
        var first = Vcd.GetNsxtSegmentQosProfile.Invoke(new()
        {
            Name = "qos-profile-0",
            NsxtManagerId = nsxt.Apply(getNsxtManagerResult => getNsxtManagerResult.Id),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vcd.VcdFunctions;
    import com.pulumi.vcd.inputs.GetNsxtManagerArgs;
    import com.pulumi.vcd.inputs.GetNsxtSegmentQosProfileArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var nsxt = VcdFunctions.getNsxtManager(GetNsxtManagerArgs.builder()
                .name("nsxManager1")
                .build());
    
            final var first = VcdFunctions.getNsxtSegmentQosProfile(GetNsxtSegmentQosProfileArgs.builder()
                .name("qos-profile-0")
                .nsxtManagerId(nsxt.applyValue(getNsxtManagerResult -> getNsxtManagerResult.id()))
                .build());
    
        }
    }
    
    variables:
      nsxt:
        fn::invoke:
          function: vcd:getNsxtManager
          arguments:
            name: nsxManager1
      first:
        fn::invoke:
          function: vcd:getNsxtSegmentQosProfile
          arguments:
            name: qos-profile-0
            nsxtManagerId: ${nsxt.id}
    

    Using getNsxtSegmentQosProfile

    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 getNsxtSegmentQosProfile(args: GetNsxtSegmentQosProfileArgs, opts?: InvokeOptions): Promise<GetNsxtSegmentQosProfileResult>
    function getNsxtSegmentQosProfileOutput(args: GetNsxtSegmentQosProfileOutputArgs, opts?: InvokeOptions): Output<GetNsxtSegmentQosProfileResult>
    def get_nsxt_segment_qos_profile(id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     nsxt_manager_id: Optional[str] = None,
                                     vdc_group_id: Optional[str] = None,
                                     vdc_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetNsxtSegmentQosProfileResult
    def get_nsxt_segment_qos_profile_output(id: Optional[pulumi.Input[str]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     nsxt_manager_id: Optional[pulumi.Input[str]] = None,
                                     vdc_group_id: Optional[pulumi.Input[str]] = None,
                                     vdc_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetNsxtSegmentQosProfileResult]
    func GetNsxtSegmentQosProfile(ctx *Context, args *GetNsxtSegmentQosProfileArgs, opts ...InvokeOption) (*GetNsxtSegmentQosProfileResult, error)
    func GetNsxtSegmentQosProfileOutput(ctx *Context, args *GetNsxtSegmentQosProfileOutputArgs, opts ...InvokeOption) GetNsxtSegmentQosProfileResultOutput

    > Note: This function is named GetNsxtSegmentQosProfile in the Go SDK.

    public static class GetNsxtSegmentQosProfile 
    {
        public static Task<GetNsxtSegmentQosProfileResult> InvokeAsync(GetNsxtSegmentQosProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetNsxtSegmentQosProfileResult> Invoke(GetNsxtSegmentQosProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNsxtSegmentQosProfileResult> getNsxtSegmentQosProfile(GetNsxtSegmentQosProfileArgs args, InvokeOptions options)
    public static Output<GetNsxtSegmentQosProfileResult> getNsxtSegmentQosProfile(GetNsxtSegmentQosProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vcd:index/getNsxtSegmentQosProfile:getNsxtSegmentQosProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of Segment Profile
    Id string
    NsxtManagerId string
    Segment Profile search context. Use when searching by NSX-T manager
    VdcGroupId string

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    VdcId string
    Segment Profile search context. Use when searching by VDC
    Name string
    The name of Segment Profile
    Id string
    NsxtManagerId string
    Segment Profile search context. Use when searching by NSX-T manager
    VdcGroupId string

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    VdcId string
    Segment Profile search context. Use when searching by VDC
    name String
    The name of Segment Profile
    id String
    nsxtManagerId String
    Segment Profile search context. Use when searching by NSX-T manager
    vdcGroupId String

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    vdcId String
    Segment Profile search context. Use when searching by VDC
    name string
    The name of Segment Profile
    id string
    nsxtManagerId string
    Segment Profile search context. Use when searching by NSX-T manager
    vdcGroupId string

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    vdcId string
    Segment Profile search context. Use when searching by VDC
    name str
    The name of Segment Profile
    id str
    nsxt_manager_id str
    Segment Profile search context. Use when searching by NSX-T manager
    vdc_group_id str

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    vdc_id str
    Segment Profile search context. Use when searching by VDC
    name String
    The name of Segment Profile
    id String
    nsxtManagerId String
    Segment Profile search context. Use when searching by NSX-T manager
    vdcGroupId String

    Segment Profile search context. Use when searching by VDC group

    Note: only one of nsxt_manager_id, vdc_id, vdc_group_id can be used

    vdcId String
    Segment Profile search context. Use when searching by VDC

    getNsxtSegmentQosProfile Result

    The following output properties are available:

    ClassOfService double
    Class of service groups similar types of traffic in the network and each type of traffic is treated as a class with its own level of service priority. The lower priority traffic is slowed down or in some cases dropped to provide better throughput for higher priority traffic.
    Description string
    Description of QoS Profile
    DscpPriority double
    A Differentiated Services Code Point (DSCP) priority Profile.
    DscpTrustMode string
    A Differentiated Services Code Point (DSCP) trust mode. Values are below:

    • TRUSTED - With Trusted mode the inner header DSCP value is applied to the outer IP header for IP/IPv6 traffic. For non IP/IPv6 traffic, the outer IP header takes the default value.
    • UNTRUSTED - Untrusted mode is supported on overlay-based and VLAN-based logical port.
    EgressRateLimiterAvgBandwidth double
    Average egress bandwidth in Mb/s.
    EgressRateLimiterBurstSize double
    Egress burst size in bytes.
    EgressRateLimiterPeakBandwidth double
    Peak egress bandwidth in Mb/s.
    Id string
    IngressBroadcastRateLimiterAvgBandwidth double
    Average ingress broadcast bandwidth in Mb/s.
    IngressBroadcastRateLimiterBurstSize double
    Ingress broadcast burst size in bytes.
    IngressBroadcastRateLimiterPeakBandwidth double
    Peak ingress broadcast bandwidth in Mb/s.
    IngressRateLimiterAvgBandwidth double
    Average ingress bandwidth in Mb/s.
    IngressRateLimiterBurstSize double
    Ingress burst size in bytes.
    IngressRateLimiterPeakBandwidth double
    Peak ingress broadcast bandwidth in Mb/s.
    Name string
    NsxtManagerId string
    VdcGroupId string
    VdcId string
    ClassOfService float64
    Class of service groups similar types of traffic in the network and each type of traffic is treated as a class with its own level of service priority. The lower priority traffic is slowed down or in some cases dropped to provide better throughput for higher priority traffic.
    Description string
    Description of QoS Profile
    DscpPriority float64
    A Differentiated Services Code Point (DSCP) priority Profile.
    DscpTrustMode string
    A Differentiated Services Code Point (DSCP) trust mode. Values are below:

    • TRUSTED - With Trusted mode the inner header DSCP value is applied to the outer IP header for IP/IPv6 traffic. For non IP/IPv6 traffic, the outer IP header takes the default value.
    • UNTRUSTED - Untrusted mode is supported on overlay-based and VLAN-based logical port.
    EgressRateLimiterAvgBandwidth float64
    Average egress bandwidth in Mb/s.
    EgressRateLimiterBurstSize float64
    Egress burst size in bytes.
    EgressRateLimiterPeakBandwidth float64
    Peak egress bandwidth in Mb/s.
    Id string
    IngressBroadcastRateLimiterAvgBandwidth float64
    Average ingress broadcast bandwidth in Mb/s.
    IngressBroadcastRateLimiterBurstSize float64
    Ingress broadcast burst size in bytes.
    IngressBroadcastRateLimiterPeakBandwidth float64
    Peak ingress broadcast bandwidth in Mb/s.
    IngressRateLimiterAvgBandwidth float64
    Average ingress bandwidth in Mb/s.
    IngressRateLimiterBurstSize float64
    Ingress burst size in bytes.
    IngressRateLimiterPeakBandwidth float64
    Peak ingress broadcast bandwidth in Mb/s.
    Name string
    NsxtManagerId string
    VdcGroupId string
    VdcId string
    classOfService Double
    Class of service groups similar types of traffic in the network and each type of traffic is treated as a class with its own level of service priority. The lower priority traffic is slowed down or in some cases dropped to provide better throughput for higher priority traffic.
    description String
    Description of QoS Profile
    dscpPriority Double
    A Differentiated Services Code Point (DSCP) priority Profile.
    dscpTrustMode String
    A Differentiated Services Code Point (DSCP) trust mode. Values are below:

    • TRUSTED - With Trusted mode the inner header DSCP value is applied to the outer IP header for IP/IPv6 traffic. For non IP/IPv6 traffic, the outer IP header takes the default value.
    • UNTRUSTED - Untrusted mode is supported on overlay-based and VLAN-based logical port.
    egressRateLimiterAvgBandwidth Double
    Average egress bandwidth in Mb/s.
    egressRateLimiterBurstSize Double
    Egress burst size in bytes.
    egressRateLimiterPeakBandwidth Double
    Peak egress bandwidth in Mb/s.
    id String
    ingressBroadcastRateLimiterAvgBandwidth Double
    Average ingress broadcast bandwidth in Mb/s.
    ingressBroadcastRateLimiterBurstSize Double
    Ingress broadcast burst size in bytes.
    ingressBroadcastRateLimiterPeakBandwidth Double
    Peak ingress broadcast bandwidth in Mb/s.
    ingressRateLimiterAvgBandwidth Double
    Average ingress bandwidth in Mb/s.
    ingressRateLimiterBurstSize Double
    Ingress burst size in bytes.
    ingressRateLimiterPeakBandwidth Double
    Peak ingress broadcast bandwidth in Mb/s.
    name String
    nsxtManagerId String
    vdcGroupId String
    vdcId String
    classOfService number
    Class of service groups similar types of traffic in the network and each type of traffic is treated as a class with its own level of service priority. The lower priority traffic is slowed down or in some cases dropped to provide better throughput for higher priority traffic.
    description string
    Description of QoS Profile
    dscpPriority number
    A Differentiated Services Code Point (DSCP) priority Profile.
    dscpTrustMode string
    A Differentiated Services Code Point (DSCP) trust mode. Values are below:

    • TRUSTED - With Trusted mode the inner header DSCP value is applied to the outer IP header for IP/IPv6 traffic. For non IP/IPv6 traffic, the outer IP header takes the default value.
    • UNTRUSTED - Untrusted mode is supported on overlay-based and VLAN-based logical port.
    egressRateLimiterAvgBandwidth number
    Average egress bandwidth in Mb/s.
    egressRateLimiterBurstSize number
    Egress burst size in bytes.
    egressRateLimiterPeakBandwidth number
    Peak egress bandwidth in Mb/s.
    id string
    ingressBroadcastRateLimiterAvgBandwidth number
    Average ingress broadcast bandwidth in Mb/s.
    ingressBroadcastRateLimiterBurstSize number
    Ingress broadcast burst size in bytes.
    ingressBroadcastRateLimiterPeakBandwidth number
    Peak ingress broadcast bandwidth in Mb/s.
    ingressRateLimiterAvgBandwidth number
    Average ingress bandwidth in Mb/s.
    ingressRateLimiterBurstSize number
    Ingress burst size in bytes.
    ingressRateLimiterPeakBandwidth number
    Peak ingress broadcast bandwidth in Mb/s.
    name string
    nsxtManagerId string
    vdcGroupId string
    vdcId string
    class_of_service float
    Class of service groups similar types of traffic in the network and each type of traffic is treated as a class with its own level of service priority. The lower priority traffic is slowed down or in some cases dropped to provide better throughput for higher priority traffic.
    description str
    Description of QoS Profile
    dscp_priority float
    A Differentiated Services Code Point (DSCP) priority Profile.
    dscp_trust_mode str
    A Differentiated Services Code Point (DSCP) trust mode. Values are below:

    • TRUSTED - With Trusted mode the inner header DSCP value is applied to the outer IP header for IP/IPv6 traffic. For non IP/IPv6 traffic, the outer IP header takes the default value.
    • UNTRUSTED - Untrusted mode is supported on overlay-based and VLAN-based logical port.
    egress_rate_limiter_avg_bandwidth float
    Average egress bandwidth in Mb/s.
    egress_rate_limiter_burst_size float
    Egress burst size in bytes.
    egress_rate_limiter_peak_bandwidth float
    Peak egress bandwidth in Mb/s.
    id str
    ingress_broadcast_rate_limiter_avg_bandwidth float
    Average ingress broadcast bandwidth in Mb/s.
    ingress_broadcast_rate_limiter_burst_size float
    Ingress broadcast burst size in bytes.
    ingress_broadcast_rate_limiter_peak_bandwidth float
    Peak ingress broadcast bandwidth in Mb/s.
    ingress_rate_limiter_avg_bandwidth float
    Average ingress bandwidth in Mb/s.
    ingress_rate_limiter_burst_size float
    Ingress burst size in bytes.
    ingress_rate_limiter_peak_bandwidth float
    Peak ingress broadcast bandwidth in Mb/s.
    name str
    nsxt_manager_id str
    vdc_group_id str
    vdc_id str
    classOfService Number
    Class of service groups similar types of traffic in the network and each type of traffic is treated as a class with its own level of service priority. The lower priority traffic is slowed down or in some cases dropped to provide better throughput for higher priority traffic.
    description String
    Description of QoS Profile
    dscpPriority Number
    A Differentiated Services Code Point (DSCP) priority Profile.
    dscpTrustMode String
    A Differentiated Services Code Point (DSCP) trust mode. Values are below:

    • TRUSTED - With Trusted mode the inner header DSCP value is applied to the outer IP header for IP/IPv6 traffic. For non IP/IPv6 traffic, the outer IP header takes the default value.
    • UNTRUSTED - Untrusted mode is supported on overlay-based and VLAN-based logical port.
    egressRateLimiterAvgBandwidth Number
    Average egress bandwidth in Mb/s.
    egressRateLimiterBurstSize Number
    Egress burst size in bytes.
    egressRateLimiterPeakBandwidth Number
    Peak egress bandwidth in Mb/s.
    id String
    ingressBroadcastRateLimiterAvgBandwidth Number
    Average ingress broadcast bandwidth in Mb/s.
    ingressBroadcastRateLimiterBurstSize Number
    Ingress broadcast burst size in bytes.
    ingressBroadcastRateLimiterPeakBandwidth Number
    Peak ingress broadcast bandwidth in Mb/s.
    ingressRateLimiterAvgBandwidth Number
    Average ingress bandwidth in Mb/s.
    ingressRateLimiterBurstSize Number
    Ingress burst size in bytes.
    ingressRateLimiterPeakBandwidth Number
    Peak ingress broadcast bandwidth in Mb/s.
    name String
    nsxtManagerId String
    vdcGroupId String
    vdcId String

    Package Details

    Repository
    vcd vmware/terraform-provider-vcd
    License
    Notes
    This Pulumi package is based on the vcd Terraform Provider.
    vcd logo
    vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware