Data Source: azurermStorageSyncGroup
Use this data source to access information about an existing Storage Sync Group.
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 dataAzurermStorageSyncGroupExample =
new azurerm.dataAzurermStorageSyncGroup.DataAzurermStorageSyncGroup(
this,
"example",
{
name: "existing-ss-group",
storage_sync_id: "existing-ss-id",
}
);
new cdktf.TerraformOutput(this, "id", {
value: dataAzurermStorageSyncGroupExample.id,
});
Arguments Reference
The following arguments are supported:
-
name
- (Required) The name of this Storage Sync Group. -
storageSyncId
- (Required) The resource ID of the Storage Sync where this Storage Sync Group is.
Attributes Reference
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the Storage Sync Group.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Storage Sync Group.