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

meraki.organizations.getCameraPermissions

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 = meraki.organizations.getCameraPermissions({
        organizationId: "string",
        permissionScopeId: "string",
    });
    export const merakiOrganizationsCameraPermissionsExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.organizations.get_camera_permissions(organization_id="string",
        permission_scope_id="string")
    pulumi.export("merakiOrganizationsCameraPermissionsExample", example.item)
    
    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.GetCameraPermissions(ctx, &organizations.GetCameraPermissionsArgs{
    			OrganizationId:    "string",
    			PermissionScopeId: "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiOrganizationsCameraPermissionsExample", example.Item)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Organizations.GetCameraPermissions.Invoke(new()
        {
            OrganizationId = "string",
            PermissionScopeId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiOrganizationsCameraPermissionsExample"] = example.Apply(getCameraPermissionsResult => getCameraPermissionsResult.Item),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.organizations.OrganizationsFunctions;
    import com.pulumi.meraki.organizations.inputs.GetCameraPermissionsArgs;
    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) {
            final var example = OrganizationsFunctions.getCameraPermissions(GetCameraPermissionsArgs.builder()
                .organizationId("string")
                .permissionScopeId("string")
                .build());
    
            ctx.export("merakiOrganizationsCameraPermissionsExample", example.applyValue(getCameraPermissionsResult -> getCameraPermissionsResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:organizations:getCameraPermissions
          Arguments:
            organizationId: string
            permissionScopeId: string
    outputs:
      merakiOrganizationsCameraPermissionsExample: ${example.item}
    

    Using getCameraPermissions

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCameraPermissions(args: GetCameraPermissionsArgs, opts?: InvokeOptions): Promise<GetCameraPermissionsResult>
    function getCameraPermissionsOutput(args: GetCameraPermissionsOutputArgs, opts?: InvokeOptions): Output<GetCameraPermissionsResult>
    def get_camera_permissions(organization_id: Optional[str] = None,
                               permission_scope_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetCameraPermissionsResult
    def get_camera_permissions_output(organization_id: Optional[pulumi.Input[str]] = None,
                               permission_scope_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetCameraPermissionsResult]
    func GetCameraPermissions(ctx *Context, args *GetCameraPermissionsArgs, opts ...InvokeOption) (*GetCameraPermissionsResult, error)
    func GetCameraPermissionsOutput(ctx *Context, args *GetCameraPermissionsOutputArgs, opts ...InvokeOption) GetCameraPermissionsResultOutput

    > Note: This function is named GetCameraPermissions in the Go SDK.

    public static class GetCameraPermissions 
    {
        public static Task<GetCameraPermissionsResult> InvokeAsync(GetCameraPermissionsArgs args, InvokeOptions? opts = null)
        public static Output<GetCameraPermissionsResult> Invoke(GetCameraPermissionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCameraPermissionsResult> getCameraPermissions(GetCameraPermissionsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:organizations/getCameraPermissions:getCameraPermissions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrganizationId string
    organizationId path parameter. Organization ID
    PermissionScopeId string
    permissionScopeId path parameter. Permission scope ID
    OrganizationId string
    organizationId path parameter. Organization ID
    PermissionScopeId string
    permissionScopeId path parameter. Permission scope ID
    organizationId String
    organizationId path parameter. Organization ID
    permissionScopeId String
    permissionScopeId path parameter. Permission scope ID
    organizationId string
    organizationId path parameter. Organization ID
    permissionScopeId string
    permissionScopeId path parameter. Permission scope ID
    organization_id str
    organizationId path parameter. Organization ID
    permission_scope_id str
    permissionScopeId path parameter. Permission scope ID
    organizationId String
    organizationId path parameter. Organization ID
    permissionScopeId String
    permissionScopeId path parameter. Permission scope ID

    getCameraPermissions Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetCameraPermissionsItem
    OrganizationId string
    organizationId path parameter. Organization ID
    PermissionScopeId string
    permissionScopeId path parameter. Permission scope ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetCameraPermissionsItem
    OrganizationId string
    organizationId path parameter. Organization ID
    PermissionScopeId string
    permissionScopeId path parameter. Permission scope ID
    id String
    The provider-assigned unique ID for this managed resource.
    item GetCameraPermissionsItem
    organizationId String
    organizationId path parameter. Organization ID
    permissionScopeId String
    permissionScopeId path parameter. Permission scope ID
    id string
    The provider-assigned unique ID for this managed resource.
    item GetCameraPermissionsItem
    organizationId string
    organizationId path parameter. Organization ID
    permissionScopeId string
    permissionScopeId path parameter. Permission scope ID
    id str
    The provider-assigned unique ID for this managed resource.
    item GetCameraPermissionsItem
    organization_id str
    organizationId path parameter. Organization ID
    permission_scope_id str
    permissionScopeId path parameter. Permission scope ID
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map
    organizationId String
    organizationId path parameter. Organization ID
    permissionScopeId String
    permissionScopeId path parameter. Permission scope ID

    Supporting Types

    GetCameraPermissionsItem

    Id string
    Permission scope id
    Level string
    Permission scope level
    Name string
    Name of permission scope
    Id string
    Permission scope id
    Level string
    Permission scope level
    Name string
    Name of permission scope
    id String
    Permission scope id
    level String
    Permission scope level
    name String
    Name of permission scope
    id string
    Permission scope id
    level string
    Permission scope level
    name string
    Name of permission scope
    id str
    Permission scope id
    level str
    Permission scope level
    name str
    Name of permission scope
    id String
    Permission scope id
    level String
    Permission scope level
    name String
    Name of permission scope

    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