1. Packages
  2. Ibm Provider
  3. API Docs
  4. EnIntegrationCos
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.EnIntegrationCos

Explore with Pulumi AI

ibm logo
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

    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:

    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Metadata EnIntegrationCosMetadata
    Nested scheme for params:
    Type string
    The integration type collect_failed_events.
    EnIntegrationCosId string
    (String) The unique identifier of the en_cos_integration.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Metadata EnIntegrationCosMetadataArgs
    Nested scheme for params:
    Type string
    The integration type collect_failed_events.
    EnIntegrationCosId string
    (String) The unique identifier of the en_cos_integration.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    metadata EnIntegrationCosMetadata
    Nested scheme for params:
    type String
    The integration type collect_failed_events.
    enIntegrationCosId String
    (String) The unique identifier of the en_cos_integration.
    instanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    metadata EnIntegrationCosMetadata
    Nested scheme for params:
    type string
    The integration type collect_failed_events.
    enIntegrationCosId string
    (String) The unique identifier of the en_cos_integration.
    instance_guid str
    Unique identifier for IBM Cloud Event Notifications instance.
    metadata EnIntegrationCosMetadataArgs
    Nested scheme for params:
    type str
    The integration type collect_failed_events.
    en_integration_cos_id str
    (String) The unique identifier of the en_cos_integration.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    metadata Property Map
    Nested scheme for params:
    type String
    The integration type collect_failed_events.
    enIntegrationCosId String
    (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.
    IntegrationId string
    Unique identifier for Integration.
    UpdatedAt string
    (String) Last updated time.
    Id string
    The provider-assigned unique ID for this managed resource.
    IntegrationId string
    Unique identifier for Integration.
    UpdatedAt string
    (String) Last updated time.
    id String
    The provider-assigned unique ID for this managed resource.
    integrationId String
    Unique identifier for Integration.
    updatedAt String
    (String) Last updated time.
    id string
    The provider-assigned unique ID for this managed resource.
    integrationId string
    Unique identifier for Integration.
    updatedAt 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.
    integrationId String
    Unique identifier for Integration.
    updatedAt 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.
    The following state arguments are supported:
    EnIntegrationCosId string
    (String) The unique identifier of the en_cos_integration.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    IntegrationId string
    Unique identifier for Integration.
    Metadata EnIntegrationCosMetadata
    Nested scheme for params:
    Type string
    The integration type collect_failed_events.
    UpdatedAt string
    (String) Last updated time.
    EnIntegrationCosId string
    (String) The unique identifier of the en_cos_integration.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    IntegrationId string
    Unique identifier for Integration.
    Metadata EnIntegrationCosMetadataArgs
    Nested scheme for params:
    Type string
    The integration type collect_failed_events.
    UpdatedAt string
    (String) Last updated time.
    enIntegrationCosId String
    (String) The unique identifier of the en_cos_integration.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    integrationId String
    Unique identifier for Integration.
    metadata EnIntegrationCosMetadata
    Nested scheme for params:
    type String
    The integration type collect_failed_events.
    updatedAt String
    (String) Last updated time.
    enIntegrationCosId string
    (String) The unique identifier of the en_cos_integration.
    instanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    integrationId string
    Unique identifier for Integration.
    metadata EnIntegrationCosMetadata
    Nested scheme for params:
    type string
    The integration type collect_failed_events.
    updatedAt string
    (String) Last updated time.
    en_integration_cos_id str
    (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 EnIntegrationCosMetadataArgs
    Nested scheme for params:
    type str
    The integration type collect_failed_events.
    updated_at str
    (String) Last updated time.
    enIntegrationCosId String
    (String) The unique identifier of the en_cos_integration.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    integrationId String
    Unique identifier for Integration.
    metadata Property Map
    Nested scheme for params:
    type String
    The integration type collect_failed_events.
    updatedAt String
    (String) Last updated time.

    Supporting Types

    EnIntegrationCosMetadata, EnIntegrationCosMetadataArgs

    BucketName string
    cloud object storage bucket name.
    Crn string
    CRN of the COS instance.
    Endpoint string
    endpoint url for COS bucket region.
    BucketName string
    cloud object storage bucket name.
    Crn string
    CRN of the COS instance.
    Endpoint string
    endpoint url for COS bucket region.
    bucketName String
    cloud object storage bucket name.
    crn String
    CRN of the COS instance.
    endpoint String
    endpoint url for COS bucket region.
    bucketName 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.
    bucketName 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.
    ibm logo
    ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud