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:
- Reclamation
Id 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.
- Request
By string - The identifier of the user who requested the deletion, if different from the authentication token.
- Resource
Reclamation stringDelete Id
- Reclamation
Id 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.
- Request
By string - The identifier of the user who requested the deletion, if different from the authentication token.
- Resource
Reclamation stringDelete Id
- reclamation
Id 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.
- request
By String - The identifier of the user who requested the deletion, if different from the authentication token.
- resource
Reclamation StringDelete Id
- reclamation
Id 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.
- request
By string - The identifier of the user who requested the deletion, if different from the authentication token.
- resource
Reclamation stringDelete Id
- 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_ strdelete_ id
- reclamation
Id 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.
- request
By String - The identifier of the user who requested the deletion, if different from the authentication token.
- resource
Reclamation StringDelete Id
Outputs
All input properties are implicitly available as output properties. Additionally, the ResourceReclamationDelete resource produces the following output properties:
- Account
Id string - (String) IBM Cloud account ID.
- Created
At string - (String) Creation timestamp.
- Created
By string - (String) Creator identifier.
- Custom
Properties Dictionary<string, string> - (Map) Additional custom properties associated with the reclamation.
- Entity
Crn string - (String) The full Cloud Resource Name (CRN) associated with the reclamation.
- Entity
Id string - (String) The entity ID related to the reclamation.
- Entity
Type stringId - (String) The entity type ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Id string - (String) The policy ID that triggered the reclamation.
- Resource
Group stringId - (String) The resource group ID.
- Resource
Instance stringId - (String) The resource instance ID related to the reclamation.
- State string
- (String) Current state of the reclamation.
- Target
Time string - (String) Target time for reclamation retention expiration.
- Updated
At string - (String) Last updated timestamp.
- Updated
By string - (String) Last updater identifier.
- Account
Id string - (String) IBM Cloud account ID.
- Created
At string - (String) Creation timestamp.
- Created
By string - (String) Creator identifier.
- Custom
Properties map[string]string - (Map) Additional custom properties associated with the reclamation.
- Entity
Crn string - (String) The full Cloud Resource Name (CRN) associated with the reclamation.
- Entity
Id string - (String) The entity ID related to the reclamation.
- Entity
Type stringId - (String) The entity type ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Id string - (String) The policy ID that triggered the reclamation.
- Resource
Group stringId - (String) The resource group ID.
- Resource
Instance stringId - (String) The resource instance ID related to the reclamation.
- State string
- (String) Current state of the reclamation.
- Target
Time string - (String) Target time for reclamation retention expiration.
- Updated
At string - (String) Last updated timestamp.
- Updated
By string - (String) Last updater identifier.
- account
Id String - (String) IBM Cloud account ID.
- created
At String - (String) Creation timestamp.
- created
By String - (String) Creator identifier.
- custom
Properties Map<String,String> - (Map) Additional custom properties associated with the reclamation.
- entity
Crn String - (String) The full Cloud Resource Name (CRN) associated with the reclamation.
- entity
Id String - (String) The entity ID related to the reclamation.
- entity
Type StringId - (String) The entity type ID.
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Id String - (String) The policy ID that triggered the reclamation.
- resource
Group StringId - (String) The resource group ID.
- resource
Instance StringId - (String) The resource instance ID related to the reclamation.
- state String
- (String) Current state of the reclamation.
- target
Time String - (String) Target time for reclamation retention expiration.
- updated
At String - (String) Last updated timestamp.
- updated
By String - (String) Last updater identifier.
- account
Id string - (String) IBM Cloud account ID.
- created
At string - (String) Creation timestamp.
- created
By string - (String) Creator identifier.
- custom
Properties {[key: string]: string} - (Map) Additional custom properties associated with the reclamation.
- entity
Crn string - (String) The full Cloud Resource Name (CRN) associated with the reclamation.
- entity
Id string - (String) The entity ID related to the reclamation.
- entity
Type stringId - (String) The entity type ID.
- id string
- The provider-assigned unique ID for this managed resource.
- policy
Id string - (String) The policy ID that triggered the reclamation.
- resource
Group stringId - (String) The resource group ID.
- resource
Instance stringId - (String) The resource instance ID related to the reclamation.
- state string
- (String) Current state of the reclamation.
- target
Time string - (String) Target time for reclamation retention expiration.
- updated
At string - (String) Last updated timestamp.
- updated
By 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_ strid - (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_ strid - (String) The resource group ID.
- resource_
instance_ strid - (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.
- account
Id String - (String) IBM Cloud account ID.
- created
At String - (String) Creation timestamp.
- created
By String - (String) Creator identifier.
- custom
Properties Map<String> - (Map) Additional custom properties associated with the reclamation.
- entity
Crn String - (String) The full Cloud Resource Name (CRN) associated with the reclamation.
- entity
Id String - (String) The entity ID related to the reclamation.
- entity
Type StringId - (String) The entity type ID.
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Id String - (String) The policy ID that triggered the reclamation.
- resource
Group StringId - (String) The resource group ID.
- resource
Instance StringId - (String) The resource instance ID related to the reclamation.
- state String
- (String) Current state of the reclamation.
- target
Time String - (String) Target time for reclamation retention expiration.
- updated
At String - (String) Last updated timestamp.
- updated
By 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) -> ResourceReclamationDeletefunc 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.
- Account
Id string - (String) IBM Cloud account ID.
- Comment string
- A descriptive comment about the deletion action.
- Created
At string - (String) Creation timestamp.
- Created
By string - (String) Creator identifier.
- Custom
Properties Dictionary<string, string> - (Map) Additional custom properties associated with the reclamation.
- Entity
Crn string - (String) The full Cloud Resource Name (CRN) associated with the reclamation.
- Entity
Id string - (String) The entity ID related to the reclamation.
- Entity
Type stringId - (String) The entity type ID.
- Policy
Id string - (String) The policy ID that triggered the reclamation.
- Reclamation
Id string - The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
- Request
By string - The identifier of the user who requested the deletion, if different from the authentication token.
- Resource
Group stringId - (String) The resource group ID.
- Resource
Instance stringId - (String) The resource instance ID related to the reclamation.
- Resource
Reclamation stringDelete Id - State string
- (String) Current state of the reclamation.
- Target
Time string - (String) Target time for reclamation retention expiration.
- Updated
At string - (String) Last updated timestamp.
- Updated
By string - (String) Last updater identifier.
- Account
Id string - (String) IBM Cloud account ID.
- Comment string
- A descriptive comment about the deletion action.
- Created
At string - (String) Creation timestamp.
- Created
By string - (String) Creator identifier.
- Custom
Properties map[string]string - (Map) Additional custom properties associated with the reclamation.
- Entity
Crn string - (String) The full Cloud Resource Name (CRN) associated with the reclamation.
- Entity
Id string - (String) The entity ID related to the reclamation.
- Entity
Type stringId - (String) The entity type ID.
- Policy
Id string - (String) The policy ID that triggered the reclamation.
- Reclamation
Id string - The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
- Request
By string - The identifier of the user who requested the deletion, if different from the authentication token.
- Resource
Group stringId - (String) The resource group ID.
- Resource
Instance stringId - (String) The resource instance ID related to the reclamation.
- Resource
Reclamation stringDelete Id - State string
- (String) Current state of the reclamation.
- Target
Time string - (String) Target time for reclamation retention expiration.
- Updated
At string - (String) Last updated timestamp.
- Updated
By string - (String) Last updater identifier.
- account
Id String - (String) IBM Cloud account ID.
- comment String
- A descriptive comment about the deletion action.
- created
At String - (String) Creation timestamp.
- created
By String - (String) Creator identifier.
- custom
Properties Map<String,String> - (Map) Additional custom properties associated with the reclamation.
- entity
Crn String - (String) The full Cloud Resource Name (CRN) associated with the reclamation.
- entity
Id String - (String) The entity ID related to the reclamation.
- entity
Type StringId - (String) The entity type ID.
- policy
Id String - (String) The policy ID that triggered the reclamation.
- reclamation
Id String - The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
- request
By String - The identifier of the user who requested the deletion, if different from the authentication token.
- resource
Group StringId - (String) The resource group ID.
- resource
Instance StringId - (String) The resource instance ID related to the reclamation.
- resource
Reclamation StringDelete Id - state String
- (String) Current state of the reclamation.
- target
Time String - (String) Target time for reclamation retention expiration.
- updated
At String - (String) Last updated timestamp.
- updated
By String - (String) Last updater identifier.
- account
Id string - (String) IBM Cloud account ID.
- comment string
- A descriptive comment about the deletion action.
- created
At string - (String) Creation timestamp.
- created
By string - (String) Creator identifier.
- custom
Properties {[key: string]: string} - (Map) Additional custom properties associated with the reclamation.
- entity
Crn string - (String) The full Cloud Resource Name (CRN) associated with the reclamation.
- entity
Id string - (String) The entity ID related to the reclamation.
- entity
Type stringId - (String) The entity type ID.
- policy
Id string - (String) The policy ID that triggered the reclamation.
- reclamation
Id string - The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
- request
By string - The identifier of the user who requested the deletion, if different from the authentication token.
- resource
Group stringId - (String) The resource group ID.
- resource
Instance stringId - (String) The resource instance ID related to the reclamation.
- resource
Reclamation stringDelete Id - state string
- (String) Current state of the reclamation.
- target
Time string - (String) Target time for reclamation retention expiration.
- updated
At string - (String) Last updated timestamp.
- updated
By 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_ strid - (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_ strid - (String) The resource group ID.
- resource_
instance_ strid - (String) The resource instance ID related to the reclamation.
- resource_
reclamation_ strdelete_ id - 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.
- account
Id String - (String) IBM Cloud account ID.
- comment String
- A descriptive comment about the deletion action.
- created
At String - (String) Creation timestamp.
- created
By String - (String) Creator identifier.
- custom
Properties Map<String> - (Map) Additional custom properties associated with the reclamation.
- entity
Crn String - (String) The full Cloud Resource Name (CRN) associated with the reclamation.
- entity
Id String - (String) The entity ID related to the reclamation.
- entity
Type StringId - (String) The entity type ID.
- policy
Id String - (String) The policy ID that triggered the reclamation.
- reclamation
Id String - The unique ID of the reclamation resource to permanently delete. This is the reclamation ID, not the resource instance ID.
- request
By String - The identifier of the user who requested the deletion, if different from the authentication token.
- resource
Group StringId - (String) The resource group ID.
- resource
Instance StringId - (String) The resource instance ID related to the reclamation.
- resource
Reclamation StringDelete Id - state String
- (String) Current state of the reclamation.
- target
Time String - (String) Target time for reclamation retention expiration.
- updated
At String - (String) Last updated timestamp.
- updated
By String - (String) Last updater identifier.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
