@volcengine/pulumi-volcenginecc 0.0.41 → 0.0.42
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/directconnect/bgpPeer.d.ts +189 -0
- package/directconnect/bgpPeer.js +104 -0
- package/directconnect/bgpPeer.js.map +1 -0
- package/directconnect/getBgpPeer.d.ts +88 -0
- package/directconnect/getBgpPeer.js +28 -0
- package/directconnect/getBgpPeer.js.map +1 -0
- package/directconnect/getBgpPeers.d.ts +22 -0
- package/directconnect/getBgpPeers.js +24 -0
- package/directconnect/getBgpPeers.js.map +1 -0
- package/directconnect/index.d.ts +9 -0
- package/directconnect/index.js +12 -1
- package/directconnect/index.js.map +1 -1
- package/dns/getRecord.d.ts +104 -0
- package/dns/getRecord.js +28 -0
- package/dns/getRecord.js.map +1 -0
- package/dns/getRecords.d.ts +22 -0
- package/dns/getRecords.js +24 -0
- package/dns/getRecords.js.map +1 -0
- package/dns/index.d.ts +9 -0
- package/dns/index.js +12 -1
- package/dns/index.js.map +1 -1
- package/dns/record.d.ts +236 -0
- package/dns/record.js +121 -0
- package/dns/record.js.map +1 -0
- package/gtm/getGtm.d.ts +100 -0
- package/gtm/getGtm.js +28 -0
- package/gtm/getGtm.js.map +1 -0
- package/gtm/getGtms.d.ts +22 -0
- package/gtm/getGtms.js +24 -0
- package/gtm/getGtms.js.map +1 -0
- package/gtm/getRouting.d.ts +48 -0
- package/gtm/getRouting.js +28 -0
- package/gtm/getRouting.js.map +1 -0
- package/gtm/getRoutings.d.ts +22 -0
- package/gtm/getRoutings.js +24 -0
- package/gtm/getRoutings.js.map +1 -0
- package/gtm/getRule.d.ts +105 -0
- package/gtm/getRule.js +28 -0
- package/gtm/getRule.js.map +1 -0
- package/gtm/getRules.d.ts +22 -0
- package/gtm/getRules.js +24 -0
- package/gtm/getRules.js.map +1 -0
- package/gtm/gtm.d.ts +228 -0
- package/gtm/gtm.js +113 -0
- package/gtm/gtm.js.map +1 -0
- package/gtm/index.d.ts +27 -0
- package/gtm/index.js +34 -1
- package/gtm/index.js.map +1 -1
- package/gtm/routing.d.ts +89 -0
- package/gtm/routing.js +74 -0
- package/gtm/routing.js.map +1 -0
- package/gtm/rule.d.ts +226 -0
- package/gtm/rule.js +99 -0
- package/gtm/rule.js.map +1 -0
- package/iam/getOauthProvider.d.ts +44 -0
- package/iam/getOauthProvider.js +28 -0
- package/iam/getOauthProvider.js.map +1 -0
- package/iam/getOauthProviders.d.ts +22 -0
- package/iam/getOauthProviders.js +24 -0
- package/iam/getOauthProviders.js.map +1 -0
- package/iam/index.d.ts +9 -0
- package/iam/index.js +12 -1
- package/iam/index.js.map +1 -1
- package/iam/oauthProvider.d.ts +256 -0
- package/iam/oauthProvider.js +143 -0
- package/iam/oauthProvider.js.map +1 -0
- package/kafka/getUser.d.ts +34 -0
- package/kafka/getUser.js +28 -0
- package/kafka/getUser.js.map +1 -0
- package/kafka/getUsers.d.ts +22 -0
- package/kafka/getUsers.js +24 -0
- package/kafka/getUsers.js.map +1 -0
- package/kafka/index.d.ts +9 -0
- package/kafka/index.js +12 -1
- package/kafka/index.js.map +1 -1
- package/kafka/user.d.ts +155 -0
- package/kafka/user.js +97 -0
- package/kafka/user.js.map +1 -0
- package/mongodb/account.d.ts +146 -0
- package/mongodb/account.js +82 -0
- package/mongodb/account.js.map +1 -0
- package/mongodb/getAccount.d.ts +77 -0
- package/mongodb/getAccount.js +28 -0
- package/mongodb/getAccount.js.map +1 -0
- package/mongodb/getAccounts.d.ts +22 -0
- package/mongodb/getAccounts.js +24 -0
- package/mongodb/getAccounts.js.map +1 -0
- package/mongodb/index.d.ts +9 -0
- package/mongodb/index.js +12 -1
- package/mongodb/index.js.map +1 -1
- package/package.json +1 -1
- package/rdsmysql/endpointPublicAddress.d.ts +182 -0
- package/rdsmysql/endpointPublicAddress.js +104 -0
- package/rdsmysql/endpointPublicAddress.js.map +1 -0
- package/rdsmysql/getEndpointPublicAddress.d.ts +39 -0
- package/rdsmysql/getEndpointPublicAddress.js +28 -0
- package/rdsmysql/getEndpointPublicAddress.js.map +1 -0
- package/rdsmysql/getEndpointPublicAddresses.d.ts +22 -0
- package/rdsmysql/getEndpointPublicAddresses.js +24 -0
- package/rdsmysql/getEndpointPublicAddresses.js.map +1 -0
- package/rdsmysql/index.d.ts +9 -0
- package/rdsmysql/index.js +12 -1
- package/rdsmysql/index.js.map +1 -1
- package/tos/bucketAccessMonitor.d.ts +74 -0
- package/tos/bucketAccessMonitor.js +72 -0
- package/tos/bucketAccessMonitor.js.map +1 -0
- package/tos/getBucketAccessMonitor.d.ts +44 -0
- package/tos/getBucketAccessMonitor.js +28 -0
- package/tos/getBucketAccessMonitor.js.map +1 -0
- package/tos/getBucketAccessMonitors.d.ts +22 -0
- package/tos/getBucketAccessMonitors.js +24 -0
- package/tos/getBucketAccessMonitors.js.map +1 -0
- package/tos/index.d.ts +9 -0
- package/tos/index.js +12 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +143 -0
- package/types/output.d.ts +303 -0
- package/vepfs/fileset.d.ts +202 -0
- package/vepfs/fileset.js +106 -0
- package/vepfs/fileset.js.map +1 -0
- package/vepfs/getFileset.d.ts +41 -0
- package/vepfs/getFileset.js +28 -0
- package/vepfs/getFileset.js.map +1 -0
- package/vepfs/getFilesets.d.ts +22 -0
- package/vepfs/getFilesets.js +24 -0
- package/vepfs/getFilesets.js.map +1 -0
- package/vepfs/index.d.ts +9 -0
- package/vepfs/index.js +12 -1
- package/vepfs/index.js.map +1 -1
- package/vmp/getRuleFile.d.ts +37 -0
- package/vmp/getRuleFile.js +28 -0
- package/vmp/getRuleFile.js.map +1 -0
- package/vmp/getRuleFiles.d.ts +22 -0
- package/vmp/getRuleFiles.js +24 -0
- package/vmp/getRuleFiles.js.map +1 -0
- package/vmp/index.d.ts +9 -0
- package/vmp/index.js +12 -1
- package/vmp/index.js.map +1 -1
- package/vmp/ruleFile.d.ts +172 -0
- package/vmp/ruleFile.js +104 -0
- package/vmp/ruleFile.js.map +1 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* MongoDB instance database account.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:mongodb/account:Account example "instance_id|account_name"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Account extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Account resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountState, opts?: pulumi.CustomResourceOptions): Account;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Account. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is Account;
|
|
29
|
+
/**
|
|
30
|
+
* Account remarks.
|
|
31
|
+
*/
|
|
32
|
+
readonly accountDesc: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Account name.
|
|
35
|
+
*/
|
|
36
|
+
readonly accountName: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Account password.
|
|
39
|
+
*/
|
|
40
|
+
readonly accountPassword: pulumi.Output<string>;
|
|
41
|
+
readonly accountPrivileges: pulumi.Output<outputs.mongodb.AccountAccountPrivilege[]>;
|
|
42
|
+
/**
|
|
43
|
+
* Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
|
|
44
|
+
*/
|
|
45
|
+
readonly accountType: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Database associated with the account.
|
|
48
|
+
*/
|
|
49
|
+
readonly authDb: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
52
|
+
*/
|
|
53
|
+
readonly createTime: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Instance ID.
|
|
56
|
+
*/
|
|
57
|
+
readonly instanceId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
60
|
+
*/
|
|
61
|
+
readonly modifyTime: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
|
|
64
|
+
*/
|
|
65
|
+
readonly resetDbAccount: pulumi.Output<boolean>;
|
|
66
|
+
/**
|
|
67
|
+
* Create a Account resource with the given unique name, arguments, and options.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resource.
|
|
70
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
71
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
72
|
+
*/
|
|
73
|
+
constructor(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Input properties used for looking up and filtering Account resources.
|
|
77
|
+
*/
|
|
78
|
+
export interface AccountState {
|
|
79
|
+
/**
|
|
80
|
+
* Account remarks.
|
|
81
|
+
*/
|
|
82
|
+
accountDesc?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Account name.
|
|
85
|
+
*/
|
|
86
|
+
accountName?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Account password.
|
|
89
|
+
*/
|
|
90
|
+
accountPassword?: pulumi.Input<string>;
|
|
91
|
+
accountPrivileges?: pulumi.Input<pulumi.Input<inputs.mongodb.AccountAccountPrivilege>[]>;
|
|
92
|
+
/**
|
|
93
|
+
* Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
|
|
94
|
+
*/
|
|
95
|
+
accountType?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Database associated with the account.
|
|
98
|
+
*/
|
|
99
|
+
authDb?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
102
|
+
*/
|
|
103
|
+
createTime?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Instance ID.
|
|
106
|
+
*/
|
|
107
|
+
instanceId?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
110
|
+
*/
|
|
111
|
+
modifyTime?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
|
|
114
|
+
*/
|
|
115
|
+
resetDbAccount?: pulumi.Input<boolean>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The set of arguments for constructing a Account resource.
|
|
119
|
+
*/
|
|
120
|
+
export interface AccountArgs {
|
|
121
|
+
/**
|
|
122
|
+
* Account remarks.
|
|
123
|
+
*/
|
|
124
|
+
accountDesc?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Account name.
|
|
127
|
+
*/
|
|
128
|
+
accountName: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Account password.
|
|
131
|
+
*/
|
|
132
|
+
accountPassword?: pulumi.Input<string>;
|
|
133
|
+
accountPrivileges?: pulumi.Input<pulumi.Input<inputs.mongodb.AccountAccountPrivilege>[]>;
|
|
134
|
+
/**
|
|
135
|
+
* Database associated with the account.
|
|
136
|
+
*/
|
|
137
|
+
authDb?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Instance ID.
|
|
140
|
+
*/
|
|
141
|
+
instanceId: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
|
|
144
|
+
*/
|
|
145
|
+
resetDbAccount?: pulumi.Input<boolean>;
|
|
146
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Account = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* MongoDB instance database account.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:mongodb/account:Account example "instance_id|account_name"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Account extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Account resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new Account(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Account. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === Account.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["accountDesc"] = state ? state.accountDesc : undefined;
|
|
46
|
+
resourceInputs["accountName"] = state ? state.accountName : undefined;
|
|
47
|
+
resourceInputs["accountPassword"] = state ? state.accountPassword : undefined;
|
|
48
|
+
resourceInputs["accountPrivileges"] = state ? state.accountPrivileges : undefined;
|
|
49
|
+
resourceInputs["accountType"] = state ? state.accountType : undefined;
|
|
50
|
+
resourceInputs["authDb"] = state ? state.authDb : undefined;
|
|
51
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
52
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
53
|
+
resourceInputs["modifyTime"] = state ? state.modifyTime : undefined;
|
|
54
|
+
resourceInputs["resetDbAccount"] = state ? state.resetDbAccount : undefined;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
const args = argsOrState;
|
|
58
|
+
if ((!args || args.accountName === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'accountName'");
|
|
60
|
+
}
|
|
61
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'instanceId'");
|
|
63
|
+
}
|
|
64
|
+
resourceInputs["accountDesc"] = args ? args.accountDesc : undefined;
|
|
65
|
+
resourceInputs["accountName"] = args ? args.accountName : undefined;
|
|
66
|
+
resourceInputs["accountPassword"] = args ? args.accountPassword : undefined;
|
|
67
|
+
resourceInputs["accountPrivileges"] = args ? args.accountPrivileges : undefined;
|
|
68
|
+
resourceInputs["authDb"] = args ? args.authDb : undefined;
|
|
69
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
70
|
+
resourceInputs["resetDbAccount"] = args ? args.resetDbAccount : undefined;
|
|
71
|
+
resourceInputs["accountType"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["modifyTime"] = undefined /*out*/;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
super(Account.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.Account = Account;
|
|
80
|
+
/** @internal */
|
|
81
|
+
Account.__pulumiType = 'volcenginecc:mongodb/account:Account';
|
|
82
|
+
//# sourceMappingURL=account.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../mongodb/account.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;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,CAA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AC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA9GL,0BA+GC;AAjGG,gBAAgB;AACO,oBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::MongoDB::Account
|
|
5
|
+
*/
|
|
6
|
+
export declare function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getAccount.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetAccountArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getAccount.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAccountResult {
|
|
20
|
+
/**
|
|
21
|
+
* Account remarks.
|
|
22
|
+
*/
|
|
23
|
+
readonly accountDesc: string;
|
|
24
|
+
/**
|
|
25
|
+
* Account name.
|
|
26
|
+
*/
|
|
27
|
+
readonly accountName: string;
|
|
28
|
+
/**
|
|
29
|
+
* Account password.
|
|
30
|
+
*/
|
|
31
|
+
readonly accountPassword: string;
|
|
32
|
+
/**
|
|
33
|
+
* List of database permissions currently owned by the account.
|
|
34
|
+
*/
|
|
35
|
+
readonly accountPrivileges: outputs.mongodb.GetAccountAccountPrivilege[];
|
|
36
|
+
/**
|
|
37
|
+
* Account type. Value options: Super: Super administrator account, that is, root account; UserAdmin: High-privilege account, that is, an account with any permissions on the admin database; Normal: Regular account, that is, an account with no permissions on the admin database.
|
|
38
|
+
*/
|
|
39
|
+
readonly accountType: string;
|
|
40
|
+
/**
|
|
41
|
+
* Database associated with the account.
|
|
42
|
+
*/
|
|
43
|
+
readonly authDb: string;
|
|
44
|
+
/**
|
|
45
|
+
* Account creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
46
|
+
*/
|
|
47
|
+
readonly createTime: string;
|
|
48
|
+
/**
|
|
49
|
+
* Uniquely identifies the resource.
|
|
50
|
+
*/
|
|
51
|
+
readonly id: string;
|
|
52
|
+
/**
|
|
53
|
+
* Instance ID.
|
|
54
|
+
*/
|
|
55
|
+
readonly instanceId: string;
|
|
56
|
+
/**
|
|
57
|
+
* Last update time of the account. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
58
|
+
*/
|
|
59
|
+
readonly modifyTime: string;
|
|
60
|
+
/**
|
|
61
|
+
* Whether to reset the root account permissions to the initial state (that is, restore all permissions that can be granted to the super administrator account). Value options: false (default): Do not reset. true: Reset. Note: This parameter only applies to the root account in the admin database (that is, AuthDB is admin and AccountName is root).
|
|
62
|
+
*/
|
|
63
|
+
readonly resetDbAccount: boolean;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Data Source schema for Volcengine::MongoDB::Account
|
|
67
|
+
*/
|
|
68
|
+
export declare function getAccountOutput(args: GetAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountResult>;
|
|
69
|
+
/**
|
|
70
|
+
* A collection of arguments for invoking getAccount.
|
|
71
|
+
*/
|
|
72
|
+
export interface GetAccountOutputArgs {
|
|
73
|
+
/**
|
|
74
|
+
* Uniquely identifies the resource.
|
|
75
|
+
*/
|
|
76
|
+
id: pulumi.Input<string>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.getAccountOutput = exports.getAccount = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::MongoDB::Account
|
|
10
|
+
*/
|
|
11
|
+
function getAccount(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:mongodb/getAccount:getAccount", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getAccount = getAccount;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::MongoDB::Account
|
|
20
|
+
*/
|
|
21
|
+
function getAccountOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:mongodb/getAccount:getAccount", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getAccountOutput = getAccountOutput;
|
|
28
|
+
//# sourceMappingURL=getAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../../mongodb/getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AA6DD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::MongoDB::Account
|
|
4
|
+
*/
|
|
5
|
+
export declare function getAccounts(opts?: pulumi.InvokeOptions): Promise<GetAccountsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getAccounts.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetAccountsResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::MongoDB::Account
|
|
21
|
+
*/
|
|
22
|
+
export declare function getAccountsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountsResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.getAccountsOutput = exports.getAccounts = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::MongoDB::Account
|
|
10
|
+
*/
|
|
11
|
+
function getAccounts(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:mongodb/getAccounts:getAccounts", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getAccounts = getAccounts;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::MongoDB::Account
|
|
18
|
+
*/
|
|
19
|
+
function getAccountsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:mongodb/getAccounts:getAccounts", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getAccountsOutput = getAccountsOutput;
|
|
24
|
+
//# sourceMappingURL=getAccounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccounts.js","sourceRoot":"","sources":["../../mongodb/getAccounts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,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,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAeD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
|
package/mongodb/index.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
export { AccountArgs, AccountState } from "./account";
|
|
2
|
+
export type Account = import("./account").Account;
|
|
3
|
+
export declare const Account: typeof import("./account").Account;
|
|
1
4
|
export { AllowListArgs, AllowListState } from "./allowList";
|
|
2
5
|
export type AllowList = import("./allowList").AllowList;
|
|
3
6
|
export declare const AllowList: typeof import("./allowList").AllowList;
|
|
7
|
+
export { GetAccountArgs, GetAccountResult, GetAccountOutputArgs } from "./getAccount";
|
|
8
|
+
export declare const getAccount: typeof import("./getAccount").getAccount;
|
|
9
|
+
export declare const getAccountOutput: typeof import("./getAccount").getAccountOutput;
|
|
10
|
+
export { GetAccountsResult } from "./getAccounts";
|
|
11
|
+
export declare const getAccounts: typeof import("./getAccounts").getAccounts;
|
|
12
|
+
export declare const getAccountsOutput: typeof import("./getAccounts").getAccountsOutput;
|
|
4
13
|
export { GetAllowListArgs, GetAllowListResult, GetAllowListOutputArgs } from "./getAllowList";
|
|
5
14
|
export declare const getAllowList: typeof import("./getAllowList").getAllowList;
|
|
6
15
|
export declare const getAllowListOutput: typeof import("./getAllowList").getAllowListOutput;
|
package/mongodb/index.js
CHANGED
|
@@ -2,11 +2,19 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.SslState = exports.Instance = exports.getSslStatesOutput = exports.getSslStates = exports.getSslStateOutput = exports.getSslState = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.AllowList = void 0;
|
|
5
|
+
exports.SslState = exports.Instance = exports.getSslStatesOutput = exports.getSslStates = exports.getSslStateOutput = exports.getSslState = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.getAccountsOutput = exports.getAccounts = exports.getAccountOutput = exports.getAccount = exports.AllowList = exports.Account = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.Account = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Account"], () => require("./account"));
|
|
8
10
|
exports.AllowList = null;
|
|
9
11
|
utilities.lazyLoad(exports, ["AllowList"], () => require("./allowList"));
|
|
12
|
+
exports.getAccount = null;
|
|
13
|
+
exports.getAccountOutput = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["getAccount", "getAccountOutput"], () => require("./getAccount"));
|
|
15
|
+
exports.getAccounts = null;
|
|
16
|
+
exports.getAccountsOutput = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["getAccounts", "getAccountsOutput"], () => require("./getAccounts"));
|
|
10
18
|
exports.getAllowList = null;
|
|
11
19
|
exports.getAllowListOutput = null;
|
|
12
20
|
utilities.lazyLoad(exports, ["getAllowList", "getAllowListOutput"], () => require("./getAllowList"));
|
|
@@ -33,6 +41,8 @@ const _module = {
|
|
|
33
41
|
version: utilities.getVersion(),
|
|
34
42
|
construct: (name, type, urn) => {
|
|
35
43
|
switch (type) {
|
|
44
|
+
case "volcenginecc:mongodb/account:Account":
|
|
45
|
+
return new exports.Account(name, undefined, { urn });
|
|
36
46
|
case "volcenginecc:mongodb/allowList:AllowList":
|
|
37
47
|
return new exports.AllowList(name, undefined, { urn });
|
|
38
48
|
case "volcenginecc:mongodb/instance:Instance":
|
|
@@ -44,6 +54,7 @@ const _module = {
|
|
|
44
54
|
}
|
|
45
55
|
},
|
|
46
56
|
};
|
|
57
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "mongodb/account", _module);
|
|
47
58
|
pulumi.runtime.registerResourceModule("volcenginecc", "mongodb/allowList", _module);
|
|
48
59
|
pulumi.runtime.registerResourceModule("volcenginecc", "mongodb/instance", _module);
|
|
49
60
|
pulumi.runtime.registerResourceModule("volcenginecc", "mongodb/sslState", _module);
|
package/mongodb/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../mongodb/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG5D,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CA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AI,EAAE;YACV,KAAK,sCAAsC;gBACvC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,wCAAwC;gBACzC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,wCAAwC;gBACzC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Instance connection endpoint public address.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
10
|
+
*
|
|
11
|
+
* const endpointPublicAddressDemo = new volcenginecc.rdsmysql.EndpointPublicAddress("EndpointPublicAddressDemo", {
|
|
12
|
+
* instanceId: "mysql-7623a9xxxxxx",
|
|
13
|
+
* endpointId: "mysql-7623a9xxxxx-custom-xxxx",
|
|
14
|
+
* eipId: "eip-2f8vbiyym6txckjzxxxxx",
|
|
15
|
+
* domainPrefix: "ccapi-terraform",
|
|
16
|
+
* port: "23306",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import volcenginecc:rdsmysql/endpointPublicAddress:EndpointPublicAddress example "instance_id|endpoint_id"
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class EndpointPublicAddress extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing EndpointPublicAddress resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EndpointPublicAddressState, opts?: pulumi.CustomResourceOptions): EndpointPublicAddress;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of EndpointPublicAddress. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is EndpointPublicAddress;
|
|
42
|
+
/**
|
|
43
|
+
* - false: private network resolution (default) - true: private and public network resolution
|
|
44
|
+
*/
|
|
45
|
+
readonly dnsVisibility: pulumi.Output<boolean>;
|
|
46
|
+
/**
|
|
47
|
+
* Connection domain name.
|
|
48
|
+
*/
|
|
49
|
+
readonly domain: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Connection address prefix. The prefix must meet the following rules: start with a lowercase letter, end with a lowercase
|
|
52
|
+
* letter or digit, and must include at least two types among lowercase letters, digits, and hyphens (-). The prefix must
|
|
53
|
+
* be at least 8 characters long, and the total connection address length (prefix + suffix) must not exceed 63 characters.
|
|
54
|
+
*/
|
|
55
|
+
readonly domainPrefix: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* EIP ID, valid only for Public addresses.
|
|
58
|
+
*/
|
|
59
|
+
readonly eipId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Whether the EIP used by the connection endpoint is suspended due to overdue payment. Values: - true: Yes - false: No
|
|
62
|
+
*/
|
|
63
|
+
readonly eipLocked: pulumi.Output<boolean>;
|
|
64
|
+
/**
|
|
65
|
+
* Instance connection endpoint ID.
|
|
66
|
+
*/
|
|
67
|
+
readonly endpointId: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Instance ID.
|
|
70
|
+
*/
|
|
71
|
+
readonly instanceId: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* IP protocol version. Value: IPv4.
|
|
74
|
+
*/
|
|
75
|
+
readonly internetProtocol: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* IP address.
|
|
78
|
+
*/
|
|
79
|
+
readonly ipAddress: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Network address type. Valid values: Private: Private address. Public: Public address.
|
|
82
|
+
*/
|
|
83
|
+
readonly networkType: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Port.
|
|
86
|
+
*/
|
|
87
|
+
readonly port: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Subnet ID, valid only for Private addresses.
|
|
90
|
+
*/
|
|
91
|
+
readonly subnetId: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Create a EndpointPublicAddress resource with the given unique name, arguments, and options.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resource.
|
|
96
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
97
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
98
|
+
*/
|
|
99
|
+
constructor(name: string, args: EndpointPublicAddressArgs, opts?: pulumi.CustomResourceOptions);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Input properties used for looking up and filtering EndpointPublicAddress resources.
|
|
103
|
+
*/
|
|
104
|
+
export interface EndpointPublicAddressState {
|
|
105
|
+
/**
|
|
106
|
+
* - false: private network resolution (default) - true: private and public network resolution
|
|
107
|
+
*/
|
|
108
|
+
dnsVisibility?: pulumi.Input<boolean>;
|
|
109
|
+
/**
|
|
110
|
+
* Connection domain name.
|
|
111
|
+
*/
|
|
112
|
+
domain?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Connection address prefix. The prefix must meet the following rules: start with a lowercase letter, end with a lowercase
|
|
115
|
+
* letter or digit, and must include at least two types among lowercase letters, digits, and hyphens (-). The prefix must
|
|
116
|
+
* be at least 8 characters long, and the total connection address length (prefix + suffix) must not exceed 63 characters.
|
|
117
|
+
*/
|
|
118
|
+
domainPrefix?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* EIP ID, valid only for Public addresses.
|
|
121
|
+
*/
|
|
122
|
+
eipId?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Whether the EIP used by the connection endpoint is suspended due to overdue payment. Values: - true: Yes - false: No
|
|
125
|
+
*/
|
|
126
|
+
eipLocked?: pulumi.Input<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* Instance connection endpoint ID.
|
|
129
|
+
*/
|
|
130
|
+
endpointId?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Instance ID.
|
|
133
|
+
*/
|
|
134
|
+
instanceId?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* IP protocol version. Value: IPv4.
|
|
137
|
+
*/
|
|
138
|
+
internetProtocol?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* IP address.
|
|
141
|
+
*/
|
|
142
|
+
ipAddress?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Network address type. Valid values: Private: Private address. Public: Public address.
|
|
145
|
+
*/
|
|
146
|
+
networkType?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Port.
|
|
149
|
+
*/
|
|
150
|
+
port?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Subnet ID, valid only for Private addresses.
|
|
153
|
+
*/
|
|
154
|
+
subnetId?: pulumi.Input<string>;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* The set of arguments for constructing a EndpointPublicAddress resource.
|
|
158
|
+
*/
|
|
159
|
+
export interface EndpointPublicAddressArgs {
|
|
160
|
+
/**
|
|
161
|
+
* Connection address prefix. The prefix must meet the following rules: start with a lowercase letter, end with a lowercase
|
|
162
|
+
* letter or digit, and must include at least two types among lowercase letters, digits, and hyphens (-). The prefix must
|
|
163
|
+
* be at least 8 characters long, and the total connection address length (prefix + suffix) must not exceed 63 characters.
|
|
164
|
+
*/
|
|
165
|
+
domainPrefix?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* EIP ID, valid only for Public addresses.
|
|
168
|
+
*/
|
|
169
|
+
eipId: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Instance connection endpoint ID.
|
|
172
|
+
*/
|
|
173
|
+
endpointId: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Instance ID.
|
|
176
|
+
*/
|
|
177
|
+
instanceId: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Port.
|
|
180
|
+
*/
|
|
181
|
+
port?: pulumi.Input<string>;
|
|
182
|
+
}
|