1. Packages
  2. Cisco Meraki Provider
  3. API Docs
  4. organizations
  5. getSnmp
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

meraki.organizations.getSnmp

Explore with Pulumi AI

Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";

const example = meraki.organizations.getSnmp({
    organizationId: "string",
});
export const merakiOrganizationsSnmpExample = example.then(example => example.item);
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.organizations.get_snmp(organization_id="string")
pulumi.export("merakiOrganizationsSnmpExample", example.item)
Copy
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.LookupSnmp(ctx, &organizations.LookupSnmpArgs{
			OrganizationId: "string",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("merakiOrganizationsSnmpExample", example.Item)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;

return await Deployment.RunAsync(() => 
{
    var example = Meraki.Organizations.GetSnmp.Invoke(new()
    {
        OrganizationId = "string",
    });

    return new Dictionary<string, object?>
    {
        ["merakiOrganizationsSnmpExample"] = example.Apply(getSnmpResult => getSnmpResult.Item),
    };
});
Copy
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.GetSnmpArgs;
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.getSnmp(GetSnmpArgs.builder()
            .organizationId("string")
            .build());

        ctx.export("merakiOrganizationsSnmpExample", example.applyValue(getSnmpResult -> getSnmpResult.item()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: meraki:organizations:getSnmp
      arguments:
        organizationId: string
outputs:
  merakiOrganizationsSnmpExample: ${example.item}
Copy

Using getSnmp

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 getSnmp(args: GetSnmpArgs, opts?: InvokeOptions): Promise<GetSnmpResult>
function getSnmpOutput(args: GetSnmpOutputArgs, opts?: InvokeOptions): Output<GetSnmpResult>
Copy
def get_snmp(organization_id: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetSnmpResult
def get_snmp_output(organization_id: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetSnmpResult]
Copy
func LookupSnmp(ctx *Context, args *LookupSnmpArgs, opts ...InvokeOption) (*LookupSnmpResult, error)
func LookupSnmpOutput(ctx *Context, args *LookupSnmpOutputArgs, opts ...InvokeOption) LookupSnmpResultOutput
Copy

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

public static class GetSnmp 
{
    public static Task<GetSnmpResult> InvokeAsync(GetSnmpArgs args, InvokeOptions? opts = null)
    public static Output<GetSnmpResult> Invoke(GetSnmpInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSnmpResult> getSnmp(GetSnmpArgs args, InvokeOptions options)
public static Output<GetSnmpResult> getSnmp(GetSnmpArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: meraki:organizations/getSnmp:getSnmp
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

OrganizationId This property is required. string
organizationId path parameter. Organization ID
OrganizationId This property is required. string
organizationId path parameter. Organization ID
organizationId This property is required. String
organizationId path parameter. Organization ID
organizationId This property is required. string
organizationId path parameter. Organization ID
organization_id This property is required. str
organizationId path parameter. Organization ID
organizationId This property is required. String
organizationId path parameter. Organization ID

getSnmp Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Item GetSnmpItem
OrganizationId string
organizationId path parameter. Organization ID
Id string
The provider-assigned unique ID for this managed resource.
Item GetSnmpItem
OrganizationId string
organizationId path parameter. Organization ID
id String
The provider-assigned unique ID for this managed resource.
item GetSnmpItem
organizationId String
organizationId path parameter. Organization ID
id string
The provider-assigned unique ID for this managed resource.
item GetSnmpItem
organizationId string
organizationId path parameter. Organization ID
id str
The provider-assigned unique ID for this managed resource.
item GetSnmpItem
organization_id str
organizationId path parameter. Organization ID
id String
The provider-assigned unique ID for this managed resource.
item Property Map
organizationId String
organizationId path parameter. Organization ID

Supporting Types

GetSnmpItem

Hostname This property is required. string
The hostname of the SNMP server.
PeerIps This property is required. List<string>
The list of IPv4 addresses that are allowed to access the SNMP server.
Port This property is required. int
The port of the SNMP server.
V2CommunityString This property is required. string
The community string for SNMP version 2c, if enabled.
V2cEnabled This property is required. bool
Boolean indicating whether SNMP version 2c is enabled for the organization.
V3AuthMode This property is required. string
The SNMP version 3 authentication mode. Can be either 'MD5' or 'SHA'.
V3Enabled This property is required. bool
Boolean indicating whether SNMP version 3 is enabled for the organization.
V3PrivMode This property is required. string
The SNMP version 3 privacy mode. Can be either 'DES' or 'AES128'.
V3User This property is required. string
The user for SNMP version 3, if enabled.
Hostname This property is required. string
The hostname of the SNMP server.
PeerIps This property is required. []string
The list of IPv4 addresses that are allowed to access the SNMP server.
Port This property is required. int
The port of the SNMP server.
V2CommunityString This property is required. string
The community string for SNMP version 2c, if enabled.
V2cEnabled This property is required. bool
Boolean indicating whether SNMP version 2c is enabled for the organization.
V3AuthMode This property is required. string
The SNMP version 3 authentication mode. Can be either 'MD5' or 'SHA'.
V3Enabled This property is required. bool
Boolean indicating whether SNMP version 3 is enabled for the organization.
V3PrivMode This property is required. string
The SNMP version 3 privacy mode. Can be either 'DES' or 'AES128'.
V3User This property is required. string
The user for SNMP version 3, if enabled.
hostname This property is required. String
The hostname of the SNMP server.
peerIps This property is required. List<String>
The list of IPv4 addresses that are allowed to access the SNMP server.
port This property is required. Integer
The port of the SNMP server.
v2CommunityString This property is required. String
The community string for SNMP version 2c, if enabled.
v2cEnabled This property is required. Boolean
Boolean indicating whether SNMP version 2c is enabled for the organization.
v3AuthMode This property is required. String
The SNMP version 3 authentication mode. Can be either 'MD5' or 'SHA'.
v3Enabled This property is required. Boolean
Boolean indicating whether SNMP version 3 is enabled for the organization.
v3PrivMode This property is required. String
The SNMP version 3 privacy mode. Can be either 'DES' or 'AES128'.
v3User This property is required. String
The user for SNMP version 3, if enabled.
hostname This property is required. string
The hostname of the SNMP server.
peerIps This property is required. string[]
The list of IPv4 addresses that are allowed to access the SNMP server.
port This property is required. number
The port of the SNMP server.
v2CommunityString This property is required. string
The community string for SNMP version 2c, if enabled.
v2cEnabled This property is required. boolean
Boolean indicating whether SNMP version 2c is enabled for the organization.
v3AuthMode This property is required. string
The SNMP version 3 authentication mode. Can be either 'MD5' or 'SHA'.
v3Enabled This property is required. boolean
Boolean indicating whether SNMP version 3 is enabled for the organization.
v3PrivMode This property is required. string
The SNMP version 3 privacy mode. Can be either 'DES' or 'AES128'.
v3User This property is required. string
The user for SNMP version 3, if enabled.
hostname This property is required. str
The hostname of the SNMP server.
peer_ips This property is required. Sequence[str]
The list of IPv4 addresses that are allowed to access the SNMP server.
port This property is required. int
The port of the SNMP server.
v2_community_string This property is required. str
The community string for SNMP version 2c, if enabled.
v2c_enabled This property is required. bool
Boolean indicating whether SNMP version 2c is enabled for the organization.
v3_auth_mode This property is required. str
The SNMP version 3 authentication mode. Can be either 'MD5' or 'SHA'.
v3_enabled This property is required. bool
Boolean indicating whether SNMP version 3 is enabled for the organization.
v3_priv_mode This property is required. str
The SNMP version 3 privacy mode. Can be either 'DES' or 'AES128'.
v3_user This property is required. str
The user for SNMP version 3, if enabled.
hostname This property is required. String
The hostname of the SNMP server.
peerIps This property is required. List<String>
The list of IPv4 addresses that are allowed to access the SNMP server.
port This property is required. Number
The port of the SNMP server.
v2CommunityString This property is required. String
The community string for SNMP version 2c, if enabled.
v2cEnabled This property is required. Boolean
Boolean indicating whether SNMP version 2c is enabled for the organization.
v3AuthMode This property is required. String
The SNMP version 3 authentication mode. Can be either 'MD5' or 'SHA'.
v3Enabled This property is required. Boolean
Boolean indicating whether SNMP version 3 is enabled for the organization.
v3PrivMode This property is required. String
The SNMP version 3 privacy mode. Can be either 'DES' or 'AES128'.
v3User This property is required. String
The user for SNMP version 3, if enabled.

Package Details

Repository
meraki pulumi/pulumi-meraki
License
Apache-2.0
Notes
This Pulumi package is based on the meraki Terraform Provider.
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi