@pulumi/ise
Version:
A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance.. Based on terraform-provider-ise: version v0.2.1
75 lines • 3.44 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActiveDirectoryJoinDomainWithAllNodes = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* This resource can manage an Active Directory Join Domain with All Nodes.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as ise from "@pulumi/ise";
*
* const example = new ise.identitymanagement.ActiveDirectoryJoinDomainWithAllNodes("example", {
* joinPointId: "73808580-b6e6-11ee-8960-de6d7692bc40",
* additionalDatas: [{
* name: "username",
* value: "administrator",
* }],
* });
* ```
*/
class ActiveDirectoryJoinDomainWithAllNodes extends pulumi.CustomResource {
/**
* Get an existing ActiveDirectoryJoinDomainWithAllNodes 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, id, state, opts) {
return new ActiveDirectoryJoinDomainWithAllNodes(name, state, Object.assign(Object.assign({}, opts), { id: id }));
}
/**
* Returns true if the given object is an instance of ActiveDirectoryJoinDomainWithAllNodes. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === ActiveDirectoryJoinDomainWithAllNodes.__pulumiType;
}
constructor(name, argsOrState, opts) {
let resourceInputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState;
resourceInputs["additionalDatas"] = state ? state.additionalDatas : undefined;
resourceInputs["joinPointId"] = state ? state.joinPointId : undefined;
}
else {
const args = argsOrState;
if ((!args || args.additionalDatas === undefined) && !opts.urn) {
throw new Error("Missing required property 'additionalDatas'");
}
if ((!args || args.joinPointId === undefined) && !opts.urn) {
throw new Error("Missing required property 'joinPointId'");
}
resourceInputs["additionalDatas"] = args ? args.additionalDatas : undefined;
resourceInputs["joinPointId"] = args ? args.joinPointId : undefined;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(ActiveDirectoryJoinDomainWithAllNodes.__pulumiType, name, resourceInputs, opts);
}
}
exports.ActiveDirectoryJoinDomainWithAllNodes = ActiveDirectoryJoinDomainWithAllNodes;
/** @internal */
ActiveDirectoryJoinDomainWithAllNodes.__pulumiType = 'ise:identitymanagement/activeDirectoryJoinDomainWithAllNodes:ActiveDirectoryJoinDomainWithAllNodes';
//# sourceMappingURL=activeDirectoryJoinDomainWithAllNodes.js.map