SdwanPathQualityProfile resource
Create SdwanPathQualityProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SdwanPathQualityProfile(name: string, args: SdwanPathQualityProfileArgs, opts?: CustomResourceOptions);@overload
def SdwanPathQualityProfile(resource_name: str,
args: SdwanPathQualityProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SdwanPathQualityProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
metric: Optional[SdwanPathQualityProfileMetricArgs] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
name: Optional[str] = None,
snippet: Optional[str] = None)func NewSdwanPathQualityProfile(ctx *Context, name string, args SdwanPathQualityProfileArgs, opts ...ResourceOption) (*SdwanPathQualityProfile, error)public SdwanPathQualityProfile(string name, SdwanPathQualityProfileArgs args, CustomResourceOptions? opts = null)
public SdwanPathQualityProfile(String name, SdwanPathQualityProfileArgs args)
public SdwanPathQualityProfile(String name, SdwanPathQualityProfileArgs args, CustomResourceOptions options)
type: scm:SdwanPathQualityProfile
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 SdwanPathQualityProfileArgs
- 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 SdwanPathQualityProfileArgs
- 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 SdwanPathQualityProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SdwanPathQualityProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SdwanPathQualityProfileArgs
- 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 sdwanPathQualityProfileResource = new Scm.SdwanPathQualityProfile("sdwanPathQualityProfileResource", new()
{
Metric = new Scm.Inputs.SdwanPathQualityProfileMetricArgs
{
Jitter = new Scm.Inputs.SdwanPathQualityProfileMetricJitterArgs
{
Sensitivity = "string",
Threshold = 0,
},
Latency = new Scm.Inputs.SdwanPathQualityProfileMetricLatencyArgs
{
Sensitivity = "string",
Threshold = 0,
},
PktLoss = new Scm.Inputs.SdwanPathQualityProfileMetricPktLossArgs
{
Sensitivity = "string",
Threshold = 0,
},
},
Device = "string",
Folder = "string",
Name = "string",
Snippet = "string",
});
example, err := scm.NewSdwanPathQualityProfile(ctx, "sdwanPathQualityProfileResource", &scm.SdwanPathQualityProfileArgs{
Metric: &scm.SdwanPathQualityProfileMetricArgs{
Jitter: &scm.SdwanPathQualityProfileMetricJitterArgs{
Sensitivity: pulumi.String("string"),
Threshold: pulumi.Int(0),
},
Latency: &scm.SdwanPathQualityProfileMetricLatencyArgs{
Sensitivity: pulumi.String("string"),
Threshold: pulumi.Int(0),
},
PktLoss: &scm.SdwanPathQualityProfileMetricPktLossArgs{
Sensitivity: pulumi.String("string"),
Threshold: pulumi.Int(0),
},
},
Device: pulumi.String("string"),
Folder: pulumi.String("string"),
Name: pulumi.String("string"),
Snippet: pulumi.String("string"),
})
var sdwanPathQualityProfileResource = new SdwanPathQualityProfile("sdwanPathQualityProfileResource", SdwanPathQualityProfileArgs.builder()
.metric(SdwanPathQualityProfileMetricArgs.builder()
.jitter(SdwanPathQualityProfileMetricJitterArgs.builder()
.sensitivity("string")
.threshold(0)
.build())
.latency(SdwanPathQualityProfileMetricLatencyArgs.builder()
.sensitivity("string")
.threshold(0)
.build())
.pktLoss(SdwanPathQualityProfileMetricPktLossArgs.builder()
.sensitivity("string")
.threshold(0)
.build())
.build())
.device("string")
.folder("string")
.name("string")
.snippet("string")
.build());
sdwan_path_quality_profile_resource = scm.SdwanPathQualityProfile("sdwanPathQualityProfileResource",
metric={
"jitter": {
"sensitivity": "string",
"threshold": 0,
},
"latency": {
"sensitivity": "string",
"threshold": 0,
},
"pkt_loss": {
"sensitivity": "string",
"threshold": 0,
},
},
device="string",
folder="string",
name="string",
snippet="string")
const sdwanPathQualityProfileResource = new scm.SdwanPathQualityProfile("sdwanPathQualityProfileResource", {
metric: {
jitter: {
sensitivity: "string",
threshold: 0,
},
latency: {
sensitivity: "string",
threshold: 0,
},
pktLoss: {
sensitivity: "string",
threshold: 0,
},
},
device: "string",
folder: "string",
name: "string",
snippet: "string",
});
type: scm:SdwanPathQualityProfile
properties:
device: string
folder: string
metric:
jitter:
sensitivity: string
threshold: 0
latency:
sensitivity: string
threshold: 0
pktLoss:
sensitivity: string
threshold: 0
name: string
snippet: string
SdwanPathQualityProfile 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 SdwanPathQualityProfile resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the SdwanPathQualityProfile resource produces the following output properties:
Look up Existing SdwanPathQualityProfile Resource
Get an existing SdwanPathQualityProfile 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?: SdwanPathQualityProfileState, opts?: CustomResourceOptions): SdwanPathQualityProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
metric: Optional[SdwanPathQualityProfileMetricArgs] = None,
name: Optional[str] = None,
snippet: Optional[str] = None,
tfid: Optional[str] = None) -> SdwanPathQualityProfilefunc GetSdwanPathQualityProfile(ctx *Context, name string, id IDInput, state *SdwanPathQualityProfileState, opts ...ResourceOption) (*SdwanPathQualityProfile, error)public static SdwanPathQualityProfile Get(string name, Input<string> id, SdwanPathQualityProfileState? state, CustomResourceOptions? opts = null)public static SdwanPathQualityProfile get(String name, Output<String> id, SdwanPathQualityProfileState state, CustomResourceOptions options)resources: _: type: scm:SdwanPathQualityProfile 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.
Supporting Types
SdwanPathQualityProfileMetric, SdwanPathQualityProfileMetricArgs
- jitter Property Map
- Jitter
- latency Property Map
- Latency
- pkt
Loss Property Map - Pkt loss
SdwanPathQualityProfileMetricJitter, SdwanPathQualityProfileMetricJitterArgs
- Sensitivity string
- Jitter sensitivity
- Threshold int
- Jitter threshold (ms)
- Sensitivity string
- Jitter sensitivity
- Threshold int
- Jitter threshold (ms)
- sensitivity String
- Jitter sensitivity
- threshold Integer
- Jitter threshold (ms)
- sensitivity string
- Jitter sensitivity
- threshold number
- Jitter threshold (ms)
- sensitivity str
- Jitter sensitivity
- threshold int
- Jitter threshold (ms)
- sensitivity String
- Jitter sensitivity
- threshold Number
- Jitter threshold (ms)
SdwanPathQualityProfileMetricLatency, SdwanPathQualityProfileMetricLatencyArgs
- Sensitivity string
- Latency sensitivity
- Threshold int
- Latency threshold (ms)
- Sensitivity string
- Latency sensitivity
- Threshold int
- Latency threshold (ms)
- sensitivity String
- Latency sensitivity
- threshold Integer
- Latency threshold (ms)
- sensitivity string
- Latency sensitivity
- threshold number
- Latency threshold (ms)
- sensitivity str
- Latency sensitivity
- threshold int
- Latency threshold (ms)
- sensitivity String
- Latency sensitivity
- threshold Number
- Latency threshold (ms)
SdwanPathQualityProfileMetricPktLoss, SdwanPathQualityProfileMetricPktLossArgs
- Sensitivity string
- Packet loss sensitivity
- Threshold int
- Packet loss threshold (percentage)
- Sensitivity string
- Packet loss sensitivity
- Threshold int
- Packet loss threshold (percentage)
- sensitivity String
- Packet loss sensitivity
- threshold Integer
- Packet loss threshold (percentage)
- sensitivity string
- Packet loss sensitivity
- threshold number
- Packet loss threshold (percentage)
- sensitivity str
- Packet loss sensitivity
- threshold int
- Packet loss threshold (percentage)
- sensitivity String
- Packet loss sensitivity
- threshold Number
- Packet loss threshold (percentage)
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
