Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi
meraki.organizations.getCameraPermissions
Explore with Pulumi AI
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:
- Organization
Id string - organizationId path parameter. Organization ID
- Permission
Scope stringId - permissionScopeId path parameter. Permission scope ID
- Organization
Id string - organizationId path parameter. Organization ID
- Permission
Scope stringId - permissionScopeId path parameter. Permission scope ID
- organization
Id String - organizationId path parameter. Organization ID
- permission
Scope StringId - permissionScopeId path parameter. Permission scope ID
- organization
Id string - organizationId path parameter. Organization ID
- permission
Scope stringId - permissionScopeId path parameter. Permission scope ID
- organization_
id str - organizationId path parameter. Organization ID
- permission_
scope_ strid - permissionScopeId path parameter. Permission scope ID
- organization
Id String - organizationId path parameter. Organization ID
- permission
Scope StringId - 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
Get
Camera Permissions Item - Organization
Id string - organizationId path parameter. Organization ID
- Permission
Scope stringId - permissionScopeId path parameter. Permission scope ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Camera Permissions Item - Organization
Id string - organizationId path parameter. Organization ID
- Permission
Scope stringId - permissionScopeId path parameter. Permission scope ID
- id String
- The provider-assigned unique ID for this managed resource.
- item
Get
Camera Permissions Item - organization
Id String - organizationId path parameter. Organization ID
- permission
Scope StringId - permissionScopeId path parameter. Permission scope ID
- id string
- The provider-assigned unique ID for this managed resource.
- item
Get
Camera Permissions Item - organization
Id string - organizationId path parameter. Organization ID
- permission
Scope stringId - permissionScopeId path parameter. Permission scope ID
- id str
- The provider-assigned unique ID for this managed resource.
- item
Get
Camera Permissions Item - organization_
id str - organizationId path parameter. Organization ID
- permission_
scope_ strid - permissionScopeId path parameter. Permission scope ID
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
- organization
Id String - organizationId path parameter. Organization ID
- permission
Scope StringId - permissionScopeId path parameter. Permission scope ID
Supporting Types
GetCameraPermissionsItem
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.