@volcengine/pulumi 0.0.44 → 0.0.45
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/iam/accessKey.d.ts +25 -56
- package/iam/accessKey.js +9 -20
- package/iam/accessKey.js.map +1 -1
- package/iam/accessKeyLastUseds.d.ts +86 -0
- package/iam/accessKeyLastUseds.js +50 -0
- package/iam/accessKeyLastUseds.js.map +1 -0
- package/iam/accessKeys.d.ts +4 -13
- package/iam/accessKeys.js +2 -3
- package/iam/accessKeys.js.map +1 -1
- package/iam/accountSummaries.d.ts +64 -0
- package/iam/accountSummaries.js +45 -0
- package/iam/accountSummaries.js.map +1 -0
- package/iam/allowedIpAddress.d.ts +89 -0
- package/iam/allowedIpAddress.js +84 -0
- package/iam/allowedIpAddress.js.map +1 -0
- package/iam/allowedIpAddresses.d.ts +60 -0
- package/iam/allowedIpAddresses.js +45 -0
- package/iam/allowedIpAddresses.js.map +1 -0
- package/iam/callerIdentities.d.ts +64 -0
- package/iam/callerIdentities.js +45 -0
- package/iam/callerIdentities.js.map +1 -0
- package/iam/entitiesPolicies.d.ts +105 -0
- package/iam/entitiesPolicies.js +53 -0
- package/iam/entitiesPolicies.js.map +1 -0
- package/iam/getAccessKeyLastUseds.d.ts +84 -0
- package/iam/getAccessKeyLastUseds.js +47 -0
- package/iam/getAccessKeyLastUseds.js.map +1 -0
- package/iam/getAccessKeys.d.ts +4 -13
- package/iam/getAccessKeys.js +2 -3
- package/iam/getAccessKeys.js.map +1 -1
- package/iam/getAccountSummaries.d.ts +62 -0
- package/iam/getAccountSummaries.js +42 -0
- package/iam/getAccountSummaries.js.map +1 -0
- package/iam/getAllowedIpAddresses.d.ts +58 -0
- package/iam/getAllowedIpAddresses.js +42 -0
- package/iam/getAllowedIpAddresses.js.map +1 -0
- package/iam/getCallerIdentities.d.ts +62 -0
- package/iam/getCallerIdentities.js +42 -0
- package/iam/getCallerIdentities.js.map +1 -0
- package/iam/getEntitiesPolicies.d.ts +103 -0
- package/iam/getEntitiesPolicies.js +50 -0
- package/iam/getEntitiesPolicies.js.map +1 -0
- package/iam/getGroupUsers.d.ts +84 -0
- package/iam/getGroupUsers.js +47 -0
- package/iam/getGroupUsers.js.map +1 -0
- package/iam/getIdentityProviders.d.ts +62 -0
- package/iam/getIdentityProviders.js +42 -0
- package/iam/getIdentityProviders.js.map +1 -0
- package/iam/getLoginProfiles.d.ts +65 -0
- package/iam/getLoginProfiles.js +45 -0
- package/iam/getLoginProfiles.js.map +1 -0
- package/iam/getOauthProviders.d.ts +78 -0
- package/iam/getOauthProviders.js +46 -0
- package/iam/getOauthProviders.js.map +1 -0
- package/iam/getOidcProviders.d.ts +2 -2
- package/iam/getOidcProviders.js +2 -2
- package/iam/getPolicies.d.ts +9 -63
- package/iam/getPolicies.js +5 -21
- package/iam/getPolicies.js.map +1 -1
- package/iam/getRolePolicyAttachments.d.ts +62 -0
- package/iam/getRolePolicyAttachments.js +45 -0
- package/iam/getRolePolicyAttachments.js.map +1 -0
- package/iam/getRoles.d.ts +6 -48
- package/iam/getRoles.js +4 -35
- package/iam/getRoles.js.map +1 -1
- package/iam/getSamlProviders.d.ts +2 -2
- package/iam/getSamlProviders.js +2 -2
- package/iam/getSecurityConfigs.d.ts +74 -0
- package/iam/getSecurityConfigs.js +46 -0
- package/iam/getSecurityConfigs.js.map +1 -0
- package/iam/getTags.d.ts +91 -0
- package/iam/getTags.js +47 -0
- package/iam/getTags.js.map +1 -0
- package/iam/getUserGroupAttachments.d.ts +75 -0
- package/iam/getUserGroupAttachments.js +46 -0
- package/iam/getUserGroupAttachments.js.map +1 -0
- package/iam/getUserGroupPolicyAttachments.d.ts +4 -36
- package/iam/getUserGroupPolicyAttachments.js +4 -36
- package/iam/getUserGroupPolicyAttachments.js.map +1 -1
- package/iam/getUserGroups.d.ts +6 -18
- package/iam/getUserGroups.js +4 -16
- package/iam/getUserGroups.js.map +1 -1
- package/iam/getUserPolicyAttachments.d.ts +62 -0
- package/iam/getUserPolicyAttachments.js +45 -0
- package/iam/getUserPolicyAttachments.js.map +1 -0
- package/iam/getUsers.d.ts +9 -30
- package/iam/getUsers.js +5 -18
- package/iam/getUsers.js.map +1 -1
- package/iam/groupUsers.d.ts +86 -0
- package/iam/groupUsers.js +50 -0
- package/iam/groupUsers.js.map +1 -0
- package/iam/identityProviders.d.ts +64 -0
- package/iam/identityProviders.js +45 -0
- package/iam/identityProviders.js.map +1 -0
- package/iam/index.d.ts +105 -0
- package/iam/index.js +122 -1
- package/iam/index.js.map +1 -1
- package/iam/loginProfile.d.ts +135 -11
- package/iam/loginProfile.js +35 -9
- package/iam/loginProfile.js.map +1 -1
- package/iam/loginProfiles.d.ts +67 -0
- package/iam/loginProfiles.js +48 -0
- package/iam/loginProfiles.js.map +1 -0
- package/iam/oauthProvider.d.ts +257 -0
- package/iam/oauthProvider.js +146 -0
- package/iam/oauthProvider.js.map +1 -0
- package/iam/oauthProviders.d.ts +80 -0
- package/iam/oauthProviders.js +49 -0
- package/iam/oauthProviders.js.map +1 -0
- package/iam/oidcProvider.d.ts +5 -11
- package/iam/oidcProvider.js +5 -11
- package/iam/oidcProvider.js.map +1 -1
- package/iam/oidcProviderClient.d.ts +78 -0
- package/iam/oidcProviderClient.js +75 -0
- package/iam/oidcProviderClient.js.map +1 -0
- package/iam/oidcProviderThumbprint.d.ts +78 -0
- package/iam/oidcProviderThumbprint.js +75 -0
- package/iam/oidcProviderThumbprint.js.map +1 -0
- package/iam/oidcProviders.d.ts +2 -2
- package/iam/oidcProviders.js +2 -2
- package/iam/policies.d.ts +9 -63
- package/iam/policies.js +5 -21
- package/iam/policies.js.map +1 -1
- package/iam/policy.d.ts +26 -2
- package/iam/policy.js +8 -2
- package/iam/policy.js.map +1 -1
- package/iam/policyProject.d.ts +121 -0
- package/iam/policyProject.js +97 -0
- package/iam/policyProject.js.map +1 -0
- package/iam/role.d.ts +41 -7
- package/iam/role.js +13 -9
- package/iam/role.js.map +1 -1
- package/iam/rolePolicyAttachment.d.ts +3 -15
- package/iam/rolePolicyAttachment.js +3 -15
- package/iam/rolePolicyAttachment.js.map +1 -1
- package/iam/rolePolicyAttachments.d.ts +64 -0
- package/iam/rolePolicyAttachments.js +48 -0
- package/iam/rolePolicyAttachments.js.map +1 -0
- package/iam/roles.d.ts +6 -48
- package/iam/roles.js +4 -35
- package/iam/roles.js.map +1 -1
- package/iam/samlProviders.d.ts +2 -2
- package/iam/samlProviders.js +2 -2
- package/iam/securityConfig.d.ts +107 -0
- package/iam/securityConfig.js +82 -0
- package/iam/securityConfig.js.map +1 -0
- package/iam/securityConfigs.d.ts +76 -0
- package/iam/securityConfigs.js +49 -0
- package/iam/securityConfigs.js.map +1 -0
- package/iam/serviceLinkedRole.d.ts +22 -2
- package/iam/serviceLinkedRole.js +10 -2
- package/iam/serviceLinkedRole.js.map +1 -1
- package/iam/tag.d.ts +106 -0
- package/iam/tag.js +91 -0
- package/iam/tag.js.map +1 -0
- package/iam/tags.d.ts +93 -0
- package/iam/tags.js +50 -0
- package/iam/tags.js.map +1 -0
- package/iam/user.d.ts +24 -4
- package/iam/user.js +9 -1
- package/iam/user.js.map +1 -1
- package/iam/userGroup.d.ts +3 -3
- package/iam/userGroup.js +3 -3
- package/iam/userGroupAttachment.d.ts +3 -13
- package/iam/userGroupAttachment.js +3 -13
- package/iam/userGroupAttachment.js.map +1 -1
- package/iam/userGroupAttachments.d.ts +77 -0
- package/iam/userGroupAttachments.js +49 -0
- package/iam/userGroupAttachments.js.map +1 -0
- package/iam/userGroupPolicyAttachment.d.ts +3 -13
- package/iam/userGroupPolicyAttachment.js +3 -13
- package/iam/userGroupPolicyAttachment.js.map +1 -1
- package/iam/userGroupPolicyAttachments.d.ts +4 -36
- package/iam/userGroupPolicyAttachments.js +4 -36
- package/iam/userGroupPolicyAttachments.js.map +1 -1
- package/iam/userGroups.d.ts +6 -18
- package/iam/userGroups.js +4 -16
- package/iam/userGroups.js.map +1 -1
- package/iam/userPolicyAttachment.d.ts +3 -12
- package/iam/userPolicyAttachment.js +3 -12
- package/iam/userPolicyAttachment.js.map +1 -1
- package/iam/userPolicyAttachments.d.ts +64 -0
- package/iam/userPolicyAttachments.js +48 -0
- package/iam/userPolicyAttachments.js.map +1 -0
- package/iam/users.d.ts +9 -30
- package/iam/users.js +5 -18
- package/iam/users.js.map +1 -1
- package/package.json +1 -1
- package/tls/checkPoints.d.ts +109 -0
- package/tls/checkPoints.js +58 -0
- package/tls/checkPoints.js.map +1 -0
- package/tls/describeTraces.d.ts +4 -4
- package/tls/describeTraces.js +4 -4
- package/tls/downloadTask.d.ts +13 -9
- package/tls/downloadTask.js +13 -9
- package/tls/downloadTask.js.map +1 -1
- package/tls/downloadTasks.d.ts +4 -6
- package/tls/downloadTasks.js +4 -6
- package/tls/downloadTasks.js.map +1 -1
- package/tls/downloadUrls.d.ts +2 -2
- package/tls/downloadUrls.js +2 -2
- package/tls/etlTask.d.ts +1 -1
- package/tls/etlTask.js +1 -1
- package/tls/getCheckPoints.d.ts +107 -0
- package/tls/getCheckPoints.js +55 -0
- package/tls/getCheckPoints.js.map +1 -0
- package/tls/getDescribeTraces.d.ts +4 -4
- package/tls/getDescribeTraces.js +4 -4
- package/tls/getDownloadTasks.d.ts +4 -6
- package/tls/getDownloadTasks.js +4 -6
- package/tls/getDownloadTasks.js.map +1 -1
- package/tls/getDownloadUrls.d.ts +2 -2
- package/tls/getDownloadUrls.js +2 -2
- package/tls/getHostGroupRules.d.ts +2 -2
- package/tls/getHostGroupRules.js +2 -2
- package/tls/getIndexes.d.ts +14 -11
- package/tls/getIndexes.js +3 -3
- package/tls/getIndexes.js.map +1 -1
- package/tls/getLogCursors.d.ts +102 -0
- package/tls/getLogCursors.js +52 -0
- package/tls/getLogCursors.js.map +1 -0
- package/tls/getRuleBoundHostGroups.d.ts +2 -2
- package/tls/getRuleBoundHostGroups.js +2 -2
- package/tls/getRules.d.ts +8 -8
- package/tls/getRules.js +8 -8
- package/tls/getSearchTraces.d.ts +10 -4
- package/tls/getSearchTraces.js +10 -4
- package/tls/getSearchTraces.js.map +1 -1
- package/tls/getTags.d.ts +2 -2
- package/tls/getTags.js +2 -2
- package/tls/hostGroup.d.ts +2 -2
- package/tls/hostGroup.js +2 -2
- package/tls/hostGroupRules.d.ts +2 -2
- package/tls/hostGroupRules.js +2 -2
- package/tls/index.d.ts +12 -0
- package/tls/index.js +16 -3
- package/tls/index.js.map +1 -1
- package/tls/index_.d.ts +11 -7
- package/tls/index_.js +11 -7
- package/tls/index_.js.map +1 -1
- package/tls/indexes.d.ts +14 -11
- package/tls/indexes.js +3 -3
- package/tls/indexes.js.map +1 -1
- package/tls/logCursors.d.ts +104 -0
- package/tls/logCursors.js +55 -0
- package/tls/logCursors.js.map +1 -0
- package/tls/project.d.ts +1 -1
- package/tls/project.js +1 -1
- package/tls/rule.d.ts +10 -10
- package/tls/rule.js +10 -10
- package/tls/ruleBoundHostGroups.d.ts +2 -2
- package/tls/ruleBoundHostGroups.js +2 -2
- package/tls/rules.d.ts +8 -8
- package/tls/rules.js +8 -8
- package/tls/searchTraces.d.ts +10 -4
- package/tls/searchTraces.js +10 -4
- package/tls/searchTraces.js.map +1 -1
- package/tls/shard.d.ts +2 -2
- package/tls/shard.js +2 -2
- package/tls/shipper.d.ts +1 -1
- package/tls/shipper.js +1 -1
- package/tls/tags.d.ts +2 -2
- package/tls/tags.js +2 -2
- package/tls/traceInstance.d.ts +1 -1
- package/tls/traceInstance.js +1 -1
- package/types/input.d.ts +79 -1
- package/types/output.d.ts +1744 -230
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of iam identity providers
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const default = volcengine.iam.getIdentityProviders({});
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function getIdentityProviders(args?: GetIdentityProvidersArgs, opts?: pulumi.InvokeOptions): Promise<GetIdentityProvidersResult>;
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking getIdentityProviders.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetIdentityProvidersArgs {
|
|
19
|
+
/**
|
|
20
|
+
* File name where to save data source results.
|
|
21
|
+
*/
|
|
22
|
+
outputFile?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A collection of values returned by getIdentityProviders.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetIdentityProvidersResult {
|
|
28
|
+
/**
|
|
29
|
+
* The provider-assigned unique ID for this managed resource.
|
|
30
|
+
*/
|
|
31
|
+
readonly id: string;
|
|
32
|
+
readonly outputFile?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The collection of identity providers.
|
|
35
|
+
*/
|
|
36
|
+
readonly providers: outputs.iam.GetIdentityProvidersProvider[];
|
|
37
|
+
/**
|
|
38
|
+
* The total count of identity providers.
|
|
39
|
+
*/
|
|
40
|
+
readonly totalCount: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Use this data source to query detailed information of iam identity providers
|
|
44
|
+
* ## Example Usage
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
49
|
+
*
|
|
50
|
+
* const default = volcengine.iam.getIdentityProviders({});
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function getIdentityProvidersOutput(args?: GetIdentityProvidersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIdentityProvidersResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getIdentityProviders.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetIdentityProvidersOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* File name where to save data source results.
|
|
60
|
+
*/
|
|
61
|
+
outputFile?: pulumi.Input<string>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.getIdentityProvidersOutput = exports.getIdentityProviders = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of iam identity providers
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const default = volcengine.iam.getIdentityProviders({});
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
function getIdentityProviders(args, opts) {
|
|
20
|
+
args = args || {};
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("volcengine:iam/getIdentityProviders:getIdentityProviders", {
|
|
23
|
+
"outputFile": args.outputFile,
|
|
24
|
+
}, opts);
|
|
25
|
+
}
|
|
26
|
+
exports.getIdentityProviders = getIdentityProviders;
|
|
27
|
+
/**
|
|
28
|
+
* Use this data source to query detailed information of iam identity providers
|
|
29
|
+
* ## Example Usage
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
34
|
+
*
|
|
35
|
+
* const default = volcengine.iam.getIdentityProviders({});
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
function getIdentityProvidersOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply((a) => getIdentityProviders(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.getIdentityProvidersOutput = getIdentityProvidersOutput;
|
|
42
|
+
//# sourceMappingURL=getIdentityProviders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIdentityProviders.js","sourceRoot":"","sources":["../../iam/getIdentityProviders.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,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,0DAA0D,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AA8BD;;;;;;;;;;GAUG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of iam login profiles
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const default = volcengine.iam.getLoginProfiles({
|
|
12
|
+
* userName: "xx",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getLoginProfiles(args: GetLoginProfilesArgs, opts?: pulumi.InvokeOptions): Promise<GetLoginProfilesResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getLoginProfiles.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetLoginProfilesArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The user name.
|
|
23
|
+
*/
|
|
24
|
+
userName: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getLoginProfiles.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetLoginProfilesResult {
|
|
30
|
+
/**
|
|
31
|
+
* The provider-assigned unique ID for this managed resource.
|
|
32
|
+
*/
|
|
33
|
+
readonly id: string;
|
|
34
|
+
/**
|
|
35
|
+
* The collection of login profiles.
|
|
36
|
+
*/
|
|
37
|
+
readonly loginProfiles: outputs.iam.GetLoginProfilesLoginProfile[];
|
|
38
|
+
/**
|
|
39
|
+
* The user name.
|
|
40
|
+
*/
|
|
41
|
+
readonly userName: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Use this data source to query detailed information of iam login profiles
|
|
45
|
+
* ## Example Usage
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
50
|
+
*
|
|
51
|
+
* const default = volcengine.iam.getLoginProfiles({
|
|
52
|
+
* userName: "xx",
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare function getLoginProfilesOutput(args: GetLoginProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLoginProfilesResult>;
|
|
57
|
+
/**
|
|
58
|
+
* A collection of arguments for invoking getLoginProfiles.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetLoginProfilesOutputArgs {
|
|
61
|
+
/**
|
|
62
|
+
* The user name.
|
|
63
|
+
*/
|
|
64
|
+
userName: pulumi.Input<string>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.getLoginProfilesOutput = exports.getLoginProfiles = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of iam login profiles
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const default = volcengine.iam.getLoginProfiles({
|
|
17
|
+
* userName: "xx",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function getLoginProfiles(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("volcengine:iam/getLoginProfiles:getLoginProfiles", {
|
|
24
|
+
"userName": args.userName,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getLoginProfiles = getLoginProfiles;
|
|
28
|
+
/**
|
|
29
|
+
* Use this data source to query detailed information of iam login profiles
|
|
30
|
+
* ## Example Usage
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
35
|
+
*
|
|
36
|
+
* const default = volcengine.iam.getLoginProfiles({
|
|
37
|
+
* userName: "xx",
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
function getLoginProfilesOutput(args, opts) {
|
|
42
|
+
return pulumi.output(args).apply((a) => getLoginProfiles(a, opts));
|
|
43
|
+
}
|
|
44
|
+
exports.getLoginProfilesOutput = getLoginProfilesOutput;
|
|
45
|
+
//# sourceMappingURL=getLoginProfiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLoginProfiles.js","sourceRoot":"","sources":["../../iam/getLoginProfiles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AA6BD;;;;;;;;;;;;GAYG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of iam oauth providers
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const default = volcengine.iam.getOauthProviders({
|
|
12
|
+
* oauthProviderName: "acc-test-oauth",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getOauthProviders(args: GetOauthProvidersArgs, opts?: pulumi.InvokeOptions): Promise<GetOauthProvidersResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getOauthProviders.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetOauthProvidersArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The name of the OAuth provider.
|
|
23
|
+
*/
|
|
24
|
+
oauthProviderName: string;
|
|
25
|
+
/**
|
|
26
|
+
* File name where to save data source results.
|
|
27
|
+
*/
|
|
28
|
+
outputFile?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getOauthProviders.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetOauthProvidersResult {
|
|
34
|
+
/**
|
|
35
|
+
* The provider-assigned unique ID for this managed resource.
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the OAuth provider.
|
|
40
|
+
*/
|
|
41
|
+
readonly oauthProviderName: string;
|
|
42
|
+
readonly outputFile?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The collection of OAuth providers.
|
|
45
|
+
*/
|
|
46
|
+
readonly providers: outputs.iam.GetOauthProvidersProvider[];
|
|
47
|
+
/**
|
|
48
|
+
* The total count of query.
|
|
49
|
+
*/
|
|
50
|
+
readonly totalCount: number;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Use this data source to query detailed information of iam oauth providers
|
|
54
|
+
* ## Example Usage
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
59
|
+
*
|
|
60
|
+
* const default = volcengine.iam.getOauthProviders({
|
|
61
|
+
* oauthProviderName: "acc-test-oauth",
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function getOauthProvidersOutput(args: GetOauthProvidersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOauthProvidersResult>;
|
|
66
|
+
/**
|
|
67
|
+
* A collection of arguments for invoking getOauthProviders.
|
|
68
|
+
*/
|
|
69
|
+
export interface GetOauthProvidersOutputArgs {
|
|
70
|
+
/**
|
|
71
|
+
* The name of the OAuth provider.
|
|
72
|
+
*/
|
|
73
|
+
oauthProviderName: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* File name where to save data source results.
|
|
76
|
+
*/
|
|
77
|
+
outputFile?: pulumi.Input<string>;
|
|
78
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.getOauthProvidersOutput = exports.getOauthProviders = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of iam oauth providers
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const default = volcengine.iam.getOauthProviders({
|
|
17
|
+
* oauthProviderName: "acc-test-oauth",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function getOauthProviders(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("volcengine:iam/getOauthProviders:getOauthProviders", {
|
|
24
|
+
"oauthProviderName": args.oauthProviderName,
|
|
25
|
+
"outputFile": args.outputFile,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getOauthProviders = getOauthProviders;
|
|
29
|
+
/**
|
|
30
|
+
* Use this data source to query detailed information of iam oauth providers
|
|
31
|
+
* ## Example Usage
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
36
|
+
*
|
|
37
|
+
* const default = volcengine.iam.getOauthProviders({
|
|
38
|
+
* oauthProviderName: "acc-test-oauth",
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
function getOauthProvidersOutput(args, opts) {
|
|
43
|
+
return pulumi.output(args).apply((a) => getOauthProviders(a, opts));
|
|
44
|
+
}
|
|
45
|
+
exports.getOauthProvidersOutput = getOauthProvidersOutput;
|
|
46
|
+
//# sourceMappingURL=getOauthProviders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOauthProviders.js","sourceRoot":"","sources":["../../iam/getOauthProviders.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAsCD;;;;;;;;;;;;GAYG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
|
@@ -8,7 +8,7 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as volcengine from "@pulumi/volcengine";
|
|
10
10
|
*
|
|
11
|
-
* const
|
|
11
|
+
* const default = volcengine.iam.getOidcProviders({});
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
14
|
export declare function getOidcProviders(args?: GetOidcProvidersArgs, opts?: pulumi.InvokeOptions): Promise<GetOidcProvidersResult>;
|
|
@@ -47,7 +47,7 @@ export interface GetOidcProvidersResult {
|
|
|
47
47
|
* import * as pulumi from "@pulumi/pulumi";
|
|
48
48
|
* import * as volcengine from "@pulumi/volcengine";
|
|
49
49
|
*
|
|
50
|
-
* const
|
|
50
|
+
* const default = volcengine.iam.getOidcProviders({});
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
53
|
export declare function getOidcProvidersOutput(args?: GetOidcProvidersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOidcProvidersResult>;
|
package/iam/getOidcProviders.js
CHANGED
|
@@ -13,7 +13,7 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as volcengine from "@pulumi/volcengine";
|
|
15
15
|
*
|
|
16
|
-
* const
|
|
16
|
+
* const default = volcengine.iam.getOidcProviders({});
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
function getOidcProviders(args, opts) {
|
|
@@ -32,7 +32,7 @@ exports.getOidcProviders = getOidcProviders;
|
|
|
32
32
|
* import * as pulumi from "@pulumi/pulumi";
|
|
33
33
|
* import * as volcengine from "@pulumi/volcengine";
|
|
34
34
|
*
|
|
35
|
-
* const
|
|
35
|
+
* const default = volcengine.iam.getOidcProviders({});
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
function getOidcProvidersOutput(args, opts) {
|
package/iam/getPolicies.d.ts
CHANGED
|
@@ -7,16 +7,10 @@ import * as outputs from "../types/output";
|
|
|
7
7
|
* ```typescript
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
-
* import * as volcengine from "@volcengine/pulumi";
|
|
11
10
|
*
|
|
12
|
-
* const
|
|
13
|
-
*
|
|
14
|
-
* description: "acc-test",
|
|
15
|
-
* policyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}",
|
|
11
|
+
* const default = volcengine.iam.getPolicies({
|
|
12
|
+
* scope: "Custom",
|
|
16
13
|
* });
|
|
17
|
-
* const fooPolicies = fooPolicy.description.apply(description => volcengine.iam.getPoliciesOutput({
|
|
18
|
-
* query: description,
|
|
19
|
-
* }));
|
|
20
14
|
* ```
|
|
21
15
|
*/
|
|
22
16
|
export declare function getPolicies(args?: GetPoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetPoliciesResult>;
|
|
@@ -24,34 +18,18 @@ export declare function getPolicies(args?: GetPoliciesArgs, opts?: pulumi.Invoke
|
|
|
24
18
|
* A collection of arguments for invoking getPolicies.
|
|
25
19
|
*/
|
|
26
20
|
export interface GetPoliciesArgs {
|
|
27
|
-
/**
|
|
28
|
-
* A Name Regex of Policy.
|
|
29
|
-
*/
|
|
30
|
-
nameRegex?: string;
|
|
31
21
|
/**
|
|
32
22
|
* File name where to save data source results.
|
|
33
23
|
*/
|
|
34
24
|
outputFile?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Query policies, support policy name or description.
|
|
37
|
-
*/
|
|
38
|
-
query?: string;
|
|
39
|
-
/**
|
|
40
|
-
* The name of the IAM role.
|
|
41
|
-
*/
|
|
42
|
-
roleName?: string;
|
|
43
25
|
/**
|
|
44
26
|
* The scope of the Policy.
|
|
45
27
|
*/
|
|
46
28
|
scope?: string;
|
|
47
29
|
/**
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
status?: string;
|
|
51
|
-
/**
|
|
52
|
-
* The name of the IAM user.
|
|
30
|
+
* Whether to return the service role policy.
|
|
53
31
|
*/
|
|
54
|
-
|
|
32
|
+
withServiceRolePolicy?: number;
|
|
55
33
|
}
|
|
56
34
|
/**
|
|
57
35
|
* A collection of values returned by getPolicies.
|
|
@@ -61,27 +39,17 @@ export interface GetPoliciesResult {
|
|
|
61
39
|
* The provider-assigned unique ID for this managed resource.
|
|
62
40
|
*/
|
|
63
41
|
readonly id: string;
|
|
64
|
-
readonly nameRegex?: string;
|
|
65
42
|
readonly outputFile?: string;
|
|
66
43
|
/**
|
|
67
44
|
* The collection of Policy query.
|
|
68
45
|
*/
|
|
69
46
|
readonly policies: outputs.iam.GetPoliciesPolicy[];
|
|
70
|
-
readonly query?: string;
|
|
71
|
-
/**
|
|
72
|
-
* The name of the IAM role.The data show only query with role_name.
|
|
73
|
-
*/
|
|
74
|
-
readonly roleName?: string;
|
|
75
47
|
readonly scope?: string;
|
|
76
|
-
readonly status?: string;
|
|
77
48
|
/**
|
|
78
49
|
* The total count of Policy query.
|
|
79
50
|
*/
|
|
80
51
|
readonly totalCount: number;
|
|
81
|
-
|
|
82
|
-
* The name of the IAM user.The data show only query with user_name.
|
|
83
|
-
*/
|
|
84
|
-
readonly userName?: string;
|
|
52
|
+
readonly withServiceRolePolicy?: number;
|
|
85
53
|
}
|
|
86
54
|
/**
|
|
87
55
|
* Use this data source to query detailed information of iam policies
|
|
@@ -90,16 +58,10 @@ export interface GetPoliciesResult {
|
|
|
90
58
|
* ```typescript
|
|
91
59
|
* import * as pulumi from "@pulumi/pulumi";
|
|
92
60
|
* import * as volcengine from "@pulumi/volcengine";
|
|
93
|
-
* import * as volcengine from "@volcengine/pulumi";
|
|
94
61
|
*
|
|
95
|
-
* const
|
|
96
|
-
*
|
|
97
|
-
* description: "acc-test",
|
|
98
|
-
* policyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}",
|
|
62
|
+
* const default = volcengine.iam.getPolicies({
|
|
63
|
+
* scope: "Custom",
|
|
99
64
|
* });
|
|
100
|
-
* const fooPolicies = fooPolicy.description.apply(description => volcengine.iam.getPoliciesOutput({
|
|
101
|
-
* query: description,
|
|
102
|
-
* }));
|
|
103
65
|
* ```
|
|
104
66
|
*/
|
|
105
67
|
export declare function getPoliciesOutput(args?: GetPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPoliciesResult>;
|
|
@@ -107,32 +69,16 @@ export declare function getPoliciesOutput(args?: GetPoliciesOutputArgs, opts?: p
|
|
|
107
69
|
* A collection of arguments for invoking getPolicies.
|
|
108
70
|
*/
|
|
109
71
|
export interface GetPoliciesOutputArgs {
|
|
110
|
-
/**
|
|
111
|
-
* A Name Regex of Policy.
|
|
112
|
-
*/
|
|
113
|
-
nameRegex?: pulumi.Input<string>;
|
|
114
72
|
/**
|
|
115
73
|
* File name where to save data source results.
|
|
116
74
|
*/
|
|
117
75
|
outputFile?: pulumi.Input<string>;
|
|
118
|
-
/**
|
|
119
|
-
* Query policies, support policy name or description.
|
|
120
|
-
*/
|
|
121
|
-
query?: pulumi.Input<string>;
|
|
122
|
-
/**
|
|
123
|
-
* The name of the IAM role.
|
|
124
|
-
*/
|
|
125
|
-
roleName?: pulumi.Input<string>;
|
|
126
76
|
/**
|
|
127
77
|
* The scope of the Policy.
|
|
128
78
|
*/
|
|
129
79
|
scope?: pulumi.Input<string>;
|
|
130
80
|
/**
|
|
131
|
-
*
|
|
132
|
-
*/
|
|
133
|
-
status?: pulumi.Input<string>;
|
|
134
|
-
/**
|
|
135
|
-
* The name of the IAM user.
|
|
81
|
+
* Whether to return the service role policy.
|
|
136
82
|
*/
|
|
137
|
-
|
|
83
|
+
withServiceRolePolicy?: pulumi.Input<number>;
|
|
138
84
|
}
|
package/iam/getPolicies.js
CHANGED
|
@@ -12,29 +12,19 @@ const utilities = require("../utilities");
|
|
|
12
12
|
* ```typescript
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
-
* import * as volcengine from "@volcengine/pulumi";
|
|
16
15
|
*
|
|
17
|
-
* const
|
|
18
|
-
*
|
|
19
|
-
* description: "acc-test",
|
|
20
|
-
* policyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}",
|
|
16
|
+
* const default = volcengine.iam.getPolicies({
|
|
17
|
+
* scope: "Custom",
|
|
21
18
|
* });
|
|
22
|
-
* const fooPolicies = fooPolicy.description.apply(description => volcengine.iam.getPoliciesOutput({
|
|
23
|
-
* query: description,
|
|
24
|
-
* }));
|
|
25
19
|
* ```
|
|
26
20
|
*/
|
|
27
21
|
function getPolicies(args, opts) {
|
|
28
22
|
args = args || {};
|
|
29
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
24
|
return pulumi.runtime.invoke("volcengine:iam/getPolicies:getPolicies", {
|
|
31
|
-
"nameRegex": args.nameRegex,
|
|
32
25
|
"outputFile": args.outputFile,
|
|
33
|
-
"query": args.query,
|
|
34
|
-
"roleName": args.roleName,
|
|
35
26
|
"scope": args.scope,
|
|
36
|
-
"
|
|
37
|
-
"userName": args.userName,
|
|
27
|
+
"withServiceRolePolicy": args.withServiceRolePolicy,
|
|
38
28
|
}, opts);
|
|
39
29
|
}
|
|
40
30
|
exports.getPolicies = getPolicies;
|
|
@@ -45,16 +35,10 @@ exports.getPolicies = getPolicies;
|
|
|
45
35
|
* ```typescript
|
|
46
36
|
* import * as pulumi from "@pulumi/pulumi";
|
|
47
37
|
* import * as volcengine from "@pulumi/volcengine";
|
|
48
|
-
* import * as volcengine from "@volcengine/pulumi";
|
|
49
38
|
*
|
|
50
|
-
* const
|
|
51
|
-
*
|
|
52
|
-
* description: "acc-test",
|
|
53
|
-
* policyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}",
|
|
39
|
+
* const default = volcengine.iam.getPolicies({
|
|
40
|
+
* scope: "Custom",
|
|
54
41
|
* });
|
|
55
|
-
* const fooPolicies = fooPolicy.description.apply(description => volcengine.iam.getPoliciesOutput({
|
|
56
|
-
* query: description,
|
|
57
|
-
* }));
|
|
58
42
|
* ```
|
|
59
43
|
*/
|
|
60
44
|
function getPoliciesOutput(args, opts) {
|
package/iam/getPolicies.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPolicies.js","sourceRoot":"","sources":["../../iam/getPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getPolicies.js","sourceRoot":"","sources":["../../iam/getPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,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,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;AAwCD;;;;;;;;;;;;GAYG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of iam role policy attachments
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const default = volcengine.iam.getRolePolicyAttachments({
|
|
12
|
+
* roleName: "CustomRoleForPatchManager",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getRolePolicyAttachments(args: GetRolePolicyAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetRolePolicyAttachmentsResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getRolePolicyAttachments.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetRolePolicyAttachmentsArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The name of the role.
|
|
23
|
+
*/
|
|
24
|
+
roleName: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getRolePolicyAttachments.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetRolePolicyAttachmentsResult {
|
|
30
|
+
/**
|
|
31
|
+
* The provider-assigned unique ID for this managed resource.
|
|
32
|
+
*/
|
|
33
|
+
readonly id: string;
|
|
34
|
+
/**
|
|
35
|
+
* The collection of policies.
|
|
36
|
+
*/
|
|
37
|
+
readonly policies: outputs.iam.GetRolePolicyAttachmentsPolicy[];
|
|
38
|
+
readonly roleName: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Use this data source to query detailed information of iam role policy attachments
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
47
|
+
*
|
|
48
|
+
* const default = volcengine.iam.getRolePolicyAttachments({
|
|
49
|
+
* roleName: "CustomRoleForPatchManager",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function getRolePolicyAttachmentsOutput(args: GetRolePolicyAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRolePolicyAttachmentsResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getRolePolicyAttachments.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetRolePolicyAttachmentsOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* The name of the role.
|
|
60
|
+
*/
|
|
61
|
+
roleName: pulumi.Input<string>;
|
|
62
|
+
}
|