sdwan.PolicyObjectDataIpv6PrefixList
Explore with Pulumi AI
This resource can manage a Policy Object Data IPv6 Prefix List Policy_object.
- Minimum SD-WAN Manager version:
20.12.0
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.PolicyObjectDataIpv6PrefixList;
import com.pulumi.sdwan.PolicyObjectDataIpv6PrefixListArgs;
import com.pulumi.sdwan.inputs.PolicyObjectDataIpv6PrefixListEntryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new PolicyObjectDataIpv6PrefixList("example", PolicyObjectDataIpv6PrefixListArgs.builder()
.name("Example")
.description("My Example")
.featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
.entries(PolicyObjectDataIpv6PrefixListEntryArgs.builder()
.ipv6_address("2001:db8:85a3::8a2e:370:7334")
.ipv6_prefix_length(64)
.build())
.build());
}
}
resources:
example:
type: sdwan:PolicyObjectDataIpv6PrefixList
properties:
name: Example
description: My Example
featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
entries:
- ipv6_address: 2001:db8:85a3::8a2e:370:7334
ipv6_prefix_length: 64
Create PolicyObjectDataIpv6PrefixList Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyObjectDataIpv6PrefixList(name: string, args: PolicyObjectDataIpv6PrefixListArgs, opts?: CustomResourceOptions);
@overload
def PolicyObjectDataIpv6PrefixList(resource_name: str,
args: PolicyObjectDataIpv6PrefixListArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyObjectDataIpv6PrefixList(resource_name: str,
opts: Optional[ResourceOptions] = None,
entries: Optional[Sequence[PolicyObjectDataIpv6PrefixListEntryArgs]] = None,
feature_profile_id: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None)
func NewPolicyObjectDataIpv6PrefixList(ctx *Context, name string, args PolicyObjectDataIpv6PrefixListArgs, opts ...ResourceOption) (*PolicyObjectDataIpv6PrefixList, error)
public PolicyObjectDataIpv6PrefixList(string name, PolicyObjectDataIpv6PrefixListArgs args, CustomResourceOptions? opts = null)
public PolicyObjectDataIpv6PrefixList(String name, PolicyObjectDataIpv6PrefixListArgs args)
public PolicyObjectDataIpv6PrefixList(String name, PolicyObjectDataIpv6PrefixListArgs args, CustomResourceOptions options)
type: sdwan:PolicyObjectDataIpv6PrefixList
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 PolicyObjectDataIpv6PrefixListArgs
- 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 PolicyObjectDataIpv6PrefixListArgs
- 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 PolicyObjectDataIpv6PrefixListArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyObjectDataIpv6PrefixListArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyObjectDataIpv6PrefixListArgs
- 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 policyObjectDataIpv6PrefixListResource = new Sdwan.PolicyObjectDataIpv6PrefixList("policyObjectDataIpv6PrefixListResource", new()
{
Entries = new[]
{
new Sdwan.Inputs.PolicyObjectDataIpv6PrefixListEntryArgs
{
Ipv6Address = "string",
Ipv6PrefixLength = 0,
},
},
FeatureProfileId = "string",
Description = "string",
Name = "string",
});
example, err := sdwan.NewPolicyObjectDataIpv6PrefixList(ctx, "policyObjectDataIpv6PrefixListResource", &sdwan.PolicyObjectDataIpv6PrefixListArgs{
Entries: sdwan.PolicyObjectDataIpv6PrefixListEntryArray{
&sdwan.PolicyObjectDataIpv6PrefixListEntryArgs{
Ipv6Address: pulumi.String("string"),
Ipv6PrefixLength: pulumi.Int(0),
},
},
FeatureProfileId: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
var policyObjectDataIpv6PrefixListResource = new PolicyObjectDataIpv6PrefixList("policyObjectDataIpv6PrefixListResource", PolicyObjectDataIpv6PrefixListArgs.builder()
.entries(PolicyObjectDataIpv6PrefixListEntryArgs.builder()
.ipv6Address("string")
.ipv6PrefixLength(0)
.build())
.featureProfileId("string")
.description("string")
.name("string")
.build());
policy_object_data_ipv6_prefix_list_resource = sdwan.PolicyObjectDataIpv6PrefixList("policyObjectDataIpv6PrefixListResource",
entries=[sdwan.PolicyObjectDataIpv6PrefixListEntryArgs(
ipv6_address="string",
ipv6_prefix_length=0,
)],
feature_profile_id="string",
description="string",
name="string")
const policyObjectDataIpv6PrefixListResource = new sdwan.PolicyObjectDataIpv6PrefixList("policyObjectDataIpv6PrefixListResource", {
entries: [{
ipv6Address: "string",
ipv6PrefixLength: 0,
}],
featureProfileId: "string",
description: "string",
name: "string",
});
type: sdwan:PolicyObjectDataIpv6PrefixList
properties:
description: string
entries:
- ipv6Address: string
ipv6PrefixLength: 0
featureProfileId: string
name: string
PolicyObjectDataIpv6PrefixList Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The PolicyObjectDataIpv6PrefixList resource accepts the following input properties:
- Entries
List<Policy
Object Data Ipv6Prefix List Entry> - IPv6 Prefix List
- Feature
Profile stringId - Feature Profile ID
- Description string
- The description of the Policy_object
- Name string
- The name of the Policy_object
- Entries
[]Policy
Object Data Ipv6Prefix List Entry Args - IPv6 Prefix List
- Feature
Profile stringId - Feature Profile ID
- Description string
- The description of the Policy_object
- Name string
- The name of the Policy_object
- entries
List<Policy
Object Data Ipv6Prefix List Entry> - IPv6 Prefix List
- feature
Profile StringId - Feature Profile ID
- description String
- The description of the Policy_object
- name String
- The name of the Policy_object
- entries
Policy
Object Data Ipv6Prefix List Entry[] - IPv6 Prefix List
- feature
Profile stringId - Feature Profile ID
- description string
- The description of the Policy_object
- name string
- The name of the Policy_object
- entries
Sequence[Policy
Object Data Ipv6Prefix List Entry Args] - IPv6 Prefix List
- feature_
profile_ strid - Feature Profile ID
- description str
- The description of the Policy_object
- name str
- The name of the Policy_object
- entries List<Property Map>
- IPv6 Prefix List
- feature
Profile StringId - Feature Profile ID
- description String
- The description of the Policy_object
- name String
- The name of the Policy_object
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyObjectDataIpv6PrefixList resource produces the following output properties:
Look up Existing PolicyObjectDataIpv6PrefixList Resource
Get an existing PolicyObjectDataIpv6PrefixList 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?: PolicyObjectDataIpv6PrefixListState, opts?: CustomResourceOptions): PolicyObjectDataIpv6PrefixList
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
entries: Optional[Sequence[PolicyObjectDataIpv6PrefixListEntryArgs]] = None,
feature_profile_id: Optional[str] = None,
name: Optional[str] = None,
version: Optional[int] = None) -> PolicyObjectDataIpv6PrefixList
func GetPolicyObjectDataIpv6PrefixList(ctx *Context, name string, id IDInput, state *PolicyObjectDataIpv6PrefixListState, opts ...ResourceOption) (*PolicyObjectDataIpv6PrefixList, error)
public static PolicyObjectDataIpv6PrefixList Get(string name, Input<string> id, PolicyObjectDataIpv6PrefixListState? state, CustomResourceOptions? opts = null)
public static PolicyObjectDataIpv6PrefixList get(String name, Output<String> id, PolicyObjectDataIpv6PrefixListState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Description string
- The description of the Policy_object
- Entries
List<Policy
Object Data Ipv6Prefix List Entry> - IPv6 Prefix List
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Policy_object
- Version int
- The version of the Policy_object
- Description string
- The description of the Policy_object
- Entries
[]Policy
Object Data Ipv6Prefix List Entry Args - IPv6 Prefix List
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Policy_object
- Version int
- The version of the Policy_object
- description String
- The description of the Policy_object
- entries
List<Policy
Object Data Ipv6Prefix List Entry> - IPv6 Prefix List
- feature
Profile StringId - Feature Profile ID
- name String
- The name of the Policy_object
- version Integer
- The version of the Policy_object
- description string
- The description of the Policy_object
- entries
Policy
Object Data Ipv6Prefix List Entry[] - IPv6 Prefix List
- feature
Profile stringId - Feature Profile ID
- name string
- The name of the Policy_object
- version number
- The version of the Policy_object
- description str
- The description of the Policy_object
- entries
Sequence[Policy
Object Data Ipv6Prefix List Entry Args] - IPv6 Prefix List
- feature_
profile_ strid - Feature Profile ID
- name str
- The name of the Policy_object
- version int
- The version of the Policy_object
- description String
- The description of the Policy_object
- entries List<Property Map>
- IPv6 Prefix List
- feature
Profile StringId - Feature Profile ID
- name String
- The name of the Policy_object
- version Number
- The version of the Policy_object
Supporting Types
PolicyObjectDataIpv6PrefixListEntry, PolicyObjectDataIpv6PrefixListEntryArgs
- Ipv6Address string
- IPv6 address
- Ipv6Prefix
Length int - IPv6 prefix
- Range:
0
-128
- Range:
- Ipv6Address string
- IPv6 address
- Ipv6Prefix
Length int - IPv6 prefix
- Range:
0
-128
- Range:
- ipv6Address String
- IPv6 address
- ipv6Prefix
Length Integer - IPv6 prefix
- Range:
0
-128
- Range:
- ipv6Address string
- IPv6 address
- ipv6Prefix
Length number - IPv6 prefix
- Range:
0
-128
- Range:
- ipv6_
address str - IPv6 address
- ipv6_
prefix_ intlength - IPv6 prefix
- Range:
0
-128
- Range:
- ipv6Address String
- IPv6 address
- ipv6Prefix
Length Number - IPv6 prefix
- Range:
0
-128
- Range:
Import
$ pulumi import sdwan:index/policyObjectDataIpv6PrefixList:PolicyObjectDataIpv6PrefixList example "f6b2c44c-693c-4763-b010-895aa3d236bd"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.