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

meraki.devices.CameraWirelessProfiles

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.devices.CameraWirelessProfiles("example", {
        ids: {
            backup: "1",
            primary: "3",
            secondary: "2",
        },
        serial: "string",
    });
    export const merakiDevicesCameraWirelessProfilesExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.devices.CameraWirelessProfiles("example",
        ids={
            "backup": "1",
            "primary": "3",
            "secondary": "2",
        },
        serial="string")
    pulumi.export("merakiDevicesCameraWirelessProfilesExample", example)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/devices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := devices.NewCameraWirelessProfiles(ctx, "example", &devices.CameraWirelessProfilesArgs{
    			Ids: &devices.CameraWirelessProfilesIdsArgs{
    				Backup:    pulumi.String("1"),
    				Primary:   pulumi.String("3"),
    				Secondary: pulumi.String("2"),
    			},
    			Serial: pulumi.String("string"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiDevicesCameraWirelessProfilesExample", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Meraki.Devices.CameraWirelessProfiles("example", new()
        {
            Ids = new Meraki.Devices.Inputs.CameraWirelessProfilesIdsArgs
            {
                Backup = "1",
                Primary = "3",
                Secondary = "2",
            },
            Serial = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiDevicesCameraWirelessProfilesExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.devices.CameraWirelessProfiles;
    import com.pulumi.meraki.devices.CameraWirelessProfilesArgs;
    import com.pulumi.meraki.devices.inputs.CameraWirelessProfilesIdsArgs;
    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 CameraWirelessProfiles("example", CameraWirelessProfilesArgs.builder()
                .ids(CameraWirelessProfilesIdsArgs.builder()
                    .backup("1")
                    .primary("3")
                    .secondary("2")
                    .build())
                .serial("string")
                .build());
    
            ctx.export("merakiDevicesCameraWirelessProfilesExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:devices:CameraWirelessProfiles
        properties:
          ids:
            backup: '1'
            primary: '3'
            secondary: '2'
          serial: string
    outputs:
      merakiDevicesCameraWirelessProfilesExample: ${example}
    

    Create CameraWirelessProfiles Resource

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

    Constructor syntax

    new CameraWirelessProfiles(name: string, args: CameraWirelessProfilesArgs, opts?: CustomResourceOptions);
    @overload
    def CameraWirelessProfiles(resource_name: str,
                               args: CameraWirelessProfilesArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def CameraWirelessProfiles(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               serial: Optional[str] = None,
                               ids: Optional[CameraWirelessProfilesIdsArgs] = None)
    func NewCameraWirelessProfiles(ctx *Context, name string, args CameraWirelessProfilesArgs, opts ...ResourceOption) (*CameraWirelessProfiles, error)
    public CameraWirelessProfiles(string name, CameraWirelessProfilesArgs args, CustomResourceOptions? opts = null)
    public CameraWirelessProfiles(String name, CameraWirelessProfilesArgs args)
    public CameraWirelessProfiles(String name, CameraWirelessProfilesArgs args, CustomResourceOptions options)
    
    type: meraki:devices:CameraWirelessProfiles
    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 CameraWirelessProfilesArgs
    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 CameraWirelessProfilesArgs
    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 CameraWirelessProfilesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CameraWirelessProfilesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CameraWirelessProfilesArgs
    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 cameraWirelessProfilesResource = new Meraki.Devices.CameraWirelessProfiles("cameraWirelessProfilesResource", new()
    {
        Serial = "string",
        Ids = new Meraki.Devices.Inputs.CameraWirelessProfilesIdsArgs
        {
            Backup = "string",
            Primary = "string",
            Secondary = "string",
        },
    });
    
    example, err := devices.NewCameraWirelessProfiles(ctx, "cameraWirelessProfilesResource", &devices.CameraWirelessProfilesArgs{
    	Serial: pulumi.String("string"),
    	Ids: &devices.CameraWirelessProfilesIdsArgs{
    		Backup:    pulumi.String("string"),
    		Primary:   pulumi.String("string"),
    		Secondary: pulumi.String("string"),
    	},
    })
    
    var cameraWirelessProfilesResource = new CameraWirelessProfiles("cameraWirelessProfilesResource", CameraWirelessProfilesArgs.builder()
        .serial("string")
        .ids(CameraWirelessProfilesIdsArgs.builder()
            .backup("string")
            .primary("string")
            .secondary("string")
            .build())
        .build());
    
    camera_wireless_profiles_resource = meraki.devices.CameraWirelessProfiles("cameraWirelessProfilesResource",
        serial="string",
        ids=meraki.devices.CameraWirelessProfilesIdsArgs(
            backup="string",
            primary="string",
            secondary="string",
        ))
    
    const cameraWirelessProfilesResource = new meraki.devices.CameraWirelessProfiles("cameraWirelessProfilesResource", {
        serial: "string",
        ids: {
            backup: "string",
            primary: "string",
            secondary: "string",
        },
    });
    
    type: meraki:devices:CameraWirelessProfiles
    properties:
        ids:
            backup: string
            primary: string
            secondary: string
        serial: string
    

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

    Serial string
    serial path parameter.
    Ids CameraWirelessProfilesIds
    The ids of the wireless profile to assign to the given camera
    Serial string
    serial path parameter.
    Ids CameraWirelessProfilesIdsArgs
    The ids of the wireless profile to assign to the given camera
    serial String
    serial path parameter.
    ids CameraWirelessProfilesIds
    The ids of the wireless profile to assign to the given camera
    serial string
    serial path parameter.
    ids CameraWirelessProfilesIds
    The ids of the wireless profile to assign to the given camera
    serial str
    serial path parameter.
    ids CameraWirelessProfilesIdsArgs
    The ids of the wireless profile to assign to the given camera
    serial String
    serial path parameter.
    ids Property Map
    The ids of the wireless profile to assign to the given camera

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CameraWirelessProfiles 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 CameraWirelessProfiles Resource

    Get an existing CameraWirelessProfiles 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?: CameraWirelessProfilesState, opts?: CustomResourceOptions): CameraWirelessProfiles
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ids: Optional[CameraWirelessProfilesIdsArgs] = None,
            serial: Optional[str] = None) -> CameraWirelessProfiles
    func GetCameraWirelessProfiles(ctx *Context, name string, id IDInput, state *CameraWirelessProfilesState, opts ...ResourceOption) (*CameraWirelessProfiles, error)
    public static CameraWirelessProfiles Get(string name, Input<string> id, CameraWirelessProfilesState? state, CustomResourceOptions? opts = null)
    public static CameraWirelessProfiles get(String name, Output<String> id, CameraWirelessProfilesState 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:
    Ids CameraWirelessProfilesIds
    The ids of the wireless profile to assign to the given camera
    Serial string
    serial path parameter.
    Ids CameraWirelessProfilesIdsArgs
    The ids of the wireless profile to assign to the given camera
    Serial string
    serial path parameter.
    ids CameraWirelessProfilesIds
    The ids of the wireless profile to assign to the given camera
    serial String
    serial path parameter.
    ids CameraWirelessProfilesIds
    The ids of the wireless profile to assign to the given camera
    serial string
    serial path parameter.
    ids CameraWirelessProfilesIdsArgs
    The ids of the wireless profile to assign to the given camera
    serial str
    serial path parameter.
    ids Property Map
    The ids of the wireless profile to assign to the given camera
    serial String
    serial path parameter.

    Supporting Types

    CameraWirelessProfilesIds, CameraWirelessProfilesIdsArgs

    Backup string
    The id of the backup wireless profile
    Primary string
    The id of the primary wireless profile
    Secondary string
    The id of the secondary wireless profile
    Backup string
    The id of the backup wireless profile
    Primary string
    The id of the primary wireless profile
    Secondary string
    The id of the secondary wireless profile
    backup String
    The id of the backup wireless profile
    primary String
    The id of the primary wireless profile
    secondary String
    The id of the secondary wireless profile
    backup string
    The id of the backup wireless profile
    primary string
    The id of the primary wireless profile
    secondary string
    The id of the secondary wireless profile
    backup str
    The id of the backup wireless profile
    primary str
    The id of the primary wireless profile
    secondary str
    The id of the secondary wireless profile
    backup String
    The id of the backup wireless profile
    primary String
    The id of the primary wireless profile
    secondary String
    The id of the secondary wireless profile

    Import

    $ pulumi import meraki:devices/cameraWirelessProfiles:CameraWirelessProfiles example "serial"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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