@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,90 @@
|
|
|
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.Cell = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource can manage a TrustSec Egress Matrix Cell.
|
|
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.trustsecegressmatrix.Cell("example", {
|
|
18
|
+
* description: "EgressMatrixCell Description",
|
|
19
|
+
* defaultRule: "NONE",
|
|
20
|
+
* matrixCellStatus: "ENABLED",
|
|
21
|
+
* sgacls: ["26b76b10-66e6-11ee-9cc1-9eb2a3ecc82a, 9d64dcd0-6384-11ee-9cc1-9eb2a3ecc82a"],
|
|
22
|
+
* sourceSgtId: "93c66ed0-8c01-11e6-996c-525400b48521",
|
|
23
|
+
* destinationSgtId: "93e1bf00-8c01-11e6-996c-525400b48521",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import ise:TrustsecEgressMatrix/cell:Cell example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class Cell extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing Cell resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new Cell(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of Cell. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === Cell.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["defaultRule"] = state ? state.defaultRule : undefined;
|
|
62
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
63
|
+
resourceInputs["destinationSgtId"] = state ? state.destinationSgtId : undefined;
|
|
64
|
+
resourceInputs["matrixCellStatus"] = state ? state.matrixCellStatus : undefined;
|
|
65
|
+
resourceInputs["sgacls"] = state ? state.sgacls : undefined;
|
|
66
|
+
resourceInputs["sourceSgtId"] = state ? state.sourceSgtId : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if ((!args || args.destinationSgtId === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'destinationSgtId'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.sourceSgtId === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'sourceSgtId'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["defaultRule"] = args ? args.defaultRule : undefined;
|
|
77
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
78
|
+
resourceInputs["destinationSgtId"] = args ? args.destinationSgtId : undefined;
|
|
79
|
+
resourceInputs["matrixCellStatus"] = args ? args.matrixCellStatus : undefined;
|
|
80
|
+
resourceInputs["sgacls"] = args ? args.sgacls : undefined;
|
|
81
|
+
resourceInputs["sourceSgtId"] = args ? args.sourceSgtId : undefined;
|
|
82
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
super(Cell.__pulumiType, name, resourceInputs, opts);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.Cell = Cell;
|
|
88
|
+
/** @internal */
|
|
89
|
+
Cell.__pulumiType = 'ise:TrustsecEgressMatrix/cell:Cell';
|
|
90
|
+
//# sourceMappingURL=cell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell.js","sourceRoot":"","sources":["../../trustsecegressmatrix/cell.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source can read the 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 = ise.TrustsecEgressMatrix.getCell({
|
|
12
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getCell(args: GetCellArgs, opts?: pulumi.InvokeOptions): Promise<GetCellResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getCell.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetCellArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The id of the object
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getCell.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetCellResult {
|
|
30
|
+
/**
|
|
31
|
+
* Can be used only if sgacls not specified.
|
|
32
|
+
*/
|
|
33
|
+
readonly defaultRule: string;
|
|
34
|
+
/**
|
|
35
|
+
* Description
|
|
36
|
+
*/
|
|
37
|
+
readonly description: string;
|
|
38
|
+
/**
|
|
39
|
+
* Destination Trustsec Security Group ID
|
|
40
|
+
*/
|
|
41
|
+
readonly destinationSgtId: string;
|
|
42
|
+
/**
|
|
43
|
+
* The id of the object
|
|
44
|
+
*/
|
|
45
|
+
readonly id: string;
|
|
46
|
+
/**
|
|
47
|
+
* Matrix Cell Status
|
|
48
|
+
*/
|
|
49
|
+
readonly matrixCellStatus: string;
|
|
50
|
+
/**
|
|
51
|
+
* List of TrustSec Security Groups ACLs
|
|
52
|
+
*/
|
|
53
|
+
readonly sgacls: string[];
|
|
54
|
+
/**
|
|
55
|
+
* Source Trustsec Security Group ID
|
|
56
|
+
*/
|
|
57
|
+
readonly sourceSgtId: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* This data source can read the TrustSec Egress Matrix Cell.
|
|
61
|
+
*
|
|
62
|
+
* ## Example Usage
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as ise from "@pulumi/ise";
|
|
67
|
+
*
|
|
68
|
+
* const example = ise.TrustsecEgressMatrix.getCell({
|
|
69
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare function getCellOutput(args: GetCellOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCellResult>;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of arguments for invoking getCell.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetCellOutputArgs {
|
|
78
|
+
/**
|
|
79
|
+
* The id of the object
|
|
80
|
+
*/
|
|
81
|
+
id: pulumi.Input<string>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.getCellOutput = exports.getCell = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source can read the TrustSec Egress Matrix Cell.
|
|
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.TrustsecEgressMatrix.getCell({
|
|
18
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getCell(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("ise:TrustsecEgressMatrix/getCell:getCell", {
|
|
25
|
+
"id": args.id,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getCell = getCell;
|
|
29
|
+
/**
|
|
30
|
+
* This data source can read the TrustSec Egress Matrix Cell.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as ise from "@pulumi/ise";
|
|
37
|
+
*
|
|
38
|
+
* const example = ise.TrustsecEgressMatrix.getCell({
|
|
39
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getCellOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply((a) => getCell(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getCellOutput = getCellOutput;
|
|
47
|
+
//# sourceMappingURL=getCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCell.js","sourceRoot":"","sources":["../../trustsecegressmatrix/getCell.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AA6CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { CellArgs, CellState } from "./cell";
|
|
2
|
+
export type Cell = import("./cell").Cell;
|
|
3
|
+
export declare const Cell: typeof import("./cell").Cell;
|
|
4
|
+
export { GetCellArgs, GetCellResult, GetCellOutputArgs } from "./getCell";
|
|
5
|
+
export declare const getCell: typeof import("./getCell").getCell;
|
|
6
|
+
export declare const getCellOutput: typeof import("./getCell").getCellOutput;
|
|
@@ -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.getCellOutput = exports.getCell = exports.Cell = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.Cell = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Cell"], () => require("./cell"));
|
|
10
|
+
exports.getCell = null;
|
|
11
|
+
exports.getCellOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["getCell", "getCellOutput"], () => require("./getCell"));
|
|
13
|
+
const _module = {
|
|
14
|
+
version: utilities.getVersion(),
|
|
15
|
+
construct: (name, type, urn) => {
|
|
16
|
+
switch (type) {
|
|
17
|
+
case "ise:TrustsecEgressMatrix/cell:Cell":
|
|
18
|
+
return new exports.Cell(name, undefined, { urn });
|
|
19
|
+
default:
|
|
20
|
+
throw new Error(`unknown resource type ${type}`);
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
pulumi.runtime.registerResourceModule("ise", "TrustsecEgressMatrix/cell", _module);
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../trustsecegressmatrix/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAGlD,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGrF,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,oCAAoC;gBACrC,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source can read the TrustSec IP to SGT Mapping.
|
|
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 = ise.TrustsecIpToSgt.getMapping({
|
|
12
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getMapping(args?: GetMappingArgs, opts?: pulumi.InvokeOptions): Promise<GetMappingResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getMapping.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetMappingArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The id of the object
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The name of the IP to SGT mapping
|
|
27
|
+
*/
|
|
28
|
+
name?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getMapping.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetMappingResult {
|
|
34
|
+
/**
|
|
35
|
+
* Mandatory unless `mappingGroup` is set or unless `deployType` is `ALL`
|
|
36
|
+
*/
|
|
37
|
+
readonly deployTo: string;
|
|
38
|
+
/**
|
|
39
|
+
* Deploy Type
|
|
40
|
+
*/
|
|
41
|
+
readonly deployType: string;
|
|
42
|
+
/**
|
|
43
|
+
* Description
|
|
44
|
+
*/
|
|
45
|
+
readonly description: string;
|
|
46
|
+
/**
|
|
47
|
+
* Mandatory if `hostName` is empty
|
|
48
|
+
*/
|
|
49
|
+
readonly hostIp: string;
|
|
50
|
+
/**
|
|
51
|
+
* Mandatory if `hostIp` is empty
|
|
52
|
+
*/
|
|
53
|
+
readonly hostName: string;
|
|
54
|
+
/**
|
|
55
|
+
* The id of the object
|
|
56
|
+
*/
|
|
57
|
+
readonly id: string;
|
|
58
|
+
/**
|
|
59
|
+
* IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deployTo` and `deployType` are set
|
|
60
|
+
*/
|
|
61
|
+
readonly mappingGroup: string;
|
|
62
|
+
/**
|
|
63
|
+
* The name of the IP to SGT mapping
|
|
64
|
+
*/
|
|
65
|
+
readonly name: string;
|
|
66
|
+
/**
|
|
67
|
+
* Trustsec Security Group ID. Mandatory unless `mappingGroup` is set
|
|
68
|
+
*/
|
|
69
|
+
readonly sgt: string;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* This data source can read the TrustSec IP to SGT Mapping.
|
|
73
|
+
*
|
|
74
|
+
* ## Example Usage
|
|
75
|
+
*
|
|
76
|
+
* ```typescript
|
|
77
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
78
|
+
* import * as ise from "@pulumi/ise";
|
|
79
|
+
*
|
|
80
|
+
* const example = ise.TrustsecIpToSgt.getMapping({
|
|
81
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
export declare function getMappingOutput(args?: GetMappingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMappingResult>;
|
|
86
|
+
/**
|
|
87
|
+
* A collection of arguments for invoking getMapping.
|
|
88
|
+
*/
|
|
89
|
+
export interface GetMappingOutputArgs {
|
|
90
|
+
/**
|
|
91
|
+
* The id of the object
|
|
92
|
+
*/
|
|
93
|
+
id?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The name of the IP to SGT mapping
|
|
96
|
+
*/
|
|
97
|
+
name?: pulumi.Input<string>;
|
|
98
|
+
}
|
|
@@ -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.getMappingOutput = exports.getMapping = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source can read the TrustSec IP to SGT Mapping.
|
|
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.TrustsecIpToSgt.getMapping({
|
|
18
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getMapping(args, opts) {
|
|
23
|
+
args = args || {};
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("ise:TrustsecIpToSgt/getMapping:getMapping", {
|
|
26
|
+
"id": args.id,
|
|
27
|
+
"name": args.name,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getMapping = getMapping;
|
|
31
|
+
/**
|
|
32
|
+
* This data source can read the TrustSec IP to SGT Mapping.
|
|
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.TrustsecIpToSgt.getMapping({
|
|
41
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getMappingOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply((a) => getMapping(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getMappingOutput = getMappingOutput;
|
|
49
|
+
//# sourceMappingURL=getMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMapping.js","sourceRoot":"","sources":["../../trustseciptosgt/getMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,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,2CAA2C,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAyDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { GetMappingArgs, GetMappingResult, GetMappingOutputArgs } from "./getMapping";
|
|
2
|
+
export declare const getMapping: typeof import("./getMapping").getMapping;
|
|
3
|
+
export declare const getMappingOutput: typeof import("./getMapping").getMappingOutput;
|
|
4
|
+
export { MappingArgs, MappingState } from "./mapping";
|
|
5
|
+
export type Mapping = import("./mapping").Mapping;
|
|
6
|
+
export declare const Mapping: typeof import("./mapping").Mapping;
|
|
@@ -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.Mapping = exports.getMappingOutput = exports.getMapping = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getMapping = null;
|
|
9
|
+
exports.getMappingOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getMapping", "getMappingOutput"], () => require("./getMapping"));
|
|
11
|
+
exports.Mapping = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["Mapping"], () => require("./mapping"));
|
|
13
|
+
const _module = {
|
|
14
|
+
version: utilities.getVersion(),
|
|
15
|
+
construct: (name, type, urn) => {
|
|
16
|
+
switch (type) {
|
|
17
|
+
case "ise:TrustsecIpToSgt/mapping:Mapping":
|
|
18
|
+
return new exports.Mapping(name, undefined, { urn });
|
|
19
|
+
default:
|
|
20
|
+
throw new Error(`unknown resource type ${type}`);
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
pulumi.runtime.registerResourceModule("ise", "TrustsecIpToSgt/mapping", _module);
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../trustseciptosgt/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAIjF,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGrE,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,qCAAqC;gBACtC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource can manage a TrustSec IP to SGT Mapping.
|
|
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.trustseciptosgt.Mapping("example", {
|
|
12
|
+
* name: "10.0.0.1/32",
|
|
13
|
+
* deployType: "ALL",
|
|
14
|
+
* hostIp: "10.0.0.1/32",
|
|
15
|
+
* sgt: "93e1bf00-8c01-11e6-996c-525400b48521",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import ise:TrustsecIpToSgt/mapping:Mapping example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class Mapping extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing Mapping resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MappingState, opts?: pulumi.CustomResourceOptions): Mapping;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of Mapping. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is Mapping;
|
|
41
|
+
/**
|
|
42
|
+
* Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL`
|
|
43
|
+
*/
|
|
44
|
+
readonly deployTo: pulumi.Output<string | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* Deploy Type - Choices: `ALL`, `ND`, `NDG`
|
|
47
|
+
*/
|
|
48
|
+
readonly deployType: pulumi.Output<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* Description
|
|
51
|
+
*/
|
|
52
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Mandatory if `host_name` is empty
|
|
55
|
+
*/
|
|
56
|
+
readonly hostIp: pulumi.Output<string | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* Mandatory if `host_ip` is empty
|
|
59
|
+
*/
|
|
60
|
+
readonly hostName: pulumi.Output<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set
|
|
63
|
+
*/
|
|
64
|
+
readonly mappingGroup: pulumi.Output<string | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the IP to SGT mapping
|
|
67
|
+
*/
|
|
68
|
+
readonly name: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Trustsec Security Group ID. Mandatory unless `mapping_group` is set
|
|
71
|
+
*/
|
|
72
|
+
readonly sgt: pulumi.Output<string | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Create a Mapping resource with the given unique name, arguments, and options.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resource.
|
|
77
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
78
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
79
|
+
*/
|
|
80
|
+
constructor(name: string, args?: MappingArgs, opts?: pulumi.CustomResourceOptions);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Input properties used for looking up and filtering Mapping resources.
|
|
84
|
+
*/
|
|
85
|
+
export interface MappingState {
|
|
86
|
+
/**
|
|
87
|
+
* Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL`
|
|
88
|
+
*/
|
|
89
|
+
deployTo?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Deploy Type - Choices: `ALL`, `ND`, `NDG`
|
|
92
|
+
*/
|
|
93
|
+
deployType?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Description
|
|
96
|
+
*/
|
|
97
|
+
description?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Mandatory if `host_name` is empty
|
|
100
|
+
*/
|
|
101
|
+
hostIp?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Mandatory if `host_ip` is empty
|
|
104
|
+
*/
|
|
105
|
+
hostName?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set
|
|
108
|
+
*/
|
|
109
|
+
mappingGroup?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The name of the IP to SGT mapping
|
|
112
|
+
*/
|
|
113
|
+
name?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Trustsec Security Group ID. Mandatory unless `mapping_group` is set
|
|
116
|
+
*/
|
|
117
|
+
sgt?: pulumi.Input<string>;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* The set of arguments for constructing a Mapping resource.
|
|
121
|
+
*/
|
|
122
|
+
export interface MappingArgs {
|
|
123
|
+
/**
|
|
124
|
+
* Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL`
|
|
125
|
+
*/
|
|
126
|
+
deployTo?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Deploy Type - Choices: `ALL`, `ND`, `NDG`
|
|
129
|
+
*/
|
|
130
|
+
deployType?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Description
|
|
133
|
+
*/
|
|
134
|
+
description?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Mandatory if `host_name` is empty
|
|
137
|
+
*/
|
|
138
|
+
hostIp?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Mandatory if `host_ip` is empty
|
|
141
|
+
*/
|
|
142
|
+
hostName?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set
|
|
145
|
+
*/
|
|
146
|
+
mappingGroup?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The name of the IP to SGT mapping
|
|
149
|
+
*/
|
|
150
|
+
name?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Trustsec Security Group ID. Mandatory unless `mapping_group` is set
|
|
153
|
+
*/
|
|
154
|
+
sgt?: pulumi.Input<string>;
|
|
155
|
+
}
|