@pulumi/mongodbatlas 3.27.0-alpha.1738735142 → 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
|
@@ -0,0 +1,78 @@
|
|
|
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.ResourcePolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* Resource Policy resource can be imported using the org ID and policy ID, in the format `{ORG_ID}-{POLICY_ID}`, e.g.
|
|
14
|
+
*
|
|
15
|
+
* For more information see: [MongoDB Atlas API - Resource Policies](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Resource-Policies) Documentation.
|
|
16
|
+
*/
|
|
17
|
+
class ResourcePolicy extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing ResourcePolicy 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 ResourcePolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of ResourcePolicy. 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'] === ResourcePolicy.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["createdByUser"] = state ? state.createdByUser : undefined;
|
|
46
|
+
resourceInputs["createdDate"] = state ? state.createdDate : undefined;
|
|
47
|
+
resourceInputs["lastUpdatedByUser"] = state ? state.lastUpdatedByUser : undefined;
|
|
48
|
+
resourceInputs["lastUpdatedDate"] = state ? state.lastUpdatedDate : undefined;
|
|
49
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
50
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
51
|
+
resourceInputs["policies"] = state ? state.policies : undefined;
|
|
52
|
+
resourceInputs["version"] = state ? state.version : undefined;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
if ((!args || args.orgId === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'orgId'");
|
|
58
|
+
}
|
|
59
|
+
if ((!args || args.policies === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'policies'");
|
|
61
|
+
}
|
|
62
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
63
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
64
|
+
resourceInputs["policies"] = args ? args.policies : undefined;
|
|
65
|
+
resourceInputs["createdByUser"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["createdDate"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["lastUpdatedByUser"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["lastUpdatedDate"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(ResourcePolicy.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.ResourcePolicy = ResourcePolicy;
|
|
76
|
+
/** @internal */
|
|
77
|
+
ResourcePolicy.__pulumiType = 'mongodbatlas:index/resourcePolicy:ResourcePolicy';
|
|
78
|
+
//# sourceMappingURL=resourcePolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourcePolicy.js","sourceRoot":"","sources":["../resourcePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,c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AoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AArGL,wCAsGC;AAxFG,gBAAgB;AACO,2BAAY,GAAG,kDAAkD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -1570,6 +1570,40 @@ export interface FederatedSettingsOrgRoleMappingRoleAssignment {
|
|
|
1570
1570
|
*/
|
|
1571
1571
|
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1572
1572
|
}
|
|
1573
|
+
export interface FlexClusterBackupSettings {
|
|
1574
|
+
/**
|
|
1575
|
+
* Flag that indicates whether backups are performed for this flex cluster. Backup uses TODO for flex clusters.
|
|
1576
|
+
*/
|
|
1577
|
+
enabled?: pulumi.Input<boolean>;
|
|
1578
|
+
}
|
|
1579
|
+
export interface FlexClusterConnectionStrings {
|
|
1580
|
+
/**
|
|
1581
|
+
* Public connection string that you can use to connect to this cluster. This connection string uses the mongodb:// protocol.
|
|
1582
|
+
*/
|
|
1583
|
+
standard?: pulumi.Input<string>;
|
|
1584
|
+
/**
|
|
1585
|
+
* Public connection string that you can use to connect to this flex cluster. This connection string uses the `mongodb+srv://` protocol.
|
|
1586
|
+
*/
|
|
1587
|
+
standardSrv?: pulumi.Input<string>;
|
|
1588
|
+
}
|
|
1589
|
+
export interface FlexClusterProviderSettings {
|
|
1590
|
+
/**
|
|
1591
|
+
* Cloud service provider on which MongoDB Cloud provisioned the flex cluster.
|
|
1592
|
+
*/
|
|
1593
|
+
backingProviderName: pulumi.Input<string>;
|
|
1594
|
+
/**
|
|
1595
|
+
* Storage capacity available to the flex cluster expressed in gigabytes.
|
|
1596
|
+
*/
|
|
1597
|
+
diskSizeGb?: pulumi.Input<number>;
|
|
1598
|
+
/**
|
|
1599
|
+
* Human-readable label that identifies the cloud service provider.
|
|
1600
|
+
*/
|
|
1601
|
+
providerName?: pulumi.Input<string>;
|
|
1602
|
+
/**
|
|
1603
|
+
* Human-readable label that identifies the geographic location of your MongoDB flex cluster. The region you choose can affect network latency for clients accessing your databases. For a complete list of region names, see [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/#std-label-amazon-aws), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), and [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
|
|
1604
|
+
*/
|
|
1605
|
+
regionName: pulumi.Input<string>;
|
|
1606
|
+
}
|
|
1573
1607
|
export interface GetAlertConfigurationOutput {
|
|
1574
1608
|
label?: string;
|
|
1575
1609
|
type: string;
|
|
@@ -2016,6 +2050,36 @@ export interface PushBasedLogExportTimeouts {
|
|
|
2016
2050
|
*/
|
|
2017
2051
|
update?: pulumi.Input<string>;
|
|
2018
2052
|
}
|
|
2053
|
+
export interface ResourcePolicyCreatedByUser {
|
|
2054
|
+
/**
|
|
2055
|
+
* Unique 24-hexadecimal character string that identifies a user.
|
|
2056
|
+
*/
|
|
2057
|
+
id?: pulumi.Input<string>;
|
|
2058
|
+
/**
|
|
2059
|
+
* Human-readable label that describes a user.
|
|
2060
|
+
*/
|
|
2061
|
+
name?: pulumi.Input<string>;
|
|
2062
|
+
}
|
|
2063
|
+
export interface ResourcePolicyLastUpdatedByUser {
|
|
2064
|
+
/**
|
|
2065
|
+
* Unique 24-hexadecimal character string that identifies a user.
|
|
2066
|
+
*/
|
|
2067
|
+
id?: pulumi.Input<string>;
|
|
2068
|
+
/**
|
|
2069
|
+
* Human-readable label that describes a user.
|
|
2070
|
+
*/
|
|
2071
|
+
name?: pulumi.Input<string>;
|
|
2072
|
+
}
|
|
2073
|
+
export interface ResourcePolicyPolicy {
|
|
2074
|
+
/**
|
|
2075
|
+
* A string that defines the permissions for the policy. The syntax used is the Cedar Policy language.
|
|
2076
|
+
*/
|
|
2077
|
+
body: pulumi.Input<string>;
|
|
2078
|
+
/**
|
|
2079
|
+
* Unique 24-hexadecimal character string that identifies the policy.
|
|
2080
|
+
*/
|
|
2081
|
+
id?: pulumi.Input<string>;
|
|
2082
|
+
}
|
|
2019
2083
|
export interface SearchDeploymentSpec {
|
|
2020
2084
|
/**
|
|
2021
2085
|
* Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).
|
package/types/output.d.ts
CHANGED
|
@@ -1569,6 +1569,40 @@ export interface FederatedSettingsOrgRoleMappingRoleAssignment {
|
|
|
1569
1569
|
*/
|
|
1570
1570
|
roles?: string[];
|
|
1571
1571
|
}
|
|
1572
|
+
export interface FlexClusterBackupSettings {
|
|
1573
|
+
/**
|
|
1574
|
+
* Flag that indicates whether backups are performed for this flex cluster. Backup uses TODO for flex clusters.
|
|
1575
|
+
*/
|
|
1576
|
+
enabled: boolean;
|
|
1577
|
+
}
|
|
1578
|
+
export interface FlexClusterConnectionStrings {
|
|
1579
|
+
/**
|
|
1580
|
+
* Public connection string that you can use to connect to this cluster. This connection string uses the mongodb:// protocol.
|
|
1581
|
+
*/
|
|
1582
|
+
standard: string;
|
|
1583
|
+
/**
|
|
1584
|
+
* Public connection string that you can use to connect to this flex cluster. This connection string uses the `mongodb+srv://` protocol.
|
|
1585
|
+
*/
|
|
1586
|
+
standardSrv: string;
|
|
1587
|
+
}
|
|
1588
|
+
export interface FlexClusterProviderSettings {
|
|
1589
|
+
/**
|
|
1590
|
+
* Cloud service provider on which MongoDB Cloud provisioned the flex cluster.
|
|
1591
|
+
*/
|
|
1592
|
+
backingProviderName: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* Storage capacity available to the flex cluster expressed in gigabytes.
|
|
1595
|
+
*/
|
|
1596
|
+
diskSizeGb: number;
|
|
1597
|
+
/**
|
|
1598
|
+
* Human-readable label that identifies the cloud service provider.
|
|
1599
|
+
*/
|
|
1600
|
+
providerName: string;
|
|
1601
|
+
/**
|
|
1602
|
+
* Human-readable label that identifies the geographic location of your MongoDB flex cluster. The region you choose can affect network latency for clients accessing your databases. For a complete list of region names, see [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/#std-label-amazon-aws), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), and [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
|
|
1603
|
+
*/
|
|
1604
|
+
regionName: string;
|
|
1605
|
+
}
|
|
1572
1606
|
export interface Get509AuthenticationDatabaseUserCertificate {
|
|
1573
1607
|
createdAt: string;
|
|
1574
1608
|
groupId: string;
|
|
@@ -5514,6 +5548,130 @@ export interface GetFederatedSettingsOrgRoleMappingsResultRoleAssignment {
|
|
|
5514
5548
|
*/
|
|
5515
5549
|
role: string;
|
|
5516
5550
|
}
|
|
5551
|
+
export interface GetFlexClusterBackupSettings {
|
|
5552
|
+
/**
|
|
5553
|
+
* Flag that indicates whether backups are performed for this flex cluster. Backup uses TODO for flex clusters.
|
|
5554
|
+
*/
|
|
5555
|
+
enabled: boolean;
|
|
5556
|
+
}
|
|
5557
|
+
export interface GetFlexClusterConnectionStrings {
|
|
5558
|
+
/**
|
|
5559
|
+
* Public connection string that you can use to connect to this cluster. This connection string uses the mongodb:// protocol.
|
|
5560
|
+
*/
|
|
5561
|
+
standard: string;
|
|
5562
|
+
/**
|
|
5563
|
+
* Public connection string that you can use to connect to this flex cluster. This connection string uses the `mongodb+srv://` protocol.
|
|
5564
|
+
*/
|
|
5565
|
+
standardSrv: string;
|
|
5566
|
+
}
|
|
5567
|
+
export interface GetFlexClusterProviderSettings {
|
|
5568
|
+
/**
|
|
5569
|
+
* Cloud service provider on which MongoDB Cloud provisioned the flex cluster.
|
|
5570
|
+
*/
|
|
5571
|
+
backingProviderName: string;
|
|
5572
|
+
/**
|
|
5573
|
+
* Storage capacity available to the flex cluster expressed in gigabytes.
|
|
5574
|
+
*/
|
|
5575
|
+
diskSizeGb: number;
|
|
5576
|
+
/**
|
|
5577
|
+
* Human-readable label that identifies the cloud service provider.
|
|
5578
|
+
*/
|
|
5579
|
+
providerName: string;
|
|
5580
|
+
/**
|
|
5581
|
+
* Human-readable label that identifies the geographic location of your MongoDB flex cluster. The region you choose can affect network latency for clients accessing your databases. For a complete list of region names, see [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/#std-label-amazon-aws), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), and [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
|
|
5582
|
+
*/
|
|
5583
|
+
regionName: string;
|
|
5584
|
+
}
|
|
5585
|
+
export interface GetFlexClustersResult {
|
|
5586
|
+
/**
|
|
5587
|
+
* Flex backup configuration
|
|
5588
|
+
*/
|
|
5589
|
+
backupSettings: outputs.GetFlexClustersResultBackupSettings;
|
|
5590
|
+
/**
|
|
5591
|
+
* Flex cluster topology.
|
|
5592
|
+
*/
|
|
5593
|
+
clusterType: string;
|
|
5594
|
+
/**
|
|
5595
|
+
* Collection of Uniform Resource Locators that point to the MongoDB database.
|
|
5596
|
+
*/
|
|
5597
|
+
connectionStrings: outputs.GetFlexClustersResultConnectionStrings;
|
|
5598
|
+
/**
|
|
5599
|
+
* Date and time when MongoDB Cloud created this instance. This parameter expresses its value in ISO 8601 format in UTC.
|
|
5600
|
+
*/
|
|
5601
|
+
createDate: string;
|
|
5602
|
+
/**
|
|
5603
|
+
* Unique 24-hexadecimal digit string that identifies the instance.
|
|
5604
|
+
*/
|
|
5605
|
+
id: string;
|
|
5606
|
+
/**
|
|
5607
|
+
* Version of MongoDB that the instance runs.
|
|
5608
|
+
*/
|
|
5609
|
+
mongoDbVersion: string;
|
|
5610
|
+
/**
|
|
5611
|
+
* Human-readable label that identifies the instance.
|
|
5612
|
+
*/
|
|
5613
|
+
name: string;
|
|
5614
|
+
/**
|
|
5615
|
+
* Unique 24-hexadecimal character string that identifies the project.
|
|
5616
|
+
*/
|
|
5617
|
+
projectId: string;
|
|
5618
|
+
/**
|
|
5619
|
+
* Group of cloud provider settings that configure the provisioned MongoDB flex cluster.
|
|
5620
|
+
*/
|
|
5621
|
+
providerSettings: outputs.GetFlexClustersResultProviderSettings;
|
|
5622
|
+
/**
|
|
5623
|
+
* Human-readable label that indicates the current operating condition of this instance.
|
|
5624
|
+
*/
|
|
5625
|
+
stateName: string;
|
|
5626
|
+
/**
|
|
5627
|
+
* Map that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the instance.
|
|
5628
|
+
*/
|
|
5629
|
+
tags: {
|
|
5630
|
+
[key: string]: string;
|
|
5631
|
+
};
|
|
5632
|
+
/**
|
|
5633
|
+
* 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.
|
|
5634
|
+
*/
|
|
5635
|
+
terminationProtectionEnabled: boolean;
|
|
5636
|
+
/**
|
|
5637
|
+
* Method by which the cluster maintains the MongoDB versions.
|
|
5638
|
+
*/
|
|
5639
|
+
versionReleaseSystem: string;
|
|
5640
|
+
}
|
|
5641
|
+
export interface GetFlexClustersResultBackupSettings {
|
|
5642
|
+
/**
|
|
5643
|
+
* Flag that indicates whether backups are performed for this flex cluster. Backup uses TODO for flex clusters.
|
|
5644
|
+
*/
|
|
5645
|
+
enabled: boolean;
|
|
5646
|
+
}
|
|
5647
|
+
export interface GetFlexClustersResultConnectionStrings {
|
|
5648
|
+
/**
|
|
5649
|
+
* Public connection string that you can use to connect to this cluster. This connection string uses the mongodb:// protocol.
|
|
5650
|
+
*/
|
|
5651
|
+
standard: string;
|
|
5652
|
+
/**
|
|
5653
|
+
* Public connection string that you can use to connect to this flex cluster. This connection string uses the `mongodb+srv://` protocol.
|
|
5654
|
+
*/
|
|
5655
|
+
standardSrv: string;
|
|
5656
|
+
}
|
|
5657
|
+
export interface GetFlexClustersResultProviderSettings {
|
|
5658
|
+
/**
|
|
5659
|
+
* Cloud service provider on which MongoDB Cloud provisioned the flex cluster.
|
|
5660
|
+
*/
|
|
5661
|
+
backingProviderName: string;
|
|
5662
|
+
/**
|
|
5663
|
+
* Storage capacity available to the flex cluster expressed in gigabytes.
|
|
5664
|
+
*/
|
|
5665
|
+
diskSizeGb: number;
|
|
5666
|
+
/**
|
|
5667
|
+
* Human-readable label that identifies the cloud service provider.
|
|
5668
|
+
*/
|
|
5669
|
+
providerName: string;
|
|
5670
|
+
/**
|
|
5671
|
+
* Human-readable label that identifies the geographic location of your MongoDB flex cluster. The region you choose can affect network latency for clients accessing your databases. For a complete list of region names, see [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/#std-label-amazon-aws), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), and [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
|
|
5672
|
+
*/
|
|
5673
|
+
regionName: string;
|
|
5674
|
+
}
|
|
5517
5675
|
export interface GetGlobalClusterConfigManagedNamespace {
|
|
5518
5676
|
/**
|
|
5519
5677
|
* (Required) The name of the collection associated with the managed namespace.
|
|
@@ -6093,6 +6251,172 @@ export interface GetProjectsResultTeam {
|
|
|
6093
6251
|
*/
|
|
6094
6252
|
teamId: string;
|
|
6095
6253
|
}
|
|
6254
|
+
export interface GetResourcePoliciesResourcePolicy {
|
|
6255
|
+
/**
|
|
6256
|
+
* The user that last updated the Atlas resource policy.
|
|
6257
|
+
*/
|
|
6258
|
+
createdByUser: outputs.GetResourcePoliciesResourcePolicyCreatedByUser;
|
|
6259
|
+
/**
|
|
6260
|
+
* Date and time in UTC when the Atlas resource policy was created.
|
|
6261
|
+
*/
|
|
6262
|
+
createdDate: string;
|
|
6263
|
+
/**
|
|
6264
|
+
* Unique 24-hexadecimal digit string that identifies an Atlas resource policy.
|
|
6265
|
+
*/
|
|
6266
|
+
id: string;
|
|
6267
|
+
/**
|
|
6268
|
+
* The user that last updated the Atlas resource policy.
|
|
6269
|
+
*/
|
|
6270
|
+
lastUpdatedByUser: outputs.GetResourcePoliciesResourcePolicyLastUpdatedByUser;
|
|
6271
|
+
/**
|
|
6272
|
+
* Date and time in UTC when the Atlas resource policy was last updated.
|
|
6273
|
+
*/
|
|
6274
|
+
lastUpdatedDate: string;
|
|
6275
|
+
/**
|
|
6276
|
+
* Human-readable label that describes the Atlas resource policy.
|
|
6277
|
+
*/
|
|
6278
|
+
name: string;
|
|
6279
|
+
/**
|
|
6280
|
+
* 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.
|
|
6281
|
+
*/
|
|
6282
|
+
orgId: string;
|
|
6283
|
+
/**
|
|
6284
|
+
* List of policies that make up the Atlas resource policy.
|
|
6285
|
+
*/
|
|
6286
|
+
policies: outputs.GetResourcePoliciesResourcePolicyPolicy[];
|
|
6287
|
+
/**
|
|
6288
|
+
* A string that identifies the version of the Atlas resource policy.
|
|
6289
|
+
*/
|
|
6290
|
+
version: string;
|
|
6291
|
+
}
|
|
6292
|
+
export interface GetResourcePoliciesResourcePolicyCreatedByUser {
|
|
6293
|
+
/**
|
|
6294
|
+
* Unique 24-hexadecimal character string that identifies a user.
|
|
6295
|
+
*/
|
|
6296
|
+
id: string;
|
|
6297
|
+
/**
|
|
6298
|
+
* Human-readable label that describes a user.
|
|
6299
|
+
*/
|
|
6300
|
+
name: string;
|
|
6301
|
+
}
|
|
6302
|
+
export interface GetResourcePoliciesResourcePolicyLastUpdatedByUser {
|
|
6303
|
+
/**
|
|
6304
|
+
* Unique 24-hexadecimal character string that identifies a user.
|
|
6305
|
+
*/
|
|
6306
|
+
id: string;
|
|
6307
|
+
/**
|
|
6308
|
+
* Human-readable label that describes a user.
|
|
6309
|
+
*/
|
|
6310
|
+
name: string;
|
|
6311
|
+
}
|
|
6312
|
+
export interface GetResourcePoliciesResourcePolicyPolicy {
|
|
6313
|
+
/**
|
|
6314
|
+
* A string that defines the permissions for the policy. The syntax used is the Cedar Policy language.
|
|
6315
|
+
*/
|
|
6316
|
+
body: string;
|
|
6317
|
+
/**
|
|
6318
|
+
* Unique 24-hexadecimal character string that identifies the policy.
|
|
6319
|
+
*/
|
|
6320
|
+
id: string;
|
|
6321
|
+
}
|
|
6322
|
+
export interface GetResourcePoliciesResult {
|
|
6323
|
+
/**
|
|
6324
|
+
* The user that last updated the Atlas resource policy.
|
|
6325
|
+
*/
|
|
6326
|
+
createdByUser: outputs.GetResourcePoliciesResultCreatedByUser;
|
|
6327
|
+
/**
|
|
6328
|
+
* Date and time in UTC when the Atlas resource policy was created.
|
|
6329
|
+
*/
|
|
6330
|
+
createdDate: string;
|
|
6331
|
+
/**
|
|
6332
|
+
* Unique 24-hexadecimal digit string that identifies an Atlas resource policy.
|
|
6333
|
+
*/
|
|
6334
|
+
id: string;
|
|
6335
|
+
/**
|
|
6336
|
+
* The user that last updated the Atlas resource policy.
|
|
6337
|
+
*/
|
|
6338
|
+
lastUpdatedByUser: outputs.GetResourcePoliciesResultLastUpdatedByUser;
|
|
6339
|
+
/**
|
|
6340
|
+
* Date and time in UTC when the Atlas resource policy was last updated.
|
|
6341
|
+
*/
|
|
6342
|
+
lastUpdatedDate: string;
|
|
6343
|
+
/**
|
|
6344
|
+
* Human-readable label that describes the Atlas resource policy.
|
|
6345
|
+
*/
|
|
6346
|
+
name: string;
|
|
6347
|
+
/**
|
|
6348
|
+
* 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.
|
|
6349
|
+
*/
|
|
6350
|
+
orgId: string;
|
|
6351
|
+
/**
|
|
6352
|
+
* List of policies that make up the Atlas resource policy.
|
|
6353
|
+
*/
|
|
6354
|
+
policies: outputs.GetResourcePoliciesResultPolicy[];
|
|
6355
|
+
/**
|
|
6356
|
+
* A string that identifies the version of the Atlas resource policy.
|
|
6357
|
+
*/
|
|
6358
|
+
version: string;
|
|
6359
|
+
}
|
|
6360
|
+
export interface GetResourcePoliciesResultCreatedByUser {
|
|
6361
|
+
/**
|
|
6362
|
+
* Unique 24-hexadecimal character string that identifies a user.
|
|
6363
|
+
*/
|
|
6364
|
+
id: string;
|
|
6365
|
+
/**
|
|
6366
|
+
* Human-readable label that describes a user.
|
|
6367
|
+
*/
|
|
6368
|
+
name: string;
|
|
6369
|
+
}
|
|
6370
|
+
export interface GetResourcePoliciesResultLastUpdatedByUser {
|
|
6371
|
+
/**
|
|
6372
|
+
* Unique 24-hexadecimal character string that identifies a user.
|
|
6373
|
+
*/
|
|
6374
|
+
id: string;
|
|
6375
|
+
/**
|
|
6376
|
+
* Human-readable label that describes a user.
|
|
6377
|
+
*/
|
|
6378
|
+
name: string;
|
|
6379
|
+
}
|
|
6380
|
+
export interface GetResourcePoliciesResultPolicy {
|
|
6381
|
+
/**
|
|
6382
|
+
* A string that defines the permissions for the policy. The syntax used is the Cedar Policy language.
|
|
6383
|
+
*/
|
|
6384
|
+
body: string;
|
|
6385
|
+
/**
|
|
6386
|
+
* Unique 24-hexadecimal character string that identifies the policy.
|
|
6387
|
+
*/
|
|
6388
|
+
id: string;
|
|
6389
|
+
}
|
|
6390
|
+
export interface GetResourcePolicyCreatedByUser {
|
|
6391
|
+
/**
|
|
6392
|
+
* Unique 24-hexadecimal character string that identifies a user.
|
|
6393
|
+
*/
|
|
6394
|
+
id: string;
|
|
6395
|
+
/**
|
|
6396
|
+
* Human-readable label that describes a user.
|
|
6397
|
+
*/
|
|
6398
|
+
name: string;
|
|
6399
|
+
}
|
|
6400
|
+
export interface GetResourcePolicyLastUpdatedByUser {
|
|
6401
|
+
/**
|
|
6402
|
+
* Unique 24-hexadecimal character string that identifies a user.
|
|
6403
|
+
*/
|
|
6404
|
+
id: string;
|
|
6405
|
+
/**
|
|
6406
|
+
* Human-readable label that describes a user.
|
|
6407
|
+
*/
|
|
6408
|
+
name: string;
|
|
6409
|
+
}
|
|
6410
|
+
export interface GetResourcePolicyPolicy {
|
|
6411
|
+
/**
|
|
6412
|
+
* A string that defines the permissions for the policy. The syntax used is the Cedar Policy language.
|
|
6413
|
+
*/
|
|
6414
|
+
body: string;
|
|
6415
|
+
/**
|
|
6416
|
+
* Unique 24-hexadecimal character string that identifies the policy.
|
|
6417
|
+
*/
|
|
6418
|
+
id: string;
|
|
6419
|
+
}
|
|
6096
6420
|
export interface GetSearchDeploymentSpec {
|
|
6097
6421
|
/**
|
|
6098
6422
|
* Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).
|
|
@@ -6910,6 +7234,36 @@ export interface PushBasedLogExportTimeouts {
|
|
|
6910
7234
|
*/
|
|
6911
7235
|
update?: string;
|
|
6912
7236
|
}
|
|
7237
|
+
export interface ResourcePolicyCreatedByUser {
|
|
7238
|
+
/**
|
|
7239
|
+
* Unique 24-hexadecimal character string that identifies a user.
|
|
7240
|
+
*/
|
|
7241
|
+
id: string;
|
|
7242
|
+
/**
|
|
7243
|
+
* Human-readable label that describes a user.
|
|
7244
|
+
*/
|
|
7245
|
+
name: string;
|
|
7246
|
+
}
|
|
7247
|
+
export interface ResourcePolicyLastUpdatedByUser {
|
|
7248
|
+
/**
|
|
7249
|
+
* Unique 24-hexadecimal character string that identifies a user.
|
|
7250
|
+
*/
|
|
7251
|
+
id: string;
|
|
7252
|
+
/**
|
|
7253
|
+
* Human-readable label that describes a user.
|
|
7254
|
+
*/
|
|
7255
|
+
name: string;
|
|
7256
|
+
}
|
|
7257
|
+
export interface ResourcePolicyPolicy {
|
|
7258
|
+
/**
|
|
7259
|
+
* A string that defines the permissions for the policy. The syntax used is the Cedar Policy language.
|
|
7260
|
+
*/
|
|
7261
|
+
body: string;
|
|
7262
|
+
/**
|
|
7263
|
+
* Unique 24-hexadecimal character string that identifies the policy.
|
|
7264
|
+
*/
|
|
7265
|
+
id: string;
|
|
7266
|
+
}
|
|
6913
7267
|
export interface SearchDeploymentSpec {
|
|
6914
7268
|
/**
|
|
6915
7269
|
* Hardware specification for the search node instance sizes. The [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) describes the valid values. More details can also be found in the [Search Node Documentation](https://www.mongodb.com/docs/atlas/cluster-config/multi-cloud-distribution/#search-tier).
|