1. Packages
  2. Packages
  3. Mso Provider
  4. API Docs
  5. TenantPoliciesCustomQosPolicy
Viewing docs for mso 2.0.0
published on Friday, Apr 17, 2026 by ciscodevnet
Viewing docs for mso 2.0.0
published on Friday, Apr 17, 2026 by ciscodevnet

    Create TenantPoliciesCustomQosPolicy Resource

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

    Constructor syntax

    new TenantPoliciesCustomQosPolicy(name: string, args: TenantPoliciesCustomQosPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def TenantPoliciesCustomQosPolicy(resource_name: str,
                                      args: TenantPoliciesCustomQosPolicyArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def TenantPoliciesCustomQosPolicy(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      template_id: Optional[str] = None,
                                      cos_mappings: Optional[Sequence[TenantPoliciesCustomQosPolicyCosMappingArgs]] = None,
                                      description: Optional[str] = None,
                                      dscp_mappings: Optional[Sequence[TenantPoliciesCustomQosPolicyDscpMappingArgs]] = None,
                                      name: Optional[str] = None,
                                      tenant_policies_custom_qos_policy_id: Optional[str] = None)
    func NewTenantPoliciesCustomQosPolicy(ctx *Context, name string, args TenantPoliciesCustomQosPolicyArgs, opts ...ResourceOption) (*TenantPoliciesCustomQosPolicy, error)
    public TenantPoliciesCustomQosPolicy(string name, TenantPoliciesCustomQosPolicyArgs args, CustomResourceOptions? opts = null)
    public TenantPoliciesCustomQosPolicy(String name, TenantPoliciesCustomQosPolicyArgs args)
    public TenantPoliciesCustomQosPolicy(String name, TenantPoliciesCustomQosPolicyArgs args, CustomResourceOptions options)
    
    type: mso:TenantPoliciesCustomQosPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "mso_tenantpoliciescustomqospolicy" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TenantPoliciesCustomQosPolicyArgs
    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 TenantPoliciesCustomQosPolicyArgs
    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 TenantPoliciesCustomQosPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TenantPoliciesCustomQosPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TenantPoliciesCustomQosPolicyArgs
    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 tenantPoliciesCustomQosPolicyResource = new Mso.TenantPoliciesCustomQosPolicy("tenantPoliciesCustomQosPolicyResource", new()
    {
        TemplateId = "string",
        CosMappings = new[]
        {
            new Mso.Inputs.TenantPoliciesCustomQosPolicyCosMappingArgs
            {
                Dot1pFrom = "string",
                Dot1pTo = "string",
                DscpTarget = "string",
                QosPriority = "string",
                TargetCos = "string",
            },
        },
        Description = "string",
        DscpMappings = new[]
        {
            new Mso.Inputs.TenantPoliciesCustomQosPolicyDscpMappingArgs
            {
                DscpFrom = "string",
                DscpTarget = "string",
                DscpTo = "string",
                QosPriority = "string",
                TargetCos = "string",
            },
        },
        Name = "string",
        TenantPoliciesCustomQosPolicyId = "string",
    });
    
    example, err := mso.NewTenantPoliciesCustomQosPolicy(ctx, "tenantPoliciesCustomQosPolicyResource", &mso.TenantPoliciesCustomQosPolicyArgs{
    	TemplateId: pulumi.String("string"),
    	CosMappings: mso.TenantPoliciesCustomQosPolicyCosMappingArray{
    		&mso.TenantPoliciesCustomQosPolicyCosMappingArgs{
    			Dot1pFrom:   pulumi.String("string"),
    			Dot1pTo:     pulumi.String("string"),
    			DscpTarget:  pulumi.String("string"),
    			QosPriority: pulumi.String("string"),
    			TargetCos:   pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	DscpMappings: mso.TenantPoliciesCustomQosPolicyDscpMappingArray{
    		&mso.TenantPoliciesCustomQosPolicyDscpMappingArgs{
    			DscpFrom:    pulumi.String("string"),
    			DscpTarget:  pulumi.String("string"),
    			DscpTo:      pulumi.String("string"),
    			QosPriority: pulumi.String("string"),
    			TargetCos:   pulumi.String("string"),
    		},
    	},
    	Name:                            pulumi.String("string"),
    	TenantPoliciesCustomQosPolicyId: pulumi.String("string"),
    })
    
    resource "mso_tenantpoliciescustomqospolicy" "tenantPoliciesCustomQosPolicyResource" {
      template_id = "string"
      cos_mappings {
        dot1p_from   = "string"
        dot1p_to     = "string"
        dscp_target  = "string"
        qos_priority = "string"
        target_cos   = "string"
      }
      description = "string"
      dscp_mappings {
        dscp_from    = "string"
        dscp_target  = "string"
        dscp_to      = "string"
        qos_priority = "string"
        target_cos   = "string"
      }
      name                                 = "string"
      tenant_policies_custom_qos_policy_id = "string"
    }
    
    var tenantPoliciesCustomQosPolicyResource = new TenantPoliciesCustomQosPolicy("tenantPoliciesCustomQosPolicyResource", TenantPoliciesCustomQosPolicyArgs.builder()
        .templateId("string")
        .cosMappings(TenantPoliciesCustomQosPolicyCosMappingArgs.builder()
            .dot1pFrom("string")
            .dot1pTo("string")
            .dscpTarget("string")
            .qosPriority("string")
            .targetCos("string")
            .build())
        .description("string")
        .dscpMappings(TenantPoliciesCustomQosPolicyDscpMappingArgs.builder()
            .dscpFrom("string")
            .dscpTarget("string")
            .dscpTo("string")
            .qosPriority("string")
            .targetCos("string")
            .build())
        .name("string")
        .tenantPoliciesCustomQosPolicyId("string")
        .build());
    
    tenant_policies_custom_qos_policy_resource = mso.TenantPoliciesCustomQosPolicy("tenantPoliciesCustomQosPolicyResource",
        template_id="string",
        cos_mappings=[{
            "dot1p_from": "string",
            "dot1p_to": "string",
            "dscp_target": "string",
            "qos_priority": "string",
            "target_cos": "string",
        }],
        description="string",
        dscp_mappings=[{
            "dscp_from": "string",
            "dscp_target": "string",
            "dscp_to": "string",
            "qos_priority": "string",
            "target_cos": "string",
        }],
        name="string",
        tenant_policies_custom_qos_policy_id="string")
    
    const tenantPoliciesCustomQosPolicyResource = new mso.TenantPoliciesCustomQosPolicy("tenantPoliciesCustomQosPolicyResource", {
        templateId: "string",
        cosMappings: [{
            dot1pFrom: "string",
            dot1pTo: "string",
            dscpTarget: "string",
            qosPriority: "string",
            targetCos: "string",
        }],
        description: "string",
        dscpMappings: [{
            dscpFrom: "string",
            dscpTarget: "string",
            dscpTo: "string",
            qosPriority: "string",
            targetCos: "string",
        }],
        name: "string",
        tenantPoliciesCustomQosPolicyId: "string",
    });
    
    type: mso:TenantPoliciesCustomQosPolicy
    properties:
        cosMappings:
            - dot1pFrom: string
              dot1pTo: string
              dscpTarget: string
              qosPriority: string
              targetCos: string
        description: string
        dscpMappings:
            - dscpFrom: string
              dscpTarget: string
              dscpTo: string
              qosPriority: string
              targetCos: string
        name: string
        templateId: string
        tenantPoliciesCustomQosPolicyId: string
    

    TenantPoliciesCustomQosPolicy 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 TenantPoliciesCustomQosPolicy resource accepts the following input properties:

    TemplateId string
    The ID of the tenant policy template.
    CosMappings List<TenantPoliciesCustomQosPolicyCosMapping>
    The CoS mappings of the Custom QoS Policy.
    Description string
    The description of the Custom QoS Policy.
    DscpMappings List<TenantPoliciesCustomQosPolicyDscpMapping>
    The DSCP mappings of the Custom QoS Policy.
    Name string
    The name of the Custom QoS Policy.
    TenantPoliciesCustomQosPolicyId string
    TemplateId string
    The ID of the tenant policy template.
    CosMappings []TenantPoliciesCustomQosPolicyCosMappingArgs
    The CoS mappings of the Custom QoS Policy.
    Description string
    The description of the Custom QoS Policy.
    DscpMappings []TenantPoliciesCustomQosPolicyDscpMappingArgs
    The DSCP mappings of the Custom QoS Policy.
    Name string
    The name of the Custom QoS Policy.
    TenantPoliciesCustomQosPolicyId string
    template_id string
    The ID of the tenant policy template.
    cos_mappings list(object)
    The CoS mappings of the Custom QoS Policy.
    description string
    The description of the Custom QoS Policy.
    dscp_mappings list(object)
    The DSCP mappings of the Custom QoS Policy.
    name string
    The name of the Custom QoS Policy.
    tenant_policies_custom_qos_policy_id string
    templateId String
    The ID of the tenant policy template.
    cosMappings List<TenantPoliciesCustomQosPolicyCosMapping>
    The CoS mappings of the Custom QoS Policy.
    description String
    The description of the Custom QoS Policy.
    dscpMappings List<TenantPoliciesCustomQosPolicyDscpMapping>
    The DSCP mappings of the Custom QoS Policy.
    name String
    The name of the Custom QoS Policy.
    tenantPoliciesCustomQosPolicyId String
    templateId string
    The ID of the tenant policy template.
    cosMappings TenantPoliciesCustomQosPolicyCosMapping[]
    The CoS mappings of the Custom QoS Policy.
    description string
    The description of the Custom QoS Policy.
    dscpMappings TenantPoliciesCustomQosPolicyDscpMapping[]
    The DSCP mappings of the Custom QoS Policy.
    name string
    The name of the Custom QoS Policy.
    tenantPoliciesCustomQosPolicyId string
    template_id str
    The ID of the tenant policy template.
    cos_mappings Sequence[TenantPoliciesCustomQosPolicyCosMappingArgs]
    The CoS mappings of the Custom QoS Policy.
    description str
    The description of the Custom QoS Policy.
    dscp_mappings Sequence[TenantPoliciesCustomQosPolicyDscpMappingArgs]
    The DSCP mappings of the Custom QoS Policy.
    name str
    The name of the Custom QoS Policy.
    tenant_policies_custom_qos_policy_id str
    templateId String
    The ID of the tenant policy template.
    cosMappings List<Property Map>
    The CoS mappings of the Custom QoS Policy.
    description String
    The description of the Custom QoS Policy.
    dscpMappings List<Property Map>
    The DSCP mappings of the Custom QoS Policy.
    name String
    The name of the Custom QoS Policy.
    tenantPoliciesCustomQosPolicyId String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    The UUID of the Custom QoS Policy.
    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    The UUID of the Custom QoS Policy.
    id string
    The provider-assigned unique ID for this managed resource.
    uuid string
    The UUID of the Custom QoS Policy.
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String
    The UUID of the Custom QoS Policy.
    id string
    The provider-assigned unique ID for this managed resource.
    uuid string
    The UUID of the Custom QoS Policy.
    id str
    The provider-assigned unique ID for this managed resource.
    uuid str
    The UUID of the Custom QoS Policy.
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String
    The UUID of the Custom QoS Policy.

    Look up Existing TenantPoliciesCustomQosPolicy Resource

    Get an existing TenantPoliciesCustomQosPolicy 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?: TenantPoliciesCustomQosPolicyState, opts?: CustomResourceOptions): TenantPoliciesCustomQosPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cos_mappings: Optional[Sequence[TenantPoliciesCustomQosPolicyCosMappingArgs]] = None,
            description: Optional[str] = None,
            dscp_mappings: Optional[Sequence[TenantPoliciesCustomQosPolicyDscpMappingArgs]] = None,
            name: Optional[str] = None,
            template_id: Optional[str] = None,
            tenant_policies_custom_qos_policy_id: Optional[str] = None,
            uuid: Optional[str] = None) -> TenantPoliciesCustomQosPolicy
    func GetTenantPoliciesCustomQosPolicy(ctx *Context, name string, id IDInput, state *TenantPoliciesCustomQosPolicyState, opts ...ResourceOption) (*TenantPoliciesCustomQosPolicy, error)
    public static TenantPoliciesCustomQosPolicy Get(string name, Input<string> id, TenantPoliciesCustomQosPolicyState? state, CustomResourceOptions? opts = null)
    public static TenantPoliciesCustomQosPolicy get(String name, Output<String> id, TenantPoliciesCustomQosPolicyState state, CustomResourceOptions options)
    resources:  _:    type: mso:TenantPoliciesCustomQosPolicy    get:      id: ${id}
    import {
      to = mso_tenantpoliciescustomqospolicy.example
      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:
    CosMappings List<TenantPoliciesCustomQosPolicyCosMapping>
    The CoS mappings of the Custom QoS Policy.
    Description string
    The description of the Custom QoS Policy.
    DscpMappings List<TenantPoliciesCustomQosPolicyDscpMapping>
    The DSCP mappings of the Custom QoS Policy.
    Name string
    The name of the Custom QoS Policy.
    TemplateId string
    The ID of the tenant policy template.
    TenantPoliciesCustomQosPolicyId string
    Uuid string
    The UUID of the Custom QoS Policy.
    CosMappings []TenantPoliciesCustomQosPolicyCosMappingArgs
    The CoS mappings of the Custom QoS Policy.
    Description string
    The description of the Custom QoS Policy.
    DscpMappings []TenantPoliciesCustomQosPolicyDscpMappingArgs
    The DSCP mappings of the Custom QoS Policy.
    Name string
    The name of the Custom QoS Policy.
    TemplateId string
    The ID of the tenant policy template.
    TenantPoliciesCustomQosPolicyId string
    Uuid string
    The UUID of the Custom QoS Policy.
    cos_mappings list(object)
    The CoS mappings of the Custom QoS Policy.
    description string
    The description of the Custom QoS Policy.
    dscp_mappings list(object)
    The DSCP mappings of the Custom QoS Policy.
    name string
    The name of the Custom QoS Policy.
    template_id string
    The ID of the tenant policy template.
    tenant_policies_custom_qos_policy_id string
    uuid string
    The UUID of the Custom QoS Policy.
    cosMappings List<TenantPoliciesCustomQosPolicyCosMapping>
    The CoS mappings of the Custom QoS Policy.
    description String
    The description of the Custom QoS Policy.
    dscpMappings List<TenantPoliciesCustomQosPolicyDscpMapping>
    The DSCP mappings of the Custom QoS Policy.
    name String
    The name of the Custom QoS Policy.
    templateId String
    The ID of the tenant policy template.
    tenantPoliciesCustomQosPolicyId String
    uuid String
    The UUID of the Custom QoS Policy.
    cosMappings TenantPoliciesCustomQosPolicyCosMapping[]
    The CoS mappings of the Custom QoS Policy.
    description string
    The description of the Custom QoS Policy.
    dscpMappings TenantPoliciesCustomQosPolicyDscpMapping[]
    The DSCP mappings of the Custom QoS Policy.
    name string
    The name of the Custom QoS Policy.
    templateId string
    The ID of the tenant policy template.
    tenantPoliciesCustomQosPolicyId string
    uuid string
    The UUID of the Custom QoS Policy.
    cos_mappings Sequence[TenantPoliciesCustomQosPolicyCosMappingArgs]
    The CoS mappings of the Custom QoS Policy.
    description str
    The description of the Custom QoS Policy.
    dscp_mappings Sequence[TenantPoliciesCustomQosPolicyDscpMappingArgs]
    The DSCP mappings of the Custom QoS Policy.
    name str
    The name of the Custom QoS Policy.
    template_id str
    The ID of the tenant policy template.
    tenant_policies_custom_qos_policy_id str
    uuid str
    The UUID of the Custom QoS Policy.
    cosMappings List<Property Map>
    The CoS mappings of the Custom QoS Policy.
    description String
    The description of the Custom QoS Policy.
    dscpMappings List<Property Map>
    The DSCP mappings of the Custom QoS Policy.
    name String
    The name of the Custom QoS Policy.
    templateId String
    The ID of the tenant policy template.
    tenantPoliciesCustomQosPolicyId String
    uuid String
    The UUID of the Custom QoS Policy.

    Supporting Types

    TenantPoliciesCustomQosPolicyCosMapping, TenantPoliciesCustomQosPolicyCosMappingArgs

    Dot1pFrom string
    The starting value/traffic type of the CoS range.
    Dot1pTo string
    The ending value/traffic type of the CoS range.
    DscpTarget string
    The DSCP target encoding point for egressing traffic.
    QosPriority string
    The QoS priority level.
    TargetCos string
    The target CoS value/traffic type for egressing traffic.
    Dot1pFrom string
    The starting value/traffic type of the CoS range.
    Dot1pTo string
    The ending value/traffic type of the CoS range.
    DscpTarget string
    The DSCP target encoding point for egressing traffic.
    QosPriority string
    The QoS priority level.
    TargetCos string
    The target CoS value/traffic type for egressing traffic.
    dot1p_from string
    The starting value/traffic type of the CoS range.
    dot1p_to string
    The ending value/traffic type of the CoS range.
    dscp_target string
    The DSCP target encoding point for egressing traffic.
    qos_priority string
    The QoS priority level.
    target_cos string
    The target CoS value/traffic type for egressing traffic.
    dot1pFrom String
    The starting value/traffic type of the CoS range.
    dot1pTo String
    The ending value/traffic type of the CoS range.
    dscpTarget String
    The DSCP target encoding point for egressing traffic.
    qosPriority String
    The QoS priority level.
    targetCos String
    The target CoS value/traffic type for egressing traffic.
    dot1pFrom string
    The starting value/traffic type of the CoS range.
    dot1pTo string
    The ending value/traffic type of the CoS range.
    dscpTarget string
    The DSCP target encoding point for egressing traffic.
    qosPriority string
    The QoS priority level.
    targetCos string
    The target CoS value/traffic type for egressing traffic.
    dot1p_from str
    The starting value/traffic type of the CoS range.
    dot1p_to str
    The ending value/traffic type of the CoS range.
    dscp_target str
    The DSCP target encoding point for egressing traffic.
    qos_priority str
    The QoS priority level.
    target_cos str
    The target CoS value/traffic type for egressing traffic.
    dot1pFrom String
    The starting value/traffic type of the CoS range.
    dot1pTo String
    The ending value/traffic type of the CoS range.
    dscpTarget String
    The DSCP target encoding point for egressing traffic.
    qosPriority String
    The QoS priority level.
    targetCos String
    The target CoS value/traffic type for egressing traffic.

    TenantPoliciesCustomQosPolicyDscpMapping, TenantPoliciesCustomQosPolicyDscpMappingArgs

    DscpFrom string
    The starting encoding point of the DSCP range.
    DscpTarget string
    The DSCP target encoding point for egressing traffic.
    DscpTo string
    The ending encoding point of the DSCP range.
    QosPriority string
    The QoS priority level.
    TargetCos string
    The target CoS value/traffic type for egressing traffic.
    DscpFrom string
    The starting encoding point of the DSCP range.
    DscpTarget string
    The DSCP target encoding point for egressing traffic.
    DscpTo string
    The ending encoding point of the DSCP range.
    QosPriority string
    The QoS priority level.
    TargetCos string
    The target CoS value/traffic type for egressing traffic.
    dscp_from string
    The starting encoding point of the DSCP range.
    dscp_target string
    The DSCP target encoding point for egressing traffic.
    dscp_to string
    The ending encoding point of the DSCP range.
    qos_priority string
    The QoS priority level.
    target_cos string
    The target CoS value/traffic type for egressing traffic.
    dscpFrom String
    The starting encoding point of the DSCP range.
    dscpTarget String
    The DSCP target encoding point for egressing traffic.
    dscpTo String
    The ending encoding point of the DSCP range.
    qosPriority String
    The QoS priority level.
    targetCos String
    The target CoS value/traffic type for egressing traffic.
    dscpFrom string
    The starting encoding point of the DSCP range.
    dscpTarget string
    The DSCP target encoding point for egressing traffic.
    dscpTo string
    The ending encoding point of the DSCP range.
    qosPriority string
    The QoS priority level.
    targetCos string
    The target CoS value/traffic type for egressing traffic.
    dscp_from str
    The starting encoding point of the DSCP range.
    dscp_target str
    The DSCP target encoding point for egressing traffic.
    dscp_to str
    The ending encoding point of the DSCP range.
    qos_priority str
    The QoS priority level.
    target_cos str
    The target CoS value/traffic type for egressing traffic.
    dscpFrom String
    The starting encoding point of the DSCP range.
    dscpTarget String
    The DSCP target encoding point for egressing traffic.
    dscpTo String
    The ending encoding point of the DSCP range.
    qosPriority String
    The QoS priority level.
    targetCos String
    The target CoS value/traffic type for egressing traffic.

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    Viewing docs for mso 2.0.0
    published on Friday, Apr 17, 2026 by ciscodevnet
      Try Pulumi Cloud free. Your team will thank you.