1. Packages
  2. Meraki Provider
  3. API Docs
  4. networks
  5. Split
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

meraki.networks.Split

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = new meraki.networks.Split("example", {networkId: "string"});
    export const merakiNetworksSplitExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.Split("example", network_id="string")
    pulumi.export("merakiNetworksSplitExample", example)
    
    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.NewSplit(ctx, "example", &networks.SplitArgs{
    			NetworkId: pulumi.String("string"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksSplitExample", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Meraki.Networks.Split("example", new()
        {
            NetworkId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksSplitExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.Split;
    import com.pulumi.meraki.networks.SplitArgs;
    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 Split("example", SplitArgs.builder()
                .networkId("string")
                .build());
    
            ctx.export("merakiNetworksSplitExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:Split
        properties:
          networkId: string
    outputs:
      merakiNetworksSplitExample: ${example}
    

    Create Split Resource

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

    Constructor syntax

    new Split(name: string, args: SplitArgs, opts?: CustomResourceOptions);
    @overload
    def Split(resource_name: str,
              args: SplitArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Split(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              network_id: Optional[str] = None)
    func NewSplit(ctx *Context, name string, args SplitArgs, opts ...ResourceOption) (*Split, error)
    public Split(string name, SplitArgs args, CustomResourceOptions? opts = null)
    public Split(String name, SplitArgs args)
    public Split(String name, SplitArgs args, CustomResourceOptions options)
    
    type: meraki:networks:Split
    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 SplitArgs
    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 SplitArgs
    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 SplitArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SplitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SplitArgs
    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 splitResource = new Meraki.Networks.Split("splitResource", new()
    {
        NetworkId = "string",
    });
    
    example, err := networks.NewSplit(ctx, "splitResource", &networks.SplitArgs{
    	NetworkId: pulumi.String("string"),
    })
    
    var splitResource = new Split("splitResource", SplitArgs.builder()
        .networkId("string")
        .build());
    
    split_resource = meraki.networks.Split("splitResource", network_id="string")
    
    const splitResource = new meraki.networks.Split("splitResource", {networkId: "string"});
    
    type: meraki:networks:Split
    properties:
        networkId: string
    

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

    NetworkId string
    networkId path parameter. Network ID
    NetworkId string
    networkId path parameter. Network ID
    networkId String
    networkId path parameter. Network ID
    networkId string
    networkId path parameter. Network ID
    network_id str
    networkId path parameter. Network ID
    networkId String
    networkId path parameter. Network ID

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Item SplitItem
    Id string
    The provider-assigned unique ID for this managed resource.
    Item SplitItem
    id String
    The provider-assigned unique ID for this managed resource.
    item SplitItem
    id string
    The provider-assigned unique ID for this managed resource.
    item SplitItem
    id str
    The provider-assigned unique ID for this managed resource.
    item SplitItem
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map

    Look up Existing Split Resource

    Get an existing Split 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?: SplitState, opts?: CustomResourceOptions): Split
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            item: Optional[SplitItemArgs] = None,
            network_id: Optional[str] = None) -> Split
    func GetSplit(ctx *Context, name string, id IDInput, state *SplitState, opts ...ResourceOption) (*Split, error)
    public static Split Get(string name, Input<string> id, SplitState? state, CustomResourceOptions? opts = null)
    public static Split get(String name, Output<String> id, SplitState 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:
    Item SplitItem
    NetworkId string
    networkId path parameter. Network ID
    Item SplitItemArgs
    NetworkId string
    networkId path parameter. Network ID
    item SplitItem
    networkId String
    networkId path parameter. Network ID
    item SplitItem
    networkId string
    networkId path parameter. Network ID
    item SplitItemArgs
    network_id str
    networkId path parameter. Network ID
    item Property Map
    networkId String
    networkId path parameter. Network ID

    Supporting Types

    SplitItem, SplitItemArgs

    resultingNetworks List<Property Map>
    Networks after the split

    SplitItemResultingNetwork, SplitItemResultingNetworkArgs

    EnrollmentString string
    Enrollment string for the network
    Id string
    Network ID
    IsBoundToConfigTemplate bool
    If the network is bound to a config template
    Name string
    Network name
    Notes string
    Notes for the network
    OrganizationId string
    Organization ID
    ProductTypes List<string>
    List of the product types that the network supports
    Tags List<string>
    Network tags
    TimeZone string
    Timezone of the network
    Url string
    URL to the network Dashboard UI
    EnrollmentString string
    Enrollment string for the network
    Id string
    Network ID
    IsBoundToConfigTemplate bool
    If the network is bound to a config template
    Name string
    Network name
    Notes string
    Notes for the network
    OrganizationId string
    Organization ID
    ProductTypes []string
    List of the product types that the network supports
    Tags []string
    Network tags
    TimeZone string
    Timezone of the network
    Url string
    URL to the network Dashboard UI
    enrollmentString String
    Enrollment string for the network
    id String
    Network ID
    isBoundToConfigTemplate Boolean
    If the network is bound to a config template
    name String
    Network name
    notes String
    Notes for the network
    organizationId String
    Organization ID
    productTypes List<String>
    List of the product types that the network supports
    tags List<String>
    Network tags
    timeZone String
    Timezone of the network
    url String
    URL to the network Dashboard UI
    enrollmentString string
    Enrollment string for the network
    id string
    Network ID
    isBoundToConfigTemplate boolean
    If the network is bound to a config template
    name string
    Network name
    notes string
    Notes for the network
    organizationId string
    Organization ID
    productTypes string[]
    List of the product types that the network supports
    tags string[]
    Network tags
    timeZone string
    Timezone of the network
    url string
    URL to the network Dashboard UI
    enrollment_string str
    Enrollment string for the network
    id str
    Network ID
    is_bound_to_config_template bool
    If the network is bound to a config template
    name str
    Network name
    notes str
    Notes for the network
    organization_id str
    Organization ID
    product_types Sequence[str]
    List of the product types that the network supports
    tags Sequence[str]
    Network tags
    time_zone str
    Timezone of the network
    url str
    URL to the network Dashboard UI
    enrollmentString String
    Enrollment string for the network
    id String
    Network ID
    isBoundToConfigTemplate Boolean
    If the network is bound to a config template
    name String
    Network name
    notes String
    Notes for the network
    organizationId String
    Organization ID
    productTypes List<String>
    List of the product types that the network supports
    tags List<String>
    Network tags
    timeZone String
    Timezone of the network
    url String
    URL to the network Dashboard UI

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi