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

meraki.devices.CameraVideoSettings

Explore with Pulumi AI

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = new meraki.devices.CameraVideoSettings("example", {
        externalRtspEnabled: true,
        serial: "string",
    });
    export const merakiDevicesCameraVideoSettingsExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.devices.CameraVideoSettings("example",
        external_rtsp_enabled=True,
        serial="string")
    pulumi.export("merakiDevicesCameraVideoSettingsExample", 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.NewCameraVideoSettings(ctx, "example", &devices.CameraVideoSettingsArgs{
    			ExternalRtspEnabled: pulumi.Bool(true),
    			Serial:              pulumi.String("string"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiDevicesCameraVideoSettingsExample", 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.CameraVideoSettings("example", new()
        {
            ExternalRtspEnabled = true,
            Serial = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiDevicesCameraVideoSettingsExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.devices.CameraVideoSettings;
    import com.pulumi.meraki.devices.CameraVideoSettingsArgs;
    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 CameraVideoSettings("example", CameraVideoSettingsArgs.builder()
                .externalRtspEnabled(true)
                .serial("string")
                .build());
    
            ctx.export("merakiDevicesCameraVideoSettingsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:devices:CameraVideoSettings
        properties:
          externalRtspEnabled: true
          serial: string
    outputs:
      merakiDevicesCameraVideoSettingsExample: ${example}
    

    Create CameraVideoSettings Resource

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

    Constructor syntax

    new CameraVideoSettings(name: string, args: CameraVideoSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def CameraVideoSettings(resource_name: str,
                            args: CameraVideoSettingsArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def CameraVideoSettings(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            serial: Optional[str] = None,
                            external_rtsp_enabled: Optional[bool] = None)
    func NewCameraVideoSettings(ctx *Context, name string, args CameraVideoSettingsArgs, opts ...ResourceOption) (*CameraVideoSettings, error)
    public CameraVideoSettings(string name, CameraVideoSettingsArgs args, CustomResourceOptions? opts = null)
    public CameraVideoSettings(String name, CameraVideoSettingsArgs args)
    public CameraVideoSettings(String name, CameraVideoSettingsArgs args, CustomResourceOptions options)
    
    type: meraki:devices:CameraVideoSettings
    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 CameraVideoSettingsArgs
    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 CameraVideoSettingsArgs
    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 CameraVideoSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CameraVideoSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CameraVideoSettingsArgs
    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 cameraVideoSettingsResource = new Meraki.Devices.CameraVideoSettings("cameraVideoSettingsResource", new()
    {
        Serial = "string",
        ExternalRtspEnabled = false,
    });
    
    example, err := devices.NewCameraVideoSettings(ctx, "cameraVideoSettingsResource", &devices.CameraVideoSettingsArgs{
    	Serial:              pulumi.String("string"),
    	ExternalRtspEnabled: pulumi.Bool(false),
    })
    
    var cameraVideoSettingsResource = new CameraVideoSettings("cameraVideoSettingsResource", CameraVideoSettingsArgs.builder()
        .serial("string")
        .externalRtspEnabled(false)
        .build());
    
    camera_video_settings_resource = meraki.devices.CameraVideoSettings("cameraVideoSettingsResource",
        serial="string",
        external_rtsp_enabled=False)
    
    const cameraVideoSettingsResource = new meraki.devices.CameraVideoSettings("cameraVideoSettingsResource", {
        serial: "string",
        externalRtspEnabled: false,
    });
    
    type: meraki:devices:CameraVideoSettings
    properties:
        externalRtspEnabled: false
        serial: string
    

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

    Serial string
    serial path parameter.
    ExternalRtspEnabled bool
    Boolean indicating if external rtsp stream is exposed
    Serial string
    serial path parameter.
    ExternalRtspEnabled bool
    Boolean indicating if external rtsp stream is exposed
    serial String
    serial path parameter.
    externalRtspEnabled Boolean
    Boolean indicating if external rtsp stream is exposed
    serial string
    serial path parameter.
    externalRtspEnabled boolean
    Boolean indicating if external rtsp stream is exposed
    serial str
    serial path parameter.
    external_rtsp_enabled bool
    Boolean indicating if external rtsp stream is exposed
    serial String
    serial path parameter.
    externalRtspEnabled Boolean
    Boolean indicating if external rtsp stream is exposed

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    RtspUrl string
    External rstp url. Will only be returned if external rtsp stream is exposed
    Id string
    The provider-assigned unique ID for this managed resource.
    RtspUrl string
    External rstp url. Will only be returned if external rtsp stream is exposed
    id String
    The provider-assigned unique ID for this managed resource.
    rtspUrl String
    External rstp url. Will only be returned if external rtsp stream is exposed
    id string
    The provider-assigned unique ID for this managed resource.
    rtspUrl string
    External rstp url. Will only be returned if external rtsp stream is exposed
    id str
    The provider-assigned unique ID for this managed resource.
    rtsp_url str
    External rstp url. Will only be returned if external rtsp stream is exposed
    id String
    The provider-assigned unique ID for this managed resource.
    rtspUrl String
    External rstp url. Will only be returned if external rtsp stream is exposed

    Look up Existing CameraVideoSettings Resource

    Get an existing CameraVideoSettings 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?: CameraVideoSettingsState, opts?: CustomResourceOptions): CameraVideoSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            external_rtsp_enabled: Optional[bool] = None,
            rtsp_url: Optional[str] = None,
            serial: Optional[str] = None) -> CameraVideoSettings
    func GetCameraVideoSettings(ctx *Context, name string, id IDInput, state *CameraVideoSettingsState, opts ...ResourceOption) (*CameraVideoSettings, error)
    public static CameraVideoSettings Get(string name, Input<string> id, CameraVideoSettingsState? state, CustomResourceOptions? opts = null)
    public static CameraVideoSettings get(String name, Output<String> id, CameraVideoSettingsState 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:
    ExternalRtspEnabled bool
    Boolean indicating if external rtsp stream is exposed
    RtspUrl string
    External rstp url. Will only be returned if external rtsp stream is exposed
    Serial string
    serial path parameter.
    ExternalRtspEnabled bool
    Boolean indicating if external rtsp stream is exposed
    RtspUrl string
    External rstp url. Will only be returned if external rtsp stream is exposed
    Serial string
    serial path parameter.
    externalRtspEnabled Boolean
    Boolean indicating if external rtsp stream is exposed
    rtspUrl String
    External rstp url. Will only be returned if external rtsp stream is exposed
    serial String
    serial path parameter.
    externalRtspEnabled boolean
    Boolean indicating if external rtsp stream is exposed
    rtspUrl string
    External rstp url. Will only be returned if external rtsp stream is exposed
    serial string
    serial path parameter.
    external_rtsp_enabled bool
    Boolean indicating if external rtsp stream is exposed
    rtsp_url str
    External rstp url. Will only be returned if external rtsp stream is exposed
    serial str
    serial path parameter.
    externalRtspEnabled Boolean
    Boolean indicating if external rtsp stream is exposed
    rtspUrl String
    External rstp url. Will only be returned if external rtsp stream is exposed
    serial String
    serial path parameter.

    Import

    $ pulumi import meraki:devices/cameraVideoSettings:CameraVideoSettings 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.2.10 published on Wednesday, Jul 24, 2024 by Pulumi