@pulumi/juniper-mist
Version:
A Pulumi package for creating and managing Juniper Mist resources.
88 lines (87 loc) • 2.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* This data source provides the list of NAC Endpoints (User MACs).
*
* NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. Once an endpoint is labeled, the label name can be used to create `junipermist.org.Nactag` resource as match criteria.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as junipermist from "@pulumi/juniper-mist";
*
* const nacEndpoints = junipermist.org.getNacEndpoints({
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
* mac: "4a422a000000",
* labels: ["label_one"],
* });
* ```
*/
export declare function getNacEndpoints(args: GetNacEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<GetNacEndpointsResult>;
/**
* A collection of arguments for invoking getNacEndpoints.
*/
export interface GetNacEndpointsArgs {
/**
* Optional, array of strings of labels
*/
labels?: string[];
/**
* Partial/full MAC address
*/
mac?: string;
orgId: string;
}
/**
* A collection of values returned by getNacEndpoints.
*/
export interface GetNacEndpointsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Optional, array of strings of labels
*/
readonly labels?: string[];
/**
* Partial/full MAC address
*/
readonly mac?: string;
readonly orgId: string;
readonly orgUsermacs: outputs.org.GetNacEndpointsOrgUsermac[];
}
/**
* This data source provides the list of NAC Endpoints (User MACs).
*
* NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. Once an endpoint is labeled, the label name can be used to create `junipermist.org.Nactag` resource as match criteria.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as junipermist from "@pulumi/juniper-mist";
*
* const nacEndpoints = junipermist.org.getNacEndpoints({
* orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
* mac: "4a422a000000",
* labels: ["label_one"],
* });
* ```
*/
export declare function getNacEndpointsOutput(args: GetNacEndpointsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNacEndpointsResult>;
/**
* A collection of arguments for invoking getNacEndpoints.
*/
export interface GetNacEndpointsOutputArgs {
/**
* Optional, array of strings of labels
*/
labels?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Partial/full MAC address
*/
mac?: pulumi.Input<string>;
orgId: pulumi.Input<string>;
}