meraki.organizations.Clone
Explore with Pulumi AI
~>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={
"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)
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={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Clone resource accepts the following input properties:
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Clone
Parameters
- Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Clone
Parameters Args
- organization
Id String - organizationId path parameter. Organization ID
- parameters
Clone
Parameters
- organization
Id string - organizationId path parameter. Organization ID
- parameters
Clone
Parameters
- organization_
id str - organizationId path parameter. Organization ID
- parameters
Clone
Parameters Args
- organization
Id 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 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.
- Item
Clone
Item - Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Clone
Parameters
- Item
Clone
Item Args - Organization
Id string - organizationId path parameter. Organization ID
- Parameters
Clone
Parameters Args
- item
Clone
Item - organization
Id String - organizationId path parameter. Organization ID
- parameters
Clone
Parameters
- item
Clone
Item - organization
Id string - organizationId path parameter. Organization ID
- parameters
Clone
Parameters
- item
Clone
Item Args - organization_
id str - organizationId path parameter. Organization ID
- parameters
Clone
Parameters Args
- item Property Map
- organization
Id String - organizationId path parameter. Organization ID
- parameters Property Map
Supporting Types
CloneItem, CloneItemArgs
- Api
Clone
Item Api - API related settings
- Cloud
Clone
Item Cloud - Data for this organization
- Id string
- Organization ID
- Licensing
Clone
Item Licensing - Licensing related settings
- Management
Clone
Item Management - Information about the organization's management system
- Name string
- Organization name
- Url string
- Organization URL
- Api
Clone
Item Api - API related settings
- Cloud
Clone
Item Cloud - Data for this organization
- Id string
- Organization ID
- Licensing
Clone
Item Licensing - Licensing related settings
- Management
Clone
Item Management - Information about the organization's management system
- Name string
- Organization name
- Url string
- Organization URL
- api
Clone
Item Api - API related settings
- cloud
Clone
Item Cloud - Data for this organization
- id String
- Organization ID
- licensing
Clone
Item Licensing - Licensing related settings
- management
Clone
Item Management - Information about the organization's management system
- name String
- Organization name
- url String
- Organization URL
- api
Clone
Item Api - API related settings
- cloud
Clone
Item Cloud - Data for this organization
- id string
- Organization ID
- licensing
Clone
Item Licensing - Licensing related settings
- management
Clone
Item Management - Information about the organization's management system
- name string
- Organization name
- url string
- Organization URL
- api
Clone
Item Api - API related settings
- cloud
Clone
Item Cloud - Data for this organization
- id str
- Organization ID
- licensing
Clone
Item Licensing - Licensing related settings
- management
Clone
Item Management - 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
Clone
Item Cloud Region - Region info
- Region
Clone
Item Cloud Region - Region info
- region
Clone
Item Cloud Region - Region info
- region
Clone
Item Cloud Region - Region info
- region
Clone
Item Cloud Region - Region info
- 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<Clone
Item Management Detail> - 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
[]Clone
Item Management Detail - 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<Clone
Item Management Detail> - 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
Clone
Item Management Detail[] - 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[Clone
Item Management Detail] - 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
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.