@pulumi/mongodbatlas 3.27.0-alpha.1738648871 → 3.27.0-alpha.1738771554
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/flexCluster.d.ts +175 -0
- package/flexCluster.js +92 -0
- package/flexCluster.js.map +1 -0
- package/getFlexCluster.d.ts +107 -0
- package/getFlexCluster.js +42 -0
- package/getFlexCluster.js.map +1 -0
- package/getFlexClusters.d.ts +57 -0
- package/getFlexClusters.js +40 -0
- package/getFlexClusters.js.map +1 -0
- package/getResourcePolicies.d.ts +49 -0
- package/getResourcePolicies.js +28 -0
- package/getResourcePolicies.js.map +1 -0
- package/getResourcePolicy.d.ts +77 -0
- package/getResourcePolicy.js +30 -0
- package/getResourcePolicy.js.map +1 -0
- package/index.d.ts +18 -0
- package/index.js +28 -6
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/resourcePolicy.d.ts +123 -0
- package/resourcePolicy.js +78 -0
- package/resourcePolicy.js.map +1 -0
- package/types/input.d.ts +64 -0
- package/types/output.d.ts +354 -0
package/flexCluster.d.ts
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## # Resource: mongodbatlas.FlexCluster
|
|
6
|
+
*
|
|
7
|
+
* `mongodbatlas.FlexCluster` provides a Flex Cluster resource. The resource lets you create, update, delete and import a flex cluster.
|
|
8
|
+
*
|
|
9
|
+
* **NOTE:** Flex Cluster is in Public Preview. In order to use the resource and data sources you need to set the environment variable MONGODB_ATLAS_ENABLE_PREVIEW to true.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* You can import the Flex Cluster resource by using the Project ID and Flex Cluster name, in the format `PROJECT_ID-FLEX_CLUSTER_NAME`. For example:
|
|
16
|
+
*
|
|
17
|
+
* For more information see: [MongoDB Atlas API - Flex Cluster](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Flex-Clusters/operation/createFlexcluster) Documentation.
|
|
18
|
+
*/
|
|
19
|
+
export declare class FlexCluster extends pulumi.CustomResource {
|
|
20
|
+
/**
|
|
21
|
+
* Get an existing FlexCluster resource's state with the given name, ID, and optional extra
|
|
22
|
+
* properties used to qualify the lookup.
|
|
23
|
+
*
|
|
24
|
+
* @param name The _unique_ name of the resulting resource.
|
|
25
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
26
|
+
* @param state Any extra arguments used during the lookup.
|
|
27
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
+
*/
|
|
29
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FlexClusterState, opts?: pulumi.CustomResourceOptions): FlexCluster;
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of FlexCluster. 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: any): obj is FlexCluster;
|
|
35
|
+
/**
|
|
36
|
+
* Flex backup configuration
|
|
37
|
+
*/
|
|
38
|
+
readonly backupSettings: pulumi.Output<outputs.FlexClusterBackupSettings>;
|
|
39
|
+
/**
|
|
40
|
+
* Flex cluster topology.
|
|
41
|
+
*/
|
|
42
|
+
readonly clusterType: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Collection of Uniform Resource Locators that point to the MongoDB database.
|
|
45
|
+
*/
|
|
46
|
+
readonly connectionStrings: pulumi.Output<outputs.FlexClusterConnectionStrings>;
|
|
47
|
+
/**
|
|
48
|
+
* Date and time when MongoDB Cloud created this instance. This parameter expresses its value in ISO 8601 format in UTC.
|
|
49
|
+
*/
|
|
50
|
+
readonly createDate: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Version of MongoDB that the instance runs.
|
|
53
|
+
*/
|
|
54
|
+
readonly mongoDbVersion: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Human-readable label that identifies the instance.
|
|
57
|
+
*/
|
|
58
|
+
readonly name: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Unique 24-hexadecimal character string that identifies the project.
|
|
61
|
+
*/
|
|
62
|
+
readonly projectId: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Group of cloud provider settings that configure the provisioned MongoDB flex cluster.
|
|
65
|
+
*/
|
|
66
|
+
readonly providerSettings: pulumi.Output<outputs.FlexClusterProviderSettings>;
|
|
67
|
+
/**
|
|
68
|
+
* Human-readable label that indicates the current operating condition of this instance.
|
|
69
|
+
*/
|
|
70
|
+
readonly stateName: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Map that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the instance.
|
|
73
|
+
*/
|
|
74
|
+
readonly tags: pulumi.Output<{
|
|
75
|
+
[key: string]: string;
|
|
76
|
+
} | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Flag that indicates whether termination protection is enabled on the cluster. If set to `true`, MongoDB Cloud won't delete the cluster. If set to `false`, MongoDB Cloud will delete the cluster.
|
|
79
|
+
*/
|
|
80
|
+
readonly terminationProtectionEnabled: pulumi.Output<boolean>;
|
|
81
|
+
/**
|
|
82
|
+
* Method by which the cluster maintains the MongoDB versions.
|
|
83
|
+
*/
|
|
84
|
+
readonly versionReleaseSystem: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Create a FlexCluster resource with the given unique name, arguments, and options.
|
|
87
|
+
*
|
|
88
|
+
* @param name The _unique_ name of the resource.
|
|
89
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
90
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
91
|
+
*/
|
|
92
|
+
constructor(name: string, args: FlexClusterArgs, opts?: pulumi.CustomResourceOptions);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Input properties used for looking up and filtering FlexCluster resources.
|
|
96
|
+
*/
|
|
97
|
+
export interface FlexClusterState {
|
|
98
|
+
/**
|
|
99
|
+
* Flex backup configuration
|
|
100
|
+
*/
|
|
101
|
+
backupSettings?: pulumi.Input<inputs.FlexClusterBackupSettings>;
|
|
102
|
+
/**
|
|
103
|
+
* Flex cluster topology.
|
|
104
|
+
*/
|
|
105
|
+
clusterType?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Collection of Uniform Resource Locators that point to the MongoDB database.
|
|
108
|
+
*/
|
|
109
|
+
connectionStrings?: pulumi.Input<inputs.FlexClusterConnectionStrings>;
|
|
110
|
+
/**
|
|
111
|
+
* Date and time when MongoDB Cloud created this instance. This parameter expresses its value in ISO 8601 format in UTC.
|
|
112
|
+
*/
|
|
113
|
+
createDate?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Version of MongoDB that the instance runs.
|
|
116
|
+
*/
|
|
117
|
+
mongoDbVersion?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Human-readable label that identifies the instance.
|
|
120
|
+
*/
|
|
121
|
+
name?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Unique 24-hexadecimal character string that identifies the project.
|
|
124
|
+
*/
|
|
125
|
+
projectId?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Group of cloud provider settings that configure the provisioned MongoDB flex cluster.
|
|
128
|
+
*/
|
|
129
|
+
providerSettings?: pulumi.Input<inputs.FlexClusterProviderSettings>;
|
|
130
|
+
/**
|
|
131
|
+
* Human-readable label that indicates the current operating condition of this instance.
|
|
132
|
+
*/
|
|
133
|
+
stateName?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Map that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the instance.
|
|
136
|
+
*/
|
|
137
|
+
tags?: pulumi.Input<{
|
|
138
|
+
[key: string]: pulumi.Input<string>;
|
|
139
|
+
}>;
|
|
140
|
+
/**
|
|
141
|
+
* Flag that indicates whether termination protection is enabled on the cluster. If set to `true`, MongoDB Cloud won't delete the cluster. If set to `false`, MongoDB Cloud will delete the cluster.
|
|
142
|
+
*/
|
|
143
|
+
terminationProtectionEnabled?: pulumi.Input<boolean>;
|
|
144
|
+
/**
|
|
145
|
+
* Method by which the cluster maintains the MongoDB versions.
|
|
146
|
+
*/
|
|
147
|
+
versionReleaseSystem?: pulumi.Input<string>;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* The set of arguments for constructing a FlexCluster resource.
|
|
151
|
+
*/
|
|
152
|
+
export interface FlexClusterArgs {
|
|
153
|
+
/**
|
|
154
|
+
* Human-readable label that identifies the instance.
|
|
155
|
+
*/
|
|
156
|
+
name?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Unique 24-hexadecimal character string that identifies the project.
|
|
159
|
+
*/
|
|
160
|
+
projectId: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Group of cloud provider settings that configure the provisioned MongoDB flex cluster.
|
|
163
|
+
*/
|
|
164
|
+
providerSettings: pulumi.Input<inputs.FlexClusterProviderSettings>;
|
|
165
|
+
/**
|
|
166
|
+
* Map that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the instance.
|
|
167
|
+
*/
|
|
168
|
+
tags?: pulumi.Input<{
|
|
169
|
+
[key: string]: pulumi.Input<string>;
|
|
170
|
+
}>;
|
|
171
|
+
/**
|
|
172
|
+
* Flag that indicates whether termination protection is enabled on the cluster. If set to `true`, MongoDB Cloud won't delete the cluster. If set to `false`, MongoDB Cloud will delete the cluster.
|
|
173
|
+
*/
|
|
174
|
+
terminationProtectionEnabled?: pulumi.Input<boolean>;
|
|
175
|
+
}
|
package/flexCluster.js
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
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.FlexCluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Resource: mongodbatlas.FlexCluster
|
|
10
|
+
*
|
|
11
|
+
* `mongodbatlas.FlexCluster` provides a Flex Cluster resource. The resource lets you create, update, delete and import a flex cluster.
|
|
12
|
+
*
|
|
13
|
+
* **NOTE:** Flex Cluster is in Public Preview. In order to use the resource and data sources you need to set the environment variable MONGODB_ATLAS_ENABLE_PREVIEW to true.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* You can import the Flex Cluster resource by using the Project ID and Flex Cluster name, in the format `PROJECT_ID-FLEX_CLUSTER_NAME`. For example:
|
|
20
|
+
*
|
|
21
|
+
* For more information see: [MongoDB Atlas API - Flex Cluster](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Flex-Clusters/operation/createFlexcluster) Documentation.
|
|
22
|
+
*/
|
|
23
|
+
class FlexCluster extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing FlexCluster resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name, id, state, opts) {
|
|
34
|
+
return new FlexCluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of FlexCluster. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj) {
|
|
41
|
+
if (obj === undefined || obj === null) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
return obj['__pulumiType'] === FlexCluster.__pulumiType;
|
|
45
|
+
}
|
|
46
|
+
constructor(name, argsOrState, opts) {
|
|
47
|
+
let resourceInputs = {};
|
|
48
|
+
opts = opts || {};
|
|
49
|
+
if (opts.id) {
|
|
50
|
+
const state = argsOrState;
|
|
51
|
+
resourceInputs["backupSettings"] = state ? state.backupSettings : undefined;
|
|
52
|
+
resourceInputs["clusterType"] = state ? state.clusterType : undefined;
|
|
53
|
+
resourceInputs["connectionStrings"] = state ? state.connectionStrings : undefined;
|
|
54
|
+
resourceInputs["createDate"] = state ? state.createDate : undefined;
|
|
55
|
+
resourceInputs["mongoDbVersion"] = state ? state.mongoDbVersion : undefined;
|
|
56
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
57
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
58
|
+
resourceInputs["providerSettings"] = state ? state.providerSettings : undefined;
|
|
59
|
+
resourceInputs["stateName"] = state ? state.stateName : undefined;
|
|
60
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
61
|
+
resourceInputs["terminationProtectionEnabled"] = state ? state.terminationProtectionEnabled : undefined;
|
|
62
|
+
resourceInputs["versionReleaseSystem"] = state ? state.versionReleaseSystem : undefined;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'projectId'");
|
|
68
|
+
}
|
|
69
|
+
if ((!args || args.providerSettings === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'providerSettings'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
73
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
74
|
+
resourceInputs["providerSettings"] = args ? args.providerSettings : undefined;
|
|
75
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
76
|
+
resourceInputs["terminationProtectionEnabled"] = args ? args.terminationProtectionEnabled : undefined;
|
|
77
|
+
resourceInputs["backupSettings"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["clusterType"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["connectionStrings"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["createDate"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["mongoDbVersion"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["stateName"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["versionReleaseSystem"] = undefined /*out*/;
|
|
84
|
+
}
|
|
85
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
+
super(FlexCluster.__pulumiType, name, resourceInputs, opts);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.FlexCluster = FlexCluster;
|
|
90
|
+
/** @internal */
|
|
91
|
+
FlexCluster.__pulumiType = 'mongodbatlas:index/flexCluster:FlexCluster';
|
|
92
|
+
//# sourceMappingURL=flexCluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flexCluster.js","sourceRoot":"","sources":["../flexCluster.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* ## # Data Source: mongodbatlas.FlexCluster
|
|
5
|
+
*
|
|
6
|
+
* `mongodbatlas.FlexCluster` describes a flex cluster.
|
|
7
|
+
*
|
|
8
|
+
* **NOTE:** Flex Cluster is in Public Preview. In order to use the resource and data sources you need to set the environment variable MONGODB_ATLAS_ENABLE_PREVIEW to true.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*/
|
|
12
|
+
export declare function getFlexCluster(args: GetFlexClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetFlexClusterResult>;
|
|
13
|
+
/**
|
|
14
|
+
* A collection of arguments for invoking getFlexCluster.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetFlexClusterArgs {
|
|
17
|
+
/**
|
|
18
|
+
* Human-readable label that identifies the instance.
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Unique 24-hexadecimal character string that identifies the project.
|
|
23
|
+
*/
|
|
24
|
+
projectId: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getFlexCluster.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetFlexClusterResult {
|
|
30
|
+
/**
|
|
31
|
+
* Flex backup configuration
|
|
32
|
+
*/
|
|
33
|
+
readonly backupSettings: outputs.GetFlexClusterBackupSettings;
|
|
34
|
+
/**
|
|
35
|
+
* Flex cluster topology.
|
|
36
|
+
*/
|
|
37
|
+
readonly clusterType: string;
|
|
38
|
+
/**
|
|
39
|
+
* Collection of Uniform Resource Locators that point to the MongoDB database.
|
|
40
|
+
*/
|
|
41
|
+
readonly connectionStrings: outputs.GetFlexClusterConnectionStrings;
|
|
42
|
+
/**
|
|
43
|
+
* Date and time when MongoDB Cloud created this instance. This parameter expresses its value in ISO 8601 format in UTC.
|
|
44
|
+
*/
|
|
45
|
+
readonly createDate: string;
|
|
46
|
+
/**
|
|
47
|
+
* Unique 24-hexadecimal digit string that identifies the instance.
|
|
48
|
+
*/
|
|
49
|
+
readonly id: string;
|
|
50
|
+
/**
|
|
51
|
+
* Version of MongoDB that the instance runs.
|
|
52
|
+
*/
|
|
53
|
+
readonly mongoDbVersion: string;
|
|
54
|
+
/**
|
|
55
|
+
* Human-readable label that identifies the instance.
|
|
56
|
+
*/
|
|
57
|
+
readonly name: string;
|
|
58
|
+
/**
|
|
59
|
+
* Unique 24-hexadecimal character string that identifies the project.
|
|
60
|
+
*/
|
|
61
|
+
readonly projectId: string;
|
|
62
|
+
/**
|
|
63
|
+
* Group of cloud provider settings that configure the provisioned MongoDB flex cluster.
|
|
64
|
+
*/
|
|
65
|
+
readonly providerSettings: outputs.GetFlexClusterProviderSettings;
|
|
66
|
+
/**
|
|
67
|
+
* Human-readable label that indicates the current operating condition of this instance.
|
|
68
|
+
*/
|
|
69
|
+
readonly stateName: string;
|
|
70
|
+
/**
|
|
71
|
+
* Map that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the instance.
|
|
72
|
+
*/
|
|
73
|
+
readonly tags: {
|
|
74
|
+
[key: string]: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Flag that indicates whether termination protection is enabled on the cluster. If set to `true`, MongoDB Cloud won't delete the cluster. If set to `false`, MongoDB Cloud will delete the cluster.
|
|
78
|
+
*/
|
|
79
|
+
readonly terminationProtectionEnabled: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Method by which the cluster maintains the MongoDB versions.
|
|
82
|
+
*/
|
|
83
|
+
readonly versionReleaseSystem: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* ## # Data Source: mongodbatlas.FlexCluster
|
|
87
|
+
*
|
|
88
|
+
* `mongodbatlas.FlexCluster` describes a flex cluster.
|
|
89
|
+
*
|
|
90
|
+
* **NOTE:** Flex Cluster is in Public Preview. In order to use the resource and data sources you need to set the environment variable MONGODB_ATLAS_ENABLE_PREVIEW to true.
|
|
91
|
+
*
|
|
92
|
+
* ## Example Usage
|
|
93
|
+
*/
|
|
94
|
+
export declare function getFlexClusterOutput(args: GetFlexClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFlexClusterResult>;
|
|
95
|
+
/**
|
|
96
|
+
* A collection of arguments for invoking getFlexCluster.
|
|
97
|
+
*/
|
|
98
|
+
export interface GetFlexClusterOutputArgs {
|
|
99
|
+
/**
|
|
100
|
+
* Human-readable label that identifies the instance.
|
|
101
|
+
*/
|
|
102
|
+
name: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Unique 24-hexadecimal character string that identifies the project.
|
|
105
|
+
*/
|
|
106
|
+
projectId: pulumi.Input<string>;
|
|
107
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getFlexClusterOutput = exports.getFlexCluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Data Source: mongodbatlas.FlexCluster
|
|
10
|
+
*
|
|
11
|
+
* `mongodbatlas.FlexCluster` describes a flex cluster.
|
|
12
|
+
*
|
|
13
|
+
* **NOTE:** Flex Cluster is in Public Preview. In order to use the resource and data sources you need to set the environment variable MONGODB_ATLAS_ENABLE_PREVIEW to true.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*/
|
|
17
|
+
function getFlexCluster(args, opts) {
|
|
18
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
19
|
+
return pulumi.runtime.invoke("mongodbatlas:index/getFlexCluster:getFlexCluster", {
|
|
20
|
+
"name": args.name,
|
|
21
|
+
"projectId": args.projectId,
|
|
22
|
+
}, opts);
|
|
23
|
+
}
|
|
24
|
+
exports.getFlexCluster = getFlexCluster;
|
|
25
|
+
/**
|
|
26
|
+
* ## # Data Source: mongodbatlas.FlexCluster
|
|
27
|
+
*
|
|
28
|
+
* `mongodbatlas.FlexCluster` describes a flex cluster.
|
|
29
|
+
*
|
|
30
|
+
* **NOTE:** Flex Cluster is in Public Preview. In order to use the resource and data sources you need to set the environment variable MONGODB_ATLAS_ENABLE_PREVIEW to true.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*/
|
|
34
|
+
function getFlexClusterOutput(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invokeOutput("mongodbatlas:index/getFlexCluster:getFlexCluster", {
|
|
37
|
+
"name": args.name,
|
|
38
|
+
"projectId": args.projectId,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getFlexClusterOutput = getFlexClusterOutput;
|
|
42
|
+
//# sourceMappingURL=getFlexCluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlexCluster.js","sourceRoot":"","sources":["../getFlexCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAyED;;;;;;;;GAQG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* ## # Data Source: mongodbatlas.getFlexClusters
|
|
5
|
+
*
|
|
6
|
+
* `mongodbatlas.getFlexClusters` returns all flex clusters in a project.
|
|
7
|
+
*
|
|
8
|
+
* **NOTE:** Flex Cluster is in Public Preview. In order to use the resource and data sources you need to set the environment variable MONGODB_ATLAS_ENABLE_PREVIEW to true.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*/
|
|
12
|
+
export declare function getFlexClusters(args: GetFlexClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetFlexClustersResult>;
|
|
13
|
+
/**
|
|
14
|
+
* A collection of arguments for invoking getFlexClusters.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetFlexClustersArgs {
|
|
17
|
+
/**
|
|
18
|
+
* Unique 24-hexadecimal character string that identifies the project.
|
|
19
|
+
*/
|
|
20
|
+
projectId: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A collection of values returned by getFlexClusters.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetFlexClustersResult {
|
|
26
|
+
/**
|
|
27
|
+
* The provider-assigned unique ID for this managed resource.
|
|
28
|
+
*/
|
|
29
|
+
readonly id: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique 24-hexadecimal character string that identifies the project.
|
|
32
|
+
*/
|
|
33
|
+
readonly projectId: string;
|
|
34
|
+
/**
|
|
35
|
+
* List of documents that MongoDB Cloud returns for this request.
|
|
36
|
+
*/
|
|
37
|
+
readonly results: outputs.GetFlexClustersResult[];
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* ## # Data Source: mongodbatlas.getFlexClusters
|
|
41
|
+
*
|
|
42
|
+
* `mongodbatlas.getFlexClusters` returns all flex clusters in a project.
|
|
43
|
+
*
|
|
44
|
+
* **NOTE:** Flex Cluster is in Public Preview. In order to use the resource and data sources you need to set the environment variable MONGODB_ATLAS_ENABLE_PREVIEW to true.
|
|
45
|
+
*
|
|
46
|
+
* ## Example Usage
|
|
47
|
+
*/
|
|
48
|
+
export declare function getFlexClustersOutput(args: GetFlexClustersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFlexClustersResult>;
|
|
49
|
+
/**
|
|
50
|
+
* A collection of arguments for invoking getFlexClusters.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetFlexClustersOutputArgs {
|
|
53
|
+
/**
|
|
54
|
+
* Unique 24-hexadecimal character string that identifies the project.
|
|
55
|
+
*/
|
|
56
|
+
projectId: pulumi.Input<string>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.getFlexClustersOutput = exports.getFlexClusters = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Data Source: mongodbatlas.getFlexClusters
|
|
10
|
+
*
|
|
11
|
+
* `mongodbatlas.getFlexClusters` returns all flex clusters in a project.
|
|
12
|
+
*
|
|
13
|
+
* **NOTE:** Flex Cluster is in Public Preview. In order to use the resource and data sources you need to set the environment variable MONGODB_ATLAS_ENABLE_PREVIEW to true.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*/
|
|
17
|
+
function getFlexClusters(args, opts) {
|
|
18
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
19
|
+
return pulumi.runtime.invoke("mongodbatlas:index/getFlexClusters:getFlexClusters", {
|
|
20
|
+
"projectId": args.projectId,
|
|
21
|
+
}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getFlexClusters = getFlexClusters;
|
|
24
|
+
/**
|
|
25
|
+
* ## # Data Source: mongodbatlas.getFlexClusters
|
|
26
|
+
*
|
|
27
|
+
* `mongodbatlas.getFlexClusters` returns all flex clusters in a project.
|
|
28
|
+
*
|
|
29
|
+
* **NOTE:** Flex Cluster is in Public Preview. In order to use the resource and data sources you need to set the environment variable MONGODB_ATLAS_ENABLE_PREVIEW to true.
|
|
30
|
+
*
|
|
31
|
+
* ## Example Usage
|
|
32
|
+
*/
|
|
33
|
+
function getFlexClustersOutput(args, opts) {
|
|
34
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
35
|
+
return pulumi.runtime.invokeOutput("mongodbatlas:index/getFlexClusters:getFlexClusters", {
|
|
36
|
+
"projectId": args.projectId,
|
|
37
|
+
}, opts);
|
|
38
|
+
}
|
|
39
|
+
exports.getFlexClustersOutput = getFlexClustersOutput;
|
|
40
|
+
//# sourceMappingURL=getFlexClusters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlexClusters.js","sourceRoot":"","sources":["../getFlexClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;AA6BD;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*/
|
|
6
|
+
export declare function getResourcePolicies(args: GetResourcePoliciesArgs, opts?: pulumi.InvokeOptions): Promise<GetResourcePoliciesResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getResourcePolicies.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetResourcePoliciesArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
|
|
13
|
+
*/
|
|
14
|
+
orgId: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getResourcePolicies.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetResourcePoliciesResult {
|
|
20
|
+
/**
|
|
21
|
+
* The provider-assigned unique ID for this managed resource.
|
|
22
|
+
*/
|
|
23
|
+
readonly id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
|
|
26
|
+
*/
|
|
27
|
+
readonly orgId: string;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated This parameter is deprecated. Please transition to `results`.
|
|
30
|
+
*/
|
|
31
|
+
readonly resourcePolicies: outputs.GetResourcePoliciesResourcePolicy[];
|
|
32
|
+
/**
|
|
33
|
+
* List of documents that MongoDB Cloud returns for this request.
|
|
34
|
+
*/
|
|
35
|
+
readonly results: outputs.GetResourcePoliciesResult[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*/
|
|
40
|
+
export declare function getResourcePoliciesOutput(args: GetResourcePoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResourcePoliciesResult>;
|
|
41
|
+
/**
|
|
42
|
+
* A collection of arguments for invoking getResourcePolicies.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetResourcePoliciesOutputArgs {
|
|
45
|
+
/**
|
|
46
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
|
|
47
|
+
*/
|
|
48
|
+
orgId: pulumi.Input<string>;
|
|
49
|
+
}
|
|
@@ -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.getResourcePoliciesOutput = exports.getResourcePolicies = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*/
|
|
11
|
+
function getResourcePolicies(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("mongodbatlas:index/getResourcePolicies:getResourcePolicies", {
|
|
14
|
+
"orgId": args.orgId,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getResourcePolicies = getResourcePolicies;
|
|
18
|
+
/**
|
|
19
|
+
* ## Example Usage
|
|
20
|
+
*/
|
|
21
|
+
function getResourcePoliciesOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("mongodbatlas:index/getResourcePolicies:getResourcePolicies", {
|
|
24
|
+
"orgId": args.orgId,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getResourcePoliciesOutput = getResourcePoliciesOutput;
|
|
28
|
+
//# sourceMappingURL=getResourcePolicies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getResourcePolicies.js","sourceRoot":"","sources":["../getResourcePolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;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,4DAA4D,EAAE;QACvF,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAiCD;;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,4DAA4D,EAAE;QAC7F,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|