@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,86 @@
|
|
|
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 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource can manage a 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 = new ise.trustseciptosgt.Mapping("example", {
|
|
18
|
+
* name: "10.0.0.1/32",
|
|
19
|
+
* deployType: "ALL",
|
|
20
|
+
* hostIp: "10.0.0.1/32",
|
|
21
|
+
* sgt: "93e1bf00-8c01-11e6-996c-525400b48521",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import ise:TrustsecIpToSgt/mapping:Mapping example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class Mapping extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing Mapping 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, id, state, opts) {
|
|
42
|
+
return new Mapping(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of Mapping. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === Mapping.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["deployTo"] = state ? state.deployTo : undefined;
|
|
60
|
+
resourceInputs["deployType"] = state ? state.deployType : undefined;
|
|
61
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
62
|
+
resourceInputs["hostIp"] = state ? state.hostIp : undefined;
|
|
63
|
+
resourceInputs["hostName"] = state ? state.hostName : undefined;
|
|
64
|
+
resourceInputs["mappingGroup"] = state ? state.mappingGroup : undefined;
|
|
65
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
66
|
+
resourceInputs["sgt"] = state ? state.sgt : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
resourceInputs["deployTo"] = args ? args.deployTo : undefined;
|
|
71
|
+
resourceInputs["deployType"] = args ? args.deployType : undefined;
|
|
72
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
73
|
+
resourceInputs["hostIp"] = args ? args.hostIp : undefined;
|
|
74
|
+
resourceInputs["hostName"] = args ? args.hostName : undefined;
|
|
75
|
+
resourceInputs["mappingGroup"] = args ? args.mappingGroup : undefined;
|
|
76
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
77
|
+
resourceInputs["sgt"] = args ? args.sgt : undefined;
|
|
78
|
+
}
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
+
super(Mapping.__pulumiType, name, resourceInputs, opts);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.Mapping = Mapping;
|
|
84
|
+
/** @internal */
|
|
85
|
+
Mapping.__pulumiType = 'ise:TrustsecIpToSgt/mapping:Mapping';
|
|
86
|
+
//# sourceMappingURL=mapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapping.js","sourceRoot":"","sources":["../../trustseciptosgt/mapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;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,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ping Group.
|
|
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.TrustsecIpToSgtMapping.getGroup({
|
|
12
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getGroup(args?: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getGroup.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetGroupArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The id of the object
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The name of the IP to SGT mapping Group
|
|
27
|
+
*/
|
|
28
|
+
name?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getGroup.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetGroupResult {
|
|
34
|
+
/**
|
|
35
|
+
* Mandatory 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
|
+
* The id of the object
|
|
48
|
+
*/
|
|
49
|
+
readonly id: string;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the IP to SGT mapping Group
|
|
52
|
+
*/
|
|
53
|
+
readonly name: string;
|
|
54
|
+
/**
|
|
55
|
+
* Trustsec Security Group ID
|
|
56
|
+
*/
|
|
57
|
+
readonly sgt: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* This data source can read the TrustSec IP to SGT Mapping Group.
|
|
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.TrustsecIpToSgtMapping.getGroup({
|
|
69
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupResult>;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of arguments for invoking getGroup.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetGroupOutputArgs {
|
|
78
|
+
/**
|
|
79
|
+
* The id of the object
|
|
80
|
+
*/
|
|
81
|
+
id?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The name of the IP to SGT mapping Group
|
|
84
|
+
*/
|
|
85
|
+
name?: pulumi.Input<string>;
|
|
86
|
+
}
|
|
@@ -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.getGroupOutput = exports.getGroup = 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 Group.
|
|
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.TrustsecIpToSgtMapping.getGroup({
|
|
18
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getGroup(args, opts) {
|
|
23
|
+
args = args || {};
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("ise:TrustsecIpToSgtMapping/getGroup:getGroup", {
|
|
26
|
+
"id": args.id,
|
|
27
|
+
"name": args.name,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getGroup = getGroup;
|
|
31
|
+
/**
|
|
32
|
+
* This data source can read the TrustSec IP to SGT Mapping Group.
|
|
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.TrustsecIpToSgtMapping.getGroup({
|
|
41
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getGroupOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply((a) => getGroup(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getGroupOutput = getGroupOutput;
|
|
49
|
+
//# sourceMappingURL=getGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../../trustseciptosgtmapping/getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,8CAA8C,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC;AA6CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource can manage a TrustSec IP to SGT Mapping Group.
|
|
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.trustseciptosgtmapping.Group("example", {
|
|
12
|
+
* name: "groupA",
|
|
13
|
+
* deployType: "ALL",
|
|
14
|
+
* sgt: "93e1bf00-8c01-11e6-996c-525400b48521",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* ```sh
|
|
21
|
+
* $ pulumi import ise:TrustsecIpToSgtMapping/group:Group example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class Group extends pulumi.CustomResource {
|
|
25
|
+
/**
|
|
26
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
27
|
+
* properties used to qualify the lookup.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resulting resource.
|
|
30
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
31
|
+
* @param state Any extra arguments used during the lookup.
|
|
32
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
33
|
+
*/
|
|
34
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
37
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
|
+
*/
|
|
39
|
+
static isInstance(obj: any): obj is Group;
|
|
40
|
+
/**
|
|
41
|
+
* Mandatory unless `deploy_type` is `ALL`
|
|
42
|
+
*/
|
|
43
|
+
readonly deployTo: pulumi.Output<string | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Deploy Type - Choices: `ALL`, `ND`, `NDG`
|
|
46
|
+
*/
|
|
47
|
+
readonly deployType: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Description
|
|
50
|
+
*/
|
|
51
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* The name of the IP to SGT mapping Group
|
|
54
|
+
*/
|
|
55
|
+
readonly name: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Trustsec Security Group ID
|
|
58
|
+
*/
|
|
59
|
+
readonly sgt: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a Group 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: GroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering Group resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface GroupState {
|
|
73
|
+
/**
|
|
74
|
+
* Mandatory unless `deploy_type` is `ALL`
|
|
75
|
+
*/
|
|
76
|
+
deployTo?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Deploy Type - Choices: `ALL`, `ND`, `NDG`
|
|
79
|
+
*/
|
|
80
|
+
deployType?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Description
|
|
83
|
+
*/
|
|
84
|
+
description?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The name of the IP to SGT mapping Group
|
|
87
|
+
*/
|
|
88
|
+
name?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Trustsec Security Group ID
|
|
91
|
+
*/
|
|
92
|
+
sgt?: pulumi.Input<string>;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* The set of arguments for constructing a Group resource.
|
|
96
|
+
*/
|
|
97
|
+
export interface GroupArgs {
|
|
98
|
+
/**
|
|
99
|
+
* Mandatory unless `deploy_type` is `ALL`
|
|
100
|
+
*/
|
|
101
|
+
deployTo?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Deploy Type - Choices: `ALL`, `ND`, `NDG`
|
|
104
|
+
*/
|
|
105
|
+
deployType: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Description
|
|
108
|
+
*/
|
|
109
|
+
description?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The name of the IP to SGT mapping Group
|
|
112
|
+
*/
|
|
113
|
+
name?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Trustsec Security Group ID
|
|
116
|
+
*/
|
|
117
|
+
sgt: pulumi.Input<string>;
|
|
118
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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.Group = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource can manage a TrustSec IP to SGT Mapping Group.
|
|
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.trustseciptosgtmapping.Group("example", {
|
|
18
|
+
* name: "groupA",
|
|
19
|
+
* deployType: "ALL",
|
|
20
|
+
* sgt: "93e1bf00-8c01-11e6-996c-525400b48521",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import ise:TrustsecIpToSgtMapping/group:Group example "76d24097-41c4-4558-a4d0-a8c07ac08470"
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
class Group extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Group 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, id, state, opts) {
|
|
41
|
+
return new Group(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj) {
|
|
48
|
+
if (obj === undefined || obj === null) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
return obj['__pulumiType'] === Group.__pulumiType;
|
|
52
|
+
}
|
|
53
|
+
constructor(name, argsOrState, opts) {
|
|
54
|
+
let resourceInputs = {};
|
|
55
|
+
opts = opts || {};
|
|
56
|
+
if (opts.id) {
|
|
57
|
+
const state = argsOrState;
|
|
58
|
+
resourceInputs["deployTo"] = state ? state.deployTo : undefined;
|
|
59
|
+
resourceInputs["deployType"] = state ? state.deployType : undefined;
|
|
60
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
61
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
62
|
+
resourceInputs["sgt"] = state ? state.sgt : undefined;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if ((!args || args.deployType === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'deployType'");
|
|
68
|
+
}
|
|
69
|
+
if ((!args || args.sgt === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'sgt'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["deployTo"] = args ? args.deployTo : undefined;
|
|
73
|
+
resourceInputs["deployType"] = args ? args.deployType : undefined;
|
|
74
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
75
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
76
|
+
resourceInputs["sgt"] = args ? args.sgt : undefined;
|
|
77
|
+
}
|
|
78
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
|
+
super(Group.__pulumiType, name, resourceInputs, opts);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.Group = Group;
|
|
83
|
+
/** @internal */
|
|
84
|
+
Group.__pulumiType = 'ise:TrustsecIpToSgtMapping/group:Group';
|
|
85
|
+
//# sourceMappingURL=group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.js","sourceRoot":"","sources":["../../trustseciptosgtmapping/group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,C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,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAnFL,sBAoFC;AAtEG,gBAAgB;AACO,kBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { GetGroupArgs, GetGroupResult, GetGroupOutputArgs } from "./getGroup";
|
|
2
|
+
export declare const getGroup: typeof import("./getGroup").getGroup;
|
|
3
|
+
export declare const getGroupOutput: typeof import("./getGroup").getGroupOutput;
|
|
4
|
+
export { GroupArgs, GroupState } from "./group";
|
|
5
|
+
export type Group = import("./group").Group;
|
|
6
|
+
export declare const Group: typeof import("./group").Group;
|
|
@@ -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.Group = exports.getGroupOutput = exports.getGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getGroup = null;
|
|
9
|
+
exports.getGroupOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getGroup", "getGroupOutput"], () => require("./getGroup"));
|
|
11
|
+
exports.Group = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["Group"], () => require("./group"));
|
|
13
|
+
const _module = {
|
|
14
|
+
version: utilities.getVersion(),
|
|
15
|
+
construct: (name, type, urn) => {
|
|
16
|
+
switch (type) {
|
|
17
|
+
case "ise:TrustsecIpToSgtMapping/group:Group":
|
|
18
|
+
return new exports.Group(name, undefined, { urn });
|
|
19
|
+
default:
|
|
20
|
+
throw new Error(`unknown resource type ${type}`);
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
pulumi.runtime.registerResourceModule("ise", "TrustsecIpToSgtMapping/group", _module);
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../trustseciptosgtmapping/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI3E,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAGjE,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,wCAAwC;gBACzC,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source can read the TrustSec Security Group.
|
|
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.TrustsecSecurity.getGroup({
|
|
12
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getGroup(args?: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getGroup.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetGroupArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The id of the object
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The name of the security group
|
|
27
|
+
*/
|
|
28
|
+
name?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getGroup.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetGroupResult {
|
|
34
|
+
/**
|
|
35
|
+
* Description
|
|
36
|
+
*/
|
|
37
|
+
readonly description: string;
|
|
38
|
+
/**
|
|
39
|
+
* The id of the object
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* Read-only
|
|
44
|
+
*/
|
|
45
|
+
readonly isReadOnly: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* The name of the security group
|
|
48
|
+
*/
|
|
49
|
+
readonly name: string;
|
|
50
|
+
/**
|
|
51
|
+
* Propagate to APIC (ACI)
|
|
52
|
+
*/
|
|
53
|
+
readonly propogateToApic: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* `-1` to auto-generate
|
|
56
|
+
*/
|
|
57
|
+
readonly value: number;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* This data source can read the TrustSec Security Group.
|
|
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.TrustsecSecurity.getGroup({
|
|
69
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupResult>;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of arguments for invoking getGroup.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetGroupOutputArgs {
|
|
78
|
+
/**
|
|
79
|
+
* The id of the object
|
|
80
|
+
*/
|
|
81
|
+
id?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The name of the security group
|
|
84
|
+
*/
|
|
85
|
+
name?: pulumi.Input<string>;
|
|
86
|
+
}
|
|
@@ -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.getGroupOutput = exports.getGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source can read the TrustSec Security Group.
|
|
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.TrustsecSecurity.getGroup({
|
|
18
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getGroup(args, opts) {
|
|
23
|
+
args = args || {};
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("ise:TrustsecSecurity/getGroup:getGroup", {
|
|
26
|
+
"id": args.id,
|
|
27
|
+
"name": args.name,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getGroup = getGroup;
|
|
31
|
+
/**
|
|
32
|
+
* This data source can read the TrustSec Security Group.
|
|
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.TrustsecSecurity.getGroup({
|
|
41
|
+
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getGroupOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply((a) => getGroup(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getGroupOutput = getGroupOutput;
|
|
49
|
+
//# sourceMappingURL=getGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../../trustsecsecurity/getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC;AA6CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|