1. Packages
  2. Cisco Meraki
  3. API Docs
  4. organizations
  5. Clone
Cisco Meraki v0.2.10 published on Wednesday, Jul 24, 2024 by Pulumi

meraki.organizations.Clone

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.10 published on Wednesday, Jul 24, 2024 by Pulumi

    ~>Warning: This resource does not represent a real-world entity in Meraki Dashboard, therefore changing or deleting this resource on its own has no immediate effect. Instead, it is a task part of a Meraki Dashboard workflow. It is executed in Meraki without any additional verification. It does not check if it was executed before or if a similar configuration or action already existed previously.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = new meraki.organizations.Clone("example", {
        organizationId: "string",
        parameters: {
            name: "My organization",
        },
    });
    export const merakiOrganizationsCloneExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.organizations.Clone("example",
        organization_id="string",
        parameters=meraki.organizations.CloneParametersArgs(
            name="My organization",
        ))
    pulumi.export("merakiOrganizationsCloneExample", example)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := organizations.NewClone(ctx, "example", &organizations.CloneArgs{
    			OrganizationId: pulumi.String("string"),
    			Parameters: &organizations.CloneParametersArgs{
    				Name: pulumi.String("My organization"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiOrganizationsCloneExample", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Meraki.Organizations.Clone("example", new()
        {
            OrganizationId = "string",
            Parameters = new Meraki.Organizations.Inputs.CloneParametersArgs
            {
                Name = "My organization",
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiOrganizationsCloneExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.organizations.Clone;
    import com.pulumi.meraki.organizations.CloneArgs;
    import com.pulumi.meraki.organizations.inputs.CloneParametersArgs;
    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 Clone("example", CloneArgs.builder()
                .organizationId("string")
                .parameters(CloneParametersArgs.builder()
                    .name("My organization")
                    .build())
                .build());
    
            ctx.export("merakiOrganizationsCloneExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:organizations:Clone
        properties:
          organizationId: string
          parameters:
            name: My organization
    outputs:
      merakiOrganizationsCloneExample: ${example}
    

    Create Clone Resource

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

    Constructor syntax

    new Clone(name: string, args: CloneArgs, opts?: CustomResourceOptions);
    @overload
    def Clone(resource_name: str,
              args: CloneArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Clone(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              organization_id: Optional[str] = None,
              parameters: Optional[CloneParametersArgs] = None)
    func NewClone(ctx *Context, name string, args CloneArgs, opts ...ResourceOption) (*Clone, error)
    public Clone(string name, CloneArgs args, CustomResourceOptions? opts = null)
    public Clone(String name, CloneArgs args)
    public Clone(String name, CloneArgs args, CustomResourceOptions options)
    
    type: meraki:organizations:Clone
    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 CloneArgs
    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 CloneArgs
    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 CloneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloneArgs
    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 cloneResource = new Meraki.Organizations.Clone("cloneResource", new()
    {
        OrganizationId = "string",
        Parameters = new Meraki.Organizations.Inputs.CloneParametersArgs
        {
            Name = "string",
        },
    });
    
    example, err := organizations.NewClone(ctx, "cloneResource", &organizations.CloneArgs{
    	OrganizationId: pulumi.String("string"),
    	Parameters: &organizations.CloneParametersArgs{
    		Name: pulumi.String("string"),
    	},
    })
    
    var cloneResource = new Clone("cloneResource", CloneArgs.builder()
        .organizationId("string")
        .parameters(CloneParametersArgs.builder()
            .name("string")
            .build())
        .build());
    
    clone_resource = meraki.organizations.Clone("cloneResource",
        organization_id="string",
        parameters=meraki.organizations.CloneParametersArgs(
            name="string",
        ))
    
    const cloneResource = new meraki.organizations.Clone("cloneResource", {
        organizationId: "string",
        parameters: {
            name: "string",
        },
    });
    
    type: meraki:organizations:Clone
    properties:
        organizationId: string
        parameters:
            name: string
    

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

    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters CloneParameters
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters CloneParametersArgs
    organizationId String
    organizationId path parameter. Organization ID
    parameters CloneParameters
    organizationId string
    organizationId path parameter. Organization ID
    parameters CloneParameters
    organization_id str
    organizationId path parameter. Organization ID
    parameters CloneParametersArgs
    organizationId String
    organizationId path parameter. Organization ID
    parameters Property Map

    Outputs

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

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

    Look up Existing Clone Resource

    Get an existing Clone 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?: CloneState, opts?: CustomResourceOptions): Clone
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            item: Optional[CloneItemArgs] = None,
            organization_id: Optional[str] = None,
            parameters: Optional[CloneParametersArgs] = None) -> Clone
    func GetClone(ctx *Context, name string, id IDInput, state *CloneState, opts ...ResourceOption) (*Clone, error)
    public static Clone Get(string name, Input<string> id, CloneState? state, CustomResourceOptions? opts = null)
    public static Clone get(String name, Output<String> id, CloneState 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 CloneItem
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters CloneParameters
    Item CloneItemArgs
    OrganizationId string
    organizationId path parameter. Organization ID
    Parameters CloneParametersArgs
    item CloneItem
    organizationId String
    organizationId path parameter. Organization ID
    parameters CloneParameters
    item CloneItem
    organizationId string
    organizationId path parameter. Organization ID
    parameters CloneParameters
    item CloneItemArgs
    organization_id str
    organizationId path parameter. Organization ID
    parameters CloneParametersArgs
    item Property Map
    organizationId String
    organizationId path parameter. Organization ID
    parameters Property Map

    Supporting Types

    CloneItem, CloneItemArgs

    Api CloneItemApi
    API related settings
    Cloud CloneItemCloud
    Data for this organization
    Id string
    Organization ID
    Licensing CloneItemLicensing
    Licensing related settings
    Management CloneItemManagement
    Information about the organization's management system
    Name string
    Organization name
    Url string
    Organization URL
    Api CloneItemApi
    API related settings
    Cloud CloneItemCloud
    Data for this organization
    Id string
    Organization ID
    Licensing CloneItemLicensing
    Licensing related settings
    Management CloneItemManagement
    Information about the organization's management system
    Name string
    Organization name
    Url string
    Organization URL
    api CloneItemApi
    API related settings
    cloud CloneItemCloud
    Data for this organization
    id String
    Organization ID
    licensing CloneItemLicensing
    Licensing related settings
    management CloneItemManagement
    Information about the organization's management system
    name String
    Organization name
    url String
    Organization URL
    api CloneItemApi
    API related settings
    cloud CloneItemCloud
    Data for this organization
    id string
    Organization ID
    licensing CloneItemLicensing
    Licensing related settings
    management CloneItemManagement
    Information about the organization's management system
    name string
    Organization name
    url string
    Organization URL
    api CloneItemApi
    API related settings
    cloud CloneItemCloud
    Data for this organization
    id str
    Organization ID
    licensing CloneItemLicensing
    Licensing related settings
    management CloneItemManagement
    Information about the organization's management system
    name str
    Organization name
    url str
    Organization URL
    api Property Map
    API related settings
    cloud Property Map
    Data for this organization
    id String
    Organization ID
    licensing Property Map
    Licensing related settings
    management Property Map
    Information about the organization's management system
    name String
    Organization name
    url String
    Organization URL

    CloneItemApi, CloneItemApiArgs

    Enabled bool
    Enable API access
    Enabled bool
    Enable API access
    enabled Boolean
    Enable API access
    enabled boolean
    Enable API access
    enabled bool
    Enable API access
    enabled Boolean
    Enable API access

    CloneItemCloud, CloneItemCloudArgs

    region Property Map
    Region info

    CloneItemCloudRegion, CloneItemCloudRegionArgs

    Name string
    Name of region
    Name string
    Name of region
    name String
    Name of region
    name string
    Name of region
    name str
    Name of region
    name String
    Name of region

    CloneItemLicensing, CloneItemLicensingArgs

    Model string
    Organization licensing model. Can be 'co-term', 'per-device', or 'subscription'.
    Model string
    Organization licensing model. Can be 'co-term', 'per-device', or 'subscription'.
    model String
    Organization licensing model. Can be 'co-term', 'per-device', or 'subscription'.
    model string
    Organization licensing model. Can be 'co-term', 'per-device', or 'subscription'.
    model str
    Organization licensing model. Can be 'co-term', 'per-device', or 'subscription'.
    model String
    Organization licensing model. Can be 'co-term', 'per-device', or 'subscription'.

    CloneItemManagement, CloneItemManagementArgs

    Details List<CloneItemManagementDetail>
    Details related to organization management, possibly empty. Details may be named 'MSP ID', 'IP restriction mode for API', or 'IP restriction mode for dashboard', if the organization admin has configured any.
    Details []CloneItemManagementDetail
    Details related to organization management, possibly empty. Details may be named 'MSP ID', 'IP restriction mode for API', or 'IP restriction mode for dashboard', if the organization admin has configured any.
    details List<CloneItemManagementDetail>
    Details related to organization management, possibly empty. Details may be named 'MSP ID', 'IP restriction mode for API', or 'IP restriction mode for dashboard', if the organization admin has configured any.
    details CloneItemManagementDetail[]
    Details related to organization management, possibly empty. Details may be named 'MSP ID', 'IP restriction mode for API', or 'IP restriction mode for dashboard', if the organization admin has configured any.
    details Sequence[CloneItemManagementDetail]
    Details related to organization management, possibly empty. Details may be named 'MSP ID', 'IP restriction mode for API', or 'IP restriction mode for dashboard', if the organization admin has configured any.
    details List<Property Map>
    Details related to organization management, possibly empty. Details may be named 'MSP ID', 'IP restriction mode for API', or 'IP restriction mode for dashboard', if the organization admin has configured any.

    CloneItemManagementDetail, CloneItemManagementDetailArgs

    Name string
    Name of management data
    Value string
    Value of management data
    Name string
    Name of management data
    Value string
    Value of management data
    name String
    Name of management data
    value String
    Value of management data
    name string
    Name of management data
    value string
    Value of management data
    name str
    Name of management data
    value str
    Value of management data
    name String
    Name of management data
    value String
    Value of management data

    CloneParameters, CloneParametersArgs

    Name string
    The name of the new organization
    Name string
    The name of the new organization
    name String
    The name of the new organization
    name string
    The name of the new organization
    name str
    The name of the new organization
    name String
    The name of the new organization

    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.2.10 published on Wednesday, Jul 24, 2024 by Pulumi