» Data Source: azurerm_shared_image_gallery
Use this data source to access information about an existing Shared Image Gallery.
NOTE Shared Image Galleries are currently in Public Preview. You can find more information, including how to register for the Public Preview here.
» Example Usage
data "azurerm_shared_image_gallery" "test" {
name = "my-image-gallery"
resource_group_name = "example-resources"
}
» Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the Shared Image Gallery. -
resource_group_name
- (Required) The name of the Resource Group in which the Shared Image Gallery exists.
» Attributes Reference
The following attributes are exported:
-
id
- The Resource ID of the Shared Image Gallery. -
description
- A description for the Shared Image Gallery. -
unique_name
- The unique name assigned to the Shared Image Gallery. -
tags
- A mapping of tags which are assigned to the Shared Image Gallery.