meraki.networks.SmDevicesMove
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
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.meraki.networks.SmDevicesMove;
import com.pulumi.meraki.networks.SmDevicesMoveArgs;
import com.pulumi.meraki.networks.inputs.SmDevicesMoveParametersArgs;
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 SmDevicesMove("example", SmDevicesMoveArgs.builder()
.networkId("string")
.parameters(SmDevicesMoveParametersArgs.builder()
.ids(
"1284392014819",
"2983092129865")
.new_network("1284392014819")
.scope(
"withAny",
"tag1",
"tag2")
.serials(
"XY0XX0Y0X0",
"A01B01CD00E",
"X02YZ1ZYZX")
.wifi_macs("00:11:22:33:44:55")
.build())
.build());
ctx.export("merakiNetworksSmDevicesMoveExample", example);
}
}
resources:
example:
type: meraki:networks:SmDevicesMove
properties:
networkId: string
parameters:
ids:
- '1284392014819'
- '2983092129865'
new_network: '1284392014819'
scope:
- withAny
- tag1
- tag2
serials:
- XY0XX0Y0X0
- A01B01CD00E
- X02YZ1ZYZX
wifi_macs:
- 00:11:22:33:44:55
outputs:
merakiNetworksSmDevicesMoveExample: ${example}
Create SmDevicesMove Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SmDevicesMove(name: string, args: SmDevicesMoveArgs, opts?: CustomResourceOptions);
@overload
def SmDevicesMove(resource_name: str,
args: SmDevicesMoveArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SmDevicesMove(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
parameters: Optional[SmDevicesMoveParametersArgs] = None)
func NewSmDevicesMove(ctx *Context, name string, args SmDevicesMoveArgs, opts ...ResourceOption) (*SmDevicesMove, error)
public SmDevicesMove(string name, SmDevicesMoveArgs args, CustomResourceOptions? opts = null)
public SmDevicesMove(String name, SmDevicesMoveArgs args)
public SmDevicesMove(String name, SmDevicesMoveArgs args, CustomResourceOptions options)
type: meraki:networks:SmDevicesMove
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 SmDevicesMoveArgs
- 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 SmDevicesMoveArgs
- 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 SmDevicesMoveArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SmDevicesMoveArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SmDevicesMoveArgs
- 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 smDevicesMoveResource = new Meraki.Networks.SmDevicesMove("smDevicesMoveResource", new()
{
NetworkId = "string",
Parameters = new Meraki.Networks.Inputs.SmDevicesMoveParametersArgs
{
Ids = new[]
{
"string",
},
NewNetwork = "string",
Scopes = new[]
{
"string",
},
Serials = new[]
{
"string",
},
WifiMacs = new[]
{
"string",
},
},
});
example, err := networks.NewSmDevicesMove(ctx, "smDevicesMoveResource", &networks.SmDevicesMoveArgs{
NetworkId: pulumi.String("string"),
Parameters: &networks.SmDevicesMoveParametersArgs{
Ids: pulumi.StringArray{
pulumi.String("string"),
},
NewNetwork: pulumi.String("string"),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
Serials: pulumi.StringArray{
pulumi.String("string"),
},
WifiMacs: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var smDevicesMoveResource = new SmDevicesMove("smDevicesMoveResource", SmDevicesMoveArgs.builder()
.networkId("string")
.parameters(SmDevicesMoveParametersArgs.builder()
.ids("string")
.newNetwork("string")
.scopes("string")
.serials("string")
.wifiMacs("string")
.build())
.build());
sm_devices_move_resource = meraki.networks.SmDevicesMove("smDevicesMoveResource",
network_id="string",
parameters={
"ids": ["string"],
"new_network": "string",
"scopes": ["string"],
"serials": ["string"],
"wifi_macs": ["string"],
})
const smDevicesMoveResource = new meraki.networks.SmDevicesMove("smDevicesMoveResource", {
networkId: "string",
parameters: {
ids: ["string"],
newNetwork: "string",
scopes: ["string"],
serials: ["string"],
wifiMacs: ["string"],
},
});
type: meraki:networks:SmDevicesMove
properties:
networkId: string
parameters:
ids:
- string
newNetwork: string
scopes:
- string
serials:
- string
wifiMacs:
- string
SmDevicesMove 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 SmDevicesMove resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Parameters
Sm
Devices Move Parameters
- Network
Id string - networkId path parameter. Network ID
- Parameters
Sm
Devices Move Parameters Args
- network
Id String - networkId path parameter. Network ID
- parameters
Sm
Devices Move Parameters
- network
Id string - networkId path parameter. Network ID
- parameters
Sm
Devices Move Parameters
- network_
id str - networkId path parameter. Network ID
- parameters
Sm
Devices Move Parameters Args
- network
Id String - networkId path parameter. Network ID
- parameters Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SmDevicesMove resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Sm
Devices Move Item
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Sm
Devices Move Item
- id String
- The provider-assigned unique ID for this managed resource.
- item
Sm
Devices Move Item
- id string
- The provider-assigned unique ID for this managed resource.
- item
Sm
Devices Move Item
- id str
- The provider-assigned unique ID for this managed resource.
- item
Sm
Devices Move Item
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
Look up Existing SmDevicesMove Resource
Get an existing SmDevicesMove 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?: SmDevicesMoveState, opts?: CustomResourceOptions): SmDevicesMove
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
item: Optional[SmDevicesMoveItemArgs] = None,
network_id: Optional[str] = None,
parameters: Optional[SmDevicesMoveParametersArgs] = None) -> SmDevicesMove
func GetSmDevicesMove(ctx *Context, name string, id IDInput, state *SmDevicesMoveState, opts ...ResourceOption) (*SmDevicesMove, error)
public static SmDevicesMove Get(string name, Input<string> id, SmDevicesMoveState? state, CustomResourceOptions? opts = null)
public static SmDevicesMove get(String name, Output<String> id, SmDevicesMoveState 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
Sm
Devices Move Item - Network
Id string - networkId path parameter. Network ID
- Parameters
Sm
Devices Move Parameters
- Item
Sm
Devices Move Item Args - Network
Id string - networkId path parameter. Network ID
- Parameters
Sm
Devices Move Parameters Args
- item
Sm
Devices Move Item - network
Id String - networkId path parameter. Network ID
- parameters
Sm
Devices Move Parameters
- item
Sm
Devices Move Item - network
Id string - networkId path parameter. Network ID
- parameters
Sm
Devices Move Parameters
- item
Sm
Devices Move Item Args - network_
id str - networkId path parameter. Network ID
- parameters
Sm
Devices Move Parameters Args
- item Property Map
- network
Id String - networkId path parameter. Network ID
- parameters Property Map
Supporting Types
SmDevicesMoveItem, SmDevicesMoveItemArgs
- Ids List<string>
- The Meraki Ids of the set of devices.
- New
Network string - The network to which the devices was moved.
- Ids []string
- The Meraki Ids of the set of devices.
- New
Network string - The network to which the devices was moved.
- ids List<String>
- The Meraki Ids of the set of devices.
- new
Network String - The network to which the devices was moved.
- ids string[]
- The Meraki Ids of the set of devices.
- new
Network string - The network to which the devices was moved.
- ids Sequence[str]
- The Meraki Ids of the set of devices.
- new_
network str - The network to which the devices was moved.
- ids List<String>
- The Meraki Ids of the set of devices.
- new
Network String - The network to which the devices was moved.
SmDevicesMoveParameters, SmDevicesMoveParametersArgs
- Ids List<string>
- The ids of the devices to be moved.
- New
Network string - The new network to which the devices will be moved.
- Scopes List<string>
- The scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags of the devices to be moved.
- Serials List<string>
- The serials of the devices to be moved.
- Wifi
Macs List<string> - The wifiMacs of the devices to be moved.
- Ids []string
- The ids of the devices to be moved.
- New
Network string - The new network to which the devices will be moved.
- Scopes []string
- The scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags of the devices to be moved.
- Serials []string
- The serials of the devices to be moved.
- Wifi
Macs []string - The wifiMacs of the devices to be moved.
- ids List<String>
- The ids of the devices to be moved.
- new
Network String - The new network to which the devices will be moved.
- scopes List<String>
- The scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags of the devices to be moved.
- serials List<String>
- The serials of the devices to be moved.
- wifi
Macs List<String> - The wifiMacs of the devices to be moved.
- ids string[]
- The ids of the devices to be moved.
- new
Network string - The new network to which the devices will be moved.
- scopes string[]
- The scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags of the devices to be moved.
- serials string[]
- The serials of the devices to be moved.
- wifi
Macs string[] - The wifiMacs of the devices to be moved.
- ids Sequence[str]
- The ids of the devices to be moved.
- new_
network str - The new network to which the devices will be moved.
- scopes Sequence[str]
- The scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags of the devices to be moved.
- serials Sequence[str]
- The serials of the devices to be moved.
- wifi_
macs Sequence[str] - The wifiMacs of the devices to be moved.
- ids List<String>
- The ids of the devices to be moved.
- new
Network String - The new network to which the devices will be moved.
- scopes List<String>
- The scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags of the devices to be moved.
- serials List<String>
- The serials of the devices to be moved.
- wifi
Macs List<String> - The wifiMacs of the devices to be moved.
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.