Azure Classic v5.43.0, May 6 23
Azure Classic v5.43.0, May 6 23
azure.compute.SharedImage
Explore with Pulumi AI
Manages a Shared Image within a Shared Image Gallery.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
{
Location = "West Europe",
});
var exampleSharedImageGallery = new Azure.Compute.SharedImageGallery("exampleSharedImageGallery", new()
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
Description = "Shared images and things.",
Tags =
{
{ "Hello", "There" },
{ "World", "Example" },
},
});
var exampleSharedImage = new Azure.Compute.SharedImage("exampleSharedImage", new()
{
GalleryName = exampleSharedImageGallery.Name,
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
OsType = "Linux",
Identifier = new Azure.Compute.Inputs.SharedImageIdentifierArgs
{
Publisher = "PublisherName",
Offer = "OfferName",
Sku = "ExampleSku",
},
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/compute"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleSharedImageGallery, err := compute.NewSharedImageGallery(ctx, "exampleSharedImageGallery", &compute.SharedImageGalleryArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
Description: pulumi.String("Shared images and things."),
Tags: pulumi.StringMap{
"Hello": pulumi.String("There"),
"World": pulumi.String("Example"),
},
})
if err != nil {
return err
}
_, err = compute.NewSharedImage(ctx, "exampleSharedImage", &compute.SharedImageArgs{
GalleryName: exampleSharedImageGallery.Name,
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
OsType: pulumi.String("Linux"),
Identifier: &compute.SharedImageIdentifierArgs{
Publisher: pulumi.String("PublisherName"),
Offer: pulumi.String("OfferName"),
Sku: pulumi.String("ExampleSku"),
},
})
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.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.compute.SharedImageGallery;
import com.pulumi.azure.compute.SharedImageGalleryArgs;
import com.pulumi.azure.compute.SharedImage;
import com.pulumi.azure.compute.SharedImageArgs;
import com.pulumi.azure.compute.inputs.SharedImageIdentifierArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleSharedImageGallery = new SharedImageGallery("exampleSharedImageGallery", SharedImageGalleryArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.description("Shared images and things.")
.tags(Map.ofEntries(
Map.entry("Hello", "There"),
Map.entry("World", "Example")
))
.build());
var exampleSharedImage = new SharedImage("exampleSharedImage", SharedImageArgs.builder()
.galleryName(exampleSharedImageGallery.name())
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.osType("Linux")
.identifier(SharedImageIdentifierArgs.builder()
.publisher("PublisherName")
.offer("OfferName")
.sku("ExampleSku")
.build())
.build());
}
}
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_shared_image_gallery = azure.compute.SharedImageGallery("exampleSharedImageGallery",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
description="Shared images and things.",
tags={
"Hello": "There",
"World": "Example",
})
example_shared_image = azure.compute.SharedImage("exampleSharedImage",
gallery_name=example_shared_image_gallery.name,
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
os_type="Linux",
identifier=azure.compute.SharedImageIdentifierArgs(
publisher="PublisherName",
offer="OfferName",
sku="ExampleSku",
))
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleSharedImageGallery = new azure.compute.SharedImageGallery("exampleSharedImageGallery", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
description: "Shared images and things.",
tags: {
Hello: "There",
World: "Example",
},
});
const exampleSharedImage = new azure.compute.SharedImage("exampleSharedImage", {
galleryName: exampleSharedImageGallery.name,
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
osType: "Linux",
identifier: {
publisher: "PublisherName",
offer: "OfferName",
sku: "ExampleSku",
},
});
resources:
exampleResourceGroup:
type: azure:core:ResourceGroup
properties:
location: West Europe
exampleSharedImageGallery:
type: azure:compute:SharedImageGallery
properties:
resourceGroupName: ${exampleResourceGroup.name}
location: ${exampleResourceGroup.location}
description: Shared images and things.
tags:
Hello: There
World: Example
exampleSharedImage:
type: azure:compute:SharedImage
properties:
galleryName: ${exampleSharedImageGallery.name}
resourceGroupName: ${exampleResourceGroup.name}
location: ${exampleResourceGroup.location}
osType: Linux
identifier:
publisher: PublisherName
offer: OfferName
sku: ExampleSku
Create SharedImage Resource
new SharedImage(name: string, args: SharedImageArgs, opts?: CustomResourceOptions);
@overload
def SharedImage(resource_name: str,
opts: Optional[ResourceOptions] = None,
accelerated_network_support_enabled: Optional[bool] = None,
architecture: Optional[str] = None,
confidential_vm_enabled: Optional[bool] = None,
confidential_vm_supported: Optional[bool] = None,
description: Optional[str] = None,
disk_types_not_alloweds: Optional[Sequence[str]] = None,
end_of_life_date: Optional[str] = None,
eula: Optional[str] = None,
gallery_name: Optional[str] = None,
hyper_v_generation: Optional[str] = None,
identifier: Optional[SharedImageIdentifierArgs] = None,
location: Optional[str] = None,
max_recommended_memory_in_gb: Optional[int] = None,
max_recommended_vcpu_count: Optional[int] = None,
min_recommended_memory_in_gb: Optional[int] = None,
min_recommended_vcpu_count: Optional[int] = None,
name: Optional[str] = None,
os_type: Optional[str] = None,
privacy_statement_uri: Optional[str] = None,
purchase_plan: Optional[SharedImagePurchasePlanArgs] = None,
release_note_uri: Optional[str] = None,
resource_group_name: Optional[str] = None,
specialized: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
trusted_launch_enabled: Optional[bool] = None)
@overload
def SharedImage(resource_name: str,
args: SharedImageArgs,
opts: Optional[ResourceOptions] = None)
func NewSharedImage(ctx *Context, name string, args SharedImageArgs, opts ...ResourceOption) (*SharedImage, error)
public SharedImage(string name, SharedImageArgs args, CustomResourceOptions? opts = null)
public SharedImage(String name, SharedImageArgs args)
public SharedImage(String name, SharedImageArgs args, CustomResourceOptions options)
type: azure:compute:SharedImage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SharedImageArgs
- 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 SharedImageArgs
- 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 SharedImageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SharedImageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SharedImageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SharedImage Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SharedImage resource accepts the following input properties:
- Gallery
Name string Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- Identifier
Shared
Image Identifier Args An
identifier
block as defined below.- Os
Type string The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- Resource
Group stringName The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Accelerated
Network boolSupport Enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- Architecture string
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- Confidential
Vm boolEnabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- Confidential
Vm boolSupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- Description string
A description of this Shared Image.
- Disk
Types List<string>Not Alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- End
Of stringLife Date The end of life date in RFC3339 format of the Image.
- Eula string
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- Hyper
VGeneration string The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- Location string
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Max
Recommended intMemory In Gb Maximum memory in GB recommended for the Image.
- Max
Recommended intVcpu Count Maximum count of vCPUs recommended for the Image.
- Min
Recommended intMemory In Gb Minimum memory in GB recommended for the Image.
- Min
Recommended intVcpu Count Minimum count of vCPUs recommended for the Image.
- Name string
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- Privacy
Statement stringUri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- Purchase
Plan SharedImage Purchase Plan Args A
purchase_plan
block as defined below.- Release
Note stringUri The URI containing the Release Notes associated with this Shared Image.
- Specialized bool
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- Dictionary<string, string>
A mapping of tags to assign to the Shared Image.
- Trusted
Launch boolEnabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
- Gallery
Name string Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- Identifier
Shared
Image Identifier Args An
identifier
block as defined below.- Os
Type string The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- Resource
Group stringName The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Accelerated
Network boolSupport Enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- Architecture string
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- Confidential
Vm boolEnabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- Confidential
Vm boolSupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- Description string
A description of this Shared Image.
- Disk
Types []stringNot Alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- End
Of stringLife Date The end of life date in RFC3339 format of the Image.
- Eula string
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- Hyper
VGeneration string The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- Location string
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Max
Recommended intMemory In Gb Maximum memory in GB recommended for the Image.
- Max
Recommended intVcpu Count Maximum count of vCPUs recommended for the Image.
- Min
Recommended intMemory In Gb Minimum memory in GB recommended for the Image.
- Min
Recommended intVcpu Count Minimum count of vCPUs recommended for the Image.
- Name string
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- Privacy
Statement stringUri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- Purchase
Plan SharedImage Purchase Plan Args A
purchase_plan
block as defined below.- Release
Note stringUri The URI containing the Release Notes associated with this Shared Image.
- Specialized bool
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- map[string]string
A mapping of tags to assign to the Shared Image.
- Trusted
Launch boolEnabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
- gallery
Name String Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- identifier
Shared
Image Identifier Args An
identifier
block as defined below.- os
Type String The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- resource
Group StringName The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- accelerated
Network BooleanSupport Enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- architecture String
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- confidential
Vm BooleanEnabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- confidential
Vm BooleanSupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- description String
A description of this Shared Image.
- disk
Types List<String>Not Alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- end
Of StringLife Date The end of life date in RFC3339 format of the Image.
- eula String
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- hyper
VGeneration String The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- location String
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- max
Recommended IntegerMemory In Gb Maximum memory in GB recommended for the Image.
- max
Recommended IntegerVcpu Count Maximum count of vCPUs recommended for the Image.
- min
Recommended IntegerMemory In Gb Minimum memory in GB recommended for the Image.
- min
Recommended IntegerVcpu Count Minimum count of vCPUs recommended for the Image.
- name String
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- privacy
Statement StringUri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- purchase
Plan SharedImage Purchase Plan Args A
purchase_plan
block as defined below.- release
Note StringUri The URI containing the Release Notes associated with this Shared Image.
- specialized Boolean
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- Map<String,String>
A mapping of tags to assign to the Shared Image.
- trusted
Launch BooleanEnabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
- gallery
Name string Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- identifier
Shared
Image Identifier Args An
identifier
block as defined below.- os
Type string The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- resource
Group stringName The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- accelerated
Network booleanSupport Enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- architecture string
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- confidential
Vm booleanEnabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- confidential
Vm booleanSupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- description string
A description of this Shared Image.
- disk
Types string[]Not Alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- end
Of stringLife Date The end of life date in RFC3339 format of the Image.
- eula string
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- hyper
VGeneration string The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- location string
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- max
Recommended numberMemory In Gb Maximum memory in GB recommended for the Image.
- max
Recommended numberVcpu Count Maximum count of vCPUs recommended for the Image.
- min
Recommended numberMemory In Gb Minimum memory in GB recommended for the Image.
- min
Recommended numberVcpu Count Minimum count of vCPUs recommended for the Image.
- name string
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- privacy
Statement stringUri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- purchase
Plan SharedImage Purchase Plan Args A
purchase_plan
block as defined below.- release
Note stringUri The URI containing the Release Notes associated with this Shared Image.
- specialized boolean
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- {[key: string]: string}
A mapping of tags to assign to the Shared Image.
- trusted
Launch booleanEnabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
- gallery_
name str Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- identifier
Shared
Image Identifier Args An
identifier
block as defined below.- os_
type str The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- resource_
group_ strname The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- accelerated_
network_ boolsupport_ enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- architecture str
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- confidential_
vm_ boolenabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- confidential_
vm_ boolsupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- description str
A description of this Shared Image.
- disk_
types_ Sequence[str]not_ alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- end_
of_ strlife_ date The end of life date in RFC3339 format of the Image.
- eula str
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- hyper_
v_ strgeneration The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- location str
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- max_
recommended_ intmemory_ in_ gb Maximum memory in GB recommended for the Image.
- max_
recommended_ intvcpu_ count Maximum count of vCPUs recommended for the Image.
- min_
recommended_ intmemory_ in_ gb Minimum memory in GB recommended for the Image.
- min_
recommended_ intvcpu_ count Minimum count of vCPUs recommended for the Image.
- name str
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- privacy_
statement_ struri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- purchase_
plan SharedImage Purchase Plan Args A
purchase_plan
block as defined below.- release_
note_ struri The URI containing the Release Notes associated with this Shared Image.
- specialized bool
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- Mapping[str, str]
A mapping of tags to assign to the Shared Image.
- trusted_
launch_ boolenabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
- gallery
Name String Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- identifier Property Map
An
identifier
block as defined below.- os
Type String The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- resource
Group StringName The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- accelerated
Network BooleanSupport Enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- architecture String
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- confidential
Vm BooleanEnabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- confidential
Vm BooleanSupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- description String
A description of this Shared Image.
- disk
Types List<String>Not Alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- end
Of StringLife Date The end of life date in RFC3339 format of the Image.
- eula String
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- hyper
VGeneration String The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- location String
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- max
Recommended NumberMemory In Gb Maximum memory in GB recommended for the Image.
- max
Recommended NumberVcpu Count Maximum count of vCPUs recommended for the Image.
- min
Recommended NumberMemory In Gb Minimum memory in GB recommended for the Image.
- min
Recommended NumberVcpu Count Minimum count of vCPUs recommended for the Image.
- name String
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- privacy
Statement StringUri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- purchase
Plan Property Map A
purchase_plan
block as defined below.- release
Note StringUri The URI containing the Release Notes associated with this Shared Image.
- specialized Boolean
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- Map<String>
A mapping of tags to assign to the Shared Image.
- trusted
Launch BooleanEnabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the SharedImage resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing SharedImage Resource
Get an existing SharedImage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SharedImageState, opts?: CustomResourceOptions): SharedImage
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accelerated_network_support_enabled: Optional[bool] = None,
architecture: Optional[str] = None,
confidential_vm_enabled: Optional[bool] = None,
confidential_vm_supported: Optional[bool] = None,
description: Optional[str] = None,
disk_types_not_alloweds: Optional[Sequence[str]] = None,
end_of_life_date: Optional[str] = None,
eula: Optional[str] = None,
gallery_name: Optional[str] = None,
hyper_v_generation: Optional[str] = None,
identifier: Optional[SharedImageIdentifierArgs] = None,
location: Optional[str] = None,
max_recommended_memory_in_gb: Optional[int] = None,
max_recommended_vcpu_count: Optional[int] = None,
min_recommended_memory_in_gb: Optional[int] = None,
min_recommended_vcpu_count: Optional[int] = None,
name: Optional[str] = None,
os_type: Optional[str] = None,
privacy_statement_uri: Optional[str] = None,
purchase_plan: Optional[SharedImagePurchasePlanArgs] = None,
release_note_uri: Optional[str] = None,
resource_group_name: Optional[str] = None,
specialized: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
trusted_launch_enabled: Optional[bool] = None) -> SharedImage
func GetSharedImage(ctx *Context, name string, id IDInput, state *SharedImageState, opts ...ResourceOption) (*SharedImage, error)
public static SharedImage Get(string name, Input<string> id, SharedImageState? state, CustomResourceOptions? opts = null)
public static SharedImage get(String name, Output<String> id, SharedImageState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Accelerated
Network boolSupport Enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- Architecture string
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- Confidential
Vm boolEnabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- Confidential
Vm boolSupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- Description string
A description of this Shared Image.
- Disk
Types List<string>Not Alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- End
Of stringLife Date The end of life date in RFC3339 format of the Image.
- Eula string
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- Gallery
Name string Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- Hyper
VGeneration string The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- Identifier
Shared
Image Identifier Args An
identifier
block as defined below.- Location string
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Max
Recommended intMemory In Gb Maximum memory in GB recommended for the Image.
- Max
Recommended intVcpu Count Maximum count of vCPUs recommended for the Image.
- Min
Recommended intMemory In Gb Minimum memory in GB recommended for the Image.
- Min
Recommended intVcpu Count Minimum count of vCPUs recommended for the Image.
- Name string
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- Os
Type string The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- Privacy
Statement stringUri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- Purchase
Plan SharedImage Purchase Plan Args A
purchase_plan
block as defined below.- Release
Note stringUri The URI containing the Release Notes associated with this Shared Image.
- Resource
Group stringName The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Specialized bool
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- Dictionary<string, string>
A mapping of tags to assign to the Shared Image.
- Trusted
Launch boolEnabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
- Accelerated
Network boolSupport Enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- Architecture string
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- Confidential
Vm boolEnabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- Confidential
Vm boolSupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- Description string
A description of this Shared Image.
- Disk
Types []stringNot Alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- End
Of stringLife Date The end of life date in RFC3339 format of the Image.
- Eula string
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- Gallery
Name string Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- Hyper
VGeneration string The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- Identifier
Shared
Image Identifier Args An
identifier
block as defined below.- Location string
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Max
Recommended intMemory In Gb Maximum memory in GB recommended for the Image.
- Max
Recommended intVcpu Count Maximum count of vCPUs recommended for the Image.
- Min
Recommended intMemory In Gb Minimum memory in GB recommended for the Image.
- Min
Recommended intVcpu Count Minimum count of vCPUs recommended for the Image.
- Name string
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- Os
Type string The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- Privacy
Statement stringUri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- Purchase
Plan SharedImage Purchase Plan Args A
purchase_plan
block as defined below.- Release
Note stringUri The URI containing the Release Notes associated with this Shared Image.
- Resource
Group stringName The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- Specialized bool
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- map[string]string
A mapping of tags to assign to the Shared Image.
- Trusted
Launch boolEnabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
- accelerated
Network BooleanSupport Enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- architecture String
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- confidential
Vm BooleanEnabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- confidential
Vm BooleanSupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- description String
A description of this Shared Image.
- disk
Types List<String>Not Alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- end
Of StringLife Date The end of life date in RFC3339 format of the Image.
- eula String
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- gallery
Name String Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- hyper
VGeneration String The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- identifier
Shared
Image Identifier Args An
identifier
block as defined below.- location String
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- max
Recommended IntegerMemory In Gb Maximum memory in GB recommended for the Image.
- max
Recommended IntegerVcpu Count Maximum count of vCPUs recommended for the Image.
- min
Recommended IntegerMemory In Gb Minimum memory in GB recommended for the Image.
- min
Recommended IntegerVcpu Count Minimum count of vCPUs recommended for the Image.
- name String
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- os
Type String The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- privacy
Statement StringUri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- purchase
Plan SharedImage Purchase Plan Args A
purchase_plan
block as defined below.- release
Note StringUri The URI containing the Release Notes associated with this Shared Image.
- resource
Group StringName The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- specialized Boolean
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- Map<String,String>
A mapping of tags to assign to the Shared Image.
- trusted
Launch BooleanEnabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
- accelerated
Network booleanSupport Enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- architecture string
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- confidential
Vm booleanEnabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- confidential
Vm booleanSupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- description string
A description of this Shared Image.
- disk
Types string[]Not Alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- end
Of stringLife Date The end of life date in RFC3339 format of the Image.
- eula string
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- gallery
Name string Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- hyper
VGeneration string The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- identifier
Shared
Image Identifier Args An
identifier
block as defined below.- location string
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- max
Recommended numberMemory In Gb Maximum memory in GB recommended for the Image.
- max
Recommended numberVcpu Count Maximum count of vCPUs recommended for the Image.
- min
Recommended numberMemory In Gb Minimum memory in GB recommended for the Image.
- min
Recommended numberVcpu Count Minimum count of vCPUs recommended for the Image.
- name string
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- os
Type string The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- privacy
Statement stringUri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- purchase
Plan SharedImage Purchase Plan Args A
purchase_plan
block as defined below.- release
Note stringUri The URI containing the Release Notes associated with this Shared Image.
- resource
Group stringName The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- specialized boolean
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- {[key: string]: string}
A mapping of tags to assign to the Shared Image.
- trusted
Launch booleanEnabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
- accelerated_
network_ boolsupport_ enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- architecture str
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- confidential_
vm_ boolenabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- confidential_
vm_ boolsupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- description str
A description of this Shared Image.
- disk_
types_ Sequence[str]not_ alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- end_
of_ strlife_ date The end of life date in RFC3339 format of the Image.
- eula str
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- gallery_
name str Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- hyper_
v_ strgeneration The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- identifier
Shared
Image Identifier Args An
identifier
block as defined below.- location str
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- max_
recommended_ intmemory_ in_ gb Maximum memory in GB recommended for the Image.
- max_
recommended_ intvcpu_ count Maximum count of vCPUs recommended for the Image.
- min_
recommended_ intmemory_ in_ gb Minimum memory in GB recommended for the Image.
- min_
recommended_ intvcpu_ count Minimum count of vCPUs recommended for the Image.
- name str
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- os_
type str The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- privacy_
statement_ struri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- purchase_
plan SharedImage Purchase Plan Args A
purchase_plan
block as defined below.- release_
note_ struri The URI containing the Release Notes associated with this Shared Image.
- resource_
group_ strname The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- specialized bool
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- Mapping[str, str]
A mapping of tags to assign to the Shared Image.
- trusted_
launch_ boolenabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
- accelerated
Network BooleanSupport Enabled Specifies if the Shared Image supports Accelerated Network. Changing this forces a new resource to be created.
- architecture String
CPU architecture supported by an OS. Possible values are
x64
andArm64
. Defaults tox64
. Changing this forces a new resource to be created.- confidential
Vm BooleanEnabled Specifies if Confidential Virtual Machines enabled. It will enable all the features of trusted, with higher confidentiality features for isolate machines or encrypted data. Available for Gen2 machines. Changing this forces a new resource to be created.
- confidential
Vm BooleanSupported Specifies if supports creation of both Confidential virtual machines and Gen2 virtual machines with standard security from a compatible Gen2 OS disk VHD or Gen2 Managed image. Changing this forces a new resource to be created.
- description String
A description of this Shared Image.
- disk
Types List<String>Not Alloweds One or more Disk Types not allowed for the Image. Possible values include
Standard_LRS
andPremium_LRS
.- end
Of StringLife Date The end of life date in RFC3339 format of the Image.
- eula String
The End User Licence Agreement for the Shared Image. Changing this forces a new resource to be created.
- gallery
Name String Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
- hyper
VGeneration String The generation of HyperV that the Virtual Machine used to create the Shared Image is based on. Possible values are
V1
andV2
. Defaults toV1
. Changing this forces a new resource to be created.- identifier Property Map
An
identifier
block as defined below.- location String
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
- max
Recommended NumberMemory In Gb Maximum memory in GB recommended for the Image.
- max
Recommended NumberVcpu Count Maximum count of vCPUs recommended for the Image.
- min
Recommended NumberMemory In Gb Minimum memory in GB recommended for the Image.
- min
Recommended NumberVcpu Count Minimum count of vCPUs recommended for the Image.
- name String
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
- os
Type String The type of Operating System present in this Shared Image. Possible values are
Linux
andWindows
. Changing this forces a new resource to be created.- privacy
Statement StringUri The URI containing the Privacy Statement associated with this Shared Image. Changing this forces a new resource to be created.
- purchase
Plan Property Map A
purchase_plan
block as defined below.- release
Note StringUri The URI containing the Release Notes associated with this Shared Image.
- resource
Group StringName The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
- specialized Boolean
Specifies that the Operating System used inside this Image has not been Generalized (for example,
sysprep
on Windows has not been run). Changing this forces a new resource to be created.- Map<String>
A mapping of tags to assign to the Shared Image.
- trusted
Launch BooleanEnabled Specifies if Trusted Launch has to be enabled for the Virtual Machine created from the Shared Image. Changing this forces a new resource to be created.
Supporting Types
SharedImageIdentifier
- Offer string
The Offer Name for this Shared Image. Changing this forces a new resource to be created.
- Publisher string
The Publisher Name for this Gallery Image. Changing this forces a new resource to be created.
- Sku string
The Name of the SKU for this Gallery Image. Changing this forces a new resource to be created.
- Offer string
The Offer Name for this Shared Image. Changing this forces a new resource to be created.
- Publisher string
The Publisher Name for this Gallery Image. Changing this forces a new resource to be created.
- Sku string
The Name of the SKU for this Gallery Image. Changing this forces a new resource to be created.
- offer String
The Offer Name for this Shared Image. Changing this forces a new resource to be created.
- publisher String
The Publisher Name for this Gallery Image. Changing this forces a new resource to be created.
- sku String
The Name of the SKU for this Gallery Image. Changing this forces a new resource to be created.
- offer string
The Offer Name for this Shared Image. Changing this forces a new resource to be created.
- publisher string
The Publisher Name for this Gallery Image. Changing this forces a new resource to be created.
- sku string
The Name of the SKU for this Gallery Image. Changing this forces a new resource to be created.
- offer str
The Offer Name for this Shared Image. Changing this forces a new resource to be created.
- publisher str
The Publisher Name for this Gallery Image. Changing this forces a new resource to be created.
- sku str
The Name of the SKU for this Gallery Image. Changing this forces a new resource to be created.
- offer String
The Offer Name for this Shared Image. Changing this forces a new resource to be created.
- publisher String
The Publisher Name for this Gallery Image. Changing this forces a new resource to be created.
- sku String
The Name of the SKU for this Gallery Image. Changing this forces a new resource to be created.
SharedImagePurchasePlan
- Name string
The Purchase Plan Name for this Shared Image. Changing this forces a new resource to be created.
- Product string
The Purchase Plan Product for this Gallery Image. Changing this forces a new resource to be created.
- Publisher string
The Purchase Plan Publisher for this Gallery Image. Changing this forces a new resource to be created.
- Name string
The Purchase Plan Name for this Shared Image. Changing this forces a new resource to be created.
- Product string
The Purchase Plan Product for this Gallery Image. Changing this forces a new resource to be created.
- Publisher string
The Purchase Plan Publisher for this Gallery Image. Changing this forces a new resource to be created.
- name String
The Purchase Plan Name for this Shared Image. Changing this forces a new resource to be created.
- product String
The Purchase Plan Product for this Gallery Image. Changing this forces a new resource to be created.
- publisher String
The Purchase Plan Publisher for this Gallery Image. Changing this forces a new resource to be created.
- name string
The Purchase Plan Name for this Shared Image. Changing this forces a new resource to be created.
- product string
The Purchase Plan Product for this Gallery Image. Changing this forces a new resource to be created.
- publisher string
The Purchase Plan Publisher for this Gallery Image. Changing this forces a new resource to be created.
- name str
The Purchase Plan Name for this Shared Image. Changing this forces a new resource to be created.
- product str
The Purchase Plan Product for this Gallery Image. Changing this forces a new resource to be created.
- publisher str
The Purchase Plan Publisher for this Gallery Image. Changing this forces a new resource to be created.
- name String
The Purchase Plan Name for this Shared Image. Changing this forces a new resource to be created.
- product String
The Purchase Plan Product for this Gallery Image. Changing this forces a new resource to be created.
- publisher String
The Purchase Plan Publisher for this Gallery Image. Changing this forces a new resource to be created.
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
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.