pulumi_wasm_providers_azure_mini::compute

Module shared_image_version

source
Expand description

Manages a Version of a Shared Image within a Shared Image Gallery.

§Example Usage

resources:
  example:
    type: azure:compute:SharedImageVersion
    properties:
      name: 0.0.1
      galleryName: ${existingGetSharedImage.galleryName}
      imageName: ${existingGetSharedImage.name}
      resourceGroupName: ${existingGetSharedImage.resourceGroupName}
      location: ${existingGetSharedImage.location}
      managedImageId: ${existing.id}
      targetRegions:
        - name: ${existingGetSharedImage.location}
          regionalReplicaCount: 5
          storageAccountType: Standard_LRS
variables:
  existing:
    fn::invoke:
      function: azure:compute:getImage
      arguments:
        name: search-api
        resourceGroupName: packerimages
  existingGetSharedImage:
    fn::invoke:
      function: azure:compute:getSharedImage
      arguments:
        name: existing-image
        galleryName: existing_gallery
        resourceGroupName: existing-resources

§Import

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

$ pulumi import azure:compute/sharedImageVersion:SharedImageVersion version /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Compute/galleries/gallery1/images/image1/versions/1.2.3

Structs§

Functions§

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