1. Packages
  2. Cisco Meraki Provider
  3. API Docs
  4. networks
  5. AppliancePrefixesDelegatedStatics
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

meraki.networks.AppliancePrefixesDelegatedStatics

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";

const example = new meraki.networks.AppliancePrefixesDelegatedStatics("example", {
    description: "Prefix on WAN 1 of Long Island Office network",
    networkId: "string",
    origin: {
        interfaces: ["wan1"],
        type: "internet",
    },
    prefix: "2001:db8:3c4d:15::/64",
});
export const merakiNetworksAppliancePrefixesDelegatedStaticsExample = example;
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.networks.AppliancePrefixesDelegatedStatics("example",
    description="Prefix on WAN 1 of Long Island Office network",
    network_id="string",
    origin={
        "interfaces": ["wan1"],
        "type": "internet",
    },
    prefix="2001:db8:3c4d:15::/64")
pulumi.export("merakiNetworksAppliancePrefixesDelegatedStaticsExample", example)
Copy
package main

import (
	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := networks.NewAppliancePrefixesDelegatedStatics(ctx, "example", &networks.AppliancePrefixesDelegatedStaticsArgs{
			Description: pulumi.String("Prefix on WAN 1 of Long Island Office network"),
			NetworkId:   pulumi.String("string"),
			Origin: &networks.AppliancePrefixesDelegatedStaticsOriginArgs{
				Interfaces: pulumi.StringArray{
					pulumi.String("wan1"),
				},
				Type: pulumi.String("internet"),
			},
			Prefix: pulumi.String("2001:db8:3c4d:15::/64"),
		})
		if err != nil {
			return err
		}
		ctx.Export("merakiNetworksAppliancePrefixesDelegatedStaticsExample", example)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;

return await Deployment.RunAsync(() => 
{
    var example = new Meraki.Networks.AppliancePrefixesDelegatedStatics("example", new()
    {
        Description = "Prefix on WAN 1 of Long Island Office network",
        NetworkId = "string",
        Origin = new Meraki.Networks.Inputs.AppliancePrefixesDelegatedStaticsOriginArgs
        {
            Interfaces = new[]
            {
                "wan1",
            },
            Type = "internet",
        },
        Prefix = "2001:db8:3c4d:15::/64",
    });

    return new Dictionary<string, object?>
    {
        ["merakiNetworksAppliancePrefixesDelegatedStaticsExample"] = example,
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.AppliancePrefixesDelegatedStatics;
import com.pulumi.meraki.networks.AppliancePrefixesDelegatedStaticsArgs;
import com.pulumi.meraki.networks.inputs.AppliancePrefixesDelegatedStaticsOriginArgs;
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 AppliancePrefixesDelegatedStatics("example", AppliancePrefixesDelegatedStaticsArgs.builder()
            .description("Prefix on WAN 1 of Long Island Office network")
            .networkId("string")
            .origin(AppliancePrefixesDelegatedStaticsOriginArgs.builder()
                .interfaces("wan1")
                .type("internet")
                .build())
            .prefix("2001:db8:3c4d:15::/64")
            .build());

        ctx.export("merakiNetworksAppliancePrefixesDelegatedStaticsExample", example);
    }
}
Copy
resources:
  example:
    type: meraki:networks:AppliancePrefixesDelegatedStatics
    properties:
      description: Prefix on WAN 1 of Long Island Office network
      networkId: string
      origin:
        interfaces:
          - wan1
        type: internet
      prefix: 2001:db8:3c4d:15::/64
outputs:
  merakiNetworksAppliancePrefixesDelegatedStaticsExample: ${example}
Copy

Create AppliancePrefixesDelegatedStatics Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AppliancePrefixesDelegatedStatics(name: string, args: AppliancePrefixesDelegatedStaticsArgs, opts?: CustomResourceOptions);
@overload
def AppliancePrefixesDelegatedStatics(resource_name: str,
                                      args: AppliancePrefixesDelegatedStaticsArgs,
                                      opts: Optional[ResourceOptions] = None)

@overload
def AppliancePrefixesDelegatedStatics(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      network_id: Optional[str] = None,
                                      description: Optional[str] = None,
                                      origin: Optional[AppliancePrefixesDelegatedStaticsOriginArgs] = None,
                                      prefix: Optional[str] = None,
                                      static_delegated_prefix_id: Optional[str] = None)
func NewAppliancePrefixesDelegatedStatics(ctx *Context, name string, args AppliancePrefixesDelegatedStaticsArgs, opts ...ResourceOption) (*AppliancePrefixesDelegatedStatics, error)
public AppliancePrefixesDelegatedStatics(string name, AppliancePrefixesDelegatedStaticsArgs args, CustomResourceOptions? opts = null)
public AppliancePrefixesDelegatedStatics(String name, AppliancePrefixesDelegatedStaticsArgs args)
public AppliancePrefixesDelegatedStatics(String name, AppliancePrefixesDelegatedStaticsArgs args, CustomResourceOptions options)
type: meraki:networks:AppliancePrefixesDelegatedStatics
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AppliancePrefixesDelegatedStaticsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AppliancePrefixesDelegatedStaticsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AppliancePrefixesDelegatedStaticsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AppliancePrefixesDelegatedStaticsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AppliancePrefixesDelegatedStaticsArgs
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 appliancePrefixesDelegatedStaticsResource = new Meraki.Networks.AppliancePrefixesDelegatedStatics("appliancePrefixesDelegatedStaticsResource", new()
{
    NetworkId = "string",
    Description = "string",
    Origin = new Meraki.Networks.Inputs.AppliancePrefixesDelegatedStaticsOriginArgs
    {
        Interfaces = new[]
        {
            "string",
        },
        Type = "string",
    },
    Prefix = "string",
    StaticDelegatedPrefixId = "string",
});
Copy
example, err := networks.NewAppliancePrefixesDelegatedStatics(ctx, "appliancePrefixesDelegatedStaticsResource", &networks.AppliancePrefixesDelegatedStaticsArgs{
	NetworkId:   pulumi.String("string"),
	Description: pulumi.String("string"),
	Origin: &networks.AppliancePrefixesDelegatedStaticsOriginArgs{
		Interfaces: pulumi.StringArray{
			pulumi.String("string"),
		},
		Type: pulumi.String("string"),
	},
	Prefix:                  pulumi.String("string"),
	StaticDelegatedPrefixId: pulumi.String("string"),
})
Copy
var appliancePrefixesDelegatedStaticsResource = new AppliancePrefixesDelegatedStatics("appliancePrefixesDelegatedStaticsResource", AppliancePrefixesDelegatedStaticsArgs.builder()
    .networkId("string")
    .description("string")
    .origin(AppliancePrefixesDelegatedStaticsOriginArgs.builder()
        .interfaces("string")
        .type("string")
        .build())
    .prefix("string")
    .staticDelegatedPrefixId("string")
    .build());
Copy
appliance_prefixes_delegated_statics_resource = meraki.networks.AppliancePrefixesDelegatedStatics("appliancePrefixesDelegatedStaticsResource",
    network_id="string",
    description="string",
    origin={
        "interfaces": ["string"],
        "type": "string",
    },
    prefix="string",
    static_delegated_prefix_id="string")
Copy
const appliancePrefixesDelegatedStaticsResource = new meraki.networks.AppliancePrefixesDelegatedStatics("appliancePrefixesDelegatedStaticsResource", {
    networkId: "string",
    description: "string",
    origin: {
        interfaces: ["string"],
        type: "string",
    },
    prefix: "string",
    staticDelegatedPrefixId: "string",
});
Copy
type: meraki:networks:AppliancePrefixesDelegatedStatics
properties:
    description: string
    networkId: string
    origin:
        interfaces:
            - string
        type: string
    prefix: string
    staticDelegatedPrefixId: string
Copy

AppliancePrefixesDelegatedStatics 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 AppliancePrefixesDelegatedStatics resource accepts the following input properties:

NetworkId This property is required. string
networkId path parameter. Network ID
Description string
Identifying description for the prefix.
Origin AppliancePrefixesDelegatedStaticsOrigin
WAN1/WAN2/Independent prefix.
Prefix string
IPv6 prefix/prefix length.
StaticDelegatedPrefixId string
Static delegated prefix id.
NetworkId This property is required. string
networkId path parameter. Network ID
Description string
Identifying description for the prefix.
Origin AppliancePrefixesDelegatedStaticsOriginArgs
WAN1/WAN2/Independent prefix.
Prefix string
IPv6 prefix/prefix length.
StaticDelegatedPrefixId string
Static delegated prefix id.
networkId This property is required. String
networkId path parameter. Network ID
description String
Identifying description for the prefix.
origin AppliancePrefixesDelegatedStaticsOrigin
WAN1/WAN2/Independent prefix.
prefix String
IPv6 prefix/prefix length.
staticDelegatedPrefixId String
Static delegated prefix id.
networkId This property is required. string
networkId path parameter. Network ID
description string
Identifying description for the prefix.
origin AppliancePrefixesDelegatedStaticsOrigin
WAN1/WAN2/Independent prefix.
prefix string
IPv6 prefix/prefix length.
staticDelegatedPrefixId string
Static delegated prefix id.
network_id This property is required. str
networkId path parameter. Network ID
description str
Identifying description for the prefix.
origin AppliancePrefixesDelegatedStaticsOriginArgs
WAN1/WAN2/Independent prefix.
prefix str
IPv6 prefix/prefix length.
static_delegated_prefix_id str
Static delegated prefix id.
networkId This property is required. String
networkId path parameter. Network ID
description String
Identifying description for the prefix.
origin Property Map
WAN1/WAN2/Independent prefix.
prefix String
IPv6 prefix/prefix length.
staticDelegatedPrefixId String
Static delegated prefix id.

Outputs

All input properties are implicitly available as output properties. Additionally, the AppliancePrefixesDelegatedStatics resource produces the following output properties:

CreatedAt string
Prefix creation time.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
Prefix Updated time.
CreatedAt string
Prefix creation time.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
Prefix Updated time.
createdAt String
Prefix creation time.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
Prefix Updated time.
createdAt string
Prefix creation time.
id string
The provider-assigned unique ID for this managed resource.
updatedAt string
Prefix Updated time.
created_at str
Prefix creation time.
id str
The provider-assigned unique ID for this managed resource.
updated_at str
Prefix Updated time.
createdAt String
Prefix creation time.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
Prefix Updated time.

Look up Existing AppliancePrefixesDelegatedStatics Resource

Get an existing AppliancePrefixesDelegatedStatics 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?: AppliancePrefixesDelegatedStaticsState, opts?: CustomResourceOptions): AppliancePrefixesDelegatedStatics
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        network_id: Optional[str] = None,
        origin: Optional[AppliancePrefixesDelegatedStaticsOriginArgs] = None,
        prefix: Optional[str] = None,
        static_delegated_prefix_id: Optional[str] = None,
        updated_at: Optional[str] = None) -> AppliancePrefixesDelegatedStatics
func GetAppliancePrefixesDelegatedStatics(ctx *Context, name string, id IDInput, state *AppliancePrefixesDelegatedStaticsState, opts ...ResourceOption) (*AppliancePrefixesDelegatedStatics, error)
public static AppliancePrefixesDelegatedStatics Get(string name, Input<string> id, AppliancePrefixesDelegatedStaticsState? state, CustomResourceOptions? opts = null)
public static AppliancePrefixesDelegatedStatics get(String name, Output<String> id, AppliancePrefixesDelegatedStaticsState state, CustomResourceOptions options)
resources:  _:    type: meraki:networks:AppliancePrefixesDelegatedStatics    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CreatedAt string
Prefix creation time.
Description string
Identifying description for the prefix.
NetworkId string
networkId path parameter. Network ID
Origin AppliancePrefixesDelegatedStaticsOrigin
WAN1/WAN2/Independent prefix.
Prefix string
IPv6 prefix/prefix length.
StaticDelegatedPrefixId string
Static delegated prefix id.
UpdatedAt string
Prefix Updated time.
CreatedAt string
Prefix creation time.
Description string
Identifying description for the prefix.
NetworkId string
networkId path parameter. Network ID
Origin AppliancePrefixesDelegatedStaticsOriginArgs
WAN1/WAN2/Independent prefix.
Prefix string
IPv6 prefix/prefix length.
StaticDelegatedPrefixId string
Static delegated prefix id.
UpdatedAt string
Prefix Updated time.
createdAt String
Prefix creation time.
description String
Identifying description for the prefix.
networkId String
networkId path parameter. Network ID
origin AppliancePrefixesDelegatedStaticsOrigin
WAN1/WAN2/Independent prefix.
prefix String
IPv6 prefix/prefix length.
staticDelegatedPrefixId String
Static delegated prefix id.
updatedAt String
Prefix Updated time.
createdAt string
Prefix creation time.
description string
Identifying description for the prefix.
networkId string
networkId path parameter. Network ID
origin AppliancePrefixesDelegatedStaticsOrigin
WAN1/WAN2/Independent prefix.
prefix string
IPv6 prefix/prefix length.
staticDelegatedPrefixId string
Static delegated prefix id.
updatedAt string
Prefix Updated time.
created_at str
Prefix creation time.
description str
Identifying description for the prefix.
network_id str
networkId path parameter. Network ID
origin AppliancePrefixesDelegatedStaticsOriginArgs
WAN1/WAN2/Independent prefix.
prefix str
IPv6 prefix/prefix length.
static_delegated_prefix_id str
Static delegated prefix id.
updated_at str
Prefix Updated time.
createdAt String
Prefix creation time.
description String
Identifying description for the prefix.
networkId String
networkId path parameter. Network ID
origin Property Map
WAN1/WAN2/Independent prefix.
prefix String
IPv6 prefix/prefix length.
staticDelegatedPrefixId String
Static delegated prefix id.
updatedAt String
Prefix Updated time.

Supporting Types

AppliancePrefixesDelegatedStaticsOrigin
, AppliancePrefixesDelegatedStaticsOriginArgs

Interfaces List<string>
Uplink provided or independent
Type string
Origin type
Interfaces []string
Uplink provided or independent
Type string
Origin type
interfaces List<String>
Uplink provided or independent
type String
Origin type
interfaces string[]
Uplink provided or independent
type string
Origin type
interfaces Sequence[str]
Uplink provided or independent
type str
Origin type
interfaces List<String>
Uplink provided or independent
type String
Origin type

Import

$ pulumi import meraki:networks/appliancePrefixesDelegatedStatics:AppliancePrefixesDelegatedStatics example "network_id,static_delegated_prefix_id"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
meraki pulumi/pulumi-meraki
License
Apache-2.0
Notes
This Pulumi package is based on the meraki Terraform Provider.