published on Wednesday, Aug 5, 2026 by ibm-cloud
published on Wednesday, Aug 5, 2026 by ibm-cloud
Provides a resource for IBM Cloudant. This allows an IBM Cloudant service instance to be created, updated, or deleted. For more information, about Cloudant, see the official Getting started with IBM Cloudant page.
Example Usage
Gen 1
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const cloudant = new ibm.Cloudant("cloudant", {
name: "cloudant-service-name",
location: "us-south",
plan: "standard",
legacyCredentials: true,
includeDataEvents: false,
capacity: 1,
enableCors: true,
corsConfig: {
allowCredentials: false,
origins: ["https://example.com"],
},
});
import pulumi
import pulumi_ibm as ibm
cloudant = ibm.Cloudant("cloudant",
name="cloudant-service-name",
location="us-south",
plan="standard",
legacy_credentials=True,
include_data_events=False,
capacity=1,
enable_cors=True,
cors_config={
"allow_credentials": False,
"origins": ["https://example.com"],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewCloudant(ctx, "cloudant", &ibm.CloudantArgs{
Name: pulumi.String("cloudant-service-name"),
Location: pulumi.String("us-south"),
Plan: pulumi.String("standard"),
LegacyCredentials: pulumi.Bool(true),
IncludeDataEvents: pulumi.Bool(false),
Capacity: pulumi.Float64(1),
EnableCors: pulumi.Bool(true),
CorsConfig: &ibm.CloudantCorsConfigArgs{
AllowCredentials: pulumi.Bool(false),
Origins: pulumi.StringArray{
pulumi.String("https://example.com"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var cloudant = new Ibm.Cloudant("cloudant", new()
{
Name = "cloudant-service-name",
Location = "us-south",
Plan = "standard",
LegacyCredentials = true,
IncludeDataEvents = false,
Capacity = 1,
EnableCors = true,
CorsConfig = new Ibm.Inputs.CloudantCorsConfigArgs
{
AllowCredentials = false,
Origins = new[]
{
"https://example.com",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.Cloudant;
import com.pulumi.ibm.CloudantArgs;
import com.pulumi.ibm.inputs.CloudantCorsConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cloudant = new Cloudant("cloudant", CloudantArgs.builder()
.name("cloudant-service-name")
.location("us-south")
.plan("standard")
.legacyCredentials(true)
.includeDataEvents(false)
.capacity(1.0)
.enableCors(true)
.corsConfig(CloudantCorsConfigArgs.builder()
.allowCredentials(false)
.origins("https://example.com")
.build())
.build());
}
}
resources:
cloudant:
type: ibm:Cloudant
properties:
name: cloudant-service-name
location: us-south
plan: standard
legacyCredentials: true
includeDataEvents: false
capacity: 1
enableCors: true
corsConfig:
allowCredentials: false
origins:
- https://example.com
Example coming soon!
Gen 2
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const cloudantGen2 = new ibm.Cloudant("cloudant_gen2", {
name: "cloudant-gen2-name",
location: "us-south",
plan: "standard-gen2",
includeDataEvents: true,
capacity: 1,
enableCors: true,
corsConfig: {
allowCredentials: false,
origins: ["https://example.com"],
},
});
import pulumi
import pulumi_ibm as ibm
cloudant_gen2 = ibm.Cloudant("cloudant_gen2",
name="cloudant-gen2-name",
location="us-south",
plan="standard-gen2",
include_data_events=True,
capacity=1,
enable_cors=True,
cors_config={
"allow_credentials": False,
"origins": ["https://example.com"],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewCloudant(ctx, "cloudant_gen2", &ibm.CloudantArgs{
Name: pulumi.String("cloudant-gen2-name"),
Location: pulumi.String("us-south"),
Plan: pulumi.String("standard-gen2"),
IncludeDataEvents: pulumi.Bool(true),
Capacity: pulumi.Float64(1),
EnableCors: pulumi.Bool(true),
CorsConfig: &ibm.CloudantCorsConfigArgs{
AllowCredentials: pulumi.Bool(false),
Origins: pulumi.StringArray{
pulumi.String("https://example.com"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var cloudantGen2 = new Ibm.Cloudant("cloudant_gen2", new()
{
Name = "cloudant-gen2-name",
Location = "us-south",
Plan = "standard-gen2",
IncludeDataEvents = true,
Capacity = 1,
EnableCors = true,
CorsConfig = new Ibm.Inputs.CloudantCorsConfigArgs
{
AllowCredentials = false,
Origins = new[]
{
"https://example.com",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.Cloudant;
import com.pulumi.ibm.CloudantArgs;
import com.pulumi.ibm.inputs.CloudantCorsConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cloudantGen2 = new Cloudant("cloudantGen2", CloudantArgs.builder()
.name("cloudant-gen2-name")
.location("us-south")
.plan("standard-gen2")
.includeDataEvents(true)
.capacity(1.0)
.enableCors(true)
.corsConfig(CloudantCorsConfigArgs.builder()
.allowCredentials(false)
.origins("https://example.com")
.build())
.build());
}
}
resources:
cloudantGen2:
type: ibm:Cloudant
name: cloudant_gen2
properties:
name: cloudant-gen2-name
location: us-south
plan: standard-gen2
includeDataEvents: true
capacity: 1
enableCors: true
corsConfig:
allowCredentials: false
origins:
- https://example.com
Example coming soon!
Create Cloudant Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cloudant(name: string, args: CloudantArgs, opts?: CustomResourceOptions);@overload
def Cloudant(resource_name: str,
args: CloudantArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Cloudant(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
plan: Optional[str] = None,
legacy_credentials: Optional[bool] = None,
enable_cors: Optional[bool] = None,
environment_crn: Optional[str] = None,
include_data_events: Optional[bool] = None,
capacity: Optional[float] = None,
cors_config: Optional[CloudantCorsConfigArgs] = None,
name: Optional[str] = None,
parameters: Optional[Mapping[str, str]] = None,
cloudant_id: Optional[str] = None,
resource_group_id: Optional[str] = None,
service_endpoints: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[CloudantTimeoutsArgs] = None)func NewCloudant(ctx *Context, name string, args CloudantArgs, opts ...ResourceOption) (*Cloudant, error)public Cloudant(string name, CloudantArgs args, CustomResourceOptions? opts = null)
public Cloudant(String name, CloudantArgs args)
public Cloudant(String name, CloudantArgs args, CustomResourceOptions options)
type: ibm:Cloudant
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ibm_cloudant" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CloudantArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CloudantArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CloudantArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudantArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudantArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cloudantResource = new Ibm.Cloudant("cloudantResource", new()
{
Location = "string",
Plan = "string",
LegacyCredentials = false,
EnableCors = false,
EnvironmentCrn = "string",
IncludeDataEvents = false,
Capacity = 0,
CorsConfig = new Ibm.Inputs.CloudantCorsConfigArgs
{
Origins = new[]
{
"string",
},
AllowCredentials = false,
},
Name = "string",
Parameters =
{
{ "string", "string" },
},
CloudantId = "string",
ResourceGroupId = "string",
ServiceEndpoints = "string",
Tags = new[]
{
"string",
},
Timeouts = new Ibm.Inputs.CloudantTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewCloudant(ctx, "cloudantResource", &ibm.CloudantArgs{
Location: pulumi.String("string"),
Plan: pulumi.String("string"),
LegacyCredentials: pulumi.Bool(false),
EnableCors: pulumi.Bool(false),
EnvironmentCrn: pulumi.String("string"),
IncludeDataEvents: pulumi.Bool(false),
Capacity: pulumi.Float64(0),
CorsConfig: &ibm.CloudantCorsConfigArgs{
Origins: pulumi.StringArray{
pulumi.String("string"),
},
AllowCredentials: pulumi.Bool(false),
},
Name: pulumi.String("string"),
Parameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
CloudantId: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
ServiceEndpoints: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &ibm.CloudantTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
resource "ibm_cloudant" "cloudantResource" {
lifecycle {
create_before_destroy = true
}
location = "string"
plan = "string"
legacy_credentials = false
enable_cors = false
environment_crn = "string"
include_data_events = false
capacity = 0
cors_config = {
origins = ["string"]
allow_credentials = false
}
name = "string"
parameters = {
"string" = "string"
}
cloudant_id = "string"
resource_group_id = "string"
service_endpoints = "string"
tags = ["string"]
timeouts = {
create = "string"
delete = "string"
update = "string"
}
}
var cloudantResource = new Cloudant("cloudantResource", CloudantArgs.builder()
.location("string")
.plan("string")
.legacyCredentials(false)
.enableCors(false)
.environmentCrn("string")
.includeDataEvents(false)
.capacity(0.0)
.corsConfig(CloudantCorsConfigArgs.builder()
.origins("string")
.allowCredentials(false)
.build())
.name("string")
.parameters(Map.of("string", "string"))
.cloudantId("string")
.resourceGroupId("string")
.serviceEndpoints("string")
.tags("string")
.timeouts(CloudantTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
cloudant_resource = ibm.Cloudant("cloudantResource",
location="string",
plan="string",
legacy_credentials=False,
enable_cors=False,
environment_crn="string",
include_data_events=False,
capacity=float(0),
cors_config={
"origins": ["string"],
"allow_credentials": False,
},
name="string",
parameters={
"string": "string",
},
cloudant_id="string",
resource_group_id="string",
service_endpoints="string",
tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const cloudantResource = new ibm.Cloudant("cloudantResource", {
location: "string",
plan: "string",
legacyCredentials: false,
enableCors: false,
environmentCrn: "string",
includeDataEvents: false,
capacity: 0,
corsConfig: {
origins: ["string"],
allowCredentials: false,
},
name: "string",
parameters: {
string: "string",
},
cloudantId: "string",
resourceGroupId: "string",
serviceEndpoints: "string",
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:Cloudant
properties:
capacity: 0
cloudantId: string
corsConfig:
allowCredentials: false
origins:
- string
enableCors: false
environmentCrn: string
includeDataEvents: false
legacyCredentials: false
location: string
name: string
parameters:
string: string
plan: string
resourceGroupId: string
serviceEndpoints: string
tags:
- string
timeouts:
create: string
delete: string
update: string
Cloudant Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cloudant resource accepts the following input properties:
- Location string
- Target location or environment to create the resource instance.
- Plan string
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- Capacity double
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- Cloudant
Id string - Cors
Config CloudantCors Config Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- Enable
Cors bool - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - Environment
Crn string - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- Include
Data boolEvents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - Legacy
Credentials bool - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- Name string
- A name for the resource instance.
- Parameters Dictionary<string, string>
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- Resource
Group stringId - The resource group ID.
- Service
Endpoints string - Types of the service endpoints. Possible values are
public,private,public-and-private. - List<string>
- Tags associated with the instance.
- Timeouts
Cloudant
Timeouts
- Location string
- Target location or environment to create the resource instance.
- Plan string
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- Capacity float64
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- Cloudant
Id string - Cors
Config CloudantCors Config Args Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- Enable
Cors bool - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - Environment
Crn string - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- Include
Data boolEvents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - Legacy
Credentials bool - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- Name string
- A name for the resource instance.
- Parameters map[string]string
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- Resource
Group stringId - The resource group ID.
- Service
Endpoints string - Types of the service endpoints. Possible values are
public,private,public-and-private. - []string
- Tags associated with the instance.
- Timeouts
Cloudant
Timeouts Args
- location string
- Target location or environment to create the resource instance.
- plan string
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- capacity number
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- cloudant_
id string - cors_
config object Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- enable_
cors bool - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - environment_
crn string - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- include_
data_ boolevents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - legacy_
credentials bool - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- name string
- A name for the resource instance.
- parameters map(string)
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- resource_
group_ stringid - The resource group ID.
- service_
endpoints string - Types of the service endpoints. Possible values are
public,private,public-and-private. - list(string)
- Tags associated with the instance.
- timeouts object
- location String
- Target location or environment to create the resource instance.
- plan String
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- capacity Double
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- cloudant
Id String - cors
Config CloudantCors Config Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- enable
Cors Boolean - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - environment
Crn String - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- include
Data BooleanEvents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - legacy
Credentials Boolean - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- name String
- A name for the resource instance.
- parameters Map<String,String>
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- resource
Group StringId - The resource group ID.
- service
Endpoints String - Types of the service endpoints. Possible values are
public,private,public-and-private. - List<String>
- Tags associated with the instance.
- timeouts
Cloudant
Timeouts
- location string
- Target location or environment to create the resource instance.
- plan string
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- capacity number
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- cloudant
Id string - cors
Config CloudantCors Config Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- enable
Cors boolean - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - environment
Crn string - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- include
Data booleanEvents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - legacy
Credentials boolean - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- name string
- A name for the resource instance.
- parameters {[key: string]: string}
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- resource
Group stringId - The resource group ID.
- service
Endpoints string - Types of the service endpoints. Possible values are
public,private,public-and-private. - string[]
- Tags associated with the instance.
- timeouts
Cloudant
Timeouts
- location str
- Target location or environment to create the resource instance.
- plan str
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- capacity float
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- cloudant_
id str - cors_
config CloudantCors Config Args Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- enable_
cors bool - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - environment_
crn str - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- include_
data_ boolevents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - legacy_
credentials bool - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- name str
- A name for the resource instance.
- parameters Mapping[str, str]
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- resource_
group_ strid - The resource group ID.
- service_
endpoints str - Types of the service endpoints. Possible values are
public,private,public-and-private. - Sequence[str]
- Tags associated with the instance.
- timeouts
Cloudant
Timeouts Args
- location String
- Target location or environment to create the resource instance.
- plan String
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- capacity Number
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- cloudant
Id String - cors
Config Property Map Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- enable
Cors Boolean - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - environment
Crn String - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- include
Data BooleanEvents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - legacy
Credentials Boolean - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- name String
- A name for the resource instance.
- parameters Map<String>
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- resource
Group StringId - The resource group ID.
- service
Endpoints String - Types of the service endpoints. Possible values are
public,private,public-and-private. - List<String>
- Tags associated with the instance.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Cloudant resource produces the following output properties:
- Account
Id string - (String) An alpha-numeric value identifying the account ID.
- Allow
Cleanup bool - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- Created
At string - (String) The date when the instance was created.
- Created
By string - (String) The subject who created the instance.
- Crn string
- (String) CRN of the resource instance.
- Dashboard
Url string - (String) The dashboard URL to access resource.
- Deleted
At string - (String) The date when the instance was deleted.
- Deleted
By string - (String) The subject who deleted the instance.
- Extensions Dictionary<string, string>
- (Map) The extended metadata as a map associated with the resource instance.
- Guid string
- (String) The
GUIDof resource instance. - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Operation Dictionary<string, string> - (Map) The status of the last operation requested on the instance.
- Locked bool
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- Onetime
Credentials bool - A boolean that dictates if the onetime_credentials is true or false.
- Parameters
Json string - Arbitrary parameters to pass in Json string format
- Plan
Histories List<CloudantPlan History> - (List of Object) The plan history of the instance.
- Resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- Resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- Resource
Controller stringUrl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- Resource
Crn string - (String) The CRN of the resource.
- Resource
Group stringCrn - (String) The long ID (full CRN) of the resource group.
- Resource
Group stringName - (String) The resource group name in which resource is provisioned.
- Resource
Id string - (String) The unique ID of the offering.
- Resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- Resource
Name string - (String) The name of the resource.
- Resource
Plan stringId - (String) The unique ID of the plan associated with the offering.
- Resource
Status string - (String) The status of the resource.
- Restored
At string - (String) The date when the instance under reclamation was restored.
- Restored
By string - (String) The subject who restored the instance back from reclamation.
- Scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- Scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- Service string
- (String) The service type of the instance. Always
cloudantnosqldb. - State string
- (String) The current state of the instance.
- Status string
- (String) Status of the resource instance.
- Sub
Type string - (String) The sub-type of an instance. For example, cfaas.
- Target
Crn string - (String) The full deployment CRN as defined in the global catalog.
- Throughput Dictionary<string, double>
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- Type string
- (String) The type of the instance. For example, service_instance.
- Update
At string - (String) The date when the instance was last updated.
- Update
By string - (String) The subject who updated the instance.
- Account
Id string - (String) An alpha-numeric value identifying the account ID.
- Allow
Cleanup bool - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- Created
At string - (String) The date when the instance was created.
- Created
By string - (String) The subject who created the instance.
- Crn string
- (String) CRN of the resource instance.
- Dashboard
Url string - (String) The dashboard URL to access resource.
- Deleted
At string - (String) The date when the instance was deleted.
- Deleted
By string - (String) The subject who deleted the instance.
- Extensions map[string]string
- (Map) The extended metadata as a map associated with the resource instance.
- Guid string
- (String) The
GUIDof resource instance. - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Operation map[string]string - (Map) The status of the last operation requested on the instance.
- Locked bool
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- Onetime
Credentials bool - A boolean that dictates if the onetime_credentials is true or false.
- Parameters
Json string - Arbitrary parameters to pass in Json string format
- Plan
Histories []CloudantPlan History - (List of Object) The plan history of the instance.
- Resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- Resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- Resource
Controller stringUrl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- Resource
Crn string - (String) The CRN of the resource.
- Resource
Group stringCrn - (String) The long ID (full CRN) of the resource group.
- Resource
Group stringName - (String) The resource group name in which resource is provisioned.
- Resource
Id string - (String) The unique ID of the offering.
- Resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- Resource
Name string - (String) The name of the resource.
- Resource
Plan stringId - (String) The unique ID of the plan associated with the offering.
- Resource
Status string - (String) The status of the resource.
- Restored
At string - (String) The date when the instance under reclamation was restored.
- Restored
By string - (String) The subject who restored the instance back from reclamation.
- Scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- Scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- Service string
- (String) The service type of the instance. Always
cloudantnosqldb. - State string
- (String) The current state of the instance.
- Status string
- (String) Status of the resource instance.
- Sub
Type string - (String) The sub-type of an instance. For example, cfaas.
- Target
Crn string - (String) The full deployment CRN as defined in the global catalog.
- Throughput map[string]float64
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- Type string
- (String) The type of the instance. For example, service_instance.
- Update
At string - (String) The date when the instance was last updated.
- Update
By string - (String) The subject who updated the instance.
- account_
id string - (String) An alpha-numeric value identifying the account ID.
- allow_
cleanup bool - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- created_
at string - (String) The date when the instance was created.
- created_
by string - (String) The subject who created the instance.
- crn string
- (String) CRN of the resource instance.
- dashboard_
url string - (String) The dashboard URL to access resource.
- deleted_
at string - (String) The date when the instance was deleted.
- deleted_
by string - (String) The subject who deleted the instance.
- extensions map(string)
- (Map) The extended metadata as a map associated with the resource instance.
- guid string
- (String) The
GUIDof resource instance. - id string
- The provider-assigned unique ID for this managed resource.
- last_
operation map(string) - (Map) The status of the last operation requested on the instance.
- locked bool
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- onetime_
credentials bool - A boolean that dictates if the onetime_credentials is true or false.
- parameters_
json string - Arbitrary parameters to pass in Json string format
- plan_
histories list(object) - (List of Object) The plan history of the instance.
- resource_
aliases_ stringurl - (String) The relative path to the resource aliases for the instance.
- resource_
bindings_ stringurl - (String) The relative path to the resource bindings for the instance.
- resource_
controller_ stringurl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- resource_
crn string - (String) The CRN of the resource.
- resource_
group_ stringcrn - (String) The long ID (full CRN) of the resource group.
- resource_
group_ stringname - (String) The resource group name in which resource is provisioned.
- resource_
id string - (String) The unique ID of the offering.
- resource_
keys_ stringurl - (String) The relative path to the resource keys for the instance.
- resource_
name string - (String) The name of the resource.
- resource_
plan_ stringid - (String) The unique ID of the plan associated with the offering.
- resource_
status string - (String) The status of the resource.
- restored_
at string - (String) The date when the instance under reclamation was restored.
- restored_
by string - (String) The subject who restored the instance back from reclamation.
- scheduled_
reclaim_ stringat - (String) The date when the instance was scheduled for reclamation.
- scheduled_
reclaim_ stringby - (String) The subject who initiated the instance reclamation.
- service string
- (String) The service type of the instance. Always
cloudantnosqldb. - state string
- (String) The current state of the instance.
- status string
- (String) Status of the resource instance.
- sub_
type string - (String) The sub-type of an instance. For example, cfaas.
- target_
crn string - (String) The full deployment CRN as defined in the global catalog.
- throughput map(number)
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- type string
- (String) The type of the instance. For example, service_instance.
- update_
at string - (String) The date when the instance was last updated.
- update_
by string - (String) The subject who updated the instance.
- account
Id String - (String) An alpha-numeric value identifying the account ID.
- allow
Cleanup Boolean - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- created
At String - (String) The date when the instance was created.
- created
By String - (String) The subject who created the instance.
- crn String
- (String) CRN of the resource instance.
- dashboard
Url String - (String) The dashboard URL to access resource.
- deleted
At String - (String) The date when the instance was deleted.
- deleted
By String - (String) The subject who deleted the instance.
- extensions Map<String,String>
- (Map) The extended metadata as a map associated with the resource instance.
- guid String
- (String) The
GUIDof resource instance. - id String
- The provider-assigned unique ID for this managed resource.
- last
Operation Map<String,String> - (Map) The status of the last operation requested on the instance.
- locked Boolean
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- onetime
Credentials Boolean - A boolean that dictates if the onetime_credentials is true or false.
- parameters
Json String - Arbitrary parameters to pass in Json string format
- plan
Histories List<CloudantPlan History> - (List of Object) The plan history of the instance.
- resource
Aliases StringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings StringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Controller StringUrl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- resource
Crn String - (String) The CRN of the resource.
- resource
Group StringCrn - (String) The long ID (full CRN) of the resource group.
- resource
Group StringName - (String) The resource group name in which resource is provisioned.
- resource
Id String - (String) The unique ID of the offering.
- resource
Keys StringUrl - (String) The relative path to the resource keys for the instance.
- resource
Name String - (String) The name of the resource.
- resource
Plan StringId - (String) The unique ID of the plan associated with the offering.
- resource
Status String - (String) The status of the resource.
- restored
At String - (String) The date when the instance under reclamation was restored.
- restored
By String - (String) The subject who restored the instance back from reclamation.
- scheduled
Reclaim StringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim StringBy - (String) The subject who initiated the instance reclamation.
- service String
- (String) The service type of the instance. Always
cloudantnosqldb. - state String
- (String) The current state of the instance.
- status String
- (String) Status of the resource instance.
- sub
Type String - (String) The sub-type of an instance. For example, cfaas.
- target
Crn String - (String) The full deployment CRN as defined in the global catalog.
- throughput Map<String,Double>
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- type String
- (String) The type of the instance. For example, service_instance.
- update
At String - (String) The date when the instance was last updated.
- update
By String - (String) The subject who updated the instance.
- account
Id string - (String) An alpha-numeric value identifying the account ID.
- allow
Cleanup boolean - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- created
At string - (String) The date when the instance was created.
- created
By string - (String) The subject who created the instance.
- crn string
- (String) CRN of the resource instance.
- dashboard
Url string - (String) The dashboard URL to access resource.
- deleted
At string - (String) The date when the instance was deleted.
- deleted
By string - (String) The subject who deleted the instance.
- extensions {[key: string]: string}
- (Map) The extended metadata as a map associated with the resource instance.
- guid string
- (String) The
GUIDof resource instance. - id string
- The provider-assigned unique ID for this managed resource.
- last
Operation {[key: string]: string} - (Map) The status of the last operation requested on the instance.
- locked boolean
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- onetime
Credentials boolean - A boolean that dictates if the onetime_credentials is true or false.
- parameters
Json string - Arbitrary parameters to pass in Json string format
- plan
Histories CloudantPlan History[] - (List of Object) The plan history of the instance.
- resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Controller stringUrl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- resource
Crn string - (String) The CRN of the resource.
- resource
Group stringCrn - (String) The long ID (full CRN) of the resource group.
- resource
Group stringName - (String) The resource group name in which resource is provisioned.
- resource
Id string - (String) The unique ID of the offering.
- resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- resource
Name string - (String) The name of the resource.
- resource
Plan stringId - (String) The unique ID of the plan associated with the offering.
- resource
Status string - (String) The status of the resource.
- restored
At string - (String) The date when the instance under reclamation was restored.
- restored
By string - (String) The subject who restored the instance back from reclamation.
- scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- service string
- (String) The service type of the instance. Always
cloudantnosqldb. - state string
- (String) The current state of the instance.
- status string
- (String) Status of the resource instance.
- sub
Type string - (String) The sub-type of an instance. For example, cfaas.
- target
Crn string - (String) The full deployment CRN as defined in the global catalog.
- throughput {[key: string]: number}
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- type string
- (String) The type of the instance. For example, service_instance.
- update
At string - (String) The date when the instance was last updated.
- update
By string - (String) The subject who updated the instance.
- account_
id str - (String) An alpha-numeric value identifying the account ID.
- allow_
cleanup bool - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- created_
at str - (String) The date when the instance was created.
- created_
by str - (String) The subject who created the instance.
- crn str
- (String) CRN of the resource instance.
- dashboard_
url str - (String) The dashboard URL to access resource.
- deleted_
at str - (String) The date when the instance was deleted.
- deleted_
by str - (String) The subject who deleted the instance.
- extensions Mapping[str, str]
- (Map) The extended metadata as a map associated with the resource instance.
- guid str
- (String) The
GUIDof resource instance. - id str
- The provider-assigned unique ID for this managed resource.
- last_
operation Mapping[str, str] - (Map) The status of the last operation requested on the instance.
- locked bool
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- onetime_
credentials bool - A boolean that dictates if the onetime_credentials is true or false.
- parameters_
json str - Arbitrary parameters to pass in Json string format
- plan_
histories Sequence[CloudantPlan History] - (List of Object) The plan history of the instance.
- resource_
aliases_ strurl - (String) The relative path to the resource aliases for the instance.
- resource_
bindings_ strurl - (String) The relative path to the resource bindings for the instance.
- resource_
controller_ strurl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- resource_
crn str - (String) The CRN of the resource.
- resource_
group_ strcrn - (String) The long ID (full CRN) of the resource group.
- resource_
group_ strname - (String) The resource group name in which resource is provisioned.
- resource_
id str - (String) The unique ID of the offering.
- resource_
keys_ strurl - (String) The relative path to the resource keys for the instance.
- resource_
name str - (String) The name of the resource.
- resource_
plan_ strid - (String) The unique ID of the plan associated with the offering.
- resource_
status str - (String) The status of the resource.
- restored_
at str - (String) The date when the instance under reclamation was restored.
- restored_
by str - (String) The subject who restored the instance back from reclamation.
- scheduled_
reclaim_ strat - (String) The date when the instance was scheduled for reclamation.
- scheduled_
reclaim_ strby - (String) The subject who initiated the instance reclamation.
- service str
- (String) The service type of the instance. Always
cloudantnosqldb. - state str
- (String) The current state of the instance.
- status str
- (String) Status of the resource instance.
- sub_
type str - (String) The sub-type of an instance. For example, cfaas.
- target_
crn str - (String) The full deployment CRN as defined in the global catalog.
- throughput Mapping[str, float]
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- type str
- (String) The type of the instance. For example, service_instance.
- update_
at str - (String) The date when the instance was last updated.
- update_
by str - (String) The subject who updated the instance.
- account
Id String - (String) An alpha-numeric value identifying the account ID.
- allow
Cleanup Boolean - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- created
At String - (String) The date when the instance was created.
- created
By String - (String) The subject who created the instance.
- crn String
- (String) CRN of the resource instance.
- dashboard
Url String - (String) The dashboard URL to access resource.
- deleted
At String - (String) The date when the instance was deleted.
- deleted
By String - (String) The subject who deleted the instance.
- extensions Map<String>
- (Map) The extended metadata as a map associated with the resource instance.
- guid String
- (String) The
GUIDof resource instance. - id String
- The provider-assigned unique ID for this managed resource.
- last
Operation Map<String> - (Map) The status of the last operation requested on the instance.
- locked Boolean
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- onetime
Credentials Boolean - A boolean that dictates if the onetime_credentials is true or false.
- parameters
Json String - Arbitrary parameters to pass in Json string format
- plan
Histories List<Property Map> - (List of Object) The plan history of the instance.
- resource
Aliases StringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings StringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Controller StringUrl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- resource
Crn String - (String) The CRN of the resource.
- resource
Group StringCrn - (String) The long ID (full CRN) of the resource group.
- resource
Group StringName - (String) The resource group name in which resource is provisioned.
- resource
Id String - (String) The unique ID of the offering.
- resource
Keys StringUrl - (String) The relative path to the resource keys for the instance.
- resource
Name String - (String) The name of the resource.
- resource
Plan StringId - (String) The unique ID of the plan associated with the offering.
- resource
Status String - (String) The status of the resource.
- restored
At String - (String) The date when the instance under reclamation was restored.
- restored
By String - (String) The subject who restored the instance back from reclamation.
- scheduled
Reclaim StringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim StringBy - (String) The subject who initiated the instance reclamation.
- service String
- (String) The service type of the instance. Always
cloudantnosqldb. - state String
- (String) The current state of the instance.
- status String
- (String) Status of the resource instance.
- sub
Type String - (String) The sub-type of an instance. For example, cfaas.
- target
Crn String - (String) The full deployment CRN as defined in the global catalog.
- throughput Map<Number>
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- type String
- (String) The type of the instance. For example, service_instance.
- update
At String - (String) The date when the instance was last updated.
- update
By String - (String) The subject who updated the instance.
Look up Existing Cloudant Resource
Get an existing Cloudant resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CloudantState, opts?: CustomResourceOptions): Cloudant@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
allow_cleanup: Optional[bool] = None,
capacity: Optional[float] = None,
cloudant_id: Optional[str] = None,
cors_config: Optional[CloudantCorsConfigArgs] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
crn: Optional[str] = None,
dashboard_url: Optional[str] = None,
deleted_at: Optional[str] = None,
deleted_by: Optional[str] = None,
enable_cors: Optional[bool] = None,
environment_crn: Optional[str] = None,
extensions: Optional[Mapping[str, str]] = None,
guid: Optional[str] = None,
include_data_events: Optional[bool] = None,
last_operation: Optional[Mapping[str, str]] = None,
legacy_credentials: Optional[bool] = None,
location: Optional[str] = None,
locked: Optional[bool] = None,
name: Optional[str] = None,
onetime_credentials: Optional[bool] = None,
parameters: Optional[Mapping[str, str]] = None,
parameters_json: Optional[str] = None,
plan: Optional[str] = None,
plan_histories: Optional[Sequence[CloudantPlanHistoryArgs]] = None,
resource_aliases_url: Optional[str] = None,
resource_bindings_url: Optional[str] = None,
resource_controller_url: Optional[str] = None,
resource_crn: Optional[str] = None,
resource_group_crn: Optional[str] = None,
resource_group_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_id: Optional[str] = None,
resource_keys_url: Optional[str] = None,
resource_name: Optional[str] = None,
resource_plan_id: Optional[str] = None,
resource_status: Optional[str] = None,
restored_at: Optional[str] = None,
restored_by: Optional[str] = None,
scheduled_reclaim_at: Optional[str] = None,
scheduled_reclaim_by: Optional[str] = None,
service: Optional[str] = None,
service_endpoints: Optional[str] = None,
state: Optional[str] = None,
status: Optional[str] = None,
sub_type: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
target_crn: Optional[str] = None,
throughput: Optional[Mapping[str, float]] = None,
timeouts: Optional[CloudantTimeoutsArgs] = None,
type: Optional[str] = None,
update_at: Optional[str] = None,
update_by: Optional[str] = None) -> Cloudantfunc GetCloudant(ctx *Context, name string, id IDInput, state *CloudantState, opts ...ResourceOption) (*Cloudant, error)public static Cloudant Get(string name, Input<string> id, CloudantState? state, CustomResourceOptions? opts = null)public static Cloudant get(String name, Output<String> id, CloudantState state, CustomResourceOptions options)resources: _: type: ibm:Cloudant get: id: ${id}import {
to = ibm_cloudant.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - (String) An alpha-numeric value identifying the account ID.
- Allow
Cleanup bool - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- Capacity double
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- Cloudant
Id string - Cors
Config CloudantCors Config Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- Created
At string - (String) The date when the instance was created.
- Created
By string - (String) The subject who created the instance.
- Crn string
- (String) CRN of the resource instance.
- Dashboard
Url string - (String) The dashboard URL to access resource.
- Deleted
At string - (String) The date when the instance was deleted.
- Deleted
By string - (String) The subject who deleted the instance.
- Enable
Cors bool - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - Environment
Crn string - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- Extensions Dictionary<string, string>
- (Map) The extended metadata as a map associated with the resource instance.
- Guid string
- (String) The
GUIDof resource instance. - Include
Data boolEvents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - Last
Operation Dictionary<string, string> - (Map) The status of the last operation requested on the instance.
- Legacy
Credentials bool - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- Location string
- Target location or environment to create the resource instance.
- Locked bool
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- Name string
- A name for the resource instance.
- Onetime
Credentials bool - A boolean that dictates if the onetime_credentials is true or false.
- Parameters Dictionary<string, string>
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- Parameters
Json string - Arbitrary parameters to pass in Json string format
- Plan string
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- Plan
Histories List<CloudantPlan History> - (List of Object) The plan history of the instance.
- Resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- Resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- Resource
Controller stringUrl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- Resource
Crn string - (String) The CRN of the resource.
- Resource
Group stringCrn - (String) The long ID (full CRN) of the resource group.
- Resource
Group stringId - The resource group ID.
- Resource
Group stringName - (String) The resource group name in which resource is provisioned.
- Resource
Id string - (String) The unique ID of the offering.
- Resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- Resource
Name string - (String) The name of the resource.
- Resource
Plan stringId - (String) The unique ID of the plan associated with the offering.
- Resource
Status string - (String) The status of the resource.
- Restored
At string - (String) The date when the instance under reclamation was restored.
- Restored
By string - (String) The subject who restored the instance back from reclamation.
- Scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- Scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- Service string
- (String) The service type of the instance. Always
cloudantnosqldb. - Service
Endpoints string - Types of the service endpoints. Possible values are
public,private,public-and-private. - State string
- (String) The current state of the instance.
- Status string
- (String) Status of the resource instance.
- Sub
Type string - (String) The sub-type of an instance. For example, cfaas.
- List<string>
- Tags associated with the instance.
- Target
Crn string - (String) The full deployment CRN as defined in the global catalog.
- Throughput Dictionary<string, double>
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- Timeouts
Cloudant
Timeouts - Type string
- (String) The type of the instance. For example, service_instance.
- Update
At string - (String) The date when the instance was last updated.
- Update
By string - (String) The subject who updated the instance.
- Account
Id string - (String) An alpha-numeric value identifying the account ID.
- Allow
Cleanup bool - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- Capacity float64
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- Cloudant
Id string - Cors
Config CloudantCors Config Args Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- Created
At string - (String) The date when the instance was created.
- Created
By string - (String) The subject who created the instance.
- Crn string
- (String) CRN of the resource instance.
- Dashboard
Url string - (String) The dashboard URL to access resource.
- Deleted
At string - (String) The date when the instance was deleted.
- Deleted
By string - (String) The subject who deleted the instance.
- Enable
Cors bool - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - Environment
Crn string - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- Extensions map[string]string
- (Map) The extended metadata as a map associated with the resource instance.
- Guid string
- (String) The
GUIDof resource instance. - Include
Data boolEvents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - Last
Operation map[string]string - (Map) The status of the last operation requested on the instance.
- Legacy
Credentials bool - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- Location string
- Target location or environment to create the resource instance.
- Locked bool
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- Name string
- A name for the resource instance.
- Onetime
Credentials bool - A boolean that dictates if the onetime_credentials is true or false.
- Parameters map[string]string
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- Parameters
Json string - Arbitrary parameters to pass in Json string format
- Plan string
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- Plan
Histories []CloudantPlan History Args - (List of Object) The plan history of the instance.
- Resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- Resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- Resource
Controller stringUrl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- Resource
Crn string - (String) The CRN of the resource.
- Resource
Group stringCrn - (String) The long ID (full CRN) of the resource group.
- Resource
Group stringId - The resource group ID.
- Resource
Group stringName - (String) The resource group name in which resource is provisioned.
- Resource
Id string - (String) The unique ID of the offering.
- Resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- Resource
Name string - (String) The name of the resource.
- Resource
Plan stringId - (String) The unique ID of the plan associated with the offering.
- Resource
Status string - (String) The status of the resource.
- Restored
At string - (String) The date when the instance under reclamation was restored.
- Restored
By string - (String) The subject who restored the instance back from reclamation.
- Scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- Scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- Service string
- (String) The service type of the instance. Always
cloudantnosqldb. - Service
Endpoints string - Types of the service endpoints. Possible values are
public,private,public-and-private. - State string
- (String) The current state of the instance.
- Status string
- (String) Status of the resource instance.
- Sub
Type string - (String) The sub-type of an instance. For example, cfaas.
- []string
- Tags associated with the instance.
- Target
Crn string - (String) The full deployment CRN as defined in the global catalog.
- Throughput map[string]float64
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- Timeouts
Cloudant
Timeouts Args - Type string
- (String) The type of the instance. For example, service_instance.
- Update
At string - (String) The date when the instance was last updated.
- Update
By string - (String) The subject who updated the instance.
- account_
id string - (String) An alpha-numeric value identifying the account ID.
- allow_
cleanup bool - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- capacity number
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- cloudant_
id string - cors_
config object Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- created_
at string - (String) The date when the instance was created.
- created_
by string - (String) The subject who created the instance.
- crn string
- (String) CRN of the resource instance.
- dashboard_
url string - (String) The dashboard URL to access resource.
- deleted_
at string - (String) The date when the instance was deleted.
- deleted_
by string - (String) The subject who deleted the instance.
- enable_
cors bool - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - environment_
crn string - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- extensions map(string)
- (Map) The extended metadata as a map associated with the resource instance.
- guid string
- (String) The
GUIDof resource instance. - include_
data_ boolevents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - last_
operation map(string) - (Map) The status of the last operation requested on the instance.
- legacy_
credentials bool - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- location string
- Target location or environment to create the resource instance.
- locked bool
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- name string
- A name for the resource instance.
- onetime_
credentials bool - A boolean that dictates if the onetime_credentials is true or false.
- parameters map(string)
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- parameters_
json string - Arbitrary parameters to pass in Json string format
- plan string
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- plan_
histories list(object) - (List of Object) The plan history of the instance.
- resource_
aliases_ stringurl - (String) The relative path to the resource aliases for the instance.
- resource_
bindings_ stringurl - (String) The relative path to the resource bindings for the instance.
- resource_
controller_ stringurl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- resource_
crn string - (String) The CRN of the resource.
- resource_
group_ stringcrn - (String) The long ID (full CRN) of the resource group.
- resource_
group_ stringid - The resource group ID.
- resource_
group_ stringname - (String) The resource group name in which resource is provisioned.
- resource_
id string - (String) The unique ID of the offering.
- resource_
keys_ stringurl - (String) The relative path to the resource keys for the instance.
- resource_
name string - (String) The name of the resource.
- resource_
plan_ stringid - (String) The unique ID of the plan associated with the offering.
- resource_
status string - (String) The status of the resource.
- restored_
at string - (String) The date when the instance under reclamation was restored.
- restored_
by string - (String) The subject who restored the instance back from reclamation.
- scheduled_
reclaim_ stringat - (String) The date when the instance was scheduled for reclamation.
- scheduled_
reclaim_ stringby - (String) The subject who initiated the instance reclamation.
- service string
- (String) The service type of the instance. Always
cloudantnosqldb. - service_
endpoints string - Types of the service endpoints. Possible values are
public,private,public-and-private. - state string
- (String) The current state of the instance.
- status string
- (String) Status of the resource instance.
- sub_
type string - (String) The sub-type of an instance. For example, cfaas.
- list(string)
- Tags associated with the instance.
- target_
crn string - (String) The full deployment CRN as defined in the global catalog.
- throughput map(number)
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- timeouts object
- type string
- (String) The type of the instance. For example, service_instance.
- update_
at string - (String) The date when the instance was last updated.
- update_
by string - (String) The subject who updated the instance.
- account
Id String - (String) An alpha-numeric value identifying the account ID.
- allow
Cleanup Boolean - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- capacity Double
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- cloudant
Id String - cors
Config CloudantCors Config Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- created
At String - (String) The date when the instance was created.
- created
By String - (String) The subject who created the instance.
- crn String
- (String) CRN of the resource instance.
- dashboard
Url String - (String) The dashboard URL to access resource.
- deleted
At String - (String) The date when the instance was deleted.
- deleted
By String - (String) The subject who deleted the instance.
- enable
Cors Boolean - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - environment
Crn String - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- extensions Map<String,String>
- (Map) The extended metadata as a map associated with the resource instance.
- guid String
- (String) The
GUIDof resource instance. - include
Data BooleanEvents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - last
Operation Map<String,String> - (Map) The status of the last operation requested on the instance.
- legacy
Credentials Boolean - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- location String
- Target location or environment to create the resource instance.
- locked Boolean
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- name String
- A name for the resource instance.
- onetime
Credentials Boolean - A boolean that dictates if the onetime_credentials is true or false.
- parameters Map<String,String>
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- parameters
Json String - Arbitrary parameters to pass in Json string format
- plan String
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- plan
Histories List<CloudantPlan History> - (List of Object) The plan history of the instance.
- resource
Aliases StringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings StringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Controller StringUrl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- resource
Crn String - (String) The CRN of the resource.
- resource
Group StringCrn - (String) The long ID (full CRN) of the resource group.
- resource
Group StringId - The resource group ID.
- resource
Group StringName - (String) The resource group name in which resource is provisioned.
- resource
Id String - (String) The unique ID of the offering.
- resource
Keys StringUrl - (String) The relative path to the resource keys for the instance.
- resource
Name String - (String) The name of the resource.
- resource
Plan StringId - (String) The unique ID of the plan associated with the offering.
- resource
Status String - (String) The status of the resource.
- restored
At String - (String) The date when the instance under reclamation was restored.
- restored
By String - (String) The subject who restored the instance back from reclamation.
- scheduled
Reclaim StringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim StringBy - (String) The subject who initiated the instance reclamation.
- service String
- (String) The service type of the instance. Always
cloudantnosqldb. - service
Endpoints String - Types of the service endpoints. Possible values are
public,private,public-and-private. - state String
- (String) The current state of the instance.
- status String
- (String) Status of the resource instance.
- sub
Type String - (String) The sub-type of an instance. For example, cfaas.
- List<String>
- Tags associated with the instance.
- target
Crn String - (String) The full deployment CRN as defined in the global catalog.
- throughput Map<String,Double>
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- timeouts
Cloudant
Timeouts - type String
- (String) The type of the instance. For example, service_instance.
- update
At String - (String) The date when the instance was last updated.
- update
By String - (String) The subject who updated the instance.
- account
Id string - (String) An alpha-numeric value identifying the account ID.
- allow
Cleanup boolean - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- capacity number
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- cloudant
Id string - cors
Config CloudantCors Config Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- created
At string - (String) The date when the instance was created.
- created
By string - (String) The subject who created the instance.
- crn string
- (String) CRN of the resource instance.
- dashboard
Url string - (String) The dashboard URL to access resource.
- deleted
At string - (String) The date when the instance was deleted.
- deleted
By string - (String) The subject who deleted the instance.
- enable
Cors boolean - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - environment
Crn string - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- extensions {[key: string]: string}
- (Map) The extended metadata as a map associated with the resource instance.
- guid string
- (String) The
GUIDof resource instance. - include
Data booleanEvents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - last
Operation {[key: string]: string} - (Map) The status of the last operation requested on the instance.
- legacy
Credentials boolean - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- location string
- Target location or environment to create the resource instance.
- locked boolean
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- name string
- A name for the resource instance.
- onetime
Credentials boolean - A boolean that dictates if the onetime_credentials is true or false.
- parameters {[key: string]: string}
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- parameters
Json string - Arbitrary parameters to pass in Json string format
- plan string
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- plan
Histories CloudantPlan History[] - (List of Object) The plan history of the instance.
- resource
Aliases stringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings stringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Controller stringUrl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- resource
Crn string - (String) The CRN of the resource.
- resource
Group stringCrn - (String) The long ID (full CRN) of the resource group.
- resource
Group stringId - The resource group ID.
- resource
Group stringName - (String) The resource group name in which resource is provisioned.
- resource
Id string - (String) The unique ID of the offering.
- resource
Keys stringUrl - (String) The relative path to the resource keys for the instance.
- resource
Name string - (String) The name of the resource.
- resource
Plan stringId - (String) The unique ID of the plan associated with the offering.
- resource
Status string - (String) The status of the resource.
- restored
At string - (String) The date when the instance under reclamation was restored.
- restored
By string - (String) The subject who restored the instance back from reclamation.
- scheduled
Reclaim stringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim stringBy - (String) The subject who initiated the instance reclamation.
- service string
- (String) The service type of the instance. Always
cloudantnosqldb. - service
Endpoints string - Types of the service endpoints. Possible values are
public,private,public-and-private. - state string
- (String) The current state of the instance.
- status string
- (String) Status of the resource instance.
- sub
Type string - (String) The sub-type of an instance. For example, cfaas.
- string[]
- Tags associated with the instance.
- target
Crn string - (String) The full deployment CRN as defined in the global catalog.
- throughput {[key: string]: number}
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- timeouts
Cloudant
Timeouts - type string
- (String) The type of the instance. For example, service_instance.
- update
At string - (String) The date when the instance was last updated.
- update
By string - (String) The subject who updated the instance.
- account_
id str - (String) An alpha-numeric value identifying the account ID.
- allow_
cleanup bool - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- capacity float
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- cloudant_
id str - cors_
config CloudantCors Config Args Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- created_
at str - (String) The date when the instance was created.
- created_
by str - (String) The subject who created the instance.
- crn str
- (String) CRN of the resource instance.
- dashboard_
url str - (String) The dashboard URL to access resource.
- deleted_
at str - (String) The date when the instance was deleted.
- deleted_
by str - (String) The subject who deleted the instance.
- enable_
cors bool - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - environment_
crn str - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- extensions Mapping[str, str]
- (Map) The extended metadata as a map associated with the resource instance.
- guid str
- (String) The
GUIDof resource instance. - include_
data_ boolevents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - last_
operation Mapping[str, str] - (Map) The status of the last operation requested on the instance.
- legacy_
credentials bool - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- location str
- Target location or environment to create the resource instance.
- locked bool
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- name str
- A name for the resource instance.
- onetime_
credentials bool - A boolean that dictates if the onetime_credentials is true or false.
- parameters Mapping[str, str]
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- parameters_
json str - Arbitrary parameters to pass in Json string format
- plan str
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- plan_
histories Sequence[CloudantPlan History Args] - (List of Object) The plan history of the instance.
- resource_
aliases_ strurl - (String) The relative path to the resource aliases for the instance.
- resource_
bindings_ strurl - (String) The relative path to the resource bindings for the instance.
- resource_
controller_ strurl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- resource_
crn str - (String) The CRN of the resource.
- resource_
group_ strcrn - (String) The long ID (full CRN) of the resource group.
- resource_
group_ strid - The resource group ID.
- resource_
group_ strname - (String) The resource group name in which resource is provisioned.
- resource_
id str - (String) The unique ID of the offering.
- resource_
keys_ strurl - (String) The relative path to the resource keys for the instance.
- resource_
name str - (String) The name of the resource.
- resource_
plan_ strid - (String) The unique ID of the plan associated with the offering.
- resource_
status str - (String) The status of the resource.
- restored_
at str - (String) The date when the instance under reclamation was restored.
- restored_
by str - (String) The subject who restored the instance back from reclamation.
- scheduled_
reclaim_ strat - (String) The date when the instance was scheduled for reclamation.
- scheduled_
reclaim_ strby - (String) The subject who initiated the instance reclamation.
- service str
- (String) The service type of the instance. Always
cloudantnosqldb. - service_
endpoints str - Types of the service endpoints. Possible values are
public,private,public-and-private. - state str
- (String) The current state of the instance.
- status str
- (String) Status of the resource instance.
- sub_
type str - (String) The sub-type of an instance. For example, cfaas.
- Sequence[str]
- Tags associated with the instance.
- target_
crn str - (String) The full deployment CRN as defined in the global catalog.
- throughput Mapping[str, float]
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- timeouts
Cloudant
Timeouts Args - type str
- (String) The type of the instance. For example, service_instance.
- update_
at str - (String) The date when the instance was last updated.
- update_
by str - (String) The subject who updated the instance.
- account
Id String - (String) An alpha-numeric value identifying the account ID.
- allow
Cleanup Boolean - (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- capacity Number
A number of blocks of throughput units.The default value is
1. Capacity modification is not supported for theliteplan.Capacity changes are applied asynchronously. For Gen 1 plans the new blocks value is reflected immediately, but the capacity change may take some time. For Gen 2 the capacity change will be reflected when the change is complete. For more information, see Gen 1
blocksor Gen 2 capacity units.- cloudant
Id String - cors
Config Property Map Configuration for CORS. Requires
enable_corsto betrue.Nested scheme for
cors_config:- Constraints: The minimum length is 1 item.
- created
At String - (String) The date when the instance was created.
- created
By String - (String) The subject who created the instance.
- crn String
- (String) CRN of the resource instance.
- dashboard
Url String - (String) The dashboard URL to access resource.
- deleted
At String - (String) The date when the instance was deleted.
- deleted
By String - (String) The subject who deleted the instance.
- enable
Cors Boolean - Boolean value to enable CORS. The default value is
true. If it is set tofalse, then customizingcors_configis not allowed. - environment
Crn String - Gen 1 dedicated hardware plan only. CRN of the IBM Cloudant Dedicated Hardware plan instance.
- extensions Map<String>
- (Map) The extended metadata as a map associated with the resource instance.
- guid String
- (String) The
GUIDof resource instance. - include
Data BooleanEvents - Include
dataevent types in events sent to IBM Cloud Activity Tracker Event Routing for the IBM Cloudant instance. The default value is false and emitted events are only of themanagementtype. For Gen 1 instances this is applied via the Activity Tracker API. For Gen 2 instances this maps to the broker parameterdataservices.cloudant.configuration.audit.data_events. - last
Operation Map<String> - (Map) The status of the last operation requested on the instance.
- legacy
Credentials Boolean - Gen 1 only. Use both legacy credentials and IAM for authentication. The default value is false.
- location String
- Target location or environment to create the resource instance.
- locked Boolean
- (Boolean) A boolean that dictates if the resource instance should be deleted (cleaned up) during the processing of a region instance delete call.
- name String
- A name for the resource instance.
- onetime
Credentials Boolean - A boolean that dictates if the onetime_credentials is true or false.
- parameters Map<String>
- Arbitrary parameters to pass. Must be a JSON object. Typed schema attributes always take precedence over any conflicting values supplied here.
- parameters
Json String - Arbitrary parameters to pass in Json string format
- plan String
- The plan type of the service. Plan transitions between Gen 1 and Gen 2, or between dedicated and non-dedicated plans, are not supported.
- plan
Histories List<Property Map> - (List of Object) The plan history of the instance.
- resource
Aliases StringUrl - (String) The relative path to the resource aliases for the instance.
- resource
Bindings StringUrl - (String) The relative path to the resource bindings for the instance.
- resource
Controller StringUrl - (String) The URL of the IBM Cloud dashboard that can be used to explore and view details about the resource.
- resource
Crn String - (String) The CRN of the resource.
- resource
Group StringCrn - (String) The long ID (full CRN) of the resource group.
- resource
Group StringId - The resource group ID.
- resource
Group StringName - (String) The resource group name in which resource is provisioned.
- resource
Id String - (String) The unique ID of the offering.
- resource
Keys StringUrl - (String) The relative path to the resource keys for the instance.
- resource
Name String - (String) The name of the resource.
- resource
Plan StringId - (String) The unique ID of the plan associated with the offering.
- resource
Status String - (String) The status of the resource.
- restored
At String - (String) The date when the instance under reclamation was restored.
- restored
By String - (String) The subject who restored the instance back from reclamation.
- scheduled
Reclaim StringAt - (String) The date when the instance was scheduled for reclamation.
- scheduled
Reclaim StringBy - (String) The subject who initiated the instance reclamation.
- service String
- (String) The service type of the instance. Always
cloudantnosqldb. - service
Endpoints String - Types of the service endpoints. Possible values are
public,private,public-and-private. - state String
- (String) The current state of the instance.
- status String
- (String) Status of the resource instance.
- sub
Type String - (String) The sub-type of an instance. For example, cfaas.
- List<String>
- Tags associated with the instance.
- target
Crn String - (String) The full deployment CRN as defined in the global catalog.
- throughput Map<Number>
- (Map of Number) Gen 1 only. Detailed information about throughput capacity with breakdown by specific throughput requests classes. Not populated for Gen 2 instances.
- timeouts Property Map
- type String
- (String) The type of the instance. For example, service_instance.
- update
At String - (String) The date when the instance was last updated.
- update
By String - (String) The subject who updated the instance.
Supporting Types
CloudantCorsConfig, CloudantCorsConfigArgs
- Origins List<string>
- An array of strings that contain allowed origin domains. You have to specify the full URL including the protocol. It is recommended that only the HTTPS protocol is used. Subdomains count as separate domains, so you have to specify all subdomains used.
- Allow
Credentials bool - Boolean value to allow authentication credentials. If set to true, browser requests must be done by setting
XmlHttpRequest.withCredentials = trueon the request object. The default value istrue.
- Origins []string
- An array of strings that contain allowed origin domains. You have to specify the full URL including the protocol. It is recommended that only the HTTPS protocol is used. Subdomains count as separate domains, so you have to specify all subdomains used.
- Allow
Credentials bool - Boolean value to allow authentication credentials. If set to true, browser requests must be done by setting
XmlHttpRequest.withCredentials = trueon the request object. The default value istrue.
- origins list(string)
- An array of strings that contain allowed origin domains. You have to specify the full URL including the protocol. It is recommended that only the HTTPS protocol is used. Subdomains count as separate domains, so you have to specify all subdomains used.
- allow_
credentials bool - Boolean value to allow authentication credentials. If set to true, browser requests must be done by setting
XmlHttpRequest.withCredentials = trueon the request object. The default value istrue.
- origins List<String>
- An array of strings that contain allowed origin domains. You have to specify the full URL including the protocol. It is recommended that only the HTTPS protocol is used. Subdomains count as separate domains, so you have to specify all subdomains used.
- allow
Credentials Boolean - Boolean value to allow authentication credentials. If set to true, browser requests must be done by setting
XmlHttpRequest.withCredentials = trueon the request object. The default value istrue.
- origins string[]
- An array of strings that contain allowed origin domains. You have to specify the full URL including the protocol. It is recommended that only the HTTPS protocol is used. Subdomains count as separate domains, so you have to specify all subdomains used.
- allow
Credentials boolean - Boolean value to allow authentication credentials. If set to true, browser requests must be done by setting
XmlHttpRequest.withCredentials = trueon the request object. The default value istrue.
- origins Sequence[str]
- An array of strings that contain allowed origin domains. You have to specify the full URL including the protocol. It is recommended that only the HTTPS protocol is used. Subdomains count as separate domains, so you have to specify all subdomains used.
- allow_
credentials bool - Boolean value to allow authentication credentials. If set to true, browser requests must be done by setting
XmlHttpRequest.withCredentials = trueon the request object. The default value istrue.
- origins List<String>
- An array of strings that contain allowed origin domains. You have to specify the full URL including the protocol. It is recommended that only the HTTPS protocol is used. Subdomains count as separate domains, so you have to specify all subdomains used.
- allow
Credentials Boolean - Boolean value to allow authentication credentials. If set to true, browser requests must be done by setting
XmlHttpRequest.withCredentials = trueon the request object. The default value istrue.
CloudantPlanHistory, CloudantPlanHistoryArgs
- Resource
Plan stringId - (String) The unique ID of the plan associated with the offering.
- Start
Date string
- Resource
Plan stringId - (String) The unique ID of the plan associated with the offering.
- Start
Date string
- resource_
plan_ stringid - (String) The unique ID of the plan associated with the offering.
- start_
date string
- resource
Plan StringId - (String) The unique ID of the plan associated with the offering.
- start
Date String
- resource
Plan stringId - (String) The unique ID of the plan associated with the offering.
- start
Date string
- resource_
plan_ strid - (String) The unique ID of the plan associated with the offering.
- start_
date str
- resource
Plan StringId - (String) The unique ID of the plan associated with the offering.
- start
Date String
CloudantTimeouts, CloudantTimeoutsArgs
Import
Example
$ pulumi import ibm:index/cloudant:Cloudant mycloudant "crn:v1:bluemix:public:cloudantnosqldb:us-south:a/abc123abc123abc123abc1:abc123ab-1234-1234-abc1-abc123abc123::"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
published on Wednesday, Aug 5, 2026 by ibm-cloud