@pulumi/alicloud 3.84.0 → 3.85.0
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/amqp/getInstances.d.ts +47 -24
- package/amqp/getInstances.js +34 -20
- package/amqp/getInstances.js.map +1 -1
- package/amqp/virtualHost.d.ts +21 -9
- package/amqp/virtualHost.js +21 -9
- package/amqp/virtualHost.js.map +1 -1
- package/cloudsso/delegateAccount.d.ts +85 -0
- package/cloudsso/delegateAccount.js +89 -0
- package/cloudsso/delegateAccount.js.map +1 -0
- package/cloudsso/index.d.ts +3 -0
- package/cloudsso/index.js +6 -1
- package/cloudsso/index.js.map +1 -1
- package/cs/nodePool.d.ts +3 -0
- package/cs/nodePool.js.map +1 -1
- package/ddos/bgpIp.d.ts +28 -22
- package/ddos/bgpIp.js +8 -8
- package/ddos/bgpIp.js.map +1 -1
- package/ddos/ddosBgpInstance.d.ts +86 -49
- package/ddos/ddosBgpInstance.js +10 -27
- package/ddos/ddosBgpInstance.js.map +1 -1
- package/dms/enterpriseWorkspace.d.ts +123 -0
- package/dms/enterpriseWorkspace.js +107 -0
- package/dms/enterpriseWorkspace.js.map +1 -0
- package/dms/index.d.ts +3 -0
- package/dms/index.js +6 -1
- package/dms/index.js.map +1 -1
- package/dns/ddosBgpInstance.d.ts +86 -49
- package/dns/ddosBgpInstance.js +10 -27
- package/dns/ddosBgpInstance.js.map +1 -1
- package/eflo/node.d.ts +15 -3
- package/eflo/node.js +2 -0
- package/eflo/node.js.map +1 -1
- package/esa/index.d.ts +9 -0
- package/esa/index.js +16 -1
- package/esa/index.js.map +1 -1
- package/esa/kvAccount.d.ts +53 -0
- package/esa/kvAccount.js +58 -0
- package/esa/kvAccount.js.map +1 -0
- package/esa/routineRelatedRecord.d.ts +47 -0
- package/esa/routineRelatedRecord.js +61 -0
- package/esa/routineRelatedRecord.js.map +1 -0
- package/esa/urlObservation.d.ts +123 -0
- package/esa/urlObservation.js +107 -0
- package/esa/urlObservation.js.map +1 -0
- package/fc/getService.d.ts +2 -2
- package/fc/getService.js +2 -2
- package/hologram/instance.d.ts +11 -0
- package/hologram/instance.js +2 -0
- package/hologram/instance.js.map +1 -1
- package/kms/instance.d.ts +18 -0
- package/kms/instance.js +2 -0
- package/kms/instance.js.map +1 -1
- package/log/ossExport.d.ts +3 -0
- package/log/ossExport.js +3 -0
- package/log/ossExport.js.map +1 -1
- package/message/serviceSubscription.d.ts +12 -0
- package/message/serviceSubscription.js +2 -0
- package/message/serviceSubscription.js.map +1 -1
- package/mongodb/shardingInstance.d.ts +92 -0
- package/mongodb/shardingInstance.js +14 -0
- package/mongodb/shardingInstance.js.map +1 -1
- package/nlb/serverGroup.d.ts +12 -9
- package/nlb/serverGroup.js.map +1 -1
- package/oss/bucket.d.ts +32 -0
- package/oss/bucket.js +32 -0
- package/oss/bucket.js.map +1 -1
- package/package.json +2 -2
- package/privatelink/vpcEndpoint.d.ts +9 -3
- package/privatelink/vpcEndpoint.js.map +1 -1
- package/resourcemanager/delegatedAdministrator.d.ts +10 -20
- package/resourcemanager/delegatedAdministrator.js +4 -14
- package/resourcemanager/delegatedAdministrator.js.map +1 -1
- package/resourcemanager/folder.d.ts +39 -12
- package/resourcemanager/folder.js +11 -6
- package/resourcemanager/folder.js.map +1 -1
- package/resourcemanager/getAccounts.d.ts +29 -14
- package/resourcemanager/getAccounts.js +6 -4
- package/resourcemanager/getAccounts.js.map +1 -1
- package/resourcemanager/index.d.ts +3 -0
- package/resourcemanager/index.js +7 -1
- package/resourcemanager/index.js.map +1 -1
- package/resourcemanager/messageContact.d.ts +193 -0
- package/resourcemanager/messageContact.js +109 -0
- package/resourcemanager/messageContact.js.map +1 -0
- package/resourcemanager/resourceDirectory.d.ts +47 -21
- package/resourcemanager/resourceDirectory.js +7 -9
- package/resourcemanager/resourceDirectory.js.map +1 -1
- package/resourcemanager/sharedResource.d.ts +34 -21
- package/resourcemanager/sharedResource.js +19 -12
- package/resourcemanager/sharedResource.js.map +1 -1
- package/resourcemanager/sharedTarget.d.ts +24 -11
- package/resourcemanager/sharedTarget.js +12 -5
- package/resourcemanager/sharedTarget.js.map +1 -1
- package/sls/getLogtailConfigs.d.ts +263 -0
- package/sls/getLogtailConfigs.js +190 -0
- package/sls/getLogtailConfigs.js.map +1 -0
- package/sls/getMachineGroups.d.ts +141 -0
- package/sls/getMachineGroups.js +100 -0
- package/sls/getMachineGroups.js.map +1 -0
- package/sls/index.d.ts +12 -0
- package/sls/index.js +17 -1
- package/sls/index.js.map +1 -1
- package/sls/logtailConfig.d.ts +227 -0
- package/sls/logtailConfig.js +149 -0
- package/sls/logtailConfig.js.map +1 -0
- package/sls/machineGroup.d.ts +164 -0
- package/sls/machineGroup.js +113 -0
- package/sls/machineGroup.js.map +1 -0
- package/types/input.d.ts +53 -18
- package/types/output.d.ts +99 -38
- package/vpc/dhcpOptionsSet.d.ts +42 -25
- package/vpc/dhcpOptionsSet.js +3 -1
- package/vpc/dhcpOptionsSet.js.map +1 -1
- package/vpc/flowLog.d.ts +11 -11
- package/vpc/haVipv2.d.ts +47 -41
- package/vpc/haVipv2.js +11 -9
- package/vpc/haVipv2.js.map +1 -1
- package/vpc/havipAttachment.d.ts +19 -26
- package/vpc/havipAttachment.js +8 -0
- package/vpc/havipAttachment.js.map +1 -1
- package/vpc/networkAcl.d.ts +15 -10
- package/vpc/networkAcl.js +3 -1
- package/vpc/networkAcl.js.map +1 -1
|
@@ -3,7 +3,7 @@ import * as outputs from "../types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* This data source provides the Resource Manager Accounts of the current Alibaba Cloud user.
|
|
5
5
|
*
|
|
6
|
-
* > **NOTE:**
|
|
6
|
+
* > **NOTE:** Available since v1.86.0.
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
@@ -12,7 +12,7 @@ import * as outputs from "../types/output";
|
|
|
12
12
|
* import * as alicloud from "@pulumi/alicloud";
|
|
13
13
|
*
|
|
14
14
|
* const _default = alicloud.resourcemanager.getAccounts({});
|
|
15
|
-
* export const
|
|
15
|
+
* export const resourceManagerAccountId0 = _default.then(_default => _default.accounts?.[0]?.id);
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare function getAccounts(args?: GetAccountsArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountsResult>;
|
|
@@ -21,11 +21,11 @@ export declare function getAccounts(args?: GetAccountsArgs, opts?: pulumi.Invoke
|
|
|
21
21
|
*/
|
|
22
22
|
export interface GetAccountsArgs {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Whether to query the detailed list of resource attributes. Default value: `false`.
|
|
25
25
|
*/
|
|
26
26
|
enableDetails?: boolean;
|
|
27
27
|
/**
|
|
28
|
-
* A list of
|
|
28
|
+
* A list of Account IDs.
|
|
29
29
|
*/
|
|
30
30
|
ids?: string[];
|
|
31
31
|
/**
|
|
@@ -33,9 +33,15 @@ export interface GetAccountsArgs {
|
|
|
33
33
|
*/
|
|
34
34
|
outputFile?: string;
|
|
35
35
|
/**
|
|
36
|
-
* The status of account
|
|
36
|
+
* The status of account. Valid values: `CreateCancelled`, `CreateExpired`, `CreateFailed`, `CreateSuccess`, `CreateVerifying`, `InviteSuccess`, `PromoteCancelled`, `PromoteExpired`, `PromoteFailed`, `PromoteSuccess`, `PromoteVerifying`.
|
|
37
37
|
*/
|
|
38
38
|
status?: string;
|
|
39
|
+
/**
|
|
40
|
+
* A mapping of tags to assign to the resource.
|
|
41
|
+
*/
|
|
42
|
+
tags?: {
|
|
43
|
+
[key: string]: string;
|
|
44
|
+
};
|
|
39
45
|
}
|
|
40
46
|
/**
|
|
41
47
|
* A collection of values returned by getAccounts.
|
|
@@ -50,20 +56,23 @@ export interface GetAccountsResult {
|
|
|
50
56
|
* The provider-assigned unique ID for this managed resource.
|
|
51
57
|
*/
|
|
52
58
|
readonly id: string;
|
|
53
|
-
/**
|
|
54
|
-
* A list of account IDs.
|
|
55
|
-
*/
|
|
56
59
|
readonly ids: string[];
|
|
57
60
|
readonly outputFile?: string;
|
|
58
61
|
/**
|
|
59
|
-
* The status of the member
|
|
62
|
+
* The status of the member.
|
|
60
63
|
*/
|
|
61
64
|
readonly status?: string;
|
|
65
|
+
/**
|
|
66
|
+
* (Available since v1.259.0) The tags that are added to the member.
|
|
67
|
+
*/
|
|
68
|
+
readonly tags?: {
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
};
|
|
62
71
|
}
|
|
63
72
|
/**
|
|
64
73
|
* This data source provides the Resource Manager Accounts of the current Alibaba Cloud user.
|
|
65
74
|
*
|
|
66
|
-
* > **NOTE:**
|
|
75
|
+
* > **NOTE:** Available since v1.86.0.
|
|
67
76
|
*
|
|
68
77
|
* ## Example Usage
|
|
69
78
|
*
|
|
@@ -72,7 +81,7 @@ export interface GetAccountsResult {
|
|
|
72
81
|
* import * as alicloud from "@pulumi/alicloud";
|
|
73
82
|
*
|
|
74
83
|
* const _default = alicloud.resourcemanager.getAccounts({});
|
|
75
|
-
* export const
|
|
84
|
+
* export const resourceManagerAccountId0 = _default.then(_default => _default.accounts?.[0]?.id);
|
|
76
85
|
* ```
|
|
77
86
|
*/
|
|
78
87
|
export declare function getAccountsOutput(args?: GetAccountsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountsResult>;
|
|
@@ -81,11 +90,11 @@ export declare function getAccountsOutput(args?: GetAccountsOutputArgs, opts?: p
|
|
|
81
90
|
*/
|
|
82
91
|
export interface GetAccountsOutputArgs {
|
|
83
92
|
/**
|
|
84
|
-
*
|
|
93
|
+
* Whether to query the detailed list of resource attributes. Default value: `false`.
|
|
85
94
|
*/
|
|
86
95
|
enableDetails?: pulumi.Input<boolean>;
|
|
87
96
|
/**
|
|
88
|
-
* A list of
|
|
97
|
+
* A list of Account IDs.
|
|
89
98
|
*/
|
|
90
99
|
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
91
100
|
/**
|
|
@@ -93,7 +102,13 @@ export interface GetAccountsOutputArgs {
|
|
|
93
102
|
*/
|
|
94
103
|
outputFile?: pulumi.Input<string>;
|
|
95
104
|
/**
|
|
96
|
-
* The status of account
|
|
105
|
+
* The status of account. Valid values: `CreateCancelled`, `CreateExpired`, `CreateFailed`, `CreateSuccess`, `CreateVerifying`, `InviteSuccess`, `PromoteCancelled`, `PromoteExpired`, `PromoteFailed`, `PromoteSuccess`, `PromoteVerifying`.
|
|
97
106
|
*/
|
|
98
107
|
status?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* A mapping of tags to assign to the resource.
|
|
110
|
+
*/
|
|
111
|
+
tags?: pulumi.Input<{
|
|
112
|
+
[key: string]: pulumi.Input<string>;
|
|
113
|
+
}>;
|
|
99
114
|
}
|
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This data source provides the Resource Manager Accounts of the current Alibaba Cloud user.
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE:**
|
|
11
|
+
* > **NOTE:** Available since v1.86.0.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
@@ -17,7 +17,7 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* import * as alicloud from "@pulumi/alicloud";
|
|
18
18
|
*
|
|
19
19
|
* const _default = alicloud.resourcemanager.getAccounts({});
|
|
20
|
-
* export const
|
|
20
|
+
* export const resourceManagerAccountId0 = _default.then(_default => _default.accounts?.[0]?.id);
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
23
|
function getAccounts(args, opts) {
|
|
@@ -28,13 +28,14 @@ function getAccounts(args, opts) {
|
|
|
28
28
|
"ids": args.ids,
|
|
29
29
|
"outputFile": args.outputFile,
|
|
30
30
|
"status": args.status,
|
|
31
|
+
"tags": args.tags,
|
|
31
32
|
}, opts);
|
|
32
33
|
}
|
|
33
34
|
exports.getAccounts = getAccounts;
|
|
34
35
|
/**
|
|
35
36
|
* This data source provides the Resource Manager Accounts of the current Alibaba Cloud user.
|
|
36
37
|
*
|
|
37
|
-
* > **NOTE:**
|
|
38
|
+
* > **NOTE:** Available since v1.86.0.
|
|
38
39
|
*
|
|
39
40
|
* ## Example Usage
|
|
40
41
|
*
|
|
@@ -43,7 +44,7 @@ exports.getAccounts = getAccounts;
|
|
|
43
44
|
* import * as alicloud from "@pulumi/alicloud";
|
|
44
45
|
*
|
|
45
46
|
* const _default = alicloud.resourcemanager.getAccounts({});
|
|
46
|
-
* export const
|
|
47
|
+
* export const resourceManagerAccountId0 = _default.then(_default => _default.accounts?.[0]?.id);
|
|
47
48
|
* ```
|
|
48
49
|
*/
|
|
49
50
|
function getAccountsOutput(args, opts) {
|
|
@@ -54,6 +55,7 @@ function getAccountsOutput(args, opts) {
|
|
|
54
55
|
"ids": args.ids,
|
|
55
56
|
"outputFile": args.outputFile,
|
|
56
57
|
"status": args.status,
|
|
58
|
+
"tags": args.tags,
|
|
57
59
|
}, opts);
|
|
58
60
|
}
|
|
59
61
|
exports.getAccountsOutput = getAccountsOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccounts.js","sourceRoot":"","sources":["../../resourcemanager/getAccounts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;
|
|
1
|
+
{"version":3,"file":"getAccounts.js","sourceRoot":"","sources":["../../resourcemanager/getAccounts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kCAUC;AAoDD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAAiC;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8CAUC"}
|
|
@@ -67,6 +67,9 @@ export declare const getSharedTargetsOutput: typeof import("./getSharedTargets")
|
|
|
67
67
|
export { HandshakeArgs, HandshakeState } from "./handshake";
|
|
68
68
|
export type Handshake = import("./handshake").Handshake;
|
|
69
69
|
export declare const Handshake: typeof import("./handshake").Handshake;
|
|
70
|
+
export { MessageContactArgs, MessageContactState } from "./messageContact";
|
|
71
|
+
export type MessageContact = import("./messageContact").MessageContact;
|
|
72
|
+
export declare const MessageContact: typeof import("./messageContact").MessageContact;
|
|
70
73
|
export { PolicyArgs, PolicyState } from "./policy";
|
|
71
74
|
export type Policy = import("./policy").Policy;
|
|
72
75
|
export declare const Policy: typeof import("./policy").Policy;
|
package/resourcemanager/index.js
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
5
|
+
exports.SharedResource = exports.ServiceLinkedRole = exports.SavedQuery = exports.Role = exports.ResourceShare = exports.ResourceGroup = exports.ResourceDirectory = exports.PolicyVersion = exports.PolicyAttachment = exports.Policy = exports.MessageContact = exports.Handshake = exports.getSharedTargetsOutput = exports.getSharedTargets = exports.getSharedResourcesOutput = exports.getSharedResources = exports.getRolesOutput = exports.getRoles = exports.getResourceSharesOutput = exports.getResourceShares = exports.getResourceGroupsOutput = exports.getResourceGroups = exports.getResourceDirectoriesOutput = exports.getResourceDirectories = exports.getPolicyVersionsOutput = exports.getPolicyVersions = exports.getPolicyAttachmentsOutput = exports.getPolicyAttachments = exports.getPoliciesOutput = exports.getPolicies = exports.getHandshakesOutput = exports.getHandshakes = exports.getFoldersOutput = exports.getFolders = exports.getDelegatedAdministratorsOutput = exports.getDelegatedAdministrators = exports.getControlPolicyAttachmentsOutput = exports.getControlPolicyAttachments = exports.getControlPoliciesOutput = exports.getControlPolicies = exports.getAccountsOutput = exports.getAccounts = exports.getAccountDeletionCheckTaskOutput = exports.getAccountDeletionCheckTask = exports.Folder = exports.DelegatedAdministrator = exports.ControlPolicyAttachment = exports.ControlPolicy = exports.AutoGroupingRule = exports.Account = void 0;
|
|
6
|
+
exports.SharedTarget = void 0;
|
|
6
7
|
const pulumi = require("@pulumi/pulumi");
|
|
7
8
|
const utilities = require("../utilities");
|
|
8
9
|
exports.Account = null;
|
|
@@ -67,6 +68,8 @@ exports.getSharedTargetsOutput = null;
|
|
|
67
68
|
utilities.lazyLoad(exports, ["getSharedTargets", "getSharedTargetsOutput"], () => require("./getSharedTargets"));
|
|
68
69
|
exports.Handshake = null;
|
|
69
70
|
utilities.lazyLoad(exports, ["Handshake"], () => require("./handshake"));
|
|
71
|
+
exports.MessageContact = null;
|
|
72
|
+
utilities.lazyLoad(exports, ["MessageContact"], () => require("./messageContact"));
|
|
70
73
|
exports.Policy = null;
|
|
71
74
|
utilities.lazyLoad(exports, ["Policy"], () => require("./policy"));
|
|
72
75
|
exports.PolicyAttachment = null;
|
|
@@ -107,6 +110,8 @@ const _module = {
|
|
|
107
110
|
return new exports.Folder(name, undefined, { urn });
|
|
108
111
|
case "alicloud:resourcemanager/handshake:Handshake":
|
|
109
112
|
return new exports.Handshake(name, undefined, { urn });
|
|
113
|
+
case "alicloud:resourcemanager/messageContact:MessageContact":
|
|
114
|
+
return new exports.MessageContact(name, undefined, { urn });
|
|
110
115
|
case "alicloud:resourcemanager/policy:Policy":
|
|
111
116
|
return new exports.Policy(name, undefined, { urn });
|
|
112
117
|
case "alicloud:resourcemanager/policyAttachment:PolicyAttachment":
|
|
@@ -141,6 +146,7 @@ pulumi.runtime.registerResourceModule("alicloud", "resourcemanager/controlPolicy
|
|
|
141
146
|
pulumi.runtime.registerResourceModule("alicloud", "resourcemanager/delegatedAdministrator", _module);
|
|
142
147
|
pulumi.runtime.registerResourceModule("alicloud", "resourcemanager/folder", _module);
|
|
143
148
|
pulumi.runtime.registerResourceModule("alicloud", "resourcemanager/handshake", _module);
|
|
149
|
+
pulumi.runtime.registerResourceModule("alicloud", "resourcemanager/messageContact", _module);
|
|
144
150
|
pulumi.runtime.registerResourceModule("alicloud", "resourcemanager/policy", _module);
|
|
145
151
|
pulumi.runtime.registerResourceModule("alicloud", "resourcemanager/policyAttachment", _module);
|
|
146
152
|
pulumi.runtime.registerResourceModule("alicloud", "resourcemanager/policyVersion", _module);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../resourcemanager/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../resourcemanager/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,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;AAIxD,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAI1E,QAAA,aAAa,GAAmD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAIpE,QAAA,uBAAuB,GAAuE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAIxF,QAAA,sBAAsB,GAAqE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAA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C,UAAU,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Resource Manager Message Contact resource.
|
|
4
|
+
*
|
|
5
|
+
* Message contact for Resource Directory account.
|
|
6
|
+
*
|
|
7
|
+
* For information about Resource Manager Message Contact and how to use it, see [What is Message Contact](https://next.api.alibabacloud.com/document/ResourceDirectoryMaster/2022-04-19/AddMessageContact).
|
|
8
|
+
*
|
|
9
|
+
* > **NOTE:** Available since v1.259.0.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
18
|
+
*
|
|
19
|
+
* const config = new pulumi.Config();
|
|
20
|
+
* const name = config.get("name") || "terraform-example";
|
|
21
|
+
* const _default = new alicloud.resourcemanager.MessageContact("default", {
|
|
22
|
+
* messageTypes: ["AccountExpenses"],
|
|
23
|
+
* phoneNumber: "86-18626811111",
|
|
24
|
+
* title: "TechnicalDirector",
|
|
25
|
+
* emailAddress: "resourceexample@126.com",
|
|
26
|
+
* messageContactName: "example",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Resource Manager Message Contact can be imported using the id, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import alicloud:resourcemanager/messageContact:MessageContact example <id>
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class MessageContact extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing MessageContact resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MessageContactState, opts?: pulumi.CustomResourceOptions): MessageContact;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of MessageContact. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is MessageContact;
|
|
54
|
+
/**
|
|
55
|
+
* The time when the contact was created.
|
|
56
|
+
*/
|
|
57
|
+
readonly createTime: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The email address of the contact.
|
|
60
|
+
* After you specify an email address, you need to call SendEmailVerificationForMessageContact to send verification information to the email address. After the verification is passed, the email address takes effect.
|
|
61
|
+
*/
|
|
62
|
+
readonly emailAddress: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The name of the contact.
|
|
65
|
+
* The name must be unique in your resource directory.
|
|
66
|
+
* The name must be 2 to 12 characters in length and can contain only letters.
|
|
67
|
+
*/
|
|
68
|
+
readonly messageContactName: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The types of messages received by the contact.
|
|
71
|
+
*/
|
|
72
|
+
readonly messageTypes: pulumi.Output<string[]>;
|
|
73
|
+
/**
|
|
74
|
+
* The mobile phone number of the contact.
|
|
75
|
+
*
|
|
76
|
+
* Specify the mobile phone number in the `-` format.
|
|
77
|
+
*
|
|
78
|
+
* > **NOTE:** Only mobile phone numbers in the `86-` format in the Chinese mainland are supported.
|
|
79
|
+
*
|
|
80
|
+
* After you specify a mobile phone number, you need to call SendPhoneVerificationForMessageContact to send verification information to the mobile phone number. After the verification is passed, the mobile phone number takes effect.
|
|
81
|
+
*/
|
|
82
|
+
readonly phoneNumber: pulumi.Output<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* The status of the contact.
|
|
85
|
+
*/
|
|
86
|
+
readonly status: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The job title of the contact.Valid values:
|
|
89
|
+
* - FinanceDirector
|
|
90
|
+
* - TechnicalDirector
|
|
91
|
+
* - MaintenanceDirector
|
|
92
|
+
* - CEO
|
|
93
|
+
* - ProjectDirector
|
|
94
|
+
* - Other
|
|
95
|
+
*/
|
|
96
|
+
readonly title: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Create a MessageContact resource with the given unique name, arguments, and options.
|
|
99
|
+
*
|
|
100
|
+
* @param name The _unique_ name of the resource.
|
|
101
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
102
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
103
|
+
*/
|
|
104
|
+
constructor(name: string, args: MessageContactArgs, opts?: pulumi.CustomResourceOptions);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Input properties used for looking up and filtering MessageContact resources.
|
|
108
|
+
*/
|
|
109
|
+
export interface MessageContactState {
|
|
110
|
+
/**
|
|
111
|
+
* The time when the contact was created.
|
|
112
|
+
*/
|
|
113
|
+
createTime?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The email address of the contact.
|
|
116
|
+
* After you specify an email address, you need to call SendEmailVerificationForMessageContact to send verification information to the email address. After the verification is passed, the email address takes effect.
|
|
117
|
+
*/
|
|
118
|
+
emailAddress?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The name of the contact.
|
|
121
|
+
* The name must be unique in your resource directory.
|
|
122
|
+
* The name must be 2 to 12 characters in length and can contain only letters.
|
|
123
|
+
*/
|
|
124
|
+
messageContactName?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* The types of messages received by the contact.
|
|
127
|
+
*/
|
|
128
|
+
messageTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
129
|
+
/**
|
|
130
|
+
* The mobile phone number of the contact.
|
|
131
|
+
*
|
|
132
|
+
* Specify the mobile phone number in the `-` format.
|
|
133
|
+
*
|
|
134
|
+
* > **NOTE:** Only mobile phone numbers in the `86-` format in the Chinese mainland are supported.
|
|
135
|
+
*
|
|
136
|
+
* After you specify a mobile phone number, you need to call SendPhoneVerificationForMessageContact to send verification information to the mobile phone number. After the verification is passed, the mobile phone number takes effect.
|
|
137
|
+
*/
|
|
138
|
+
phoneNumber?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The status of the contact.
|
|
141
|
+
*/
|
|
142
|
+
status?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The job title of the contact.Valid values:
|
|
145
|
+
* - FinanceDirector
|
|
146
|
+
* - TechnicalDirector
|
|
147
|
+
* - MaintenanceDirector
|
|
148
|
+
* - CEO
|
|
149
|
+
* - ProjectDirector
|
|
150
|
+
* - Other
|
|
151
|
+
*/
|
|
152
|
+
title?: pulumi.Input<string>;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* The set of arguments for constructing a MessageContact resource.
|
|
156
|
+
*/
|
|
157
|
+
export interface MessageContactArgs {
|
|
158
|
+
/**
|
|
159
|
+
* The email address of the contact.
|
|
160
|
+
* After you specify an email address, you need to call SendEmailVerificationForMessageContact to send verification information to the email address. After the verification is passed, the email address takes effect.
|
|
161
|
+
*/
|
|
162
|
+
emailAddress: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The name of the contact.
|
|
165
|
+
* The name must be unique in your resource directory.
|
|
166
|
+
* The name must be 2 to 12 characters in length and can contain only letters.
|
|
167
|
+
*/
|
|
168
|
+
messageContactName: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* The types of messages received by the contact.
|
|
171
|
+
*/
|
|
172
|
+
messageTypes: pulumi.Input<pulumi.Input<string>[]>;
|
|
173
|
+
/**
|
|
174
|
+
* The mobile phone number of the contact.
|
|
175
|
+
*
|
|
176
|
+
* Specify the mobile phone number in the `-` format.
|
|
177
|
+
*
|
|
178
|
+
* > **NOTE:** Only mobile phone numbers in the `86-` format in the Chinese mainland are supported.
|
|
179
|
+
*
|
|
180
|
+
* After you specify a mobile phone number, you need to call SendPhoneVerificationForMessageContact to send verification information to the mobile phone number. After the verification is passed, the mobile phone number takes effect.
|
|
181
|
+
*/
|
|
182
|
+
phoneNumber?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* The job title of the contact.Valid values:
|
|
185
|
+
* - FinanceDirector
|
|
186
|
+
* - TechnicalDirector
|
|
187
|
+
* - MaintenanceDirector
|
|
188
|
+
* - CEO
|
|
189
|
+
* - ProjectDirector
|
|
190
|
+
* - Other
|
|
191
|
+
*/
|
|
192
|
+
title: pulumi.Input<string>;
|
|
193
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.MessageContact = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Resource Manager Message Contact resource.
|
|
10
|
+
*
|
|
11
|
+
* Message contact for Resource Directory account.
|
|
12
|
+
*
|
|
13
|
+
* For information about Resource Manager Message Contact and how to use it, see [What is Message Contact](https://next.api.alibabacloud.com/document/ResourceDirectoryMaster/2022-04-19/AddMessageContact).
|
|
14
|
+
*
|
|
15
|
+
* > **NOTE:** Available since v1.259.0.
|
|
16
|
+
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
*
|
|
19
|
+
* Basic Usage
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
24
|
+
*
|
|
25
|
+
* const config = new pulumi.Config();
|
|
26
|
+
* const name = config.get("name") || "terraform-example";
|
|
27
|
+
* const _default = new alicloud.resourcemanager.MessageContact("default", {
|
|
28
|
+
* messageTypes: ["AccountExpenses"],
|
|
29
|
+
* phoneNumber: "86-18626811111",
|
|
30
|
+
* title: "TechnicalDirector",
|
|
31
|
+
* emailAddress: "resourceexample@126.com",
|
|
32
|
+
* messageContactName: "example",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* Resource Manager Message Contact can be imported using the id, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import alicloud:resourcemanager/messageContact:MessageContact example <id>
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class MessageContact extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing MessageContact resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, state, opts) {
|
|
55
|
+
return new MessageContact(name, state, { ...opts, id: id });
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of MessageContact. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === MessageContact.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
constructor(name, argsOrState, opts) {
|
|
68
|
+
let resourceInputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (opts.id) {
|
|
71
|
+
const state = argsOrState;
|
|
72
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
73
|
+
resourceInputs["emailAddress"] = state?.emailAddress;
|
|
74
|
+
resourceInputs["messageContactName"] = state?.messageContactName;
|
|
75
|
+
resourceInputs["messageTypes"] = state?.messageTypes;
|
|
76
|
+
resourceInputs["phoneNumber"] = state?.phoneNumber;
|
|
77
|
+
resourceInputs["status"] = state?.status;
|
|
78
|
+
resourceInputs["title"] = state?.title;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
const args = argsOrState;
|
|
82
|
+
if (args?.emailAddress === undefined && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'emailAddress'");
|
|
84
|
+
}
|
|
85
|
+
if (args?.messageContactName === undefined && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'messageContactName'");
|
|
87
|
+
}
|
|
88
|
+
if (args?.messageTypes === undefined && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'messageTypes'");
|
|
90
|
+
}
|
|
91
|
+
if (args?.title === undefined && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'title'");
|
|
93
|
+
}
|
|
94
|
+
resourceInputs["emailAddress"] = args?.emailAddress;
|
|
95
|
+
resourceInputs["messageContactName"] = args?.messageContactName;
|
|
96
|
+
resourceInputs["messageTypes"] = args?.messageTypes;
|
|
97
|
+
resourceInputs["phoneNumber"] = args?.phoneNumber;
|
|
98
|
+
resourceInputs["title"] = args?.title;
|
|
99
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
101
|
+
}
|
|
102
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
103
|
+
super(MessageContact.__pulumiType, name, resourceInputs, opts);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.MessageContact = MessageContact;
|
|
107
|
+
/** @internal */
|
|
108
|
+
MessageContact.__pulumiType = 'alicloud:resourcemanager/messageContact:MessageContact';
|
|
109
|
+
//# sourceMappingURL=messageContact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messageContact.js","sourceRoot":"","sources":["../../resourcemanager/messageContact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAsDD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,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