Data Source: azurermDataShareDatasetDataLakeGen2
Use this data source to access information about an existing Data Share Data Lake Gen2 Dataset.
Example Usage
import * as cdktf from "cdktf";
/*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.provider.AzurermProvider(this, "azurerm", {
features: [{}],
});
const dataAzurermDataShareDatasetDataLakeGen2Example =
new azurerm.dataAzurermDataShareDatasetDataLakeGen2.DataAzurermDataShareDatasetDataLakeGen2(
this,
"example",
{
name: "example-dsdlg2ds",
share_id: "example-share-id",
}
);
new cdktf.TerraformOutput(this, "id", {
value: dataAzurermDataShareDatasetDataLakeGen2Example.id,
});
Arguments Reference
The following arguments are supported:
-
name
- (Required) The name of this Data Share Data Lake Gen2 Dataset. -
shareId
- (Required) The resource ID of the Data Share where this Data Share Data Lake Gen2 Dataset should be created.
Attributes Reference
In addition to the Arguments listed above - the following Attributes are exported:
-
id
- The resource ID of the Data Share Data Lake Gen2 Dataset. -
displayName
- The name of the Data Share Dataset. -
filePath
- The path of the file in the data lake file system to be shared with the receiver. -
fileSystemName
- The name of the data lake file system to be shared with the receiver. -
folderPath
- The folder path in the data lake file system to be shared with the receiver. -
storageAccountId
- The resource ID of the storage account of the data lake file system to be shared with the receiver.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Data Share Data Lake Gen2 Dataset.