ibm.Cloudant
Explore with Pulumi AI
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
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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()
.location("us-south")
.plan("standard")
.legacyCredentials(true)
.includeDataEvents(false)
.capacity(1)
.enableCors(true)
.corsConfig(CloudantCorsConfigArgs.builder()
.allowCredentials(false)
.origins("https://example.com")
.build())
.timeouts(CloudantTimeoutsArgs.builder()
.create("15m")
.update("15m")
.delete("15m")
.build())
.build());
}
}
resources:
cloudant:
type: ibm:Cloudant
properties:
location: us-south
plan: standard
legacyCredentials: true
includeDataEvents: false
capacity: 1
enableCors: true
corsConfig:
allowCredentials: false
origins:
- https://example.com
timeouts:
- create: 15m
update: 15m
delete: 15m
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,
name: Optional[str] = None,
parameters: Optional[Mapping[str, str]] = None,
environment_crn: Optional[str] = None,
include_data_events: Optional[bool] = None,
legacy_credentials: Optional[bool] = None,
cors_config: Optional[CloudantCorsConfigArgs] = None,
capacity: Optional[float] = None,
enable_cors: Optional[bool] = None,
parameters_json: Optional[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.
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",
Name = "string",
Parameters =
{
{ "string", "string" },
},
EnvironmentCrn = "string",
IncludeDataEvents = false,
LegacyCredentials = false,
CorsConfig = new Ibm.Inputs.CloudantCorsConfigArgs
{
Origins = new[]
{
"string",
},
AllowCredentials = false,
},
Capacity = 0,
EnableCors = false,
ParametersJson = "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"),
Name: pulumi.String("string"),
Parameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
EnvironmentCrn: pulumi.String("string"),
IncludeDataEvents: pulumi.Bool(false),
LegacyCredentials: pulumi.Bool(false),
CorsConfig: &ibm.CloudantCorsConfigArgs{
Origins: pulumi.StringArray{
pulumi.String("string"),
},
AllowCredentials: pulumi.Bool(false),
},
Capacity: pulumi.Float64(0),
EnableCors: pulumi.Bool(false),
ParametersJson: 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"),
},
})
var cloudantResource = new Cloudant("cloudantResource", CloudantArgs.builder()
.location("string")
.plan("string")
.name("string")
.parameters(Map.of("string", "string"))
.environmentCrn("string")
.includeDataEvents(false)
.legacyCredentials(false)
.corsConfig(CloudantCorsConfigArgs.builder()
.origins("string")
.allowCredentials(false)
.build())
.capacity(0)
.enableCors(false)
.parametersJson("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",
name="string",
parameters={
"string": "string",
},
environment_crn="string",
include_data_events=False,
legacy_credentials=False,
cors_config={
"origins": ["string"],
"allow_credentials": False,
},
capacity=0,
enable_cors=False,
parameters_json="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",
name: "string",
parameters: {
string: "string",
},
environmentCrn: "string",
includeDataEvents: false,
legacyCredentials: false,
corsConfig: {
origins: ["string"],
allowCredentials: false,
},
capacity: 0,
enableCors: false,
parametersJson: "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
parametersJson: 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.
- Capacity double
A number of blocks of throughput units. The default value is
1
. Capacity modification is not supported forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- Cloudant
Id string - The unique identifier of the new Cloudant resource.
- Cors
Config CloudantCors Config Configuration for CORS.
Nested scheme for
cors_config
:- Constraints: The minimum length is 1 item.
- Enable
Cors bool - Boolean value to turn CORS on and off.
- Environment
Crn string - CRN of the IBM Cloudant Dedicated Hardware plan instance.
- Include
Data boolEvents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - Legacy
Credentials bool - 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.
- Parameters
Json string - Arbitrary parameters to pass in Json string format
- 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.
- Capacity float64
A number of blocks of throughput units. The default value is
1
. Capacity modification is not supported forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- Cloudant
Id string - The unique identifier of the new Cloudant resource.
- Cors
Config CloudantCors Config Args Configuration for CORS.
Nested scheme for
cors_config
:- Constraints: The minimum length is 1 item.
- Enable
Cors bool - Boolean value to turn CORS on and off.
- Environment
Crn string - CRN of the IBM Cloudant Dedicated Hardware plan instance.
- Include
Data boolEvents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - Legacy
Credentials bool - 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.
- Parameters
Json string - Arbitrary parameters to pass in Json string format
- 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.
- capacity Double
A number of blocks of throughput units. The default value is
1
. Capacity modification is not supported forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- cloudant
Id String - The unique identifier of the new Cloudant resource.
- cors
Config CloudantCors Config Configuration for CORS.
Nested scheme for
cors_config
:- Constraints: The minimum length is 1 item.
- enable
Cors Boolean - Boolean value to turn CORS on and off.
- environment
Crn String - CRN of the IBM Cloudant Dedicated Hardware plan instance.
- include
Data BooleanEvents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - legacy
Credentials Boolean - 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.
- parameters
Json String - Arbitrary parameters to pass in Json string format
- 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.
- capacity number
A number of blocks of throughput units. The default value is
1
. Capacity modification is not supported forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- cloudant
Id string - The unique identifier of the new Cloudant resource.
- cors
Config CloudantCors Config Configuration for CORS.
Nested scheme for
cors_config
:- Constraints: The minimum length is 1 item.
- enable
Cors boolean - Boolean value to turn CORS on and off.
- environment
Crn string - CRN of the IBM Cloudant Dedicated Hardware plan instance.
- include
Data booleanEvents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - legacy
Credentials boolean - 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.
- parameters
Json string - Arbitrary parameters to pass in Json string format
- 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.
- capacity float
A number of blocks of throughput units. The default value is
1
. Capacity modification is not supported forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- cloudant_
id str - The unique identifier of the new Cloudant resource.
- cors_
config CloudantCors Config Args Configuration for CORS.
Nested scheme for
cors_config
:- Constraints: The minimum length is 1 item.
- enable_
cors bool - Boolean value to turn CORS on and off.
- environment_
crn str - CRN of the IBM Cloudant Dedicated Hardware plan instance.
- include_
data_ boolevents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - legacy_
credentials bool - 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.
- parameters_
json str - Arbitrary parameters to pass in Json string format
- 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.
- capacity Number
A number of blocks of throughput units. The default value is
1
. Capacity modification is not supported forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- cloudant
Id String - The unique identifier of the new Cloudant resource.
- cors
Config Property Map Configuration for CORS.
Nested scheme for
cors_config
:- Constraints: The minimum length is 1 item.
- enable
Cors Boolean - Boolean value to turn CORS on and off.
- environment
Crn String - CRN of the IBM Cloudant Dedicated Hardware plan instance.
- include
Data BooleanEvents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - legacy
Credentials Boolean - 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.
- parameters
Json String - Arbitrary parameters to pass in Json string format
- 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
GUID
of 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.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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
GUID
of 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.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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
GUID
of 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.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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
GUID
of 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.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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
GUID
of 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.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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
GUID
of 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.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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) -> Cloudant
func 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}
- 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 forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- Cloudant
Id string - The unique identifier of the new Cloudant resource.
- Cors
Config CloudantCors Config Configuration for CORS.
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 turn CORS on and off.
- Environment
Crn string - 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
GUID
of resource instance. - Include
Data boolEvents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - Last
Operation Dictionary<string, string> - (Map) The status of the last operation requested on the instance.
- Legacy
Credentials bool - 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.
- Parameters
Json string - Arbitrary parameters to pass in Json string format
- Plan string
- The plan type of the service.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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 forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- Cloudant
Id string - The unique identifier of the new Cloudant resource.
- Cors
Config CloudantCors Config Args Configuration for CORS.
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 turn CORS on and off.
- Environment
Crn string - 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
GUID
of resource instance. - Include
Data boolEvents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - Last
Operation map[string]string - (Map) The status of the last operation requested on the instance.
- Legacy
Credentials bool - 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.
- Parameters
Json string - Arbitrary parameters to pass in Json string format
- Plan string
- The plan type of the service.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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 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 forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- cloudant
Id String - The unique identifier of the new Cloudant resource.
- cors
Config CloudantCors Config Configuration for CORS.
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 turn CORS on and off.
- environment
Crn String - 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
GUID
of resource instance. - include
Data BooleanEvents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - last
Operation Map<String,String> - (Map) The status of the last operation requested on the instance.
- legacy
Credentials Boolean - 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.
- parameters
Json String - Arbitrary parameters to pass in Json string format
- plan String
- The plan type of the service.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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 forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- cloudant
Id string - The unique identifier of the new Cloudant resource.
- cors
Config CloudantCors Config Configuration for CORS.
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 turn CORS on and off.
- environment
Crn string - 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
GUID
of resource instance. - include
Data booleanEvents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - last
Operation {[key: string]: string} - (Map) The status of the last operation requested on the instance.
- legacy
Credentials boolean - 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.
- parameters
Json string - Arbitrary parameters to pass in Json string format
- plan string
- The plan type of the service.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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 forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- cloudant_
id str - The unique identifier of the new Cloudant resource.
- cors_
config CloudantCors Config Args Configuration for CORS.
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 turn CORS on and off.
- environment_
crn str - 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
GUID
of resource instance. - include_
data_ boolevents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - last_
operation Mapping[str, str] - (Map) The status of the last operation requested on the instance.
- legacy_
credentials bool - 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.
- parameters_
json str - Arbitrary parameters to pass in Json string format
- plan str
- The plan type of the service.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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 forlite
plan.Capacity changes are reflected immediately, but are applied asynchronously over time by the service. Large capacity jumps are not fully available for some time after modification, but typically complete within 12 hours. For more information, about throughput capacity, see
blocks
parameter.- cloudant
Id String - The unique identifier of the new Cloudant resource.
- cors
Config Property Map Configuration for CORS.
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 turn CORS on and off.
- environment
Crn String - 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
GUID
of resource instance. - include
Data BooleanEvents - Include
data
event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. The default value is false and emitted events are only of themanagement
type. - last
Operation Map<String> - (Map) The status of the last operation requested on the instance.
- legacy
Credentials Boolean - 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.
- parameters
Json String - Arbitrary parameters to pass in Json string format
- plan String
- The plan type of the service.
- 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.
- 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) Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
- 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 = true
on 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 = true
on 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 = true
on 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 = true
on 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 = true
on 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 = true
on 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_ 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
ibm
Terraform Provider.