ibm.EnIntegrationCos
Explore with Pulumi AI
Manage COS integration using IBM Cloud™ Event Notifications.
Create EnIntegrationCos Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnIntegrationCos(name: string, args: EnIntegrationCosArgs, opts?: CustomResourceOptions);
@overload
def EnIntegrationCos(resource_name: str,
args: EnIntegrationCosArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnIntegrationCos(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_guid: Optional[str] = None,
metadata: Optional[EnIntegrationCosMetadataArgs] = None,
type: Optional[str] = None,
en_integration_cos_id: Optional[str] = None)
func NewEnIntegrationCos(ctx *Context, name string, args EnIntegrationCosArgs, opts ...ResourceOption) (*EnIntegrationCos, error)
public EnIntegrationCos(string name, EnIntegrationCosArgs args, CustomResourceOptions? opts = null)
public EnIntegrationCos(String name, EnIntegrationCosArgs args)
public EnIntegrationCos(String name, EnIntegrationCosArgs args, CustomResourceOptions options)
type: ibm:EnIntegrationCos
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 EnIntegrationCosArgs
- 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 EnIntegrationCosArgs
- 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 EnIntegrationCosArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnIntegrationCosArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnIntegrationCosArgs
- 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 enIntegrationCosResource = new Ibm.EnIntegrationCos("enIntegrationCosResource", new()
{
InstanceGuid = "string",
Metadata = new Ibm.Inputs.EnIntegrationCosMetadataArgs
{
BucketName = "string",
Crn = "string",
Endpoint = "string",
},
Type = "string",
EnIntegrationCosId = "string",
});
example, err := ibm.NewEnIntegrationCos(ctx, "enIntegrationCosResource", &ibm.EnIntegrationCosArgs{
InstanceGuid: pulumi.String("string"),
Metadata: &.EnIntegrationCosMetadataArgs{
BucketName: pulumi.String("string"),
Crn: pulumi.String("string"),
Endpoint: pulumi.String("string"),
},
Type: pulumi.String("string"),
EnIntegrationCosId: pulumi.String("string"),
})
var enIntegrationCosResource = new EnIntegrationCos("enIntegrationCosResource", EnIntegrationCosArgs.builder()
.instanceGuid("string")
.metadata(EnIntegrationCosMetadataArgs.builder()
.bucketName("string")
.crn("string")
.endpoint("string")
.build())
.type("string")
.enIntegrationCosId("string")
.build());
en_integration_cos_resource = ibm.EnIntegrationCos("enIntegrationCosResource",
instance_guid="string",
metadata={
"bucket_name": "string",
"crn": "string",
"endpoint": "string",
},
type="string",
en_integration_cos_id="string")
const enIntegrationCosResource = new ibm.EnIntegrationCos("enIntegrationCosResource", {
instanceGuid: "string",
metadata: {
bucketName: "string",
crn: "string",
endpoint: "string",
},
type: "string",
enIntegrationCosId: "string",
});
type: ibm:EnIntegrationCos
properties:
enIntegrationCosId: string
instanceGuid: string
metadata:
bucketName: string
crn: string
endpoint: string
type: string
EnIntegrationCos 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 EnIntegrationCos resource accepts the following input properties:
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Metadata
En
Integration Cos Metadata - Nested scheme for params:
- Type string
- The integration type collect_failed_events.
- En
Integration stringCos Id - (String) The unique identifier of the
en_cos_integration
.
- Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Metadata
En
Integration Cos Metadata Args - Nested scheme for params:
- Type string
- The integration type collect_failed_events.
- En
Integration stringCos Id - (String) The unique identifier of the
en_cos_integration
.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- metadata
En
Integration Cos Metadata - Nested scheme for params:
- type String
- The integration type collect_failed_events.
- en
Integration StringCos Id - (String) The unique identifier of the
en_cos_integration
.
- instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- metadata
En
Integration Cos Metadata - Nested scheme for params:
- type string
- The integration type collect_failed_events.
- en
Integration stringCos Id - (String) The unique identifier of the
en_cos_integration
.
- instance_
guid str - Unique identifier for IBM Cloud Event Notifications instance.
- metadata
En
Integration Cos Metadata Args - Nested scheme for params:
- type str
- The integration type collect_failed_events.
- en_
integration_ strcos_ id - (String) The unique identifier of the
en_cos_integration
.
- instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- metadata Property Map
- Nested scheme for params:
- type String
- The integration type collect_failed_events.
- en
Integration StringCos Id - (String) The unique identifier of the
en_cos_integration
.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnIntegrationCos resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Integration
Id string - Unique identifier for Integration.
- Updated
At string - (String) Last updated time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Integration
Id string - Unique identifier for Integration.
- Updated
At string - (String) Last updated time.
- id String
- The provider-assigned unique ID for this managed resource.
- integration
Id String - Unique identifier for Integration.
- updated
At String - (String) Last updated time.
- id string
- The provider-assigned unique ID for this managed resource.
- integration
Id string - Unique identifier for Integration.
- updated
At string - (String) Last updated time.
- id str
- The provider-assigned unique ID for this managed resource.
- integration_
id str - Unique identifier for Integration.
- updated_
at str - (String) Last updated time.
- id String
- The provider-assigned unique ID for this managed resource.
- integration
Id String - Unique identifier for Integration.
- updated
At String - (String) Last updated time.
Look up Existing EnIntegrationCos Resource
Get an existing EnIntegrationCos 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?: EnIntegrationCosState, opts?: CustomResourceOptions): EnIntegrationCos
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
en_integration_cos_id: Optional[str] = None,
instance_guid: Optional[str] = None,
integration_id: Optional[str] = None,
metadata: Optional[EnIntegrationCosMetadataArgs] = None,
type: Optional[str] = None,
updated_at: Optional[str] = None) -> EnIntegrationCos
func GetEnIntegrationCos(ctx *Context, name string, id IDInput, state *EnIntegrationCosState, opts ...ResourceOption) (*EnIntegrationCos, error)
public static EnIntegrationCos Get(string name, Input<string> id, EnIntegrationCosState? state, CustomResourceOptions? opts = null)
public static EnIntegrationCos get(String name, Output<String> id, EnIntegrationCosState state, CustomResourceOptions options)
resources: _: type: ibm:EnIntegrationCos 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.
- En
Integration stringCos Id - (String) The unique identifier of the
en_cos_integration
. - Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Integration
Id string - Unique identifier for Integration.
- Metadata
En
Integration Cos Metadata - Nested scheme for params:
- Type string
- The integration type collect_failed_events.
- Updated
At string - (String) Last updated time.
- En
Integration stringCos Id - (String) The unique identifier of the
en_cos_integration
. - Instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- Integration
Id string - Unique identifier for Integration.
- Metadata
En
Integration Cos Metadata Args - Nested scheme for params:
- Type string
- The integration type collect_failed_events.
- Updated
At string - (String) Last updated time.
- en
Integration StringCos Id - (String) The unique identifier of the
en_cos_integration
. - instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- integration
Id String - Unique identifier for Integration.
- metadata
En
Integration Cos Metadata - Nested scheme for params:
- type String
- The integration type collect_failed_events.
- updated
At String - (String) Last updated time.
- en
Integration stringCos Id - (String) The unique identifier of the
en_cos_integration
. - instance
Guid string - Unique identifier for IBM Cloud Event Notifications instance.
- integration
Id string - Unique identifier for Integration.
- metadata
En
Integration Cos Metadata - Nested scheme for params:
- type string
- The integration type collect_failed_events.
- updated
At string - (String) Last updated time.
- en_
integration_ strcos_ id - (String) The unique identifier of the
en_cos_integration
. - instance_
guid str - Unique identifier for IBM Cloud Event Notifications instance.
- integration_
id str - Unique identifier for Integration.
- metadata
En
Integration Cos Metadata Args - Nested scheme for params:
- type str
- The integration type collect_failed_events.
- updated_
at str - (String) Last updated time.
- en
Integration StringCos Id - (String) The unique identifier of the
en_cos_integration
. - instance
Guid String - Unique identifier for IBM Cloud Event Notifications instance.
- integration
Id String - Unique identifier for Integration.
- metadata Property Map
- Nested scheme for params:
- type String
- The integration type collect_failed_events.
- updated
At String - (String) Last updated time.
Supporting Types
EnIntegrationCosMetadata, EnIntegrationCosMetadataArgs
- Bucket
Name string - cloud object storage bucket name.
- Crn string
- CRN of the COS instance.
- Endpoint string
- endpoint url for COS bucket region.
- Bucket
Name string - cloud object storage bucket name.
- Crn string
- CRN of the COS instance.
- Endpoint string
- endpoint url for COS bucket region.
- bucket
Name String - cloud object storage bucket name.
- crn String
- CRN of the COS instance.
- endpoint String
- endpoint url for COS bucket region.
- bucket
Name string - cloud object storage bucket name.
- crn string
- CRN of the COS instance.
- endpoint string
- endpoint url for COS bucket region.
- bucket_
name str - cloud object storage bucket name.
- crn str
- CRN of the COS instance.
- endpoint str
- endpoint url for COS bucket region.
- bucket
Name String - cloud object storage bucket name.
- crn String
- CRN of the COS instance.
- endpoint String
- endpoint url for COS bucket region.
Import
You can import the ibm_en_integration_cos
resource by using id
.
The id
property can be formed from instance_guid
, and integration_id
in the following format:
<instance_guid>/<integration_id>
instance_guid
: A string. Unique identifier for IBM Cloud Event Notifications instance.integration_id
: A string. Unique identifier for Integration.
Example
$ pulumi import ibm:index/enIntegrationCos:EnIntegrationCos en_cos_integration <instance_guid>/<integration_id>
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.