nsxt.PolicyGatewayQosProfile
Explore with Pulumi AI
Create PolicyGatewayQosProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyGatewayQosProfile(name: string, args: PolicyGatewayQosProfileArgs, opts?: CustomResourceOptions);
@overload
def PolicyGatewayQosProfile(resource_name: str,
args: PolicyGatewayQosProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyGatewayQosProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
burst_size: Optional[float] = None,
committed_bandwidth: Optional[float] = None,
description: Optional[str] = None,
excess_action: Optional[str] = None,
nsx_id: Optional[str] = None,
policy_gateway_qos_profile_id: Optional[str] = None,
tags: Optional[Sequence[PolicyGatewayQosProfileTagArgs]] = None)
func NewPolicyGatewayQosProfile(ctx *Context, name string, args PolicyGatewayQosProfileArgs, opts ...ResourceOption) (*PolicyGatewayQosProfile, error)
public PolicyGatewayQosProfile(string name, PolicyGatewayQosProfileArgs args, CustomResourceOptions? opts = null)
public PolicyGatewayQosProfile(String name, PolicyGatewayQosProfileArgs args)
public PolicyGatewayQosProfile(String name, PolicyGatewayQosProfileArgs args, CustomResourceOptions options)
type: nsxt:PolicyGatewayQosProfile
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 PolicyGatewayQosProfileArgs
- 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 PolicyGatewayQosProfileArgs
- 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 PolicyGatewayQosProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyGatewayQosProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyGatewayQosProfileArgs
- 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 policyGatewayQosProfileResource = new Nsxt.PolicyGatewayQosProfile("policyGatewayQosProfileResource", new()
{
DisplayName = "string",
BurstSize = 0,
CommittedBandwidth = 0,
Description = "string",
ExcessAction = "string",
NsxId = "string",
PolicyGatewayQosProfileId = "string",
Tags = new[]
{
new Nsxt.Inputs.PolicyGatewayQosProfileTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyGatewayQosProfile(ctx, "policyGatewayQosProfileResource", &nsxt.PolicyGatewayQosProfileArgs{
DisplayName: pulumi.String("string"),
BurstSize: pulumi.Float64(0),
CommittedBandwidth: pulumi.Float64(0),
Description: pulumi.String("string"),
ExcessAction: pulumi.String("string"),
NsxId: pulumi.String("string"),
PolicyGatewayQosProfileId: pulumi.String("string"),
Tags: nsxt.PolicyGatewayQosProfileTagArray{
&nsxt.PolicyGatewayQosProfileTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyGatewayQosProfileResource = new PolicyGatewayQosProfile("policyGatewayQosProfileResource", PolicyGatewayQosProfileArgs.builder()
.displayName("string")
.burstSize(0)
.committedBandwidth(0)
.description("string")
.excessAction("string")
.nsxId("string")
.policyGatewayQosProfileId("string")
.tags(PolicyGatewayQosProfileTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_gateway_qos_profile_resource = nsxt.PolicyGatewayQosProfile("policyGatewayQosProfileResource",
display_name="string",
burst_size=0,
committed_bandwidth=0,
description="string",
excess_action="string",
nsx_id="string",
policy_gateway_qos_profile_id="string",
tags=[{
"scope": "string",
"tag": "string",
}])
const policyGatewayQosProfileResource = new nsxt.PolicyGatewayQosProfile("policyGatewayQosProfileResource", {
displayName: "string",
burstSize: 0,
committedBandwidth: 0,
description: "string",
excessAction: "string",
nsxId: "string",
policyGatewayQosProfileId: "string",
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyGatewayQosProfile
properties:
burstSize: 0
committedBandwidth: 0
description: string
displayName: string
excessAction: string
nsxId: string
policyGatewayQosProfileId: string
tags:
- scope: string
tag: string
PolicyGatewayQosProfile 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 PolicyGatewayQosProfile resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Burst
Size double - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- Committed
Bandwidth double - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- Description string
- Description of the resource.
- Excess
Action string - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Gateway stringQos Profile Id - ID of the resource.
- List<Policy
Gateway Qos Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Display
Name string - Display name of the resource.
- Burst
Size float64 - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- Committed
Bandwidth float64 - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- Description string
- Description of the resource.
- Excess
Action string - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Gateway stringQos Profile Id - ID of the resource.
- []Policy
Gateway Qos Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- burst
Size Double - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- committed
Bandwidth Double - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- description String
- Description of the resource.
- excess
Action String - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Gateway StringQos Profile Id - ID of the resource.
- List<Policy
Gateway Qos Profile Tag> - A list of scope + tag pairs to associate with this resource.
- display
Name string - Display name of the resource.
- burst
Size number - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- committed
Bandwidth number - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- description string
- Description of the resource.
- excess
Action string - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Gateway stringQos Profile Id - ID of the resource.
- Policy
Gateway Qos Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- display_
name str - Display name of the resource.
- burst_
size float - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- committed_
bandwidth float - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- description str
- Description of the resource.
- excess_
action str - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy_
gateway_ strqos_ profile_ id - ID of the resource.
- Sequence[Policy
Gateway Qos Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- burst
Size Number - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- committed
Bandwidth Number - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- description String
- Description of the resource.
- excess
Action String - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Gateway StringQos Profile Id - ID of the resource.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyGatewayQosProfile resource produces the following output properties:
Look up Existing PolicyGatewayQosProfile Resource
Get an existing PolicyGatewayQosProfile 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?: PolicyGatewayQosProfileState, opts?: CustomResourceOptions): PolicyGatewayQosProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
burst_size: Optional[float] = None,
committed_bandwidth: Optional[float] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
excess_action: Optional[str] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_gateway_qos_profile_id: Optional[str] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[PolicyGatewayQosProfileTagArgs]] = None) -> PolicyGatewayQosProfile
func GetPolicyGatewayQosProfile(ctx *Context, name string, id IDInput, state *PolicyGatewayQosProfileState, opts ...ResourceOption) (*PolicyGatewayQosProfile, error)
public static PolicyGatewayQosProfile Get(string name, Input<string> id, PolicyGatewayQosProfileState? state, CustomResourceOptions? opts = null)
public static PolicyGatewayQosProfile get(String name, Output<String> id, PolicyGatewayQosProfileState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyGatewayQosProfile 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.
- Burst
Size double - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- Committed
Bandwidth double - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Excess
Action string - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Gateway stringQos Profile Id - ID of the resource.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Gateway Qos Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Burst
Size float64 - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- Committed
Bandwidth float64 - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Excess
Action string - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Gateway stringQos Profile Id - ID of the resource.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Policy
Gateway Qos Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- burst
Size Double - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- committed
Bandwidth Double - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- excess
Action String - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Gateway StringQos Profile Id - ID of the resource.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Gateway Qos Profile Tag> - A list of scope + tag pairs to associate with this resource.
- burst
Size number - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- committed
Bandwidth number - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- excess
Action string - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path string
- The NSX path of the policy resource.
- policy
Gateway stringQos Profile Id - ID of the resource.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Policy
Gateway Qos Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- burst_
size float - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- committed_
bandwidth float - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- excess_
action str - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path str
- The NSX path of the policy resource.
- policy_
gateway_ strqos_ profile_ id - ID of the resource.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Policy
Gateway Qos Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- burst
Size Number - Maximum amount of traffic that can be transmitted at peak bandwidth rate (bytes)
- committed
Bandwidth Number - Bandwidth is limited to line rate when the value configured is greater than line rate (mbps)
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- excess
Action String - Action on traffic exceeding bandwidth. Currently only
DROP
is supported. - nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Gateway StringQos Profile Id - ID of the resource.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyGatewayQosProfileTag, PolicyGatewayQosProfileTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.