@pulumi/juniper-mist
Version:
A Pulumi package for creating and managing Juniper Mist resources.
150 lines • 5.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* This resource manages the 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.
*
* The `junipermist.org.Nactag` resource can be used to create Tags regrouping one or multiple endpoint MAC Addresses, but the use of the User MACs provides additional features:
* * possibility to assign specific attributes, like a Name, a Radius Group, a VLAN ID, ...
* * possibility to assign one or multiple Tags (Labels) to a User MAC
* * improved management for large list of MAC Addresses
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as junipermist from "@pulumi/juniper-mist";
*
* const endpointOne = new junipermist.org.NacEndpoint("endpoint_one", {
* mac: "921b638445cd",
* labels: [
* "byod",
* "flr1",
* ],
* vlan: "30",
* notes: "mac address refers to Canon printers",
* name: "endpoint_one",
* radiusGroup: "VIP",
* });
* ```
*
* ## Import
*
* Using `pulumi import`, import `junipermist.org.NacEndpoint` with:
* NAC Endpoint can be imported by specifying the orgId and the nacEndpointId
*
* ```sh
* $ pulumi import junipermist:org/nacEndpoint:NacEndpoint endpoint_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
* ```
*/
export declare class NacEndpoint extends pulumi.CustomResource {
/**
* Get an existing NacEndpoint resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NacEndpointState, opts?: pulumi.CustomResourceOptions): NacEndpoint;
/**
* Returns true if the given object is an instance of NacEndpoint. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is NacEndpoint;
/**
* Applied labels for this user MAC entry
*/
readonly labels: pulumi.Output<string[]>;
/**
* Client MAC address for this entry. Only non-local-admin MAC addresses are accepted
*/
readonly mac: pulumi.Output<string>;
/**
* Display name for this user MAC entry
*/
readonly name: pulumi.Output<string>;
/**
* Free-form notes about this user MAC entry
*/
readonly notes: pulumi.Output<string>;
readonly orgId: pulumi.Output<string>;
/**
* RADIUS group associated with this user MAC entry
*/
readonly radiusGroup: pulumi.Output<string>;
/**
* Network VLAN value associated with this user MAC entry
*/
readonly vlan: pulumi.Output<string>;
/**
* Create a NacEndpoint resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: NacEndpointArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering NacEndpoint resources.
*/
export interface NacEndpointState {
/**
* Applied labels for this user MAC entry
*/
labels?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Client MAC address for this entry. Only non-local-admin MAC addresses are accepted
*/
mac?: pulumi.Input<string | undefined>;
/**
* Display name for this user MAC entry
*/
name?: pulumi.Input<string | undefined>;
/**
* Free-form notes about this user MAC entry
*/
notes?: pulumi.Input<string | undefined>;
orgId?: pulumi.Input<string | undefined>;
/**
* RADIUS group associated with this user MAC entry
*/
radiusGroup?: pulumi.Input<string | undefined>;
/**
* Network VLAN value associated with this user MAC entry
*/
vlan?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a NacEndpoint resource.
*/
export interface NacEndpointArgs {
/**
* Applied labels for this user MAC entry
*/
labels?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Client MAC address for this entry. Only non-local-admin MAC addresses are accepted
*/
mac: pulumi.Input<string>;
/**
* Display name for this user MAC entry
*/
name?: pulumi.Input<string | undefined>;
/**
* Free-form notes about this user MAC entry
*/
notes?: pulumi.Input<string | undefined>;
orgId: pulumi.Input<string>;
/**
* RADIUS group associated with this user MAC entry
*/
radiusGroup?: pulumi.Input<string | undefined>;
/**
* Network VLAN value associated with this user MAC entry
*/
vlan?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=nacEndpoint.d.ts.map