@volcengine/pulumi-volcenginecc 0.0.42 → 0.0.43
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/dns/backup.d.ts +90 -0
- package/dns/backup.js +76 -0
- package/dns/backup.js.map +1 -0
- package/dns/getBackup.d.ts +52 -0
- package/dns/getBackup.js +28 -0
- package/dns/getBackup.js.map +1 -0
- package/dns/getBackups.d.ts +22 -0
- package/dns/getBackups.js +24 -0
- package/dns/getBackups.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/iam/allowedIpAddress.d.ts +107 -0
- package/iam/allowedIpAddress.js +95 -0
- package/iam/allowedIpAddress.js.map +1 -0
- package/iam/getAllowedIpAddress.d.ts +53 -0
- package/iam/getAllowedIpAddress.js +28 -0
- package/iam/getAllowedIpAddress.js.map +1 -0
- package/iam/getAllowedIpAddresses.d.ts +22 -0
- package/iam/getAllowedIpAddresses.js +24 -0
- package/iam/getAllowedIpAddresses.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/mongodb/endpoint.d.ts +175 -0
- package/mongodb/endpoint.js +97 -0
- package/mongodb/endpoint.js.map +1 -0
- package/mongodb/getEndpoint.d.ts +39 -0
- package/mongodb/getEndpoint.js +28 -0
- package/mongodb/getEndpoint.js.map +1 -0
- package/mongodb/getEndpoints.d.ts +22 -0
- package/mongodb/getEndpoints.js +24 -0
- package/mongodb/getEndpoints.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/privatelink/gatewayEndpoint.d.ts +182 -0
- package/privatelink/gatewayEndpoint.js +106 -0
- package/privatelink/gatewayEndpoint.js.map +1 -0
- package/privatelink/getGatewayEndpoint.d.ts +85 -0
- package/privatelink/getGatewayEndpoint.js +28 -0
- package/privatelink/getGatewayEndpoint.js.map +1 -0
- package/privatelink/getGatewayEndpoints.d.ts +22 -0
- package/privatelink/getGatewayEndpoints.js +24 -0
- package/privatelink/getGatewayEndpoints.js.map +1 -0
- package/privatelink/index.d.ts +9 -0
- package/privatelink/index.js +12 -1
- package/privatelink/index.js.map +1 -1
- package/rdsmssql/backup.d.ts +148 -0
- package/rdsmssql/backup.js +85 -0
- package/rdsmssql/backup.js.map +1 -0
- package/rdsmssql/getBackup.d.ts +89 -0
- package/rdsmssql/getBackup.js +28 -0
- package/rdsmssql/getBackup.js.map +1 -0
- package/rdsmssql/getBackups.d.ts +22 -0
- package/rdsmssql/getBackups.js +24 -0
- package/rdsmssql/getBackups.js.map +1 -0
- package/rdsmssql/index.d.ts +9 -0
- package/rdsmssql/index.js +12 -1
- package/rdsmssql/index.js.map +1 -1
- package/rdspostgresql/allowList.d.ts +24 -0
- package/rdspostgresql/allowList.js +4 -0
- package/rdspostgresql/allowList.js.map +1 -1
- package/rdspostgresql/getAllowList.d.ts +8 -0
- package/rdspostgresql/getAllowList.js.map +1 -1
- package/rdspostgresql/getInstanceSsl.d.ts +68 -0
- package/rdspostgresql/getInstanceSsl.js +28 -0
- package/rdspostgresql/getInstanceSsl.js.map +1 -0
- package/rdspostgresql/getInstanceSsls.d.ts +22 -0
- package/rdspostgresql/getInstanceSsls.js +24 -0
- package/rdspostgresql/getInstanceSsls.js.map +1 -0
- package/rdspostgresql/index.d.ts +9 -0
- package/rdspostgresql/index.js +12 -1
- package/rdspostgresql/index.js.map +1 -1
- package/rdspostgresql/instanceSsl.d.ts +134 -0
- package/rdspostgresql/instanceSsl.js +88 -0
- package/rdspostgresql/instanceSsl.js.map +1 -0
- package/redis/allowList.d.ts +2 -2
- package/redis/allowList.js +3 -0
- package/redis/allowList.js.map +1 -1
- package/storageebs/getSnapshotPolicies.d.ts +22 -0
- package/storageebs/getSnapshotPolicies.js +24 -0
- package/storageebs/getSnapshotPolicies.js.map +1 -0
- package/storageebs/getSnapshotPolicy.d.ts +93 -0
- package/storageebs/getSnapshotPolicy.js +28 -0
- package/storageebs/getSnapshotPolicy.js.map +1 -0
- package/storageebs/index.d.ts +9 -0
- package/storageebs/index.js +12 -1
- package/storageebs/index.js.map +1 -1
- package/storageebs/snapshotPolicy.d.ts +215 -0
- package/storageebs/snapshotPolicy.js +122 -0
- package/storageebs/snapshotPolicy.js.map +1 -0
- package/transitrouter/directConnectGatewayAttachment.d.ts +180 -0
- package/transitrouter/directConnectGatewayAttachment.js +106 -0
- package/transitrouter/directConnectGatewayAttachment.js.map +1 -0
- package/transitrouter/getDirectConnectGatewayAttachment.d.ts +89 -0
- package/transitrouter/getDirectConnectGatewayAttachment.js +28 -0
- package/transitrouter/getDirectConnectGatewayAttachment.js.map +1 -0
- package/transitrouter/getDirectConnectGatewayAttachments.d.ts +22 -0
- package/transitrouter/getDirectConnectGatewayAttachments.js +24 -0
- package/transitrouter/getDirectConnectGatewayAttachments.js.map +1 -0
- package/transitrouter/getTransitRouterBandwidthPackage.d.ts +141 -0
- package/transitrouter/getTransitRouterBandwidthPackage.js +28 -0
- package/transitrouter/getTransitRouterBandwidthPackage.js.map +1 -0
- package/transitrouter/getTransitRouterBandwidthPackages.d.ts +22 -0
- package/transitrouter/getTransitRouterBandwidthPackages.js +24 -0
- package/transitrouter/getTransitRouterBandwidthPackages.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.d.ts +48 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.js +28 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.d.ts +22 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.js +24 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.js.map +1 -0
- package/transitrouter/index.d.ts +27 -0
- package/transitrouter/index.js +34 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterBandwidthPackage.d.ts +320 -0
- package/transitrouter/transitRouterBandwidthPackage.js +138 -0
- package/transitrouter/transitRouterBandwidthPackage.js.map +1 -0
- package/transitrouter/transitRouterRouteTableAssociation.d.ts +89 -0
- package/transitrouter/transitRouterRouteTableAssociation.js +80 -0
- package/transitrouter/transitRouterRouteTableAssociation.js.map +1 -0
- package/types/input.d.ts +167 -0
- package/types/output.d.ts +338 -0
package/dns/backup.d.ts
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Backup Information
|
|
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 dNSBackupDemo = new volcenginecc.dns.Backup("DNSBackupDemo", {zid: "21xxxx"});
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* ## Import
|
|
15
|
+
*
|
|
16
|
+
* ```sh
|
|
17
|
+
* $ pulumi import volcenginecc:dns/backup:Backup example "zid|backup_id"
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare class Backup extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing Backup resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param state Any extra arguments used during the lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackupState, opts?: pulumi.CustomResourceOptions): Backup;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of Backup. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
static isInstance(obj: any): obj is Backup;
|
|
36
|
+
/**
|
|
37
|
+
* Backup ID.
|
|
38
|
+
*/
|
|
39
|
+
readonly backupId: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Backup creation time. Time zone is UTC+8.
|
|
42
|
+
*/
|
|
43
|
+
readonly backupTime: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Number of DNS records in the backup.
|
|
46
|
+
*/
|
|
47
|
+
readonly recordCount: pulumi.Output<number>;
|
|
48
|
+
/**
|
|
49
|
+
* The domain ID for which you need to manually create a backup. You can call the ListZones API to obtain the domain ID.
|
|
50
|
+
*/
|
|
51
|
+
readonly zid: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a Backup resource with the given unique name, arguments, and options.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resource.
|
|
56
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
+
*/
|
|
59
|
+
constructor(name: string, args: BackupArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Input properties used for looking up and filtering Backup resources.
|
|
63
|
+
*/
|
|
64
|
+
export interface BackupState {
|
|
65
|
+
/**
|
|
66
|
+
* Backup ID.
|
|
67
|
+
*/
|
|
68
|
+
backupId?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Backup creation time. Time zone is UTC+8.
|
|
71
|
+
*/
|
|
72
|
+
backupTime?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Number of DNS records in the backup.
|
|
75
|
+
*/
|
|
76
|
+
recordCount?: pulumi.Input<number>;
|
|
77
|
+
/**
|
|
78
|
+
* The domain ID for which you need to manually create a backup. You can call the ListZones API to obtain the domain ID.
|
|
79
|
+
*/
|
|
80
|
+
zid?: pulumi.Input<string>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The set of arguments for constructing a Backup resource.
|
|
84
|
+
*/
|
|
85
|
+
export interface BackupArgs {
|
|
86
|
+
/**
|
|
87
|
+
* The domain ID for which you need to manually create a backup. You can call the ListZones API to obtain the domain ID.
|
|
88
|
+
*/
|
|
89
|
+
zid: pulumi.Input<string>;
|
|
90
|
+
}
|
package/dns/backup.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
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.Backup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Backup Information
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const dNSBackupDemo = new volcenginecc.dns.Backup("DNSBackupDemo", {zid: "21xxxx"});
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import volcenginecc:dns/backup:Backup example "zid|backup_id"
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
class Backup extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing Backup 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, id, state, opts) {
|
|
37
|
+
return new Backup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of Backup. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj) {
|
|
44
|
+
if (obj === undefined || obj === null) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
return obj['__pulumiType'] === Backup.__pulumiType;
|
|
48
|
+
}
|
|
49
|
+
constructor(name, argsOrState, opts) {
|
|
50
|
+
let resourceInputs = {};
|
|
51
|
+
opts = opts || {};
|
|
52
|
+
if (opts.id) {
|
|
53
|
+
const state = argsOrState;
|
|
54
|
+
resourceInputs["backupId"] = state ? state.backupId : undefined;
|
|
55
|
+
resourceInputs["backupTime"] = state ? state.backupTime : undefined;
|
|
56
|
+
resourceInputs["recordCount"] = state ? state.recordCount : undefined;
|
|
57
|
+
resourceInputs["zid"] = state ? state.zid : undefined;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if ((!args || args.zid === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'zid'");
|
|
63
|
+
}
|
|
64
|
+
resourceInputs["zid"] = args ? args.zid : undefined;
|
|
65
|
+
resourceInputs["backupId"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["backupTime"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["recordCount"] = undefined /*out*/;
|
|
68
|
+
}
|
|
69
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
+
super(Backup.__pulumiType, name, resourceInputs, opts);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.Backup = Backup;
|
|
74
|
+
/** @internal */
|
|
75
|
+
Backup.__pulumiType = 'volcenginecc:dns/backup:Backup';
|
|
76
|
+
//# sourceMappingURL=backup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../../dns/backup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,GAAG,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA1EL,wBA2EC;AA7DG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Volcengine::DNS::Backup
|
|
4
|
+
*/
|
|
5
|
+
export declare function getBackup(args: GetBackupArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getBackup.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetBackupArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getBackup.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetBackupResult {
|
|
19
|
+
/**
|
|
20
|
+
* Backup ID.
|
|
21
|
+
*/
|
|
22
|
+
readonly backupId: string;
|
|
23
|
+
/**
|
|
24
|
+
* Backup creation time. Time zone is UTC+8.
|
|
25
|
+
*/
|
|
26
|
+
readonly backupTime: string;
|
|
27
|
+
/**
|
|
28
|
+
* Uniquely identifies the resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly id: string;
|
|
31
|
+
/**
|
|
32
|
+
* Number of DNS records in the backup.
|
|
33
|
+
*/
|
|
34
|
+
readonly recordCount: number;
|
|
35
|
+
/**
|
|
36
|
+
* The domain ID for which you need to manually create a backup. You can call the ListZones API to obtain the domain ID.
|
|
37
|
+
*/
|
|
38
|
+
readonly zid: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Data Source schema for Volcengine::DNS::Backup
|
|
42
|
+
*/
|
|
43
|
+
export declare function getBackupOutput(args: GetBackupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackupResult>;
|
|
44
|
+
/**
|
|
45
|
+
* A collection of arguments for invoking getBackup.
|
|
46
|
+
*/
|
|
47
|
+
export interface GetBackupOutputArgs {
|
|
48
|
+
/**
|
|
49
|
+
* Uniquely identifies the resource.
|
|
50
|
+
*/
|
|
51
|
+
id: pulumi.Input<string>;
|
|
52
|
+
}
|
package/dns/getBackup.js
ADDED
|
@@ -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.getBackupOutput = exports.getBackup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::DNS::Backup
|
|
10
|
+
*/
|
|
11
|
+
function getBackup(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:dns/getBackup:getBackup", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getBackup = getBackup;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::DNS::Backup
|
|
20
|
+
*/
|
|
21
|
+
function getBackupOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:dns/getBackup:getBackup", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getBackupOutput = getBackupOutput;
|
|
28
|
+
//# sourceMappingURL=getBackup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBackup.js","sourceRoot":"","sources":["../../dns/getBackup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAqCD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::DNS::Backup
|
|
4
|
+
*/
|
|
5
|
+
export declare function getBackups(opts?: pulumi.InvokeOptions): Promise<GetBackupsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getBackups.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetBackupsResult {
|
|
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::DNS::Backup
|
|
21
|
+
*/
|
|
22
|
+
export declare function getBackupsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackupsResult>;
|
|
@@ -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.getBackupsOutput = exports.getBackups = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::DNS::Backup
|
|
10
|
+
*/
|
|
11
|
+
function getBackups(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:dns/getBackups:getBackups", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getBackups = getBackups;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::DNS::Backup
|
|
18
|
+
*/
|
|
19
|
+
function getBackupsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:dns/getBackups:getBackups", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getBackupsOutput = getBackupsOutput;
|
|
24
|
+
//# sourceMappingURL=getBackups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBackups.js","sourceRoot":"","sources":["../../dns/getBackups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAClD,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,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gCAIC;AAeD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAAiC;IAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4CAIC"}
|
package/dns/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
export { BackupArgs, BackupState } from "./backup";
|
|
2
|
+
export type Backup = import("./backup").Backup;
|
|
3
|
+
export declare const Backup: typeof import("./backup").Backup;
|
|
4
|
+
export { GetBackupArgs, GetBackupResult, GetBackupOutputArgs } from "./getBackup";
|
|
5
|
+
export declare const getBackup: typeof import("./getBackup").getBackup;
|
|
6
|
+
export declare const getBackupOutput: typeof import("./getBackup").getBackupOutput;
|
|
7
|
+
export { GetBackupsResult } from "./getBackups";
|
|
8
|
+
export declare const getBackups: typeof import("./getBackups").getBackups;
|
|
9
|
+
export declare const getBackupsOutput: typeof import("./getBackups").getBackupsOutput;
|
|
1
10
|
export { GetRecordArgs, GetRecordResult, GetRecordOutputArgs } from "./getRecord";
|
|
2
11
|
export declare const getRecord: typeof import("./getRecord").getRecord;
|
|
3
12
|
export declare const getRecordOutput: typeof import("./getRecord").getRecordOutput;
|
package/dns/index.js
CHANGED
|
@@ -2,9 +2,17 @@
|
|
|
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.Zone = exports.Record = exports.getZonesOutput = exports.getZones = exports.getZoneOutput = exports.getZone = exports.getRecordsOutput = exports.getRecords = exports.getRecordOutput = exports.getRecord = void 0;
|
|
5
|
+
exports.Zone = exports.Record = exports.getZonesOutput = exports.getZones = exports.getZoneOutput = exports.getZone = exports.getRecordsOutput = exports.getRecords = exports.getRecordOutput = exports.getRecord = exports.getBackupsOutput = exports.getBackups = exports.getBackupOutput = exports.getBackup = exports.Backup = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.Backup = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Backup"], () => require("./backup"));
|
|
10
|
+
exports.getBackup = null;
|
|
11
|
+
exports.getBackupOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["getBackup", "getBackupOutput"], () => require("./getBackup"));
|
|
13
|
+
exports.getBackups = null;
|
|
14
|
+
exports.getBackupsOutput = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["getBackups", "getBackupsOutput"], () => require("./getBackups"));
|
|
8
16
|
exports.getRecord = null;
|
|
9
17
|
exports.getRecordOutput = null;
|
|
10
18
|
utilities.lazyLoad(exports, ["getRecord", "getRecordOutput"], () => require("./getRecord"));
|
|
@@ -25,6 +33,8 @@ const _module = {
|
|
|
25
33
|
version: utilities.getVersion(),
|
|
26
34
|
construct: (name, type, urn) => {
|
|
27
35
|
switch (type) {
|
|
36
|
+
case "volcenginecc:dns/backup:Backup":
|
|
37
|
+
return new exports.Backup(name, undefined, { urn });
|
|
28
38
|
case "volcenginecc:dns/record:Record":
|
|
29
39
|
return new exports.Record(name, undefined, { urn });
|
|
30
40
|
case "volcenginecc:dns/zone:Zone":
|
|
@@ -34,6 +44,7 @@ const _module = {
|
|
|
34
44
|
}
|
|
35
45
|
},
|
|
36
46
|
};
|
|
47
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "dns/backup", _module);
|
|
37
48
|
pulumi.runtime.registerResourceModule("volcenginecc", "dns/record", _module);
|
|
38
49
|
pulumi.runtime.registerResourceModule("volcenginecc", "dns/zone", _module);
|
|
39
50
|
//# sourceMappingURL=index.js.map
|
package/dns/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../dns/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../dns/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,MAAM,GAAqC,IAAW,C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O,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* IP allowlist configuration
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
|
+
*
|
|
13
|
+
* const iAMAllowedIpAddressDemo = new volcenginecc.iam.AllowedIpAddress("IAMAllowedIpAddressDemo", {
|
|
14
|
+
* userId: "2109xxxxx",
|
|
15
|
+
* ipLists: [
|
|
16
|
+
* {
|
|
17
|
+
* ip: "192.168.1.100",
|
|
18
|
+
* description: "test1",
|
|
19
|
+
* },
|
|
20
|
+
* {
|
|
21
|
+
* ip: "192.168.2.100",
|
|
22
|
+
* description: "test2",
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* ip: "192.168.3.100",
|
|
26
|
+
* description: "test3",
|
|
27
|
+
* },
|
|
28
|
+
* ],
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import volcenginecc:iam/allowedIpAddress:AllowedIpAddress example "user_id"
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class AllowedIpAddress extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing AllowedIpAddress 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?: AllowedIpAddressState, opts?: pulumi.CustomResourceOptions): AllowedIpAddress;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of AllowedIpAddress. 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 AllowedIpAddress;
|
|
54
|
+
/**
|
|
55
|
+
* Enable IP allowlist
|
|
56
|
+
*/
|
|
57
|
+
readonly enableIpList: pulumi.Output<boolean>;
|
|
58
|
+
readonly ipLists: pulumi.Output<outputs.iam.AllowedIpAddressIpList[]>;
|
|
59
|
+
/**
|
|
60
|
+
* IP allowlist quota for current identity
|
|
61
|
+
*/
|
|
62
|
+
readonly quota: pulumi.Output<number>;
|
|
63
|
+
/**
|
|
64
|
+
* Sub-user ID
|
|
65
|
+
*/
|
|
66
|
+
readonly userId: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Create a AllowedIpAddress resource with the given unique name, arguments, and options.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resource.
|
|
71
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
72
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
73
|
+
*/
|
|
74
|
+
constructor(name: string, args: AllowedIpAddressArgs, opts?: pulumi.CustomResourceOptions);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Input properties used for looking up and filtering AllowedIpAddress resources.
|
|
78
|
+
*/
|
|
79
|
+
export interface AllowedIpAddressState {
|
|
80
|
+
/**
|
|
81
|
+
* Enable IP allowlist
|
|
82
|
+
*/
|
|
83
|
+
enableIpList?: pulumi.Input<boolean>;
|
|
84
|
+
ipLists?: pulumi.Input<pulumi.Input<inputs.iam.AllowedIpAddressIpList>[]>;
|
|
85
|
+
/**
|
|
86
|
+
* IP allowlist quota for current identity
|
|
87
|
+
*/
|
|
88
|
+
quota?: pulumi.Input<number>;
|
|
89
|
+
/**
|
|
90
|
+
* Sub-user ID
|
|
91
|
+
*/
|
|
92
|
+
userId?: pulumi.Input<string>;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* The set of arguments for constructing a AllowedIpAddress resource.
|
|
96
|
+
*/
|
|
97
|
+
export interface AllowedIpAddressArgs {
|
|
98
|
+
ipLists: pulumi.Input<pulumi.Input<inputs.iam.AllowedIpAddressIpList>[]>;
|
|
99
|
+
/**
|
|
100
|
+
* IP allowlist quota for current identity
|
|
101
|
+
*/
|
|
102
|
+
quota?: pulumi.Input<number>;
|
|
103
|
+
/**
|
|
104
|
+
* Sub-user ID
|
|
105
|
+
*/
|
|
106
|
+
userId: pulumi.Input<string>;
|
|
107
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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.AllowedIpAddress = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* IP allowlist configuration
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const iAMAllowedIpAddressDemo = new volcenginecc.iam.AllowedIpAddress("IAMAllowedIpAddressDemo", {
|
|
18
|
+
* userId: "2109xxxxx",
|
|
19
|
+
* ipLists: [
|
|
20
|
+
* {
|
|
21
|
+
* ip: "192.168.1.100",
|
|
22
|
+
* description: "test1",
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* ip: "192.168.2.100",
|
|
26
|
+
* description: "test2",
|
|
27
|
+
* },
|
|
28
|
+
* {
|
|
29
|
+
* ip: "192.168.3.100",
|
|
30
|
+
* description: "test3",
|
|
31
|
+
* },
|
|
32
|
+
* ],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import volcenginecc:iam/allowedIpAddress:AllowedIpAddress example "user_id"
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class AllowedIpAddress extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing AllowedIpAddress resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, state, opts) {
|
|
53
|
+
return new AllowedIpAddress(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of AllowedIpAddress. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === AllowedIpAddress.__pulumiType;
|
|
64
|
+
}
|
|
65
|
+
constructor(name, argsOrState, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (opts.id) {
|
|
69
|
+
const state = argsOrState;
|
|
70
|
+
resourceInputs["enableIpList"] = state ? state.enableIpList : undefined;
|
|
71
|
+
resourceInputs["ipLists"] = state ? state.ipLists : undefined;
|
|
72
|
+
resourceInputs["quota"] = state ? state.quota : undefined;
|
|
73
|
+
resourceInputs["userId"] = state ? state.userId : undefined;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
const args = argsOrState;
|
|
77
|
+
if ((!args || args.ipLists === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'ipLists'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.userId === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'userId'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["ipLists"] = args ? args.ipLists : undefined;
|
|
84
|
+
resourceInputs["quota"] = args ? args.quota : undefined;
|
|
85
|
+
resourceInputs["userId"] = args ? args.userId : undefined;
|
|
86
|
+
resourceInputs["enableIpList"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(AllowedIpAddress.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.AllowedIpAddress = AllowedIpAddress;
|
|
93
|
+
/** @internal */
|
|
94
|
+
AllowedIpAddress.__pulumiType = 'volcenginecc:iam/allowedIpAddress:AllowedIpAddress';
|
|
95
|
+
//# sourceMappingURL=allowedIpAddress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allowedIpAddress.js","sourceRoot":"","sources":["../../iam/allowedIpAddress.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,gBAAiB,SAAQ,MA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,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA1EL,4CA2EC;AA7DG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::IAM::AllowedIpAddress
|
|
5
|
+
*/
|
|
6
|
+
export declare function getAllowedIpAddress(args: GetAllowedIpAddressArgs, opts?: pulumi.InvokeOptions): Promise<GetAllowedIpAddressResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getAllowedIpAddress.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetAllowedIpAddressArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getAllowedIpAddress.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAllowedIpAddressResult {
|
|
20
|
+
/**
|
|
21
|
+
* Enable IP allowlist
|
|
22
|
+
*/
|
|
23
|
+
readonly enableIpList: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Uniquely identifies the resource.
|
|
26
|
+
*/
|
|
27
|
+
readonly id: string;
|
|
28
|
+
/**
|
|
29
|
+
* IP allowlist list
|
|
30
|
+
*/
|
|
31
|
+
readonly ipLists: outputs.iam.GetAllowedIpAddressIpList[];
|
|
32
|
+
/**
|
|
33
|
+
* IP allowlist quota for current identity
|
|
34
|
+
*/
|
|
35
|
+
readonly quota: number;
|
|
36
|
+
/**
|
|
37
|
+
* Sub-user ID
|
|
38
|
+
*/
|
|
39
|
+
readonly userId: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Volcengine::IAM::AllowedIpAddress
|
|
43
|
+
*/
|
|
44
|
+
export declare function getAllowedIpAddressOutput(args: GetAllowedIpAddressOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAllowedIpAddressResult>;
|
|
45
|
+
/**
|
|
46
|
+
* A collection of arguments for invoking getAllowedIpAddress.
|
|
47
|
+
*/
|
|
48
|
+
export interface GetAllowedIpAddressOutputArgs {
|
|
49
|
+
/**
|
|
50
|
+
* Uniquely identifies the resource.
|
|
51
|
+
*/
|
|
52
|
+
id: pulumi.Input<string>;
|
|
53
|
+
}
|
|
@@ -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.getAllowedIpAddressOutput = exports.getAllowedIpAddress = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::IAM::AllowedIpAddress
|
|
10
|
+
*/
|
|
11
|
+
function getAllowedIpAddress(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:iam/getAllowedIpAddress:getAllowedIpAddress", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getAllowedIpAddress = getAllowedIpAddress;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::IAM::AllowedIpAddress
|
|
20
|
+
*/
|
|
21
|
+
function getAllowedIpAddressOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:iam/getAllowedIpAddress:getAllowedIpAddress", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getAllowedIpAddressOutput = getAllowedIpAddressOutput;
|
|
28
|
+
//# sourceMappingURL=getAllowedIpAddress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllowedIpAddress.js","sourceRoot":"","sources":["../../iam/getAllowedIpAddress.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAqCD;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|