1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. QosProfile
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    QosProfile resource

    Create QosProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new QosProfile(name: string, args?: QosProfileArgs, opts?: CustomResourceOptions);
    @overload
    def QosProfile(resource_name: str,
                   args: Optional[QosProfileArgs] = None,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def QosProfile(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   aggregate_bandwidth: Optional[QosProfileAggregateBandwidthArgs] = None,
                   class_bandwidth_type: Optional[QosProfileClassBandwidthTypeArgs] = None,
                   device: Optional[str] = None,
                   folder: Optional[str] = None,
                   name: Optional[str] = None,
                   snippet: Optional[str] = None)
    func NewQosProfile(ctx *Context, name string, args *QosProfileArgs, opts ...ResourceOption) (*QosProfile, error)
    public QosProfile(string name, QosProfileArgs? args = null, CustomResourceOptions? opts = null)
    public QosProfile(String name, QosProfileArgs args)
    public QosProfile(String name, QosProfileArgs args, CustomResourceOptions options)
    
    type: scm:QosProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args QosProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args QosProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args QosProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args QosProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args QosProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var qosProfileResource = new Scm.QosProfile("qosProfileResource", new()
    {
        AggregateBandwidth = new Scm.Inputs.QosProfileAggregateBandwidthArgs
        {
            EgressGuaranteed = 0,
            EgressMax = 0,
        },
        ClassBandwidthType = new Scm.Inputs.QosProfileClassBandwidthTypeArgs
        {
            Mbps = new Scm.Inputs.QosProfileClassBandwidthTypeMbpsArgs
            {
                Classes = new[]
                {
                    new Scm.Inputs.QosProfileClassBandwidthTypeMbpsClassArgs
                    {
                        ClassBandwidth = new Scm.Inputs.QosProfileClassBandwidthTypeMbpsClassClassBandwidthArgs
                        {
                            EgressGuaranteed = 0,
                            EgressMax = 0,
                        },
                        Name = "string",
                        Priority = "string",
                    },
                },
            },
            Percentage = new Scm.Inputs.QosProfileClassBandwidthTypePercentageArgs
            {
                Classes = new[]
                {
                    new Scm.Inputs.QosProfileClassBandwidthTypePercentageClassArgs
                    {
                        ClassBandwidth = new Scm.Inputs.QosProfileClassBandwidthTypePercentageClassClassBandwidthArgs
                        {
                            EgressGuaranteed = 0,
                            EgressMax = 0,
                        },
                        Name = "string",
                        Priority = "string",
                    },
                },
            },
        },
        Device = "string",
        Folder = "string",
        Name = "string",
        Snippet = "string",
    });
    
    example, err := scm.NewQosProfile(ctx, "qosProfileResource", &scm.QosProfileArgs{
    	AggregateBandwidth: &scm.QosProfileAggregateBandwidthArgs{
    		EgressGuaranteed: pulumi.Int(0),
    		EgressMax:        pulumi.Int(0),
    	},
    	ClassBandwidthType: &scm.QosProfileClassBandwidthTypeArgs{
    		Mbps: &scm.QosProfileClassBandwidthTypeMbpsArgs{
    			Classes: scm.QosProfileClassBandwidthTypeMbpsClassArray{
    				&scm.QosProfileClassBandwidthTypeMbpsClassArgs{
    					ClassBandwidth: &scm.QosProfileClassBandwidthTypeMbpsClassClassBandwidthArgs{
    						EgressGuaranteed: pulumi.Int(0),
    						EgressMax:        pulumi.Int(0),
    					},
    					Name:     pulumi.String("string"),
    					Priority: pulumi.String("string"),
    				},
    			},
    		},
    		Percentage: &scm.QosProfileClassBandwidthTypePercentageArgs{
    			Classes: scm.QosProfileClassBandwidthTypePercentageClassArray{
    				&scm.QosProfileClassBandwidthTypePercentageClassArgs{
    					ClassBandwidth: &scm.QosProfileClassBandwidthTypePercentageClassClassBandwidthArgs{
    						EgressGuaranteed: pulumi.Int(0),
    						EgressMax:        pulumi.Int(0),
    					},
    					Name:     pulumi.String("string"),
    					Priority: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Device:  pulumi.String("string"),
    	Folder:  pulumi.String("string"),
    	Name:    pulumi.String("string"),
    	Snippet: pulumi.String("string"),
    })
    
    var qosProfileResource = new QosProfile("qosProfileResource", QosProfileArgs.builder()
        .aggregateBandwidth(QosProfileAggregateBandwidthArgs.builder()
            .egressGuaranteed(0)
            .egressMax(0)
            .build())
        .classBandwidthType(QosProfileClassBandwidthTypeArgs.builder()
            .mbps(QosProfileClassBandwidthTypeMbpsArgs.builder()
                .classes(QosProfileClassBandwidthTypeMbpsClassArgs.builder()
                    .classBandwidth(QosProfileClassBandwidthTypeMbpsClassClassBandwidthArgs.builder()
                        .egressGuaranteed(0)
                        .egressMax(0)
                        .build())
                    .name("string")
                    .priority("string")
                    .build())
                .build())
            .percentage(QosProfileClassBandwidthTypePercentageArgs.builder()
                .classes(QosProfileClassBandwidthTypePercentageClassArgs.builder()
                    .classBandwidth(QosProfileClassBandwidthTypePercentageClassClassBandwidthArgs.builder()
                        .egressGuaranteed(0)
                        .egressMax(0)
                        .build())
                    .name("string")
                    .priority("string")
                    .build())
                .build())
            .build())
        .device("string")
        .folder("string")
        .name("string")
        .snippet("string")
        .build());
    
    qos_profile_resource = scm.QosProfile("qosProfileResource",
        aggregate_bandwidth={
            "egress_guaranteed": 0,
            "egress_max": 0,
        },
        class_bandwidth_type={
            "mbps": {
                "classes": [{
                    "class_bandwidth": {
                        "egress_guaranteed": 0,
                        "egress_max": 0,
                    },
                    "name": "string",
                    "priority": "string",
                }],
            },
            "percentage": {
                "classes": [{
                    "class_bandwidth": {
                        "egress_guaranteed": 0,
                        "egress_max": 0,
                    },
                    "name": "string",
                    "priority": "string",
                }],
            },
        },
        device="string",
        folder="string",
        name="string",
        snippet="string")
    
    const qosProfileResource = new scm.QosProfile("qosProfileResource", {
        aggregateBandwidth: {
            egressGuaranteed: 0,
            egressMax: 0,
        },
        classBandwidthType: {
            mbps: {
                classes: [{
                    classBandwidth: {
                        egressGuaranteed: 0,
                        egressMax: 0,
                    },
                    name: "string",
                    priority: "string",
                }],
            },
            percentage: {
                classes: [{
                    classBandwidth: {
                        egressGuaranteed: 0,
                        egressMax: 0,
                    },
                    name: "string",
                    priority: "string",
                }],
            },
        },
        device: "string",
        folder: "string",
        name: "string",
        snippet: "string",
    });
    
    type: scm:QosProfile
    properties:
        aggregateBandwidth:
            egressGuaranteed: 0
            egressMax: 0
        classBandwidthType:
            mbps:
                classes:
                    - classBandwidth:
                        egressGuaranteed: 0
                        egressMax: 0
                      name: string
                      priority: string
            percentage:
                classes:
                    - classBandwidth:
                        egressGuaranteed: 0
                        egressMax: 0
                      name: string
                      priority: string
        device: string
        folder: string
        name: string
        snippet: string
    

    QosProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The QosProfile resource accepts the following input properties:

    AggregateBandwidth QosProfileAggregateBandwidth
    Aggregate bandwidth
    ClassBandwidthType QosProfileClassBandwidthType
    Class bandwidth type
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Snippet string
    The snippet in which the resource is defined
    AggregateBandwidth QosProfileAggregateBandwidthArgs
    Aggregate bandwidth
    ClassBandwidthType QosProfileClassBandwidthTypeArgs
    Class bandwidth type
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Snippet string
    The snippet in which the resource is defined
    aggregateBandwidth QosProfileAggregateBandwidth
    Aggregate bandwidth
    classBandwidthType QosProfileClassBandwidthType
    Class bandwidth type
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet String
    The snippet in which the resource is defined
    aggregateBandwidth QosProfileAggregateBandwidth
    Aggregate bandwidth
    classBandwidthType QosProfileClassBandwidthType
    Class bandwidth type
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet string
    The snippet in which the resource is defined
    aggregate_bandwidth QosProfileAggregateBandwidthArgs
    Aggregate bandwidth
    class_bandwidth_type QosProfileClassBandwidthTypeArgs
    Class bandwidth type
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet str
    The snippet in which the resource is defined
    aggregateBandwidth Property Map
    Aggregate bandwidth
    classBandwidthType Property Map
    Class bandwidth type
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet String
    The snippet in which the resource is defined

    Outputs

    All input properties are implicitly available as output properties. Additionally, the QosProfile resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String

    Look up Existing QosProfile Resource

    Get an existing QosProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: QosProfileState, opts?: CustomResourceOptions): QosProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aggregate_bandwidth: Optional[QosProfileAggregateBandwidthArgs] = None,
            class_bandwidth_type: Optional[QosProfileClassBandwidthTypeArgs] = None,
            device: Optional[str] = None,
            folder: Optional[str] = None,
            name: Optional[str] = None,
            snippet: Optional[str] = None,
            tfid: Optional[str] = None) -> QosProfile
    func GetQosProfile(ctx *Context, name string, id IDInput, state *QosProfileState, opts ...ResourceOption) (*QosProfile, error)
    public static QosProfile Get(string name, Input<string> id, QosProfileState? state, CustomResourceOptions? opts = null)
    public static QosProfile get(String name, Output<String> id, QosProfileState state, CustomResourceOptions options)
    resources:  _:    type: scm:QosProfile    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AggregateBandwidth QosProfileAggregateBandwidth
    Aggregate bandwidth
    ClassBandwidthType QosProfileClassBandwidthType
    Class bandwidth type
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    AggregateBandwidth QosProfileAggregateBandwidthArgs
    Aggregate bandwidth
    ClassBandwidthType QosProfileClassBandwidthTypeArgs
    Class bandwidth type
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    aggregateBandwidth QosProfileAggregateBandwidth
    Aggregate bandwidth
    classBandwidthType QosProfileClassBandwidthType
    Class bandwidth type
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet String
    The snippet in which the resource is defined
    tfid String
    aggregateBandwidth QosProfileAggregateBandwidth
    Aggregate bandwidth
    classBandwidthType QosProfileClassBandwidthType
    Class bandwidth type
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet string
    The snippet in which the resource is defined
    tfid string
    aggregate_bandwidth QosProfileAggregateBandwidthArgs
    Aggregate bandwidth
    class_bandwidth_type QosProfileClassBandwidthTypeArgs
    Class bandwidth type
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    name str
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet str
    The snippet in which the resource is defined
    tfid str
    aggregateBandwidth Property Map
    Aggregate bandwidth
    classBandwidthType Property Map
    Class bandwidth type
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Alphanumeric string begin with letter: [0-9a-zA-Z._-]
    snippet String
    The snippet in which the resource is defined
    tfid String

    Supporting Types

    QosProfileAggregateBandwidth, QosProfileAggregateBandwidthArgs

    EgressGuaranteed int
    guaranteed sending bandwidth in mbps
    EgressMax int
    max sending bandwidth in mbps
    EgressGuaranteed int
    guaranteed sending bandwidth in mbps
    EgressMax int
    max sending bandwidth in mbps
    egressGuaranteed Integer
    guaranteed sending bandwidth in mbps
    egressMax Integer
    max sending bandwidth in mbps
    egressGuaranteed number
    guaranteed sending bandwidth in mbps
    egressMax number
    max sending bandwidth in mbps
    egress_guaranteed int
    guaranteed sending bandwidth in mbps
    egress_max int
    max sending bandwidth in mbps
    egressGuaranteed Number
    guaranteed sending bandwidth in mbps
    egressMax Number
    max sending bandwidth in mbps

    QosProfileClassBandwidthType, QosProfileClassBandwidthTypeArgs

    QosProfileClassBandwidthTypeMbps, QosProfileClassBandwidthTypeMbpsArgs

    Classes []QosProfileClassBandwidthTypeMbpsClass
    QoS setting for traffic classes
    classes QosProfileClassBandwidthTypeMbpsClass[]
    QoS setting for traffic classes
    classes List<Property Map>
    QoS setting for traffic classes

    QosProfileClassBandwidthTypeMbpsClass, QosProfileClassBandwidthTypeMbpsClassArgs

    ClassBandwidth QosProfileClassBandwidthTypeMbpsClassClassBandwidth
    Class bandwidth
    Name string
    Traffic class
    Priority string
    traffic class priority
    ClassBandwidth QosProfileClassBandwidthTypeMbpsClassClassBandwidth
    Class bandwidth
    Name string
    Traffic class
    Priority string
    traffic class priority
    classBandwidth QosProfileClassBandwidthTypeMbpsClassClassBandwidth
    Class bandwidth
    name String
    Traffic class
    priority String
    traffic class priority
    classBandwidth QosProfileClassBandwidthTypeMbpsClassClassBandwidth
    Class bandwidth
    name string
    Traffic class
    priority string
    traffic class priority
    class_bandwidth QosProfileClassBandwidthTypeMbpsClassClassBandwidth
    Class bandwidth
    name str
    Traffic class
    priority str
    traffic class priority
    classBandwidth Property Map
    Class bandwidth
    name String
    Traffic class
    priority String
    traffic class priority

    QosProfileClassBandwidthTypeMbpsClassClassBandwidth, QosProfileClassBandwidthTypeMbpsClassClassBandwidthArgs

    EgressGuaranteed int
    guaranteed sending bandwidth in mbps
    EgressMax int
    max sending bandwidth in mbps
    EgressGuaranteed int
    guaranteed sending bandwidth in mbps
    EgressMax int
    max sending bandwidth in mbps
    egressGuaranteed Integer
    guaranteed sending bandwidth in mbps
    egressMax Integer
    max sending bandwidth in mbps
    egressGuaranteed number
    guaranteed sending bandwidth in mbps
    egressMax number
    max sending bandwidth in mbps
    egress_guaranteed int
    guaranteed sending bandwidth in mbps
    egress_max int
    max sending bandwidth in mbps
    egressGuaranteed Number
    guaranteed sending bandwidth in mbps
    egressMax Number
    max sending bandwidth in mbps

    QosProfileClassBandwidthTypePercentage, QosProfileClassBandwidthTypePercentageArgs

    classes List<Property Map>
    QoS setting for traffic classes

    QosProfileClassBandwidthTypePercentageClass, QosProfileClassBandwidthTypePercentageClassArgs

    ClassBandwidth QosProfileClassBandwidthTypePercentageClassClassBandwidth
    Class bandwidth
    Name string
    Traffic class
    Priority string
    traffic class priority
    ClassBandwidth QosProfileClassBandwidthTypePercentageClassClassBandwidth
    Class bandwidth
    Name string
    Traffic class
    Priority string
    traffic class priority
    classBandwidth QosProfileClassBandwidthTypePercentageClassClassBandwidth
    Class bandwidth
    name String
    Traffic class
    priority String
    traffic class priority
    classBandwidth QosProfileClassBandwidthTypePercentageClassClassBandwidth
    Class bandwidth
    name string
    Traffic class
    priority string
    traffic class priority
    class_bandwidth QosProfileClassBandwidthTypePercentageClassClassBandwidth
    Class bandwidth
    name str
    Traffic class
    priority str
    traffic class priority
    classBandwidth Property Map
    Class bandwidth
    name String
    Traffic class
    priority String
    traffic class priority

    QosProfileClassBandwidthTypePercentageClassClassBandwidth, QosProfileClassBandwidthTypePercentageClassClassBandwidthArgs

    EgressGuaranteed int
    guaranteed sending bandwidth in percentage
    EgressMax int
    max sending bandwidth in percentage
    EgressGuaranteed int
    guaranteed sending bandwidth in percentage
    EgressMax int
    max sending bandwidth in percentage
    egressGuaranteed Integer
    guaranteed sending bandwidth in percentage
    egressMax Integer
    max sending bandwidth in percentage
    egressGuaranteed number
    guaranteed sending bandwidth in percentage
    egressMax number
    max sending bandwidth in percentage
    egress_guaranteed int
    guaranteed sending bandwidth in percentage
    egress_max int
    max sending bandwidth in percentage
    egressGuaranteed Number
    guaranteed sending bandwidth in percentage
    egressMax Number
    max sending bandwidth in percentage

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate