azurermDiskAccess
Manages a Disk Access.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.diskAccess.DiskAccess(this, "example", {
location: "West Europe",
name: "example",
resource_group_name: "example",
});
Arguments Reference
The following arguments are supported:
-
location
- (Required) The Azure Region where the Disk Access should exist. Changing this forces a new Disk to be created. -
name
- (Required) The name which should be used for this Disk Access. Changing this forces a new Disk Access to be created. -
resourceGroupName
- (Required) The name of the Resource Group where the Disk Access should exist. Changing this forces a new Disk Access to be created.
tags
- (Optional) A mapping of tags which should be assigned to the Disk Access.
Attributes Reference
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Disk Access resource.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 30 minutes) Used when creating the Disk.read
- (Defaults to 5 minutes) Used when retrieving the Disk.update
- (Defaults to 30 minutes) Used when updating the Disk.delete
- (Defaults to 30 minutes) Used when deleting the Disk.
Import
Disk Access resource can be imported using the resourceId
, e.g.