Data Source: azurermSharedImageGallery
Use this data source to access information about an existing Shared Image Gallery.
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.dataAzurermSharedImageGallery.DataAzurermSharedImageGallery(
this,
"example",
{
name: "my-image-gallery",
resource_group_name: "example-resources",
}
);
Argument Reference
The following arguments are supported:
-
name
- The name of the Shared Image Gallery. -
resourceGroupName
- The name of the Resource Group in which the Shared Image Gallery exists.
Attributes Reference
The following attributes are exported:
-
id
- The ID of the Shared Image Gallery. -
description
- A description for the Shared Image Gallery. -
uniqueName
- The unique name assigned to the Shared Image Gallery. -
tags
- A mapping of tags which are assigned to the Shared Image Gallery.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Shared Image Gallery.