pulumi_wasm_providers_azure_mini::compute

Module shared_image

source
Expand description

Manages a Shared Image within a Shared Image Gallery.

§Example Usage

resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleSharedImageGallery:
    type: azure:compute:SharedImageGallery
    name: example
    properties:
      name: example_image_gallery
      resourceGroupName: ${example.name}
      location: ${example.location}
      description: Shared images and things.
      tags:
        Hello: There
        World: Example
  exampleSharedImage:
    type: azure:compute:SharedImage
    name: example
    properties:
      name: my-image
      galleryName: ${exampleSharedImageGallery.name}
      resourceGroupName: ${example.name}
      location: ${example.location}
      osType: Linux
      identifier:
        publisher: PublisherName
        offer: OfferName
        sku: ExampleSku

§Import

Shared Images can be imported using the resource id, e.g.

$ pulumi import azure:compute/sharedImage:SharedImage image1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Compute/galleries/gallery1/images/image1

Structs§

Functions§

  • Registers a new resource with the given unique name and arguments