1. Packages
  2. Azure Native v1
  3. API Docs
  4. compute
  5. getGallery
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.compute.getGallery

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Retrieves information about a Shared Image Gallery. API Version: 2020-09-30.

    Using getGallery

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getGallery(args: GetGalleryArgs, opts?: InvokeOptions): Promise<GetGalleryResult>
    function getGalleryOutput(args: GetGalleryOutputArgs, opts?: InvokeOptions): Output<GetGalleryResult>
    def get_gallery(gallery_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    select: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetGalleryResult
    def get_gallery_output(gallery_name: Optional[pulumi.Input[str]] = None,
                    resource_group_name: Optional[pulumi.Input[str]] = None,
                    select: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetGalleryResult]
    func LookupGallery(ctx *Context, args *LookupGalleryArgs, opts ...InvokeOption) (*LookupGalleryResult, error)
    func LookupGalleryOutput(ctx *Context, args *LookupGalleryOutputArgs, opts ...InvokeOption) LookupGalleryResultOutput

    > Note: This function is named LookupGallery in the Go SDK.

    public static class GetGallery 
    {
        public static Task<GetGalleryResult> InvokeAsync(GetGalleryArgs args, InvokeOptions? opts = null)
        public static Output<GetGalleryResult> Invoke(GetGalleryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGalleryResult> getGallery(GetGalleryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:compute:getGallery
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GalleryName string
    The name of the Shared Image Gallery.
    ResourceGroupName string
    The name of the resource group.
    Select string
    The select expression to apply on the operation.
    GalleryName string
    The name of the Shared Image Gallery.
    ResourceGroupName string
    The name of the resource group.
    Select string
    The select expression to apply on the operation.
    galleryName String
    The name of the Shared Image Gallery.
    resourceGroupName String
    The name of the resource group.
    select String
    The select expression to apply on the operation.
    galleryName string
    The name of the Shared Image Gallery.
    resourceGroupName string
    The name of the resource group.
    select string
    The select expression to apply on the operation.
    gallery_name str
    The name of the Shared Image Gallery.
    resource_group_name str
    The name of the resource group.
    select str
    The select expression to apply on the operation.
    galleryName String
    The name of the Shared Image Gallery.
    resourceGroupName String
    The name of the resource group.
    select String
    The select expression to apply on the operation.

    getGallery Result

    The following output properties are available:

    Id string
    Resource Id
    Location string
    Resource location
    Name string
    Resource name
    ProvisioningState string
    The provisioning state, which only appears in the response.
    Type string
    Resource type
    Description string
    The description of this Shared Image Gallery resource. This property is updatable.
    Identifier Pulumi.AzureNative.Compute.Outputs.GalleryIdentifierResponse
    Describes the gallery unique name.
    SharingProfile Pulumi.AzureNative.Compute.Outputs.SharingProfileResponse
    Profile for gallery sharing to subscription or tenant
    Tags Dictionary<string, string>
    Resource tags
    Id string
    Resource Id
    Location string
    Resource location
    Name string
    Resource name
    ProvisioningState string
    The provisioning state, which only appears in the response.
    Type string
    Resource type
    Description string
    The description of this Shared Image Gallery resource. This property is updatable.
    Identifier GalleryIdentifierResponse
    Describes the gallery unique name.
    SharingProfile SharingProfileResponse
    Profile for gallery sharing to subscription or tenant
    Tags map[string]string
    Resource tags
    id String
    Resource Id
    location String
    Resource location
    name String
    Resource name
    provisioningState String
    The provisioning state, which only appears in the response.
    type String
    Resource type
    description String
    The description of this Shared Image Gallery resource. This property is updatable.
    identifier GalleryIdentifierResponse
    Describes the gallery unique name.
    sharingProfile SharingProfileResponse
    Profile for gallery sharing to subscription or tenant
    tags Map<String,String>
    Resource tags
    id string
    Resource Id
    location string
    Resource location
    name string
    Resource name
    provisioningState string
    The provisioning state, which only appears in the response.
    type string
    Resource type
    description string
    The description of this Shared Image Gallery resource. This property is updatable.
    identifier GalleryIdentifierResponse
    Describes the gallery unique name.
    sharingProfile SharingProfileResponse
    Profile for gallery sharing to subscription or tenant
    tags {[key: string]: string}
    Resource tags
    id str
    Resource Id
    location str
    Resource location
    name str
    Resource name
    provisioning_state str
    The provisioning state, which only appears in the response.
    type str
    Resource type
    description str
    The description of this Shared Image Gallery resource. This property is updatable.
    identifier GalleryIdentifierResponse
    Describes the gallery unique name.
    sharing_profile SharingProfileResponse
    Profile for gallery sharing to subscription or tenant
    tags Mapping[str, str]
    Resource tags
    id String
    Resource Id
    location String
    Resource location
    name String
    Resource name
    provisioningState String
    The provisioning state, which only appears in the response.
    type String
    Resource type
    description String
    The description of this Shared Image Gallery resource. This property is updatable.
    identifier Property Map
    Describes the gallery unique name.
    sharingProfile Property Map
    Profile for gallery sharing to subscription or tenant
    tags Map<String>
    Resource tags

    Supporting Types

    GalleryIdentifierResponse

    UniqueName string
    The unique name of the Shared Image Gallery. This name is generated automatically by Azure.
    UniqueName string
    The unique name of the Shared Image Gallery. This name is generated automatically by Azure.
    uniqueName String
    The unique name of the Shared Image Gallery. This name is generated automatically by Azure.
    uniqueName string
    The unique name of the Shared Image Gallery. This name is generated automatically by Azure.
    unique_name str
    The unique name of the Shared Image Gallery. This name is generated automatically by Azure.
    uniqueName String
    The unique name of the Shared Image Gallery. This name is generated automatically by Azure.

    SharingProfileGroupResponse

    Ids List<string>
    A list of subscription/tenant ids the gallery is aimed to be shared to.
    Type string
    This property allows you to specify the type of sharing group. Possible values are: Subscriptions AADTenants
    Ids []string
    A list of subscription/tenant ids the gallery is aimed to be shared to.
    Type string
    This property allows you to specify the type of sharing group. Possible values are: Subscriptions AADTenants
    ids List<String>
    A list of subscription/tenant ids the gallery is aimed to be shared to.
    type String
    This property allows you to specify the type of sharing group. Possible values are: Subscriptions AADTenants
    ids string[]
    A list of subscription/tenant ids the gallery is aimed to be shared to.
    type string
    This property allows you to specify the type of sharing group. Possible values are: Subscriptions AADTenants
    ids Sequence[str]
    A list of subscription/tenant ids the gallery is aimed to be shared to.
    type str
    This property allows you to specify the type of sharing group. Possible values are: Subscriptions AADTenants
    ids List<String>
    A list of subscription/tenant ids the gallery is aimed to be shared to.
    type String
    This property allows you to specify the type of sharing group. Possible values are: Subscriptions AADTenants

    SharingProfileResponse

    Groups List<Pulumi.AzureNative.Compute.Inputs.SharingProfileGroupResponse>
    A list of sharing profile groups.
    Permissions string
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups
    Groups []SharingProfileGroupResponse
    A list of sharing profile groups.
    Permissions string
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups
    groups List<SharingProfileGroupResponse>
    A list of sharing profile groups.
    permissions String
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups
    groups SharingProfileGroupResponse[]
    A list of sharing profile groups.
    permissions string
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups
    groups Sequence[SharingProfileGroupResponse]
    A list of sharing profile groups.
    permissions str
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups
    groups List<Property Map>
    A list of sharing profile groups.
    permissions String
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi