1. Packages
  2. Azure Native
  3. API Docs
  4. compute
  5. Gallery
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.compute.Gallery

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Specifies information about the Shared Image Gallery that you want to create or update. Azure REST API version: 2022-03-03. Prior API version in Azure Native 1.x: 2020-09-30.

    Other available API versions: 2022-08-03, 2023-07-03.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var gallery = new AzureNative.Compute.Gallery("gallery", new()
        {
            Description = "This is the gallery description.",
            GalleryName = "myGalleryName",
            Location = "West US",
            ResourceGroupName = "myResourceGroup",
            SharingProfile = new AzureNative.Compute.Inputs.SharingProfileArgs
            {
                CommunityGalleryInfo = new AzureNative.Compute.Inputs.CommunityGalleryInfoArgs
                {
                    Eula = "eula",
                    PublicNamePrefix = "PirPublic",
                    PublisherContact = "pir@microsoft.com",
                    PublisherUri = "uri",
                },
                Permissions = AzureNative.Compute.GallerySharingPermissionTypes.Community,
            },
        });
    
    });
    
    package main
    
    import (
    	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := compute.NewGallery(ctx, "gallery", &compute.GalleryArgs{
    			Description:       pulumi.String("This is the gallery description."),
    			GalleryName:       pulumi.String("myGalleryName"),
    			Location:          pulumi.String("West US"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			SharingProfile: &compute.SharingProfileArgs{
    				CommunityGalleryInfo: &compute.CommunityGalleryInfoArgs{
    					Eula:             pulumi.String("eula"),
    					PublicNamePrefix: pulumi.String("PirPublic"),
    					PublisherContact: pulumi.String("pir@microsoft.com"),
    					PublisherUri:     pulumi.String("uri"),
    				},
    				Permissions: pulumi.String(compute.GallerySharingPermissionTypesCommunity),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.compute.Gallery;
    import com.pulumi.azurenative.compute.GalleryArgs;
    import com.pulumi.azurenative.compute.inputs.SharingProfileArgs;
    import com.pulumi.azurenative.compute.inputs.CommunityGalleryInfoArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var gallery = new Gallery("gallery", GalleryArgs.builder()
                .description("This is the gallery description.")
                .galleryName("myGalleryName")
                .location("West US")
                .resourceGroupName("myResourceGroup")
                .sharingProfile(SharingProfileArgs.builder()
                    .communityGalleryInfo(CommunityGalleryInfoArgs.builder()
                        .eula("eula")
                        .publicNamePrefix("PirPublic")
                        .publisherContact("pir@microsoft.com")
                        .publisherUri("uri")
                        .build())
                    .permissions("Community")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    gallery = azure_native.compute.Gallery("gallery",
        description="This is the gallery description.",
        gallery_name="myGalleryName",
        location="West US",
        resource_group_name="myResourceGroup",
        sharing_profile={
            "community_gallery_info": {
                "eula": "eula",
                "public_name_prefix": "PirPublic",
                "publisher_contact": "pir@microsoft.com",
                "publisher_uri": "uri",
            },
            "permissions": azure_native.compute.GallerySharingPermissionTypes.COMMUNITY,
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const gallery = new azure_native.compute.Gallery("gallery", {
        description: "This is the gallery description.",
        galleryName: "myGalleryName",
        location: "West US",
        resourceGroupName: "myResourceGroup",
        sharingProfile: {
            communityGalleryInfo: {
                eula: "eula",
                publicNamePrefix: "PirPublic",
                publisherContact: "pir@microsoft.com",
                publisherUri: "uri",
            },
            permissions: azure_native.compute.GallerySharingPermissionTypes.Community,
        },
    });
    
    resources:
      gallery:
        type: azure-native:compute:Gallery
        properties:
          description: This is the gallery description.
          galleryName: myGalleryName
          location: West US
          resourceGroupName: myResourceGroup
          sharingProfile:
            communityGalleryInfo:
              eula: eula
              publicNamePrefix: PirPublic
              publisherContact: pir@microsoft.com
              publisherUri: uri
            permissions: Community
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var gallery = new AzureNative.Compute.Gallery("gallery", new()
        {
            Description = "This is the gallery description.",
            GalleryName = "myGalleryName",
            Location = "West US",
            ResourceGroupName = "myResourceGroup",
            SharingProfile = new AzureNative.Compute.Inputs.SharingProfileArgs
            {
                Permissions = AzureNative.Compute.GallerySharingPermissionTypes.Groups,
            },
        });
    
    });
    
    package main
    
    import (
    	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := compute.NewGallery(ctx, "gallery", &compute.GalleryArgs{
    			Description:       pulumi.String("This is the gallery description."),
    			GalleryName:       pulumi.String("myGalleryName"),
    			Location:          pulumi.String("West US"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			SharingProfile: &compute.SharingProfileArgs{
    				Permissions: pulumi.String(compute.GallerySharingPermissionTypesGroups),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.compute.Gallery;
    import com.pulumi.azurenative.compute.GalleryArgs;
    import com.pulumi.azurenative.compute.inputs.SharingProfileArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var gallery = new Gallery("gallery", GalleryArgs.builder()
                .description("This is the gallery description.")
                .galleryName("myGalleryName")
                .location("West US")
                .resourceGroupName("myResourceGroup")
                .sharingProfile(SharingProfileArgs.builder()
                    .permissions("Groups")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    gallery = azure_native.compute.Gallery("gallery",
        description="This is the gallery description.",
        gallery_name="myGalleryName",
        location="West US",
        resource_group_name="myResourceGroup",
        sharing_profile={
            "permissions": azure_native.compute.GallerySharingPermissionTypes.GROUPS,
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const gallery = new azure_native.compute.Gallery("gallery", {
        description: "This is the gallery description.",
        galleryName: "myGalleryName",
        location: "West US",
        resourceGroupName: "myResourceGroup",
        sharingProfile: {
            permissions: azure_native.compute.GallerySharingPermissionTypes.Groups,
        },
    });
    
    resources:
      gallery:
        type: azure-native:compute:Gallery
        properties:
          description: This is the gallery description.
          galleryName: myGalleryName
          location: West US
          resourceGroupName: myResourceGroup
          sharingProfile:
            permissions: Groups
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var gallery = new AzureNative.Compute.Gallery("gallery", new()
        {
            Description = "This is the gallery description.",
            GalleryName = "myGalleryName",
            Location = "West US",
            ResourceGroupName = "myResourceGroup",
            SoftDeletePolicy = new AzureNative.Compute.Inputs.SoftDeletePolicyArgs
            {
                IsSoftDeleteEnabled = true,
            },
        });
    
    });
    
    package main
    
    import (
    	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := compute.NewGallery(ctx, "gallery", &compute.GalleryArgs{
    			Description:       pulumi.String("This is the gallery description."),
    			GalleryName:       pulumi.String("myGalleryName"),
    			Location:          pulumi.String("West US"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			SoftDeletePolicy: &compute.SoftDeletePolicyArgs{
    				IsSoftDeleteEnabled: pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.compute.Gallery;
    import com.pulumi.azurenative.compute.GalleryArgs;
    import com.pulumi.azurenative.compute.inputs.SoftDeletePolicyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var gallery = new Gallery("gallery", GalleryArgs.builder()
                .description("This is the gallery description.")
                .galleryName("myGalleryName")
                .location("West US")
                .resourceGroupName("myResourceGroup")
                .softDeletePolicy(SoftDeletePolicyArgs.builder()
                    .isSoftDeleteEnabled(true)
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    gallery = azure_native.compute.Gallery("gallery",
        description="This is the gallery description.",
        gallery_name="myGalleryName",
        location="West US",
        resource_group_name="myResourceGroup",
        soft_delete_policy={
            "is_soft_delete_enabled": True,
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const gallery = new azure_native.compute.Gallery("gallery", {
        description: "This is the gallery description.",
        galleryName: "myGalleryName",
        location: "West US",
        resourceGroupName: "myResourceGroup",
        softDeletePolicy: {
            isSoftDeleteEnabled: true,
        },
    });
    
    resources:
      gallery:
        type: azure-native:compute:Gallery
        properties:
          description: This is the gallery description.
          galleryName: myGalleryName
          location: West US
          resourceGroupName: myResourceGroup
          softDeletePolicy:
            isSoftDeleteEnabled: true
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var gallery = new AzureNative.Compute.Gallery("gallery", new()
        {
            Description = "This is the gallery description.",
            GalleryName = "myGalleryName",
            Location = "West US",
            ResourceGroupName = "myResourceGroup",
        });
    
    });
    
    package main
    
    import (
    	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := compute.NewGallery(ctx, "gallery", &compute.GalleryArgs{
    			Description:       pulumi.String("This is the gallery description."),
    			GalleryName:       pulumi.String("myGalleryName"),
    			Location:          pulumi.String("West US"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.compute.Gallery;
    import com.pulumi.azurenative.compute.GalleryArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var gallery = new Gallery("gallery", GalleryArgs.builder()
                .description("This is the gallery description.")
                .galleryName("myGalleryName")
                .location("West US")
                .resourceGroupName("myResourceGroup")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    gallery = azure_native.compute.Gallery("gallery",
        description="This is the gallery description.",
        gallery_name="myGalleryName",
        location="West US",
        resource_group_name="myResourceGroup")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const gallery = new azure_native.compute.Gallery("gallery", {
        description: "This is the gallery description.",
        galleryName: "myGalleryName",
        location: "West US",
        resourceGroupName: "myResourceGroup",
    });
    
    resources:
      gallery:
        type: azure-native:compute:Gallery
        properties:
          description: This is the gallery description.
          galleryName: myGalleryName
          location: West US
          resourceGroupName: myResourceGroup
    

    Create Gallery Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Gallery(name: string, args: GalleryArgs, opts?: CustomResourceOptions);
    @overload
    def Gallery(resource_name: str,
                args: GalleryArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Gallery(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_group_name: Optional[str] = None,
                description: Optional[str] = None,
                gallery_name: Optional[str] = None,
                location: Optional[str] = None,
                sharing_profile: Optional[SharingProfileArgs] = None,
                soft_delete_policy: Optional[SoftDeletePolicyArgs] = None,
                tags: Optional[Mapping[str, str]] = None)
    func NewGallery(ctx *Context, name string, args GalleryArgs, opts ...ResourceOption) (*Gallery, error)
    public Gallery(string name, GalleryArgs args, CustomResourceOptions? opts = null)
    public Gallery(String name, GalleryArgs args)
    public Gallery(String name, GalleryArgs args, CustomResourceOptions options)
    
    type: azure-native:compute:Gallery
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GalleryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GalleryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GalleryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GalleryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GalleryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var galleryResource = new AzureNative.Compute.Gallery("galleryResource", new()
    {
        ResourceGroupName = "string",
        Description = "string",
        GalleryName = "string",
        Location = "string",
        SharingProfile = new AzureNative.Compute.Inputs.SharingProfileArgs
        {
            CommunityGalleryInfo = new AzureNative.Compute.Inputs.CommunityGalleryInfoArgs
            {
                Eula = "string",
                PublicNamePrefix = "string",
                PublisherContact = "string",
                PublisherUri = "string",
            },
            Permissions = "string",
        },
        SoftDeletePolicy = new AzureNative.Compute.Inputs.SoftDeletePolicyArgs
        {
            IsSoftDeleteEnabled = false,
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := compute.NewGallery(ctx, "galleryResource", &compute.GalleryArgs{
    	ResourceGroupName: pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	GalleryName:       pulumi.String("string"),
    	Location:          pulumi.String("string"),
    	SharingProfile: &compute.SharingProfileArgs{
    		CommunityGalleryInfo: &compute.CommunityGalleryInfoArgs{
    			Eula:             pulumi.String("string"),
    			PublicNamePrefix: pulumi.String("string"),
    			PublisherContact: pulumi.String("string"),
    			PublisherUri:     pulumi.String("string"),
    		},
    		Permissions: pulumi.String("string"),
    	},
    	SoftDeletePolicy: &compute.SoftDeletePolicyArgs{
    		IsSoftDeleteEnabled: pulumi.Bool(false),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var galleryResource = new Gallery("galleryResource", GalleryArgs.builder()
        .resourceGroupName("string")
        .description("string")
        .galleryName("string")
        .location("string")
        .sharingProfile(SharingProfileArgs.builder()
            .communityGalleryInfo(CommunityGalleryInfoArgs.builder()
                .eula("string")
                .publicNamePrefix("string")
                .publisherContact("string")
                .publisherUri("string")
                .build())
            .permissions("string")
            .build())
        .softDeletePolicy(SoftDeletePolicyArgs.builder()
            .isSoftDeleteEnabled(false)
            .build())
        .tags(Map.of("string", "string"))
        .build());
    
    gallery_resource = azure_native.compute.Gallery("galleryResource",
        resource_group_name="string",
        description="string",
        gallery_name="string",
        location="string",
        sharing_profile={
            "community_gallery_info": {
                "eula": "string",
                "public_name_prefix": "string",
                "publisher_contact": "string",
                "publisher_uri": "string",
            },
            "permissions": "string",
        },
        soft_delete_policy={
            "is_soft_delete_enabled": False,
        },
        tags={
            "string": "string",
        })
    
    const galleryResource = new azure_native.compute.Gallery("galleryResource", {
        resourceGroupName: "string",
        description: "string",
        galleryName: "string",
        location: "string",
        sharingProfile: {
            communityGalleryInfo: {
                eula: "string",
                publicNamePrefix: "string",
                publisherContact: "string",
                publisherUri: "string",
            },
            permissions: "string",
        },
        softDeletePolicy: {
            isSoftDeleteEnabled: false,
        },
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:compute:Gallery
    properties:
        description: string
        galleryName: string
        location: string
        resourceGroupName: string
        sharingProfile:
            communityGalleryInfo:
                eula: string
                publicNamePrefix: string
                publisherContact: string
                publisherUri: string
            permissions: string
        softDeletePolicy:
            isSoftDeleteEnabled: false
        tags:
            string: string
    

    Gallery Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Gallery resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group.
    Description string
    The description of this Shared Image Gallery resource. This property is updatable.
    GalleryName string
    The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.
    Location string
    Resource location
    SharingProfile Pulumi.AzureNative.Compute.Inputs.SharingProfile
    Profile for gallery sharing to subscription or tenant
    SoftDeletePolicy Pulumi.AzureNative.Compute.Inputs.SoftDeletePolicy
    Contains information about the soft deletion policy of the gallery.
    Tags Dictionary<string, string>
    Resource tags
    ResourceGroupName string
    The name of the resource group.
    Description string
    The description of this Shared Image Gallery resource. This property is updatable.
    GalleryName string
    The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.
    Location string
    Resource location
    SharingProfile SharingProfileArgs
    Profile for gallery sharing to subscription or tenant
    SoftDeletePolicy SoftDeletePolicyArgs
    Contains information about the soft deletion policy of the gallery.
    Tags map[string]string
    Resource tags
    resourceGroupName String
    The name of the resource group.
    description String
    The description of this Shared Image Gallery resource. This property is updatable.
    galleryName String
    The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.
    location String
    Resource location
    sharingProfile SharingProfile
    Profile for gallery sharing to subscription or tenant
    softDeletePolicy SoftDeletePolicy
    Contains information about the soft deletion policy of the gallery.
    tags Map<String,String>
    Resource tags
    resourceGroupName string
    The name of the resource group.
    description string
    The description of this Shared Image Gallery resource. This property is updatable.
    galleryName string
    The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.
    location string
    Resource location
    sharingProfile SharingProfile
    Profile for gallery sharing to subscription or tenant
    softDeletePolicy SoftDeletePolicy
    Contains information about the soft deletion policy of the gallery.
    tags {[key: string]: string}
    Resource tags
    resource_group_name str
    The name of the resource group.
    description str
    The description of this Shared Image Gallery resource. This property is updatable.
    gallery_name str
    The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.
    location str
    Resource location
    sharing_profile SharingProfileArgs
    Profile for gallery sharing to subscription or tenant
    soft_delete_policy SoftDeletePolicyArgs
    Contains information about the soft deletion policy of the gallery.
    tags Mapping[str, str]
    Resource tags
    resourceGroupName String
    The name of the resource group.
    description String
    The description of this Shared Image Gallery resource. This property is updatable.
    galleryName String
    The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.
    location String
    Resource location
    sharingProfile Property Map
    Profile for gallery sharing to subscription or tenant
    softDeletePolicy Property Map
    Contains information about the soft deletion policy of the gallery.
    tags Map<String>
    Resource tags

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Gallery resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name
    ProvisioningState string
    The provisioning state, which only appears in the response.
    SharingStatus Pulumi.AzureNative.Compute.Outputs.SharingStatusResponse
    Sharing status of current gallery.
    Type string
    Resource type
    Identifier Pulumi.AzureNative.Compute.Outputs.GalleryIdentifierResponse
    Describes the gallery unique name.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name
    ProvisioningState string
    The provisioning state, which only appears in the response.
    SharingStatus SharingStatusResponse
    Sharing status of current gallery.
    Type string
    Resource type
    Identifier GalleryIdentifierResponse
    Describes the gallery unique name.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name
    provisioningState String
    The provisioning state, which only appears in the response.
    sharingStatus SharingStatusResponse
    Sharing status of current gallery.
    type String
    Resource type
    identifier GalleryIdentifierResponse
    Describes the gallery unique name.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name
    provisioningState string
    The provisioning state, which only appears in the response.
    sharingStatus SharingStatusResponse
    Sharing status of current gallery.
    type string
    Resource type
    identifier GalleryIdentifierResponse
    Describes the gallery unique name.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name
    provisioning_state str
    The provisioning state, which only appears in the response.
    sharing_status SharingStatusResponse
    Sharing status of current gallery.
    type str
    Resource type
    identifier GalleryIdentifierResponse
    Describes the gallery unique name.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name
    provisioningState String
    The provisioning state, which only appears in the response.
    sharingStatus Property Map
    Sharing status of current gallery.
    type String
    Resource type
    identifier Property Map
    Describes the gallery unique name.

    Supporting Types

    CommunityGalleryInfo, CommunityGalleryInfoArgs

    Eula string
    End-user license agreement for community gallery image.
    PublicNamePrefix string
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    PublisherContact string
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    PublisherUri string
    The link to the publisher website. Visible to all users.
    Eula string
    End-user license agreement for community gallery image.
    PublicNamePrefix string
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    PublisherContact string
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    PublisherUri string
    The link to the publisher website. Visible to all users.
    eula String
    End-user license agreement for community gallery image.
    publicNamePrefix String
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    publisherContact String
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    publisherUri String
    The link to the publisher website. Visible to all users.
    eula string
    End-user license agreement for community gallery image.
    publicNamePrefix string
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    publisherContact string
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    publisherUri string
    The link to the publisher website. Visible to all users.
    eula str
    End-user license agreement for community gallery image.
    public_name_prefix str
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    publisher_contact str
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    publisher_uri str
    The link to the publisher website. Visible to all users.
    eula String
    End-user license agreement for community gallery image.
    publicNamePrefix String
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    publisherContact String
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    publisherUri String
    The link to the publisher website. Visible to all users.

    CommunityGalleryInfoResponse, CommunityGalleryInfoResponseArgs

    CommunityGalleryEnabled bool
    Contains info about whether community gallery sharing is enabled.
    PublicNames List<string>
    Community gallery public name list.
    Eula string
    End-user license agreement for community gallery image.
    PublicNamePrefix string
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    PublisherContact string
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    PublisherUri string
    The link to the publisher website. Visible to all users.
    CommunityGalleryEnabled bool
    Contains info about whether community gallery sharing is enabled.
    PublicNames []string
    Community gallery public name list.
    Eula string
    End-user license agreement for community gallery image.
    PublicNamePrefix string
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    PublisherContact string
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    PublisherUri string
    The link to the publisher website. Visible to all users.
    communityGalleryEnabled Boolean
    Contains info about whether community gallery sharing is enabled.
    publicNames List<String>
    Community gallery public name list.
    eula String
    End-user license agreement for community gallery image.
    publicNamePrefix String
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    publisherContact String
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    publisherUri String
    The link to the publisher website. Visible to all users.
    communityGalleryEnabled boolean
    Contains info about whether community gallery sharing is enabled.
    publicNames string[]
    Community gallery public name list.
    eula string
    End-user license agreement for community gallery image.
    publicNamePrefix string
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    publisherContact string
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    publisherUri string
    The link to the publisher website. Visible to all users.
    community_gallery_enabled bool
    Contains info about whether community gallery sharing is enabled.
    public_names Sequence[str]
    Community gallery public name list.
    eula str
    End-user license agreement for community gallery image.
    public_name_prefix str
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    publisher_contact str
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    publisher_uri str
    The link to the publisher website. Visible to all users.
    communityGalleryEnabled Boolean
    Contains info about whether community gallery sharing is enabled.
    publicNames List<String>
    Community gallery public name list.
    eula String
    End-user license agreement for community gallery image.
    publicNamePrefix String
    The prefix of the gallery name that will be displayed publicly. Visible to all users.
    publisherContact String
    Community gallery publisher support email. The email address of the publisher. Visible to all users.
    publisherUri String
    The link to the publisher website. Visible to all users.

    GalleryIdentifierResponse, GalleryIdentifierResponseArgs

    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.

    GallerySharingPermissionTypes, GallerySharingPermissionTypesArgs

    Private
    Private
    Groups
    Groups
    Community
    Community
    GallerySharingPermissionTypesPrivate
    Private
    GallerySharingPermissionTypesGroups
    Groups
    GallerySharingPermissionTypesCommunity
    Community
    Private
    Private
    Groups
    Groups
    Community
    Community
    Private
    Private
    Groups
    Groups
    Community
    Community
    PRIVATE
    Private
    GROUPS
    Groups
    COMMUNITY
    Community
    "Private"
    Private
    "Groups"
    Groups
    "Community"
    Community

    RegionalSharingStatusResponse, RegionalSharingStatusResponseArgs

    State string
    Gallery sharing state in current region
    Details string
    Details of gallery regional sharing failure.
    Region string
    Region name
    State string
    Gallery sharing state in current region
    Details string
    Details of gallery regional sharing failure.
    Region string
    Region name
    state String
    Gallery sharing state in current region
    details String
    Details of gallery regional sharing failure.
    region String
    Region name
    state string
    Gallery sharing state in current region
    details string
    Details of gallery regional sharing failure.
    region string
    Region name
    state str
    Gallery sharing state in current region
    details str
    Details of gallery regional sharing failure.
    region str
    Region name
    state String
    Gallery sharing state in current region
    details String
    Details of gallery regional sharing failure.
    region String
    Region name

    SharingProfile, SharingProfileArgs

    CommunityGalleryInfo Pulumi.AzureNative.Compute.Inputs.CommunityGalleryInfo
    Information of community gallery if current gallery is shared to community.
    Permissions string | Pulumi.AzureNative.Compute.GallerySharingPermissionTypes
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community
    CommunityGalleryInfo CommunityGalleryInfo
    Information of community gallery if current gallery is shared to community.
    Permissions string | GallerySharingPermissionTypes
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community
    communityGalleryInfo CommunityGalleryInfo
    Information of community gallery if current gallery is shared to community.
    permissions String | GallerySharingPermissionTypes
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community
    communityGalleryInfo CommunityGalleryInfo
    Information of community gallery if current gallery is shared to community.
    permissions string | GallerySharingPermissionTypes
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community
    community_gallery_info CommunityGalleryInfo
    Information of community gallery if current gallery is shared to community.
    permissions str | GallerySharingPermissionTypes
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community
    communityGalleryInfo Property Map
    Information of community gallery if current gallery is shared to community.
    permissions String | "Private" | "Groups" | "Community"
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community

    SharingProfileGroupResponse, SharingProfileGroupResponseArgs

    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, SharingProfileResponseArgs

    Groups List<Pulumi.AzureNative.Compute.Inputs.SharingProfileGroupResponse>
    A list of sharing profile groups.
    CommunityGalleryInfo Pulumi.AzureNative.Compute.Inputs.CommunityGalleryInfoResponse
    Information of community gallery if current gallery is shared to community.
    Permissions string
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community
    Groups []SharingProfileGroupResponse
    A list of sharing profile groups.
    CommunityGalleryInfo CommunityGalleryInfoResponse
    Information of community gallery if current gallery is shared to community.
    Permissions string
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community
    groups List<SharingProfileGroupResponse>
    A list of sharing profile groups.
    communityGalleryInfo CommunityGalleryInfoResponse
    Information of community gallery if current gallery is shared to community.
    permissions String
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community
    groups SharingProfileGroupResponse[]
    A list of sharing profile groups.
    communityGalleryInfo CommunityGalleryInfoResponse
    Information of community gallery if current gallery is shared to community.
    permissions string
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community
    groups Sequence[SharingProfileGroupResponse]
    A list of sharing profile groups.
    community_gallery_info CommunityGalleryInfoResponse
    Information of community gallery if current gallery is shared to community.
    permissions str
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community
    groups List<Property Map>
    A list of sharing profile groups.
    communityGalleryInfo Property Map
    Information of community gallery if current gallery is shared to community.
    permissions String
    This property allows you to specify the permission of sharing gallery. Possible values are: Private Groups Community

    SharingStatusResponse, SharingStatusResponseArgs

    AggregatedState string
    Aggregated sharing state of current gallery.
    Summary List<Pulumi.AzureNative.Compute.Inputs.RegionalSharingStatusResponse>
    Summary of all regional sharing status.
    AggregatedState string
    Aggregated sharing state of current gallery.
    Summary []RegionalSharingStatusResponse
    Summary of all regional sharing status.
    aggregatedState String
    Aggregated sharing state of current gallery.
    summary List<RegionalSharingStatusResponse>
    Summary of all regional sharing status.
    aggregatedState string
    Aggregated sharing state of current gallery.
    summary RegionalSharingStatusResponse[]
    Summary of all regional sharing status.
    aggregated_state str
    Aggregated sharing state of current gallery.
    summary Sequence[RegionalSharingStatusResponse]
    Summary of all regional sharing status.
    aggregatedState String
    Aggregated sharing state of current gallery.
    summary List<Property Map>
    Summary of all regional sharing status.

    SoftDeletePolicy, SoftDeletePolicyArgs

    IsSoftDeleteEnabled bool
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
    IsSoftDeleteEnabled bool
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
    isSoftDeleteEnabled Boolean
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
    isSoftDeleteEnabled boolean
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
    is_soft_delete_enabled bool
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
    isSoftDeleteEnabled Boolean
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.

    SoftDeletePolicyResponse, SoftDeletePolicyResponseArgs

    IsSoftDeleteEnabled bool
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
    IsSoftDeleteEnabled bool
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
    isSoftDeleteEnabled Boolean
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
    isSoftDeleteEnabled boolean
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
    is_soft_delete_enabled bool
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
    isSoftDeleteEnabled Boolean
    Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:compute:Gallery myGalleryName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi