1. Packages
  2. Ibm Provider
  3. API Docs
  4. ResourceReclamationDelete
ibm 1.86.0 published on Wednesday, Dec 3, 2025 by ibm-cloud
ibm logo
ibm 1.86.0 published on Wednesday, Dec 3, 2025 by ibm-cloud

    Import

    The ibm_resource_reclamation_delete resource cannot be imported since it represents a one-time deletion action.

    Create ResourceReclamationDelete Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ResourceReclamationDelete(name: string, args: ResourceReclamationDeleteArgs, opts?: CustomResourceOptions);
    @overload
    def ResourceReclamationDelete(resource_name: str,
                                  args: ResourceReclamationDeleteArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResourceReclamationDelete(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  reclamation_id: Optional[str] = None,
                                  comment: Optional[str] = None,
                                  request_by: Optional[str] = None,
                                  resource_reclamation_delete_id: Optional[str] = None)
    func NewResourceReclamationDelete(ctx *Context, name string, args ResourceReclamationDeleteArgs, opts ...ResourceOption) (*ResourceReclamationDelete, error)
    public ResourceReclamationDelete(string name, ResourceReclamationDeleteArgs args, CustomResourceOptions? opts = null)
    public ResourceReclamationDelete(String name, ResourceReclamationDeleteArgs args)
    public ResourceReclamationDelete(String name, ResourceReclamationDeleteArgs args, CustomResourceOptions options)
    
    type: ibm:ResourceReclamationDelete
    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 ResourceReclamationDeleteArgs
    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 ResourceReclamationDeleteArgs
    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 ResourceReclamationDeleteArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourceReclamationDeleteArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourceReclamationDeleteArgs
    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 resourceReclamationDeleteResource = new Ibm.ResourceReclamationDelete("resourceReclamationDeleteResource", new()
    {
        ReclamationId = "string",
        Comment = "string",
        RequestBy = "string",
        ResourceReclamationDeleteId = "string",
    });
    
    example, err := ibm.NewResourceReclamationDelete(ctx, "resourceReclamationDeleteResource", &ibm.ResourceReclamationDeleteArgs{
    	ReclamationId:               pulumi.String("string"),
    	Comment:                     pulumi.String("string"),
    	RequestBy:                   pulumi.String("string"),
    	ResourceReclamationDeleteId: pulumi.String("string"),
    })
    
    var resourceReclamationDeleteResource = new ResourceReclamationDelete("resourceReclamationDeleteResource", ResourceReclamationDeleteArgs.builder()
        .reclamationId("string")
        .comment("string")
        .requestBy("string")
        .resourceReclamationDeleteId("string")
        .build());
    
    resource_reclamation_delete_resource = ibm.ResourceReclamationDelete("resourceReclamationDeleteResource",
        reclamation_id="string",
        comment="string",
        request_by="string",
        resource_reclamation_delete_id="string")
    
    const resourceReclamationDeleteResource = new ibm.ResourceReclamationDelete("resourceReclamationDeleteResource", {
        reclamationId: "string",
        comment: "string",
        requestBy: "string",
        resourceReclamationDeleteId: "string",
    });
    
    type: ibm:ResourceReclamationDelete
    properties:
        comment: string
        reclamationId: string
        requestBy: string
        resourceReclamationDeleteId: string
    

    ResourceReclamationDelete 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 ResourceReclamationDelete resource accepts the following input properties:

    ReclamationId string
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    Comment string
    A descriptive comment about the deletion action.
    RequestBy string
    The identifier of the user who requested the deletion, if different from the authentication token.
    ResourceReclamationDeleteId string
    ReclamationId string
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    Comment string
    A descriptive comment about the deletion action.
    RequestBy string
    The identifier of the user who requested the deletion, if different from the authentication token.
    ResourceReclamationDeleteId string
    reclamationId String
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    comment String
    A descriptive comment about the deletion action.
    requestBy String
    The identifier of the user who requested the deletion, if different from the authentication token.
    resourceReclamationDeleteId String
    reclamationId string
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    comment string
    A descriptive comment about the deletion action.
    requestBy string
    The identifier of the user who requested the deletion, if different from the authentication token.
    resourceReclamationDeleteId string
    reclamation_id str
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    comment str
    A descriptive comment about the deletion action.
    request_by str
    The identifier of the user who requested the deletion, if different from the authentication token.
    resource_reclamation_delete_id str
    reclamationId String
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    comment String
    A descriptive comment about the deletion action.
    requestBy String
    The identifier of the user who requested the deletion, if different from the authentication token.
    resourceReclamationDeleteId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ResourceReclamationDelete resource produces the following output properties:

    AccountId string
    (String) IBM Cloud account ID.
    CreatedAt string
    (String) Creation timestamp.
    CreatedBy string
    (String) Creator identifier.
    CustomProperties Dictionary<string, string>
    (Map) Additional custom properties associated with the reclamation.
    EntityCrn string
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    EntityId string
    (String) The entity ID related to the reclamation.
    EntityTypeId string
    (String) The entity type ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyId string
    (String) The policy ID that triggered the reclamation.
    ResourceGroupId string
    (String) The resource group ID.
    ResourceInstanceId string
    (String) The resource instance ID related to the reclamation.
    State string
    (String) Current state of the reclamation.
    TargetTime string
    (String) Target time for reclamation retention expiration.
    UpdatedAt string
    (String) Last updated timestamp.
    UpdatedBy string
    (String) Last updater identifier.
    AccountId string
    (String) IBM Cloud account ID.
    CreatedAt string
    (String) Creation timestamp.
    CreatedBy string
    (String) Creator identifier.
    CustomProperties map[string]string
    (Map) Additional custom properties associated with the reclamation.
    EntityCrn string
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    EntityId string
    (String) The entity ID related to the reclamation.
    EntityTypeId string
    (String) The entity type ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyId string
    (String) The policy ID that triggered the reclamation.
    ResourceGroupId string
    (String) The resource group ID.
    ResourceInstanceId string
    (String) The resource instance ID related to the reclamation.
    State string
    (String) Current state of the reclamation.
    TargetTime string
    (String) Target time for reclamation retention expiration.
    UpdatedAt string
    (String) Last updated timestamp.
    UpdatedBy string
    (String) Last updater identifier.
    accountId String
    (String) IBM Cloud account ID.
    createdAt String
    (String) Creation timestamp.
    createdBy String
    (String) Creator identifier.
    customProperties Map<String,String>
    (Map) Additional custom properties associated with the reclamation.
    entityCrn String
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    entityId String
    (String) The entity ID related to the reclamation.
    entityTypeId String
    (String) The entity type ID.
    id String
    The provider-assigned unique ID for this managed resource.
    policyId String
    (String) The policy ID that triggered the reclamation.
    resourceGroupId String
    (String) The resource group ID.
    resourceInstanceId String
    (String) The resource instance ID related to the reclamation.
    state String
    (String) Current state of the reclamation.
    targetTime String
    (String) Target time for reclamation retention expiration.
    updatedAt String
    (String) Last updated timestamp.
    updatedBy String
    (String) Last updater identifier.
    accountId string
    (String) IBM Cloud account ID.
    createdAt string
    (String) Creation timestamp.
    createdBy string
    (String) Creator identifier.
    customProperties {[key: string]: string}
    (Map) Additional custom properties associated with the reclamation.
    entityCrn string
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    entityId string
    (String) The entity ID related to the reclamation.
    entityTypeId string
    (String) The entity type ID.
    id string
    The provider-assigned unique ID for this managed resource.
    policyId string
    (String) The policy ID that triggered the reclamation.
    resourceGroupId string
    (String) The resource group ID.
    resourceInstanceId string
    (String) The resource instance ID related to the reclamation.
    state string
    (String) Current state of the reclamation.
    targetTime string
    (String) Target time for reclamation retention expiration.
    updatedAt string
    (String) Last updated timestamp.
    updatedBy string
    (String) Last updater identifier.
    account_id str
    (String) IBM Cloud account ID.
    created_at str
    (String) Creation timestamp.
    created_by str
    (String) Creator identifier.
    custom_properties Mapping[str, str]
    (Map) Additional custom properties associated with the reclamation.
    entity_crn str
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    entity_id str
    (String) The entity ID related to the reclamation.
    entity_type_id str
    (String) The entity type ID.
    id str
    The provider-assigned unique ID for this managed resource.
    policy_id str
    (String) The policy ID that triggered the reclamation.
    resource_group_id str
    (String) The resource group ID.
    resource_instance_id str
    (String) The resource instance ID related to the reclamation.
    state str
    (String) Current state of the reclamation.
    target_time str
    (String) Target time for reclamation retention expiration.
    updated_at str
    (String) Last updated timestamp.
    updated_by str
    (String) Last updater identifier.
    accountId String
    (String) IBM Cloud account ID.
    createdAt String
    (String) Creation timestamp.
    createdBy String
    (String) Creator identifier.
    customProperties Map<String>
    (Map) Additional custom properties associated with the reclamation.
    entityCrn String
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    entityId String
    (String) The entity ID related to the reclamation.
    entityTypeId String
    (String) The entity type ID.
    id String
    The provider-assigned unique ID for this managed resource.
    policyId String
    (String) The policy ID that triggered the reclamation.
    resourceGroupId String
    (String) The resource group ID.
    resourceInstanceId String
    (String) The resource instance ID related to the reclamation.
    state String
    (String) Current state of the reclamation.
    targetTime String
    (String) Target time for reclamation retention expiration.
    updatedAt String
    (String) Last updated timestamp.
    updatedBy String
    (String) Last updater identifier.

    Look up Existing ResourceReclamationDelete Resource

    Get an existing ResourceReclamationDelete 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?: ResourceReclamationDeleteState, opts?: CustomResourceOptions): ResourceReclamationDelete
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            comment: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            custom_properties: Optional[Mapping[str, str]] = None,
            entity_crn: Optional[str] = None,
            entity_id: Optional[str] = None,
            entity_type_id: Optional[str] = None,
            policy_id: Optional[str] = None,
            reclamation_id: Optional[str] = None,
            request_by: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            resource_instance_id: Optional[str] = None,
            resource_reclamation_delete_id: Optional[str] = None,
            state: Optional[str] = None,
            target_time: Optional[str] = None,
            updated_at: Optional[str] = None,
            updated_by: Optional[str] = None) -> ResourceReclamationDelete
    func GetResourceReclamationDelete(ctx *Context, name string, id IDInput, state *ResourceReclamationDeleteState, opts ...ResourceOption) (*ResourceReclamationDelete, error)
    public static ResourceReclamationDelete Get(string name, Input<string> id, ResourceReclamationDeleteState? state, CustomResourceOptions? opts = null)
    public static ResourceReclamationDelete get(String name, Output<String> id, ResourceReclamationDeleteState state, CustomResourceOptions options)
    resources:  _:    type: ibm:ResourceReclamationDelete    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:
    AccountId string
    (String) IBM Cloud account ID.
    Comment string
    A descriptive comment about the deletion action.
    CreatedAt string
    (String) Creation timestamp.
    CreatedBy string
    (String) Creator identifier.
    CustomProperties Dictionary<string, string>
    (Map) Additional custom properties associated with the reclamation.
    EntityCrn string
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    EntityId string
    (String) The entity ID related to the reclamation.
    EntityTypeId string
    (String) The entity type ID.
    PolicyId string
    (String) The policy ID that triggered the reclamation.
    ReclamationId string
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    RequestBy string
    The identifier of the user who requested the deletion, if different from the authentication token.
    ResourceGroupId string
    (String) The resource group ID.
    ResourceInstanceId string
    (String) The resource instance ID related to the reclamation.
    ResourceReclamationDeleteId string
    State string
    (String) Current state of the reclamation.
    TargetTime string
    (String) Target time for reclamation retention expiration.
    UpdatedAt string
    (String) Last updated timestamp.
    UpdatedBy string
    (String) Last updater identifier.
    AccountId string
    (String) IBM Cloud account ID.
    Comment string
    A descriptive comment about the deletion action.
    CreatedAt string
    (String) Creation timestamp.
    CreatedBy string
    (String) Creator identifier.
    CustomProperties map[string]string
    (Map) Additional custom properties associated with the reclamation.
    EntityCrn string
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    EntityId string
    (String) The entity ID related to the reclamation.
    EntityTypeId string
    (String) The entity type ID.
    PolicyId string
    (String) The policy ID that triggered the reclamation.
    ReclamationId string
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    RequestBy string
    The identifier of the user who requested the deletion, if different from the authentication token.
    ResourceGroupId string
    (String) The resource group ID.
    ResourceInstanceId string
    (String) The resource instance ID related to the reclamation.
    ResourceReclamationDeleteId string
    State string
    (String) Current state of the reclamation.
    TargetTime string
    (String) Target time for reclamation retention expiration.
    UpdatedAt string
    (String) Last updated timestamp.
    UpdatedBy string
    (String) Last updater identifier.
    accountId String
    (String) IBM Cloud account ID.
    comment String
    A descriptive comment about the deletion action.
    createdAt String
    (String) Creation timestamp.
    createdBy String
    (String) Creator identifier.
    customProperties Map<String,String>
    (Map) Additional custom properties associated with the reclamation.
    entityCrn String
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    entityId String
    (String) The entity ID related to the reclamation.
    entityTypeId String
    (String) The entity type ID.
    policyId String
    (String) The policy ID that triggered the reclamation.
    reclamationId String
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    requestBy String
    The identifier of the user who requested the deletion, if different from the authentication token.
    resourceGroupId String
    (String) The resource group ID.
    resourceInstanceId String
    (String) The resource instance ID related to the reclamation.
    resourceReclamationDeleteId String
    state String
    (String) Current state of the reclamation.
    targetTime String
    (String) Target time for reclamation retention expiration.
    updatedAt String
    (String) Last updated timestamp.
    updatedBy String
    (String) Last updater identifier.
    accountId string
    (String) IBM Cloud account ID.
    comment string
    A descriptive comment about the deletion action.
    createdAt string
    (String) Creation timestamp.
    createdBy string
    (String) Creator identifier.
    customProperties {[key: string]: string}
    (Map) Additional custom properties associated with the reclamation.
    entityCrn string
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    entityId string
    (String) The entity ID related to the reclamation.
    entityTypeId string
    (String) The entity type ID.
    policyId string
    (String) The policy ID that triggered the reclamation.
    reclamationId string
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    requestBy string
    The identifier of the user who requested the deletion, if different from the authentication token.
    resourceGroupId string
    (String) The resource group ID.
    resourceInstanceId string
    (String) The resource instance ID related to the reclamation.
    resourceReclamationDeleteId string
    state string
    (String) Current state of the reclamation.
    targetTime string
    (String) Target time for reclamation retention expiration.
    updatedAt string
    (String) Last updated timestamp.
    updatedBy string
    (String) Last updater identifier.
    account_id str
    (String) IBM Cloud account ID.
    comment str
    A descriptive comment about the deletion action.
    created_at str
    (String) Creation timestamp.
    created_by str
    (String) Creator identifier.
    custom_properties Mapping[str, str]
    (Map) Additional custom properties associated with the reclamation.
    entity_crn str
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    entity_id str
    (String) The entity ID related to the reclamation.
    entity_type_id str
    (String) The entity type ID.
    policy_id str
    (String) The policy ID that triggered the reclamation.
    reclamation_id str
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    request_by str
    The identifier of the user who requested the deletion, if different from the authentication token.
    resource_group_id str
    (String) The resource group ID.
    resource_instance_id str
    (String) The resource instance ID related to the reclamation.
    resource_reclamation_delete_id str
    state str
    (String) Current state of the reclamation.
    target_time str
    (String) Target time for reclamation retention expiration.
    updated_at str
    (String) Last updated timestamp.
    updated_by str
    (String) Last updater identifier.
    accountId String
    (String) IBM Cloud account ID.
    comment String
    A descriptive comment about the deletion action.
    createdAt String
    (String) Creation timestamp.
    createdBy String
    (String) Creator identifier.
    customProperties Map<String>
    (Map) Additional custom properties associated with the reclamation.
    entityCrn String
    (String) The full Cloud Resource Name (CRN) associated with the reclamation.
    entityId String
    (String) The entity ID related to the reclamation.
    entityTypeId String
    (String) The entity type ID.
    policyId String
    (String) The policy ID that triggered the reclamation.
    reclamationId String
    The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
    requestBy String
    The identifier of the user who requested the deletion, if different from the authentication token.
    resourceGroupId String
    (String) The resource group ID.
    resourceInstanceId String
    (String) The resource instance ID related to the reclamation.
    resourceReclamationDeleteId String
    state String
    (String) Current state of the reclamation.
    targetTime String
    (String) Target time for reclamation retention expiration.
    updatedAt String
    (String) Last updated timestamp.
    updatedBy String
    (String) Last updater identifier.

    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.86.0 published on Wednesday, Dec 3, 2025 by ibm-cloud
      Meet Neo: Your AI Platform Teammate