@pulumi/ise 0.1.0-alpha.1715070880
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +49 -0
- package/activedirectoryadd/groups.d.ts +149 -0
- package/activedirectoryadd/groups.js +91 -0
- package/activedirectoryadd/groups.js.map +1 -0
- package/activedirectoryadd/index.d.ts +3 -0
- package/activedirectoryadd/index.js +22 -0
- package/activedirectoryadd/index.js.map +1 -0
- package/activedirectorygroupsby/getDomain.d.ts +123 -0
- package/activedirectorygroupsby/getDomain.js +59 -0
- package/activedirectorygroupsby/getDomain.js.map +1 -0
- package/activedirectorygroupsby/index.d.ts +3 -0
- package/activedirectorygroupsby/index.js +10 -0
- package/activedirectorygroupsby/index.js.map +1 -0
- package/activedirectoryjoin/getPoint.d.ts +188 -0
- package/activedirectoryjoin/getPoint.js +47 -0
- package/activedirectoryjoin/getPoint.js.map +1 -0
- package/activedirectoryjoin/index.d.ts +6 -0
- package/activedirectoryjoin/index.js +25 -0
- package/activedirectoryjoin/index.js.map +1 -0
- package/activedirectoryjoin/point.d.ts +446 -0
- package/activedirectoryjoin/point.js +125 -0
- package/activedirectoryjoin/point.js.map +1 -0
- package/activedirectoryjoindomainwithall/index.d.ts +3 -0
- package/activedirectoryjoindomainwithall/index.js +22 -0
- package/activedirectoryjoindomainwithall/index.js.map +1 -0
- package/activedirectoryjoindomainwithall/nodes.d.ts +71 -0
- package/activedirectoryjoindomainwithall/nodes.js +75 -0
- package/activedirectoryjoindomainwithall/nodes.js.map +1 -0
- package/allowed/getProtocols.d.ts +374 -0
- package/allowed/getProtocols.js +49 -0
- package/allowed/getProtocols.js.map +1 -0
- package/allowed/index.d.ts +6 -0
- package/allowed/index.js +25 -0
- package/allowed/index.js.map +1 -0
- package/allowed/protocols.d.ts +1075 -0
- package/allowed/protocols.js +343 -0
- package/allowed/protocols.js.map +1 -0
- package/allowedprotocols/getTacacs.d.ts +86 -0
- package/allowedprotocols/getTacacs.js +49 -0
- package/allowedprotocols/getTacacs.js.map +1 -0
- package/allowedprotocols/index.d.ts +6 -0
- package/allowedprotocols/index.js +25 -0
- package/allowedprotocols/index.js.map +1 -0
- package/allowedprotocols/tacacs.d.ts +120 -0
- package/allowedprotocols/tacacs.js +90 -0
- package/allowedprotocols/tacacs.js.map +1 -0
- package/authorization/getProfile.d.ts +199 -0
- package/authorization/getProfile.js +49 -0
- package/authorization/getProfile.js.map +1 -0
- package/authorization/index.d.ts +6 -0
- package/authorization/index.js +25 -0
- package/authorization/index.js.map +1 -0
- package/authorization/profile.d.ts +449 -0
- package/authorization/profile.js +122 -0
- package/authorization/profile.js.map +1 -0
- package/certificateauthentication/getProfile.d.ts +94 -0
- package/certificateauthentication/getProfile.js +49 -0
- package/certificateauthentication/getProfile.js.map +1 -0
- package/certificateauthentication/index.d.ts +6 -0
- package/certificateauthentication/index.js +25 -0
- package/certificateauthentication/index.js.map +1 -0
- package/certificateauthentication/profile.d.ts +167 -0
- package/certificateauthentication/profile.js +87 -0
- package/certificateauthentication/profile.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +20 -0
- package/config/vars.js +37 -0
- package/config/vars.js.map +1 -0
- package/deviceadmin/condition.d.ts +197 -0
- package/deviceadmin/condition.js +97 -0
- package/deviceadmin/condition.js.map +1 -0
- package/deviceadmin/getCondition.d.ts +107 -0
- package/deviceadmin/getCondition.js +49 -0
- package/deviceadmin/getCondition.js.map +1 -0
- package/deviceadmin/index.d.ts +6 -0
- package/deviceadmin/index.js +25 -0
- package/deviceadmin/index.js.map +1 -0
- package/deviceadminauthentication/getRule.d.ts +149 -0
- package/deviceadminauthentication/getRule.js +51 -0
- package/deviceadminauthentication/getRule.js.map +1 -0
- package/deviceadminauthentication/index.d.ts +6 -0
- package/deviceadminauthentication/index.js +25 -0
- package/deviceadminauthentication/index.js.map +1 -0
- package/deviceadminauthentication/rule.d.ts +303 -0
- package/deviceadminauthentication/rule.js +129 -0
- package/deviceadminauthentication/rule.js.map +1 -0
- package/deviceadminauthorization/getRule.d.ts +141 -0
- package/deviceadminauthorization/getRule.js +51 -0
- package/deviceadminauthorization/getRule.js.map +1 -0
- package/deviceadminauthorization/index.d.ts +6 -0
- package/deviceadminauthorization/index.js +25 -0
- package/deviceadminauthorization/index.js.map +1 -0
- package/deviceadminauthorization/rule.d.ts +274 -0
- package/deviceadminauthorization/rule.js +114 -0
- package/deviceadminauthorization/rule.js.map +1 -0
- package/deviceadminauthorizationexception/getRule.d.ts +141 -0
- package/deviceadminauthorizationexception/getRule.js +51 -0
- package/deviceadminauthorizationexception/getRule.js.map +1 -0
- package/deviceadminauthorizationexception/index.d.ts +6 -0
- package/deviceadminauthorizationexception/index.js +25 -0
- package/deviceadminauthorizationexception/index.js.map +1 -0
- package/deviceadminauthorizationexception/rule.d.ts +274 -0
- package/deviceadminauthorizationexception/rule.js +114 -0
- package/deviceadminauthorizationexception/rule.js.map +1 -0
- package/deviceadminauthorizationglobalexception/getRule.d.ts +127 -0
- package/deviceadminauthorizationglobalexception/getRule.js +49 -0
- package/deviceadminauthorizationglobalexception/getRule.js.map +1 -0
- package/deviceadminauthorizationglobalexception/index.d.ts +6 -0
- package/deviceadminauthorizationglobalexception/index.js +25 -0
- package/deviceadminauthorizationglobalexception/index.js.map +1 -0
- package/deviceadminauthorizationglobalexception/rule.d.ts +261 -0
- package/deviceadminauthorizationglobalexception/rule.js +108 -0
- package/deviceadminauthorizationglobalexception/rule.js.map +1 -0
- package/deviceadminpolicy/getSet.d.ts +131 -0
- package/deviceadminpolicy/getSet.js +49 -0
- package/deviceadminpolicy/getSet.js.map +1 -0
- package/deviceadminpolicy/index.d.ts +6 -0
- package/deviceadminpolicy/index.js +25 -0
- package/deviceadminpolicy/index.js.map +1 -0
- package/deviceadminpolicy/set.d.ts +276 -0
- package/deviceadminpolicy/set.js +113 -0
- package/deviceadminpolicy/set.js.map +1 -0
- package/deviceadmintimeanddate/condition.d.ts +224 -0
- package/deviceadmintimeanddate/condition.js +105 -0
- package/deviceadmintimeanddate/condition.js.map +1 -0
- package/deviceadmintimeanddate/getCondition.d.ts +118 -0
- package/deviceadmintimeanddate/getCondition.js +49 -0
- package/deviceadmintimeanddate/getCondition.js.map +1 -0
- package/deviceadmintimeanddate/index.d.ts +6 -0
- package/deviceadmintimeanddate/index.js +25 -0
- package/deviceadmintimeanddate/index.js.map +1 -0
- package/downloadable/acl.d.ts +107 -0
- package/downloadable/acl.js +81 -0
- package/downloadable/acl.js.map +1 -0
- package/downloadable/getAcl.d.ts +82 -0
- package/downloadable/getAcl.js +49 -0
- package/downloadable/getAcl.js.map +1 -0
- package/downloadable/index.d.ts +6 -0
- package/downloadable/index.js +25 -0
- package/downloadable/index.js.map +1 -0
- package/endpoint.d.ts +382 -0
- package/endpoint.js +136 -0
- package/endpoint.js.map +1 -0
- package/endpointidentity/getGroup.d.ts +82 -0
- package/endpointidentity/getGroup.js +49 -0
- package/endpointidentity/getGroup.js.map +1 -0
- package/endpointidentity/group.d.ts +106 -0
- package/endpointidentity/group.js +77 -0
- package/endpointidentity/group.js.map +1 -0
- package/endpointidentity/index.d.ts +6 -0
- package/endpointidentity/index.js +25 -0
- package/endpointidentity/index.js.map +1 -0
- package/getEndpoint.d.ts +172 -0
- package/getEndpoint.js +49 -0
- package/getEndpoint.js.map +1 -0
- package/getRepository.d.ts +94 -0
- package/getRepository.js +49 -0
- package/getRepository.js.map +1 -0
- package/identitysource/getSequence.d.ts +84 -0
- package/identitysource/getSequence.js +49 -0
- package/identitysource/getSequence.js.map +1 -0
- package/identitysource/index.d.ts +6 -0
- package/identitysource/index.js +25 -0
- package/identitysource/index.js.map +1 -0
- package/identitysource/sequence.d.ts +116 -0
- package/identitysource/sequence.js +93 -0
- package/identitysource/sequence.js.map +1 -0
- package/index.d.ts +55 -0
- package/index.js +123 -0
- package/index.js.map +1 -0
- package/internal/getUser.d.ts +122 -0
- package/internal/getUser.js +49 -0
- package/internal/getUser.js.map +1 -0
- package/internal/index.d.ts +6 -0
- package/internal/index.js +25 -0
- package/internal/index.js.map +1 -0
- package/internal/user.d.ts +241 -0
- package/internal/user.js +109 -0
- package/internal/user.js.map +1 -0
- package/licensetier/getState.d.ts +63 -0
- package/licensetier/getState.js +47 -0
- package/licensetier/getState.js.map +1 -0
- package/licensetier/index.d.ts +6 -0
- package/licensetier/index.js +25 -0
- package/licensetier/index.js.map +1 -0
- package/licensetier/state.d.ts +71 -0
- package/licensetier/state.js +73 -0
- package/licensetier/state.js.map +1 -0
- package/network/device.d.ts +603 -0
- package/network/device.js +195 -0
- package/network/device.js.map +1 -0
- package/network/getDevice.d.ts +235 -0
- package/network/getDevice.js +49 -0
- package/network/getDevice.js.map +1 -0
- package/network/index.d.ts +6 -0
- package/network/index.js +25 -0
- package/network/index.js.map +1 -0
- package/networkaccess/condition.d.ts +197 -0
- package/networkaccess/condition.js +97 -0
- package/networkaccess/condition.js.map +1 -0
- package/networkaccess/dictionary.d.ts +107 -0
- package/networkaccess/dictionary.js +84 -0
- package/networkaccess/dictionary.js.map +1 -0
- package/networkaccess/getCondition.d.ts +107 -0
- package/networkaccess/getCondition.js +49 -0
- package/networkaccess/getCondition.js.map +1 -0
- package/networkaccess/getDictionary.d.ts +82 -0
- package/networkaccess/getDictionary.js +49 -0
- package/networkaccess/getDictionary.js.map +1 -0
- package/networkaccess/index.d.ts +12 -0
- package/networkaccess/index.js +33 -0
- package/networkaccess/index.js.map +1 -0
- package/networkaccessauthentication/getRule.d.ts +149 -0
- package/networkaccessauthentication/getRule.js +51 -0
- package/networkaccessauthentication/getRule.js.map +1 -0
- package/networkaccessauthentication/index.d.ts +6 -0
- package/networkaccessauthentication/index.js +25 -0
- package/networkaccessauthentication/index.js.map +1 -0
- package/networkaccessauthentication/rule.d.ts +303 -0
- package/networkaccessauthentication/rule.js +129 -0
- package/networkaccessauthentication/rule.js.map +1 -0
- package/networkaccessauthorization/getRule.d.ts +141 -0
- package/networkaccessauthorization/getRule.js +51 -0
- package/networkaccessauthorization/getRule.js.map +1 -0
- package/networkaccessauthorization/index.d.ts +6 -0
- package/networkaccessauthorization/index.js +25 -0
- package/networkaccessauthorization/index.js.map +1 -0
- package/networkaccessauthorization/rule.d.ts +274 -0
- package/networkaccessauthorization/rule.js +114 -0
- package/networkaccessauthorization/rule.js.map +1 -0
- package/networkaccessauthorizationexception/getRule.d.ts +141 -0
- package/networkaccessauthorizationexception/getRule.js +51 -0
- package/networkaccessauthorizationexception/getRule.js.map +1 -0
- package/networkaccessauthorizationexception/index.d.ts +6 -0
- package/networkaccessauthorizationexception/index.js +25 -0
- package/networkaccessauthorizationexception/index.js.map +1 -0
- package/networkaccessauthorizationexception/rule.d.ts +274 -0
- package/networkaccessauthorizationexception/rule.js +114 -0
- package/networkaccessauthorizationexception/rule.js.map +1 -0
- package/networkaccessauthorizationglobalexception/getRule.d.ts +127 -0
- package/networkaccessauthorizationglobalexception/getRule.js +49 -0
- package/networkaccessauthorizationglobalexception/getRule.js.map +1 -0
- package/networkaccessauthorizationglobalexception/index.d.ts +6 -0
- package/networkaccessauthorizationglobalexception/index.js +25 -0
- package/networkaccessauthorizationglobalexception/index.js.map +1 -0
- package/networkaccessauthorizationglobalexception/rule.d.ts +261 -0
- package/networkaccessauthorizationglobalexception/rule.js +108 -0
- package/networkaccessauthorizationglobalexception/rule.js.map +1 -0
- package/networkaccesspolicy/getSet.d.ts +131 -0
- package/networkaccesspolicy/getSet.js +49 -0
- package/networkaccesspolicy/getSet.js.map +1 -0
- package/networkaccesspolicy/index.d.ts +6 -0
- package/networkaccesspolicy/index.js +25 -0
- package/networkaccesspolicy/index.js.map +1 -0
- package/networkaccesspolicy/set.d.ts +276 -0
- package/networkaccesspolicy/set.js +113 -0
- package/networkaccesspolicy/set.js.map +1 -0
- package/networkaccesstimeanddate/condition.d.ts +224 -0
- package/networkaccesstimeanddate/condition.js +105 -0
- package/networkaccesstimeanddate/condition.js.map +1 -0
- package/networkaccesstimeanddate/getCondition.d.ts +118 -0
- package/networkaccesstimeanddate/getCondition.js +49 -0
- package/networkaccesstimeanddate/getCondition.js.map +1 -0
- package/networkaccesstimeanddate/index.d.ts +6 -0
- package/networkaccesstimeanddate/index.js +25 -0
- package/networkaccesstimeanddate/index.js.map +1 -0
- package/networkdevice/getGroup.d.ts +78 -0
- package/networkdevice/getGroup.js +49 -0
- package/networkdevice/getGroup.js.map +1 -0
- package/networkdevice/group.d.ts +94 -0
- package/networkdevice/group.js +78 -0
- package/networkdevice/group.js.map +1 -0
- package/networkdevice/index.d.ts +6 -0
- package/networkdevice/index.js +25 -0
- package/networkdevice/index.js.map +1 -0
- package/package.json +28 -0
- package/package.json.bak +28 -0
- package/provider.d.ts +59 -0
- package/provider.js +51 -0
- package/provider.js.map +1 -0
- package/repository.d.ts +146 -0
- package/repository.js +93 -0
- package/repository.js.map +1 -0
- package/tacacs/getProfile.d.ts +76 -0
- package/tacacs/getProfile.js +49 -0
- package/tacacs/getProfile.js.map +1 -0
- package/tacacs/index.d.ts +6 -0
- package/tacacs/index.js +25 -0
- package/tacacs/index.js.map +1 -0
- package/tacacs/profile.d.ts +91 -0
- package/tacacs/profile.js +79 -0
- package/tacacs/profile.js.map +1 -0
- package/tacacscommand/getSet.d.ts +80 -0
- package/tacacscommand/getSet.js +49 -0
- package/tacacscommand/getSet.js.map +1 -0
- package/tacacscommand/index.d.ts +6 -0
- package/tacacscommand/index.js +25 -0
- package/tacacscommand/index.js.map +1 -0
- package/tacacscommand/set.d.ts +104 -0
- package/tacacscommand/set.js +82 -0
- package/tacacscommand/set.js.map +1 -0
- package/trustsecegressmatrix/cell.d.ts +133 -0
- package/trustsecegressmatrix/cell.js +90 -0
- package/trustsecegressmatrix/cell.js.map +1 -0
- package/trustsecegressmatrix/getCell.d.ts +82 -0
- package/trustsecegressmatrix/getCell.js +47 -0
- package/trustsecegressmatrix/getCell.js.map +1 -0
- package/trustsecegressmatrix/index.d.ts +6 -0
- package/trustsecegressmatrix/index.js +25 -0
- package/trustsecegressmatrix/index.js.map +1 -0
- package/trustseciptosgt/getMapping.d.ts +98 -0
- package/trustseciptosgt/getMapping.js +49 -0
- package/trustseciptosgt/getMapping.js.map +1 -0
- package/trustseciptosgt/index.d.ts +6 -0
- package/trustseciptosgt/index.js +25 -0
- package/trustseciptosgt/index.js.map +1 -0
- package/trustseciptosgt/mapping.d.ts +155 -0
- package/trustseciptosgt/mapping.js +86 -0
- package/trustseciptosgt/mapping.js.map +1 -0
- package/trustseciptosgtmapping/getGroup.d.ts +86 -0
- package/trustseciptosgtmapping/getGroup.js +49 -0
- package/trustseciptosgtmapping/getGroup.js.map +1 -0
- package/trustseciptosgtmapping/group.d.ts +118 -0
- package/trustseciptosgtmapping/group.js +85 -0
- package/trustseciptosgtmapping/group.js.map +1 -0
- package/trustseciptosgtmapping/index.d.ts +6 -0
- package/trustseciptosgtmapping/index.js +25 -0
- package/trustseciptosgtmapping/index.js.map +1 -0
- package/trustsecsecurity/getGroup.d.ts +86 -0
- package/trustsecsecurity/getGroup.js +49 -0
- package/trustsecsecurity/getGroup.js.map +1 -0
- package/trustsecsecurity/group.d.ts +120 -0
- package/trustsecsecurity/group.js +84 -0
- package/trustsecsecurity/group.js.map +1 -0
- package/trustsecsecurity/index.d.ts +6 -0
- package/trustsecsecurity/index.js +25 -0
- package/trustsecsecurity/index.js.map +1 -0
- package/trustsecsecuritygroup/acl.d.ts +120 -0
- package/trustsecsecuritygroup/acl.js +84 -0
- package/trustsecsecuritygroup/acl.js.map +1 -0
- package/trustsecsecuritygroup/getAcl.d.ts +86 -0
- package/trustsecsecuritygroup/getAcl.js +49 -0
- package/trustsecsecuritygroup/getAcl.js.map +1 -0
- package/trustsecsecuritygroup/index.d.ts +6 -0
- package/trustsecsecuritygroup/index.js +25 -0
- package/trustsecsecuritygroup/index.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +1148 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +2188 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/useridentity/getGroup.d.ts +78 -0
- package/useridentity/getGroup.js +49 -0
- package/useridentity/getGroup.js.map +1 -0
- package/useridentity/group.d.ts +94 -0
- package/useridentity/group.js +75 -0
- package/useridentity/group.js.map +1 -0
- package/useridentity/index.d.ts +6 -0
- package/useridentity/index.js +25 -0
- package/useridentity/index.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource can manage a TACACS Profile.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as ise from "@pulumi/ise";
|
|
12
|
+
*
|
|
13
|
+
* const example = new ise.tacacs.Profile("example", {
|
|
14
|
+
* name: "Profile1",
|
|
15
|
+
* description: "My TACACS profile",
|
|
16
|
+
* sessionAttributes: [{
|
|
17
|
+
* type: "MANDATORY",
|
|
18
|
+
* name: "attr1",
|
|
19
|
+
* value: "value",
|
|
20
|
+
* }],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import ise:Tacacs/profile:Profile example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class Profile extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Profile resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProfileState, opts?: pulumi.CustomResourceOptions): Profile;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of Profile. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is Profile;
|
|
46
|
+
/**
|
|
47
|
+
* Description
|
|
48
|
+
*/
|
|
49
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the TACACS profile
|
|
52
|
+
*/
|
|
53
|
+
readonly name: pulumi.Output<string>;
|
|
54
|
+
readonly sessionAttributes: pulumi.Output<outputs.Tacacs.ProfileSessionAttribute[] | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* Create a Profile resource with the given unique name, arguments, and options.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resource.
|
|
59
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
60
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
61
|
+
*/
|
|
62
|
+
constructor(name: string, args?: ProfileArgs, opts?: pulumi.CustomResourceOptions);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Input properties used for looking up and filtering Profile resources.
|
|
66
|
+
*/
|
|
67
|
+
export interface ProfileState {
|
|
68
|
+
/**
|
|
69
|
+
* Description
|
|
70
|
+
*/
|
|
71
|
+
description?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The name of the TACACS profile
|
|
74
|
+
*/
|
|
75
|
+
name?: pulumi.Input<string>;
|
|
76
|
+
sessionAttributes?: pulumi.Input<pulumi.Input<inputs.Tacacs.ProfileSessionAttribute>[]>;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* The set of arguments for constructing a Profile resource.
|
|
80
|
+
*/
|
|
81
|
+
export interface ProfileArgs {
|
|
82
|
+
/**
|
|
83
|
+
* Description
|
|
84
|
+
*/
|
|
85
|
+
description?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The name of the TACACS profile
|
|
88
|
+
*/
|
|
89
|
+
name?: pulumi.Input<string>;
|
|
90
|
+
sessionAttributes?: pulumi.Input<pulumi.Input<inputs.Tacacs.ProfileSessionAttribute>[]>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Profile = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource can manage a TACACS Profile.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as ise from "@pulumi/ise";
|
|
16
|
+
*
|
|
17
|
+
* const example = new ise.tacacs.Profile("example", {
|
|
18
|
+
* name: "Profile1",
|
|
19
|
+
* description: "My TACACS profile",
|
|
20
|
+
* sessionAttributes: [{
|
|
21
|
+
* type: "MANDATORY",
|
|
22
|
+
* name: "attr1",
|
|
23
|
+
* value: "value",
|
|
24
|
+
* }],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import ise:Tacacs/profile:Profile example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class Profile extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Profile resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new Profile(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of Profile. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === Profile.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
63
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
64
|
+
resourceInputs["sessionAttributes"] = state ? state.sessionAttributes : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
69
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
70
|
+
resourceInputs["sessionAttributes"] = args ? args.sessionAttributes : undefined;
|
|
71
|
+
}
|
|
72
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
+
super(Profile.__pulumiType, name, resourceInputs, opts);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.Profile = Profile;
|
|
77
|
+
/** @internal */
|
|
78
|
+
Profile.__pulumiType = 'ise:Tacacs/profile:Profile';
|
|
79
|
+
//# sourceMappingURL=profile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../tacacs/profile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAoBD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;SACrF;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;SACnF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA9DL,0BA+DC;AAjDG,gBAAgB;AACO,oBAAY,GAAG,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source can read the TACACS Command Set.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as ise from "@pulumi/ise";
|
|
11
|
+
*
|
|
12
|
+
* const example = ise.TacacsCommand.getSet({
|
|
13
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getSet(args?: GetSetArgs, opts?: pulumi.InvokeOptions): Promise<GetSetResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getSet.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetSetArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The id of the object
|
|
24
|
+
*/
|
|
25
|
+
id?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The name of the TACACS command set
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A collection of values returned by getSet.
|
|
33
|
+
*/
|
|
34
|
+
export interface GetSetResult {
|
|
35
|
+
readonly commands: outputs.TacacsCommand.GetSetCommand[];
|
|
36
|
+
/**
|
|
37
|
+
* Description
|
|
38
|
+
*/
|
|
39
|
+
readonly description: string;
|
|
40
|
+
/**
|
|
41
|
+
* The id of the object
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* The name of the TACACS command set
|
|
46
|
+
*/
|
|
47
|
+
readonly name: string;
|
|
48
|
+
/**
|
|
49
|
+
* Permit unmatched commands
|
|
50
|
+
*/
|
|
51
|
+
readonly permitUnmatched: boolean;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* This data source can read the TACACS Command Set.
|
|
55
|
+
*
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as ise from "@pulumi/ise";
|
|
61
|
+
*
|
|
62
|
+
* const example = ise.TacacsCommand.getSet({
|
|
63
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare function getSetOutput(args?: GetSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSetResult>;
|
|
68
|
+
/**
|
|
69
|
+
* A collection of arguments for invoking getSet.
|
|
70
|
+
*/
|
|
71
|
+
export interface GetSetOutputArgs {
|
|
72
|
+
/**
|
|
73
|
+
* The id of the object
|
|
74
|
+
*/
|
|
75
|
+
id?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The name of the TACACS command set
|
|
78
|
+
*/
|
|
79
|
+
name?: pulumi.Input<string>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getSetOutput = exports.getSet = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source can read the TACACS Command Set.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as ise from "@pulumi/ise";
|
|
16
|
+
*
|
|
17
|
+
* const example = ise.TacacsCommand.getSet({
|
|
18
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getSet(args, opts) {
|
|
23
|
+
args = args || {};
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("ise:TacacsCommand/getSet:getSet", {
|
|
26
|
+
"id": args.id,
|
|
27
|
+
"name": args.name,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getSet = getSet;
|
|
31
|
+
/**
|
|
32
|
+
* This data source can read the TACACS Command Set.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as ise from "@pulumi/ise";
|
|
39
|
+
*
|
|
40
|
+
* const example = ise.TacacsCommand.getSet({
|
|
41
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getSetOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply((a) => getSet(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getSetOutput = getSetOutput;
|
|
49
|
+
//# sourceMappingURL=getSet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSet.js","sourceRoot":"","sources":["../../tacacscommand/getSet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,MAAM,CAAC,IAAiB,EAAE,IAA2B;IACjE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wBAQC;AAsCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { GetSetArgs, GetSetResult, GetSetOutputArgs } from "./getSet";
|
|
2
|
+
export declare const getSet: typeof import("./getSet").getSet;
|
|
3
|
+
export declare const getSetOutput: typeof import("./getSet").getSetOutput;
|
|
4
|
+
export { SetArgs, SetState } from "./set";
|
|
5
|
+
export type Set = import("./set").Set;
|
|
6
|
+
export declare const Set: typeof import("./set").Set;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Set = exports.getSetOutput = exports.getSet = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getSet = null;
|
|
9
|
+
exports.getSetOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getSet", "getSetOutput"], () => require("./getSet"));
|
|
11
|
+
exports.Set = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["Set"], () => require("./set"));
|
|
13
|
+
const _module = {
|
|
14
|
+
version: utilities.getVersion(),
|
|
15
|
+
construct: (name, type, urn) => {
|
|
16
|
+
switch (type) {
|
|
17
|
+
case "ise:TacacsCommand/set:Set":
|
|
18
|
+
return new exports.Set(name, undefined, { urn });
|
|
19
|
+
default:
|
|
20
|
+
throw new Error(`unknown resource type ${type}`);
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
pulumi.runtime.registerResourceModule("ise", "TacacsCommand/set", _module);
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../tacacscommand/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACvD,QAAA,YAAY,GAA2C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAIrE,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAG7D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,WAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource can manage a TACACS Command Set.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as ise from "@pulumi/ise";
|
|
12
|
+
*
|
|
13
|
+
* const example = new ise.tacacscommand.Set("example", {
|
|
14
|
+
* name: "CommandSet1",
|
|
15
|
+
* description: "My TACACS command set",
|
|
16
|
+
* permitUnmatched: true,
|
|
17
|
+
* commands: [{
|
|
18
|
+
* grant: "PERMIT",
|
|
19
|
+
* command: "show",
|
|
20
|
+
* arguments: "",
|
|
21
|
+
* }],
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import ise:TacacsCommand/set:Set example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class Set extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing Set resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SetState, opts?: pulumi.CustomResourceOptions): Set;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of Set. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is Set;
|
|
47
|
+
readonly commands: pulumi.Output<outputs.TacacsCommand.SetCommand[] | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Description
|
|
50
|
+
*/
|
|
51
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* The name of the TACACS command set
|
|
54
|
+
*/
|
|
55
|
+
readonly name: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Permit unmatched commands - Default value: `false`
|
|
58
|
+
*/
|
|
59
|
+
readonly permitUnmatched: pulumi.Output<boolean>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a Set resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args?: SetArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering Set resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface SetState {
|
|
73
|
+
commands?: pulumi.Input<pulumi.Input<inputs.TacacsCommand.SetCommand>[]>;
|
|
74
|
+
/**
|
|
75
|
+
* Description
|
|
76
|
+
*/
|
|
77
|
+
description?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The name of the TACACS command set
|
|
80
|
+
*/
|
|
81
|
+
name?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Permit unmatched commands - Default value: `false`
|
|
84
|
+
*/
|
|
85
|
+
permitUnmatched?: pulumi.Input<boolean>;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a Set resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface SetArgs {
|
|
91
|
+
commands?: pulumi.Input<pulumi.Input<inputs.TacacsCommand.SetCommand>[]>;
|
|
92
|
+
/**
|
|
93
|
+
* Description
|
|
94
|
+
*/
|
|
95
|
+
description?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The name of the TACACS command set
|
|
98
|
+
*/
|
|
99
|
+
name?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Permit unmatched commands - Default value: `false`
|
|
102
|
+
*/
|
|
103
|
+
permitUnmatched?: pulumi.Input<boolean>;
|
|
104
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Set = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource can manage a TACACS Command Set.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as ise from "@pulumi/ise";
|
|
16
|
+
*
|
|
17
|
+
* const example = new ise.tacacscommand.Set("example", {
|
|
18
|
+
* name: "CommandSet1",
|
|
19
|
+
* description: "My TACACS command set",
|
|
20
|
+
* permitUnmatched: true,
|
|
21
|
+
* commands: [{
|
|
22
|
+
* grant: "PERMIT",
|
|
23
|
+
* command: "show",
|
|
24
|
+
* arguments: "",
|
|
25
|
+
* }],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import ise:TacacsCommand/set:Set example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class Set extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing Set resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new Set(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Set. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === Set.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["commands"] = state ? state.commands : undefined;
|
|
64
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
65
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
66
|
+
resourceInputs["permitUnmatched"] = state ? state.permitUnmatched : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
resourceInputs["commands"] = args ? args.commands : undefined;
|
|
71
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
72
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
73
|
+
resourceInputs["permitUnmatched"] = args ? args.permitUnmatched : undefined;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
super(Set.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.Set = Set;
|
|
80
|
+
/** @internal */
|
|
81
|
+
Set.__pulumiType = 'ise:TacacsCommand/set:Set';
|
|
82
|
+
//# sourceMappingURL=set.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set.js","sourceRoot":"","sources":["../../tacacscommand/set.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IAwBD,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmC,CAAC;YAClD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;aAAM;YACH,MAAM,IAAI,GAAG,WAAkC,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AApEL,kBAqEC;AAvDG,gBAAgB;AACO,gBAAY,GAAG,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource can manage a TrustSec Egress Matrix Cell.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as ise from "@pulumi/ise";
|
|
10
|
+
*
|
|
11
|
+
* const example = new ise.trustsecegressmatrix.Cell("example", {
|
|
12
|
+
* description: "EgressMatrixCell Description",
|
|
13
|
+
* defaultRule: "NONE",
|
|
14
|
+
* matrixCellStatus: "ENABLED",
|
|
15
|
+
* sgacls: ["26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a, 9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a"],
|
|
16
|
+
* sourceSgtId: "93c66ed0-8c01-11e6-996c-525400b48521",
|
|
17
|
+
* destinationSgtId: "93e1bf00-8c01-11e6-996c-525400b48521",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import ise:TrustsecEgressMatrix/cell:Cell example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class Cell extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing Cell resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CellState, opts?: pulumi.CustomResourceOptions): Cell;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of Cell. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is Cell;
|
|
43
|
+
/**
|
|
44
|
+
* Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE`
|
|
45
|
+
*/
|
|
46
|
+
readonly defaultRule: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Description
|
|
49
|
+
*/
|
|
50
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* Destination Trustsec Security Group ID
|
|
53
|
+
*/
|
|
54
|
+
readonly destinationSgtId: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED`
|
|
57
|
+
*/
|
|
58
|
+
readonly matrixCellStatus: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* List of TrustSec Security Groups ACLs
|
|
61
|
+
*/
|
|
62
|
+
readonly sgacls: pulumi.Output<string[] | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Source Trustsec Security Group ID
|
|
65
|
+
*/
|
|
66
|
+
readonly sourceSgtId: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Create a Cell resource with the given unique name, arguments, and options.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resource.
|
|
71
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
72
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
73
|
+
*/
|
|
74
|
+
constructor(name: string, args: CellArgs, opts?: pulumi.CustomResourceOptions);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Input properties used for looking up and filtering Cell resources.
|
|
78
|
+
*/
|
|
79
|
+
export interface CellState {
|
|
80
|
+
/**
|
|
81
|
+
* Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE`
|
|
82
|
+
*/
|
|
83
|
+
defaultRule?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Description
|
|
86
|
+
*/
|
|
87
|
+
description?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Destination Trustsec Security Group ID
|
|
90
|
+
*/
|
|
91
|
+
destinationSgtId?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED`
|
|
94
|
+
*/
|
|
95
|
+
matrixCellStatus?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* List of TrustSec Security Groups ACLs
|
|
98
|
+
*/
|
|
99
|
+
sgacls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
100
|
+
/**
|
|
101
|
+
* Source Trustsec Security Group ID
|
|
102
|
+
*/
|
|
103
|
+
sourceSgtId?: pulumi.Input<string>;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The set of arguments for constructing a Cell resource.
|
|
107
|
+
*/
|
|
108
|
+
export interface CellArgs {
|
|
109
|
+
/**
|
|
110
|
+
* Can be used only if sgacls not specified. - Choices: `NONE`, `DENY_IP`, `PERMIT_IP` - Default value: `NONE`
|
|
111
|
+
*/
|
|
112
|
+
defaultRule?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Description
|
|
115
|
+
*/
|
|
116
|
+
description?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Destination Trustsec Security Group ID
|
|
119
|
+
*/
|
|
120
|
+
destinationSgtId: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Matrix Cell Status - Choices: `DISABLED`, `ENABLED`, `MONITOR` - Default value: `DISABLED`
|
|
123
|
+
*/
|
|
124
|
+
matrixCellStatus?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* List of TrustSec Security Groups ACLs
|
|
127
|
+
*/
|
|
128
|
+
sgacls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
129
|
+
/**
|
|
130
|
+
* Source Trustsec Security Group ID
|
|
131
|
+
*/
|
|
132
|
+
sourceSgtId: pulumi.Input<string>;
|
|
133
|
+
}
|