Skip to content

Data Source: azurermDataShareDatasetBlobStorage

Use this data source to access information about an existing Data Share Blob Storage 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 dataAzurermDataShareDatasetBlobStorageExample =
  new azurerm.dataAzurermDataShareDatasetBlobStorage.DataAzurermDataShareDatasetBlobStorage(
    this,
    "example",
    {
      data_share_id: "example-share-id",
      name: "example-dsbsds",
    }
  );
new cdktf.TerraformOutput(this, "id", {
  value: dataAzurermDataShareDatasetBlobStorageExample.id,
});

Arguments Reference

The following arguments are supported:

  • name - (Required) The name of this Data Share Blob Storage Dataset.

  • dataShareId - (Required) The ID of the Data Share in which this Data Share Blob Storage Dataset should be created.

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the Data Share Blob Storage Dataset.

  • containerName - The name of the storage account container to be shared with the receiver.

  • storageAccount - A storageAccount block as defined below.

  • filePath - The path of the file in the storage container to be shared with the receiver.

  • folderPath - The folder path of the file in the storage container to be shared with the receiver.

  • displayName - The name of the Data Share Dataset.


A storageAccount block supports the following:

  • name - The name of the storage account to be shared with the receiver.

  • resourceGroupName - The resource group name of the storage account to be shared with the receiver.

  • subscriptionId - The subscription id of the storage account 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 Blob Storage Dataset.