1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. DevicesRemove
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.networks.DevicesRemove

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 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.networks.DevicesRemove("example", {
        networkId: "string",
        parameters: {
            serial: "Q234-ABCD-5678",
        },
    });
    export const merakiNetworksDevicesRemoveExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.DevicesRemove("example",
        network_id="string",
        parameters=meraki.networks.DevicesRemoveParametersArgs(
            serial="Q234-ABCD-5678",
        ))
    pulumi.export("merakiNetworksDevicesRemoveExample", 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.NewDevicesRemove(ctx, "example", &networks.DevicesRemoveArgs{
    			NetworkId: pulumi.String("string"),
    			Parameters: &networks.DevicesRemoveParametersArgs{
    				Serial: pulumi.String("Q234-ABCD-5678"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksDevicesRemoveExample", 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.DevicesRemove("example", new()
        {
            NetworkId = "string",
            Parameters = new Meraki.Networks.Inputs.DevicesRemoveParametersArgs
            {
                Serial = "Q234-ABCD-5678",
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksDevicesRemoveExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.DevicesRemove;
    import com.pulumi.meraki.networks.DevicesRemoveArgs;
    import com.pulumi.meraki.networks.inputs.DevicesRemoveParametersArgs;
    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 DevicesRemove("example", DevicesRemoveArgs.builder()
                .networkId("string")
                .parameters(DevicesRemoveParametersArgs.builder()
                    .serial("Q234-ABCD-5678")
                    .build())
                .build());
    
            ctx.export("merakiNetworksDevicesRemoveExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:DevicesRemove
        properties:
          networkId: string
          parameters:
            serial: Q234-ABCD-5678
    outputs:
      merakiNetworksDevicesRemoveExample: ${example}
    

    Create DevicesRemove Resource

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

    Constructor syntax

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

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

    NetworkId string
    networkId path parameter. Network ID
    Parameters DevicesRemoveParameters
    NetworkId string
    networkId path parameter. Network ID
    Parameters DevicesRemoveParametersArgs
    networkId String
    networkId path parameter. Network ID
    parameters DevicesRemoveParameters
    networkId string
    networkId path parameter. Network ID
    parameters DevicesRemoveParameters
    network_id str
    networkId path parameter. Network ID
    parameters DevicesRemoveParametersArgs
    networkId String
    networkId path parameter. Network ID
    parameters Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DevicesRemove Resource

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

    Supporting Types

    DevicesRemoveParameters, DevicesRemoveParametersArgs

    Serial string
    The serial of a device
    Serial string
    The serial of a device
    serial String
    The serial of a device
    serial string
    The serial of a device
    serial str
    The serial of a device
    serial String
    The serial of a device

    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.4 published on Friday, Jun 14, 2024 by Pulumi