published on Friday, Apr 17, 2026 by ciscodevnet
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:
- Template
Id string - The ID of the tenant policy template.
- Cos
Mappings List<TenantPolicies Custom Qos Policy Cos Mapping> - The CoS mappings of the Custom QoS Policy.
- Description string
- The description of the Custom QoS Policy.
- Dscp
Mappings List<TenantPolicies Custom Qos Policy Dscp Mapping> - The DSCP mappings of the Custom QoS Policy.
- Name string
- The name of the Custom QoS Policy.
- Tenant
Policies stringCustom Qos Policy Id
- Template
Id string - The ID of the tenant policy template.
- Cos
Mappings []TenantPolicies Custom Qos Policy Cos Mapping Args - The CoS mappings of the Custom QoS Policy.
- Description string
- The description of the Custom QoS Policy.
- Dscp
Mappings []TenantPolicies Custom Qos Policy Dscp Mapping Args - The DSCP mappings of the Custom QoS Policy.
- Name string
- The name of the Custom QoS Policy.
- Tenant
Policies stringCustom Qos Policy Id
- 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_ stringcustom_ qos_ policy_ id
- template
Id String - The ID of the tenant policy template.
- cos
Mappings List<TenantPolicies Custom Qos Policy Cos Mapping> - The CoS mappings of the Custom QoS Policy.
- description String
- The description of the Custom QoS Policy.
- dscp
Mappings List<TenantPolicies Custom Qos Policy Dscp Mapping> - The DSCP mappings of the Custom QoS Policy.
- name String
- The name of the Custom QoS Policy.
- tenant
Policies StringCustom Qos Policy Id
- template
Id string - The ID of the tenant policy template.
- cos
Mappings TenantPolicies Custom Qos Policy Cos Mapping[] - The CoS mappings of the Custom QoS Policy.
- description string
- The description of the Custom QoS Policy.
- dscp
Mappings TenantPolicies Custom Qos Policy Dscp Mapping[] - The DSCP mappings of the Custom QoS Policy.
- name string
- The name of the Custom QoS Policy.
- tenant
Policies stringCustom Qos Policy Id
- template_
id str - The ID of the tenant policy template.
- cos_
mappings Sequence[TenantPolicies Custom Qos Policy Cos Mapping Args] - The CoS mappings of the Custom QoS Policy.
- description str
- The description of the Custom QoS Policy.
- dscp_
mappings Sequence[TenantPolicies Custom Qos Policy Dscp Mapping Args] - The DSCP mappings of the Custom QoS Policy.
- name str
- The name of the Custom QoS Policy.
- tenant_
policies_ strcustom_ qos_ policy_ id
- template
Id String - The ID of the tenant policy template.
- cos
Mappings List<Property Map> - The CoS mappings of the Custom QoS Policy.
- description String
- The description of the Custom QoS Policy.
- dscp
Mappings List<Property Map> - The DSCP mappings of the Custom QoS Policy.
- name String
- The name of the Custom QoS Policy.
- tenant
Policies StringCustom Qos Policy Id
Outputs
All input properties are implicitly available as output properties. Additionally, the TenantPoliciesCustomQosPolicy resource produces the following output properties:
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) -> TenantPoliciesCustomQosPolicyfunc 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.
- Cos
Mappings List<TenantPolicies Custom Qos Policy Cos Mapping> - The CoS mappings of the Custom QoS Policy.
- Description string
- The description of the Custom QoS Policy.
- Dscp
Mappings List<TenantPolicies Custom Qos Policy Dscp Mapping> - 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 stringCustom Qos Policy Id - Uuid string
- The UUID of the Custom QoS Policy.
- Cos
Mappings []TenantPolicies Custom Qos Policy Cos Mapping Args - The CoS mappings of the Custom QoS Policy.
- Description string
- The description of the Custom QoS Policy.
- Dscp
Mappings []TenantPolicies Custom Qos Policy Dscp Mapping Args - 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 stringCustom Qos Policy Id - 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_ stringcustom_ qos_ policy_ id - uuid string
- The UUID of the Custom QoS Policy.
- cos
Mappings List<TenantPolicies Custom Qos Policy Cos Mapping> - The CoS mappings of the Custom QoS Policy.
- description String
- The description of the Custom QoS Policy.
- dscp
Mappings List<TenantPolicies Custom Qos Policy Dscp Mapping> - 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 StringCustom Qos Policy Id - uuid String
- The UUID of the Custom QoS Policy.
- cos
Mappings TenantPolicies Custom Qos Policy Cos Mapping[] - The CoS mappings of the Custom QoS Policy.
- description string
- The description of the Custom QoS Policy.
- dscp
Mappings TenantPolicies Custom Qos Policy Dscp Mapping[] - 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 stringCustom Qos Policy Id - uuid string
- The UUID of the Custom QoS Policy.
- cos_
mappings Sequence[TenantPolicies Custom Qos Policy Cos Mapping Args] - The CoS mappings of the Custom QoS Policy.
- description str
- The description of the Custom QoS Policy.
- dscp_
mappings Sequence[TenantPolicies Custom Qos Policy Dscp Mapping Args] - 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_ strcustom_ qos_ policy_ id - uuid str
- The UUID of the Custom QoS Policy.
- cos
Mappings List<Property Map> - The CoS mappings of the Custom QoS Policy.
- description String
- The description of the Custom QoS Policy.
- dscp
Mappings List<Property Map> - 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 StringCustom Qos Policy Id - uuid String
- The UUID of the Custom QoS Policy.
Supporting Types
TenantPoliciesCustomQosPolicyCosMapping, TenantPoliciesCustomQosPolicyCosMappingArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
TenantPoliciesCustomQosPolicyDscpMapping, TenantPoliciesCustomQosPolicyDscpMappingArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
msoTerraform Provider.
published on Friday, Apr 17, 2026 by ciscodevnet
