SdwanTrafficDistributionProfile resource
Create SdwanTrafficDistributionProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SdwanTrafficDistributionProfile(name: string, args?: SdwanTrafficDistributionProfileArgs, opts?: CustomResourceOptions);@overload
def SdwanTrafficDistributionProfile(resource_name: str,
args: Optional[SdwanTrafficDistributionProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SdwanTrafficDistributionProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
link_tags: Optional[Sequence[SdwanTrafficDistributionProfileLinkTagArgs]] = None,
name: Optional[str] = None,
snippet: Optional[str] = None,
traffic_distribution: Optional[str] = None)func NewSdwanTrafficDistributionProfile(ctx *Context, name string, args *SdwanTrafficDistributionProfileArgs, opts ...ResourceOption) (*SdwanTrafficDistributionProfile, error)public SdwanTrafficDistributionProfile(string name, SdwanTrafficDistributionProfileArgs? args = null, CustomResourceOptions? opts = null)
public SdwanTrafficDistributionProfile(String name, SdwanTrafficDistributionProfileArgs args)
public SdwanTrafficDistributionProfile(String name, SdwanTrafficDistributionProfileArgs args, CustomResourceOptions options)
type: scm:SdwanTrafficDistributionProfile
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 SdwanTrafficDistributionProfileArgs
- 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 SdwanTrafficDistributionProfileArgs
- 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 SdwanTrafficDistributionProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SdwanTrafficDistributionProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SdwanTrafficDistributionProfileArgs
- 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 sdwanTrafficDistributionProfileResource = new Scm.SdwanTrafficDistributionProfile("sdwanTrafficDistributionProfileResource", new()
{
Device = "string",
Folder = "string",
LinkTags = new[]
{
new Scm.Inputs.SdwanTrafficDistributionProfileLinkTagArgs
{
Name = "string",
Weight = 0,
},
},
Name = "string",
Snippet = "string",
TrafficDistribution = "string",
});
example, err := scm.NewSdwanTrafficDistributionProfile(ctx, "sdwanTrafficDistributionProfileResource", &scm.SdwanTrafficDistributionProfileArgs{
Device: pulumi.String("string"),
Folder: pulumi.String("string"),
LinkTags: scm.SdwanTrafficDistributionProfileLinkTagArray{
&scm.SdwanTrafficDistributionProfileLinkTagArgs{
Name: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
Name: pulumi.String("string"),
Snippet: pulumi.String("string"),
TrafficDistribution: pulumi.String("string"),
})
var sdwanTrafficDistributionProfileResource = new SdwanTrafficDistributionProfile("sdwanTrafficDistributionProfileResource", SdwanTrafficDistributionProfileArgs.builder()
.device("string")
.folder("string")
.linkTags(SdwanTrafficDistributionProfileLinkTagArgs.builder()
.name("string")
.weight(0)
.build())
.name("string")
.snippet("string")
.trafficDistribution("string")
.build());
sdwan_traffic_distribution_profile_resource = scm.SdwanTrafficDistributionProfile("sdwanTrafficDistributionProfileResource",
device="string",
folder="string",
link_tags=[{
"name": "string",
"weight": 0,
}],
name="string",
snippet="string",
traffic_distribution="string")
const sdwanTrafficDistributionProfileResource = new scm.SdwanTrafficDistributionProfile("sdwanTrafficDistributionProfileResource", {
device: "string",
folder: "string",
linkTags: [{
name: "string",
weight: 0,
}],
name: "string",
snippet: "string",
trafficDistribution: "string",
});
type: scm:SdwanTrafficDistributionProfile
properties:
device: string
folder: string
linkTags:
- name: string
weight: 0
name: string
snippet: string
trafficDistribution: string
SdwanTrafficDistributionProfile 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 SdwanTrafficDistributionProfile resource accepts the following input properties:
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
-
List<Sdwan
Traffic Distribution Profile Link Tag> - Link-Tags for interfaces identified by defined tags
- Name string
- Profile name
- Snippet string
- The snippet in which the resource is defined
- Traffic
Distribution string - Traffic distribution
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
-
[]Sdwan
Traffic Distribution Profile Link Tag Args - Link-Tags for interfaces identified by defined tags
- Name string
- Profile name
- Snippet string
- The snippet in which the resource is defined
- Traffic
Distribution string - Traffic distribution
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
-
List<Sdwan
Traffic Distribution Profile Link Tag> - Link-Tags for interfaces identified by defined tags
- name String
- Profile name
- snippet String
- The snippet in which the resource is defined
- traffic
Distribution String - Traffic distribution
- device string
- The device in which the resource is defined
- folder string
- The folder in which the resource is defined
-
Sdwan
Traffic Distribution Profile Link Tag[] - Link-Tags for interfaces identified by defined tags
- name string
- Profile name
- snippet string
- The snippet in which the resource is defined
- traffic
Distribution string - Traffic distribution
- device str
- The device in which the resource is defined
- folder str
- The folder in which the resource is defined
-
Sequence[Sdwan
Traffic Distribution Profile Link Tag Args] - Link-Tags for interfaces identified by defined tags
- name str
- Profile name
- snippet str
- The snippet in which the resource is defined
- traffic_
distribution str - Traffic distribution
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- List<Property Map>
- Link-Tags for interfaces identified by defined tags
- name String
- Profile name
- snippet String
- The snippet in which the resource is defined
- traffic
Distribution String - Traffic distribution
Outputs
All input properties are implicitly available as output properties. Additionally, the SdwanTrafficDistributionProfile resource produces the following output properties:
Look up Existing SdwanTrafficDistributionProfile Resource
Get an existing SdwanTrafficDistributionProfile 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?: SdwanTrafficDistributionProfileState, opts?: CustomResourceOptions): SdwanTrafficDistributionProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
link_tags: Optional[Sequence[SdwanTrafficDistributionProfileLinkTagArgs]] = None,
name: Optional[str] = None,
snippet: Optional[str] = None,
tfid: Optional[str] = None,
traffic_distribution: Optional[str] = None) -> SdwanTrafficDistributionProfilefunc GetSdwanTrafficDistributionProfile(ctx *Context, name string, id IDInput, state *SdwanTrafficDistributionProfileState, opts ...ResourceOption) (*SdwanTrafficDistributionProfile, error)public static SdwanTrafficDistributionProfile Get(string name, Input<string> id, SdwanTrafficDistributionProfileState? state, CustomResourceOptions? opts = null)public static SdwanTrafficDistributionProfile get(String name, Output<String> id, SdwanTrafficDistributionProfileState state, CustomResourceOptions options)resources: _: type: scm:SdwanTrafficDistributionProfile 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.
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
-
List<Sdwan
Traffic Distribution Profile Link Tag> - Link-Tags for interfaces identified by defined tags
- Name string
- Profile name
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Traffic
Distribution string - Traffic distribution
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
-
[]Sdwan
Traffic Distribution Profile Link Tag Args - Link-Tags for interfaces identified by defined tags
- Name string
- Profile name
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Traffic
Distribution string - Traffic distribution
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
-
List<Sdwan
Traffic Distribution Profile Link Tag> - Link-Tags for interfaces identified by defined tags
- name String
- Profile name
- snippet String
- The snippet in which the resource is defined
- tfid String
- traffic
Distribution String - Traffic distribution
- device string
- The device in which the resource is defined
- folder string
- The folder in which the resource is defined
-
Sdwan
Traffic Distribution Profile Link Tag[] - Link-Tags for interfaces identified by defined tags
- name string
- Profile name
- snippet string
- The snippet in which the resource is defined
- tfid string
- traffic
Distribution string - Traffic distribution
- device str
- The device in which the resource is defined
- folder str
- The folder in which the resource is defined
-
Sequence[Sdwan
Traffic Distribution Profile Link Tag Args] - Link-Tags for interfaces identified by defined tags
- name str
- Profile name
- snippet str
- The snippet in which the resource is defined
- tfid str
- traffic_
distribution str - Traffic distribution
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- List<Property Map>
- Link-Tags for interfaces identified by defined tags
- name String
- Profile name
- snippet String
- The snippet in which the resource is defined
- tfid String
- traffic
Distribution String - Traffic distribution
Supporting Types
SdwanTrafficDistributionProfileLinkTag, SdwanTrafficDistributionProfileLinkTagArgs
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
