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

meraki.networks.getSmDevicesCerts

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.networks.getSmDevicesCerts({
    deviceId: "string",
    networkId: "string",
});
export const merakiNetworksSmDevicesCertsExample = example.then(example => example.items);
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.networks.get_sm_devices_certs(device_id="string",
    network_id="string")
pulumi.export("merakiNetworksSmDevicesCertsExample", example.items)
Copy
package main

import (
	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := networks.GetSmDevicesCerts(ctx, &networks.GetSmDevicesCertsArgs{
			DeviceId:  "string",
			NetworkId: "string",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("merakiNetworksSmDevicesCertsExample", example.Items)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;

return await Deployment.RunAsync(() => 
{
    var example = Meraki.Networks.GetSmDevicesCerts.Invoke(new()
    {
        DeviceId = "string",
        NetworkId = "string",
    });

    return new Dictionary<string, object?>
    {
        ["merakiNetworksSmDevicesCertsExample"] = example.Apply(getSmDevicesCertsResult => getSmDevicesCertsResult.Items),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.NetworksFunctions;
import com.pulumi.meraki.networks.inputs.GetSmDevicesCertsArgs;
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 = NetworksFunctions.getSmDevicesCerts(GetSmDevicesCertsArgs.builder()
            .deviceId("string")
            .networkId("string")
            .build());

        ctx.export("merakiNetworksSmDevicesCertsExample", example.applyValue(getSmDevicesCertsResult -> getSmDevicesCertsResult.items()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: meraki:networks:getSmDevicesCerts
      arguments:
        deviceId: string
        networkId: string
outputs:
  merakiNetworksSmDevicesCertsExample: ${example.items}
Copy

Using getSmDevicesCerts

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 getSmDevicesCerts(args: GetSmDevicesCertsArgs, opts?: InvokeOptions): Promise<GetSmDevicesCertsResult>
function getSmDevicesCertsOutput(args: GetSmDevicesCertsOutputArgs, opts?: InvokeOptions): Output<GetSmDevicesCertsResult>
Copy
def get_sm_devices_certs(device_id: Optional[str] = None,
                         network_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetSmDevicesCertsResult
def get_sm_devices_certs_output(device_id: Optional[pulumi.Input[str]] = None,
                         network_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetSmDevicesCertsResult]
Copy
func GetSmDevicesCerts(ctx *Context, args *GetSmDevicesCertsArgs, opts ...InvokeOption) (*GetSmDevicesCertsResult, error)
func GetSmDevicesCertsOutput(ctx *Context, args *GetSmDevicesCertsOutputArgs, opts ...InvokeOption) GetSmDevicesCertsResultOutput
Copy

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

public static class GetSmDevicesCerts 
{
    public static Task<GetSmDevicesCertsResult> InvokeAsync(GetSmDevicesCertsArgs args, InvokeOptions? opts = null)
    public static Output<GetSmDevicesCertsResult> Invoke(GetSmDevicesCertsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSmDevicesCertsResult> getSmDevicesCerts(GetSmDevicesCertsArgs args, InvokeOptions options)
public static Output<GetSmDevicesCertsResult> getSmDevicesCerts(GetSmDevicesCertsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: meraki:networks/getSmDevicesCerts:getSmDevicesCerts
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DeviceId This property is required. string
deviceId path parameter. Device ID
NetworkId This property is required. string
networkId path parameter. Network ID
DeviceId This property is required. string
deviceId path parameter. Device ID
NetworkId This property is required. string
networkId path parameter. Network ID
deviceId This property is required. String
deviceId path parameter. Device ID
networkId This property is required. String
networkId path parameter. Network ID
deviceId This property is required. string
deviceId path parameter. Device ID
networkId This property is required. string
networkId path parameter. Network ID
device_id This property is required. str
deviceId path parameter. Device ID
network_id This property is required. str
networkId path parameter. Network ID
deviceId This property is required. String
deviceId path parameter. Device ID
networkId This property is required. String
networkId path parameter. Network ID

getSmDevicesCerts Result

The following output properties are available:

DeviceId string
deviceId path parameter. Device ID
Id string
The provider-assigned unique ID for this managed resource.
Items List<GetSmDevicesCertsItem>
Array of ResponseSmGetNetworkSmDeviceCerts
NetworkId string
networkId path parameter. Network ID
DeviceId string
deviceId path parameter. Device ID
Id string
The provider-assigned unique ID for this managed resource.
Items []GetSmDevicesCertsItem
Array of ResponseSmGetNetworkSmDeviceCerts
NetworkId string
networkId path parameter. Network ID
deviceId String
deviceId path parameter. Device ID
id String
The provider-assigned unique ID for this managed resource.
items List<GetSmDevicesCertsItem>
Array of ResponseSmGetNetworkSmDeviceCerts
networkId String
networkId path parameter. Network ID
deviceId string
deviceId path parameter. Device ID
id string
The provider-assigned unique ID for this managed resource.
items GetSmDevicesCertsItem[]
Array of ResponseSmGetNetworkSmDeviceCerts
networkId string
networkId path parameter. Network ID
device_id str
deviceId path parameter. Device ID
id str
The provider-assigned unique ID for this managed resource.
items Sequence[GetSmDevicesCertsItem]
Array of ResponseSmGetNetworkSmDeviceCerts
network_id str
networkId path parameter. Network ID
deviceId String
deviceId path parameter. Device ID
id String
The provider-assigned unique ID for this managed resource.
items List<Property Map>
Array of ResponseSmGetNetworkSmDeviceCerts
networkId String
networkId path parameter. Network ID

Supporting Types

GetSmDevicesCertsItem

CertPem This property is required. string
The PEM of the certificate.
DeviceId This property is required. string
The Meraki managed device Id.
Id This property is required. string
The Meraki Id of the certificate record.
Issuer This property is required. string
The certificate issuer.
Name This property is required. string
The name of the certificate.
NotValidAfter This property is required. string
The date after which the certificate is no longer valid.
NotValidBefore This property is required. string
The date before which the certificate is not valid.
Subject This property is required. string
The subject of the certificate.
CertPem This property is required. string
The PEM of the certificate.
DeviceId This property is required. string
The Meraki managed device Id.
Id This property is required. string
The Meraki Id of the certificate record.
Issuer This property is required. string
The certificate issuer.
Name This property is required. string
The name of the certificate.
NotValidAfter This property is required. string
The date after which the certificate is no longer valid.
NotValidBefore This property is required. string
The date before which the certificate is not valid.
Subject This property is required. string
The subject of the certificate.
certPem This property is required. String
The PEM of the certificate.
deviceId This property is required. String
The Meraki managed device Id.
id This property is required. String
The Meraki Id of the certificate record.
issuer This property is required. String
The certificate issuer.
name This property is required. String
The name of the certificate.
notValidAfter This property is required. String
The date after which the certificate is no longer valid.
notValidBefore This property is required. String
The date before which the certificate is not valid.
subject This property is required. String
The subject of the certificate.
certPem This property is required. string
The PEM of the certificate.
deviceId This property is required. string
The Meraki managed device Id.
id This property is required. string
The Meraki Id of the certificate record.
issuer This property is required. string
The certificate issuer.
name This property is required. string
The name of the certificate.
notValidAfter This property is required. string
The date after which the certificate is no longer valid.
notValidBefore This property is required. string
The date before which the certificate is not valid.
subject This property is required. string
The subject of the certificate.
cert_pem This property is required. str
The PEM of the certificate.
device_id This property is required. str
The Meraki managed device Id.
id This property is required. str
The Meraki Id of the certificate record.
issuer This property is required. str
The certificate issuer.
name This property is required. str
The name of the certificate.
not_valid_after This property is required. str
The date after which the certificate is no longer valid.
not_valid_before This property is required. str
The date before which the certificate is not valid.
subject This property is required. str
The subject of the certificate.
certPem This property is required. String
The PEM of the certificate.
deviceId This property is required. String
The Meraki managed device Id.
id This property is required. String
The Meraki Id of the certificate record.
issuer This property is required. String
The certificate issuer.
name This property is required. String
The name of the certificate.
notValidAfter This property is required. String
The date after which the certificate is no longer valid.
notValidBefore This property is required. String
The date before which the certificate is not valid.
subject This property is required. String
The subject of the certificate.

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