1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. PolicyObjectDataIpv6PrefixList
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

sdwan.PolicyObjectDataIpv6PrefixList

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

    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=[{
            "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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PolicyObjectDataIpv6PrefixList resource accepts the following input properties:

    Entries List<PolicyObjectDataIpv6PrefixListEntry>
    IPv6 Prefix List
    FeatureProfileId string
    Feature Profile ID
    Description string
    The description of the Policy_object
    Name string
    The name of the Policy_object
    Entries []PolicyObjectDataIpv6PrefixListEntryArgs
    IPv6 Prefix List
    FeatureProfileId string
    Feature Profile ID
    Description string
    The description of the Policy_object
    Name string
    The name of the Policy_object
    entries List<PolicyObjectDataIpv6PrefixListEntry>
    IPv6 Prefix List
    featureProfileId String
    Feature Profile ID
    description String
    The description of the Policy_object
    name String
    The name of the Policy_object
    entries PolicyObjectDataIpv6PrefixListEntry[]
    IPv6 Prefix List
    featureProfileId string
    Feature Profile ID
    description string
    The description of the Policy_object
    name string
    The name of the Policy_object
    entries Sequence[PolicyObjectDataIpv6PrefixListEntryArgs]
    IPv6 Prefix List
    feature_profile_id str
    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
    featureProfileId String
    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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the Policy_object
    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the Policy_object
    id String
    The provider-assigned unique ID for this managed resource.
    version Integer
    The version of the Policy_object
    id string
    The provider-assigned unique ID for this managed resource.
    version number
    The version of the Policy_object
    id str
    The provider-assigned unique ID for this managed resource.
    version int
    The version of the Policy_object
    id String
    The provider-assigned unique ID for this managed resource.
    version Number
    The version of the Policy_object

    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.
    The following state arguments are supported:
    Description string
    The description of the Policy_object
    Entries List<PolicyObjectDataIpv6PrefixListEntry>
    IPv6 Prefix List
    FeatureProfileId string
    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 []PolicyObjectDataIpv6PrefixListEntryArgs
    IPv6 Prefix List
    FeatureProfileId string
    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<PolicyObjectDataIpv6PrefixListEntry>
    IPv6 Prefix List
    featureProfileId String
    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 PolicyObjectDataIpv6PrefixListEntry[]
    IPv6 Prefix List
    featureProfileId string
    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[PolicyObjectDataIpv6PrefixListEntryArgs]
    IPv6 Prefix List
    feature_profile_id str
    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
    featureProfileId String
    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
    Ipv6PrefixLength int
    IPv6 prefix

    • Range: 0-128
    Ipv6Address string
    IPv6 address
    Ipv6PrefixLength int
    IPv6 prefix

    • Range: 0-128
    ipv6Address String
    IPv6 address
    ipv6PrefixLength Integer
    IPv6 prefix

    • Range: 0-128
    ipv6Address string
    IPv6 address
    ipv6PrefixLength number
    IPv6 prefix

    • Range: 0-128
    ipv6_address str
    IPv6 address
    ipv6_prefix_length int
    IPv6 prefix

    • Range: 0-128
    ipv6Address String
    IPv6 address
    ipv6PrefixLength Number
    IPv6 prefix

    • Range: 0-128

    Import

    Expected import identifier with the format: “policy_object_data_ipv6_prefix_list_id,feature_profile_id”

    $ pulumi import sdwan:index/policyObjectDataIpv6PrefixList:PolicyObjectDataIpv6PrefixList example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
    

    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.
    sdwan logo
    Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi