azure-native.compute.GalleryImage
Explore with Pulumi AI
Specifies information about the gallery image definition 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
Create or update a simple gallery image.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var galleryImage = new AzureNative.Compute.GalleryImage("galleryImage", new()
{
GalleryImageName = "myGalleryImageName",
GalleryName = "myGalleryName",
HyperVGeneration = AzureNative.Compute.HyperVGeneration.V1,
Identifier = new AzureNative.Compute.Inputs.GalleryImageIdentifierArgs
{
Offer = "myOfferName",
Publisher = "myPublisherName",
Sku = "mySkuName",
},
Location = "West US",
OsState = AzureNative.Compute.OperatingSystemStateTypes.Generalized,
OsType = AzureNative.Compute.OperatingSystemTypes.Windows,
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.NewGalleryImage(ctx, "galleryImage", &compute.GalleryImageArgs{
GalleryImageName: pulumi.String("myGalleryImageName"),
GalleryName: pulumi.String("myGalleryName"),
HyperVGeneration: pulumi.String(compute.HyperVGenerationV1),
Identifier: &compute.GalleryImageIdentifierArgs{
Offer: pulumi.String("myOfferName"),
Publisher: pulumi.String("myPublisherName"),
Sku: pulumi.String("mySkuName"),
},
Location: pulumi.String("West US"),
OsState: compute.OperatingSystemStateTypesGeneralized,
OsType: compute.OperatingSystemTypesWindows,
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.GalleryImage;
import com.pulumi.azurenative.compute.GalleryImageArgs;
import com.pulumi.azurenative.compute.inputs.GalleryImageIdentifierArgs;
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 galleryImage = new GalleryImage("galleryImage", GalleryImageArgs.builder()
.galleryImageName("myGalleryImageName")
.galleryName("myGalleryName")
.hyperVGeneration("V1")
.identifier(GalleryImageIdentifierArgs.builder()
.offer("myOfferName")
.publisher("myPublisherName")
.sku("mySkuName")
.build())
.location("West US")
.osState("Generalized")
.osType("Windows")
.resourceGroupName("myResourceGroup")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
gallery_image = azure_native.compute.GalleryImage("galleryImage",
gallery_image_name="myGalleryImageName",
gallery_name="myGalleryName",
hyper_v_generation=azure_native.compute.HyperVGeneration.V1,
identifier={
"offer": "myOfferName",
"publisher": "myPublisherName",
"sku": "mySkuName",
},
location="West US",
os_state=azure_native.compute.OperatingSystemStateTypes.GENERALIZED,
os_type=azure_native.compute.OperatingSystemTypes.WINDOWS,
resource_group_name="myResourceGroup")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const galleryImage = new azure_native.compute.GalleryImage("galleryImage", {
galleryImageName: "myGalleryImageName",
galleryName: "myGalleryName",
hyperVGeneration: azure_native.compute.HyperVGeneration.V1,
identifier: {
offer: "myOfferName",
publisher: "myPublisherName",
sku: "mySkuName",
},
location: "West US",
osState: azure_native.compute.OperatingSystemStateTypes.Generalized,
osType: azure_native.compute.OperatingSystemTypes.Windows,
resourceGroupName: "myResourceGroup",
});
resources:
galleryImage:
type: azure-native:compute:GalleryImage
properties:
galleryImageName: myGalleryImageName
galleryName: myGalleryName
hyperVGeneration: V1
identifier:
offer: myOfferName
publisher: myPublisherName
sku: mySkuName
location: West US
osState: Generalized
osType: Windows
resourceGroupName: myResourceGroup
Create GalleryImage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GalleryImage(name: string, args: GalleryImageArgs, opts?: CustomResourceOptions);
@overload
def GalleryImage(resource_name: str,
args: GalleryImageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GalleryImage(resource_name: str,
opts: Optional[ResourceOptions] = None,
gallery_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
os_type: Optional[OperatingSystemTypes] = None,
os_state: Optional[OperatingSystemStateTypes] = None,
identifier: Optional[GalleryImageIdentifierArgs] = None,
eula: Optional[str] = None,
disallowed: Optional[DisallowedArgs] = None,
features: Optional[Sequence[GalleryImageFeatureArgs]] = None,
hyper_v_generation: Optional[Union[str, HyperVGeneration]] = None,
architecture: Optional[Union[str, Architecture]] = None,
location: Optional[str] = None,
end_of_life_date: Optional[str] = None,
gallery_image_name: Optional[str] = None,
privacy_statement_uri: Optional[str] = None,
purchase_plan: Optional[ImagePurchasePlanArgs] = None,
recommended: Optional[RecommendedMachineConfigurationArgs] = None,
release_note_uri: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewGalleryImage(ctx *Context, name string, args GalleryImageArgs, opts ...ResourceOption) (*GalleryImage, error)
public GalleryImage(string name, GalleryImageArgs args, CustomResourceOptions? opts = null)
public GalleryImage(String name, GalleryImageArgs args)
public GalleryImage(String name, GalleryImageArgs args, CustomResourceOptions options)
type: azure-native:compute:GalleryImage
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 GalleryImageArgs
- 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 GalleryImageArgs
- 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 GalleryImageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GalleryImageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GalleryImageArgs
- 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 azure_nativeGalleryImageResource = new AzureNative.Compute.GalleryImage("azure-nativeGalleryImageResource", new()
{
GalleryName = "string",
ResourceGroupName = "string",
OsType = AzureNative.Compute.OperatingSystemTypes.Windows,
OsState = AzureNative.Compute.OperatingSystemStateTypes.Generalized,
Identifier = new AzureNative.Compute.Inputs.GalleryImageIdentifierArgs
{
Offer = "string",
Publisher = "string",
Sku = "string",
},
Eula = "string",
Disallowed = new AzureNative.Compute.Inputs.DisallowedArgs
{
DiskTypes = new[]
{
"string",
},
},
Features = new[]
{
new AzureNative.Compute.Inputs.GalleryImageFeatureArgs
{
Name = "string",
Value = "string",
},
},
HyperVGeneration = "string",
Architecture = "string",
Location = "string",
EndOfLifeDate = "string",
GalleryImageName = "string",
PrivacyStatementUri = "string",
PurchasePlan = new AzureNative.Compute.Inputs.ImagePurchasePlanArgs
{
Name = "string",
Product = "string",
Publisher = "string",
},
Recommended = new AzureNative.Compute.Inputs.RecommendedMachineConfigurationArgs
{
Memory = new AzureNative.Compute.Inputs.ResourceRangeArgs
{
Max = 0,
Min = 0,
},
VCPUs = new AzureNative.Compute.Inputs.ResourceRangeArgs
{
Max = 0,
Min = 0,
},
},
ReleaseNoteUri = "string",
Description = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := compute.NewGalleryImage(ctx, "azure-nativeGalleryImageResource", &compute.GalleryImageArgs{
GalleryName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
OsType: compute.OperatingSystemTypesWindows,
OsState: compute.OperatingSystemStateTypesGeneralized,
Identifier: &compute.GalleryImageIdentifierArgs{
Offer: pulumi.String("string"),
Publisher: pulumi.String("string"),
Sku: pulumi.String("string"),
},
Eula: pulumi.String("string"),
Disallowed: &compute.DisallowedArgs{
DiskTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
Features: compute.GalleryImageFeatureArray{
&compute.GalleryImageFeatureArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
HyperVGeneration: pulumi.String("string"),
Architecture: pulumi.String("string"),
Location: pulumi.String("string"),
EndOfLifeDate: pulumi.String("string"),
GalleryImageName: pulumi.String("string"),
PrivacyStatementUri: pulumi.String("string"),
PurchasePlan: &compute.ImagePurchasePlanArgs{
Name: pulumi.String("string"),
Product: pulumi.String("string"),
Publisher: pulumi.String("string"),
},
Recommended: &compute.RecommendedMachineConfigurationArgs{
Memory: &compute.ResourceRangeArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
VCPUs: &compute.ResourceRangeArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
},
ReleaseNoteUri: pulumi.String("string"),
Description: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var azure_nativeGalleryImageResource = new GalleryImage("azure-nativeGalleryImageResource", GalleryImageArgs.builder()
.galleryName("string")
.resourceGroupName("string")
.osType("Windows")
.osState("Generalized")
.identifier(GalleryImageIdentifierArgs.builder()
.offer("string")
.publisher("string")
.sku("string")
.build())
.eula("string")
.disallowed(DisallowedArgs.builder()
.diskTypes("string")
.build())
.features(GalleryImageFeatureArgs.builder()
.name("string")
.value("string")
.build())
.hyperVGeneration("string")
.architecture("string")
.location("string")
.endOfLifeDate("string")
.galleryImageName("string")
.privacyStatementUri("string")
.purchasePlan(ImagePurchasePlanArgs.builder()
.name("string")
.product("string")
.publisher("string")
.build())
.recommended(RecommendedMachineConfigurationArgs.builder()
.memory(ResourceRangeArgs.builder()
.max(0)
.min(0)
.build())
.vCPUs(ResourceRangeArgs.builder()
.max(0)
.min(0)
.build())
.build())
.releaseNoteUri("string")
.description("string")
.tags(Map.of("string", "string"))
.build());
azure_native_gallery_image_resource = azure_native.compute.GalleryImage("azure-nativeGalleryImageResource",
gallery_name="string",
resource_group_name="string",
os_type=azure_native.compute.OperatingSystemTypes.WINDOWS,
os_state=azure_native.compute.OperatingSystemStateTypes.GENERALIZED,
identifier={
"offer": "string",
"publisher": "string",
"sku": "string",
},
eula="string",
disallowed={
"disk_types": ["string"],
},
features=[{
"name": "string",
"value": "string",
}],
hyper_v_generation="string",
architecture="string",
location="string",
end_of_life_date="string",
gallery_image_name="string",
privacy_statement_uri="string",
purchase_plan={
"name": "string",
"product": "string",
"publisher": "string",
},
recommended={
"memory": {
"max": 0,
"min": 0,
},
"v_cpus": {
"max": 0,
"min": 0,
},
},
release_note_uri="string",
description="string",
tags={
"string": "string",
})
const azure_nativeGalleryImageResource = new azure_native.compute.GalleryImage("azure-nativeGalleryImageResource", {
galleryName: "string",
resourceGroupName: "string",
osType: azure_native.compute.OperatingSystemTypes.Windows,
osState: azure_native.compute.OperatingSystemStateTypes.Generalized,
identifier: {
offer: "string",
publisher: "string",
sku: "string",
},
eula: "string",
disallowed: {
diskTypes: ["string"],
},
features: [{
name: "string",
value: "string",
}],
hyperVGeneration: "string",
architecture: "string",
location: "string",
endOfLifeDate: "string",
galleryImageName: "string",
privacyStatementUri: "string",
purchasePlan: {
name: "string",
product: "string",
publisher: "string",
},
recommended: {
memory: {
max: 0,
min: 0,
},
vCPUs: {
max: 0,
min: 0,
},
},
releaseNoteUri: "string",
description: "string",
tags: {
string: "string",
},
});
type: azure-native:compute:GalleryImage
properties:
architecture: string
description: string
disallowed:
diskTypes:
- string
endOfLifeDate: string
eula: string
features:
- name: string
value: string
galleryImageName: string
galleryName: string
hyperVGeneration: string
identifier:
offer: string
publisher: string
sku: string
location: string
osState: Generalized
osType: Windows
privacyStatementUri: string
purchasePlan:
name: string
product: string
publisher: string
recommended:
memory:
max: 0
min: 0
vCPUs:
max: 0
min: 0
releaseNoteUri: string
resourceGroupName: string
tags:
string: string
GalleryImage 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 GalleryImage resource accepts the following input properties:
- Gallery
Name string - The name of the Shared Image Gallery in which the Image Definition is to be created.
- Identifier
Pulumi.
Azure Native. Compute. Inputs. Gallery Image Identifier - This is the gallery image definition identifier.
- Os
State Pulumi.Azure Native. Compute. Operating System State Types - This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- Os
Type Pulumi.Azure Native. Compute. Operating System Types - This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- Resource
Group stringName - The name of the resource group.
- Architecture
string | Pulumi.
Azure Native. Compute. Architecture - The architecture of the image. Applicable to OS disks only.
- Description string
- The description of this gallery image definition resource. This property is updatable.
- Disallowed
Pulumi.
Azure Native. Compute. Inputs. Disallowed - Describes the disallowed disk types.
- End
Of stringLife Date - The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- Eula string
- The Eula agreement for the gallery image definition.
- Features
List<Pulumi.
Azure Native. Compute. Inputs. Gallery Image Feature> - A list of gallery image features.
- Gallery
Image stringName - The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- Hyper
VGeneration string | Pulumi.Azure Native. Compute. Hyper VGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- Location string
- Resource location
- Privacy
Statement stringUri - The privacy statement uri.
- Purchase
Plan Pulumi.Azure Native. Compute. Inputs. Image Purchase Plan - Describes the gallery image definition purchase plan. This is used by marketplace images.
- Recommended
Pulumi.
Azure Native. Compute. Inputs. Recommended Machine Configuration - The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- Release
Note stringUri - The release note uri.
- Dictionary<string, string>
- Resource tags
- Gallery
Name string - The name of the Shared Image Gallery in which the Image Definition is to be created.
- Identifier
Gallery
Image Identifier Args - This is the gallery image definition identifier.
- Os
State OperatingSystem State Types - This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- Os
Type OperatingSystem Types - This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- Resource
Group stringName - The name of the resource group.
- Architecture string | Architecture
- The architecture of the image. Applicable to OS disks only.
- Description string
- The description of this gallery image definition resource. This property is updatable.
- Disallowed
Disallowed
Args - Describes the disallowed disk types.
- End
Of stringLife Date - The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- Eula string
- The Eula agreement for the gallery image definition.
- Features
[]Gallery
Image Feature Args - A list of gallery image features.
- Gallery
Image stringName - The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- Hyper
VGeneration string | HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- Location string
- Resource location
- Privacy
Statement stringUri - The privacy statement uri.
- Purchase
Plan ImagePurchase Plan Args - Describes the gallery image definition purchase plan. This is used by marketplace images.
- Recommended
Recommended
Machine Configuration Args - The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- Release
Note stringUri - The release note uri.
- map[string]string
- Resource tags
- gallery
Name String - The name of the Shared Image Gallery in which the Image Definition is to be created.
- identifier
Gallery
Image Identifier - This is the gallery image definition identifier.
- os
State OperatingSystem State Types - This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- os
Type OperatingSystem Types - This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- resource
Group StringName - The name of the resource group.
- architecture String | Architecture
- The architecture of the image. Applicable to OS disks only.
- description String
- The description of this gallery image definition resource. This property is updatable.
- disallowed Disallowed
- Describes the disallowed disk types.
- end
Of StringLife Date - The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- eula String
- The Eula agreement for the gallery image definition.
- features
List<Gallery
Image Feature> - A list of gallery image features.
- gallery
Image StringName - The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- hyper
VGeneration String | HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- location String
- Resource location
- privacy
Statement StringUri - The privacy statement uri.
- purchase
Plan ImagePurchase Plan - Describes the gallery image definition purchase plan. This is used by marketplace images.
- recommended
Recommended
Machine Configuration - The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- release
Note StringUri - The release note uri.
- Map<String,String>
- Resource tags
- gallery
Name string - The name of the Shared Image Gallery in which the Image Definition is to be created.
- identifier
Gallery
Image Identifier - This is the gallery image definition identifier.
- os
State OperatingSystem State Types - This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- os
Type OperatingSystem Types - This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- resource
Group stringName - The name of the resource group.
- architecture string | Architecture
- The architecture of the image. Applicable to OS disks only.
- description string
- The description of this gallery image definition resource. This property is updatable.
- disallowed Disallowed
- Describes the disallowed disk types.
- end
Of stringLife Date - The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- eula string
- The Eula agreement for the gallery image definition.
- features
Gallery
Image Feature[] - A list of gallery image features.
- gallery
Image stringName - The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- hyper
VGeneration string | HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- location string
- Resource location
- privacy
Statement stringUri - The privacy statement uri.
- purchase
Plan ImagePurchase Plan - Describes the gallery image definition purchase plan. This is used by marketplace images.
- recommended
Recommended
Machine Configuration - The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- release
Note stringUri - The release note uri.
- {[key: string]: string}
- Resource tags
- gallery_
name str - The name of the Shared Image Gallery in which the Image Definition is to be created.
- identifier
Gallery
Image Identifier Args - This is the gallery image definition identifier.
- os_
state OperatingSystem State Types - This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- os_
type OperatingSystem Types - This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- resource_
group_ strname - The name of the resource group.
- architecture str | Architecture
- The architecture of the image. Applicable to OS disks only.
- description str
- The description of this gallery image definition resource. This property is updatable.
- disallowed
Disallowed
Args - Describes the disallowed disk types.
- end_
of_ strlife_ date - The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- eula str
- The Eula agreement for the gallery image definition.
- features
Sequence[Gallery
Image Feature Args] - A list of gallery image features.
- gallery_
image_ strname - The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- hyper_
v_ str | Hypergeneration VGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- location str
- Resource location
- privacy_
statement_ struri - The privacy statement uri.
- purchase_
plan ImagePurchase Plan Args - Describes the gallery image definition purchase plan. This is used by marketplace images.
- recommended
Recommended
Machine Configuration Args - The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- release_
note_ struri - The release note uri.
- Mapping[str, str]
- Resource tags
- gallery
Name String - The name of the Shared Image Gallery in which the Image Definition is to be created.
- identifier Property Map
- This is the gallery image definition identifier.
- os
State "Generalized" | "Specialized" - This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.
- os
Type "Windows" | "Linux" - This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows Linux
- resource
Group StringName - The name of the resource group.
- architecture String | "x64" | "Arm64"
- The architecture of the image. Applicable to OS disks only.
- description String
- The description of this gallery image definition resource. This property is updatable.
- disallowed Property Map
- Describes the disallowed disk types.
- end
Of StringLife Date - The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
- eula String
- The Eula agreement for the gallery image definition.
- features List<Property Map>
- A list of gallery image features.
- gallery
Image StringName - The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
- hyper
VGeneration String | "V1" | "V2" - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- location String
- Resource location
- privacy
Statement StringUri - The privacy statement uri.
- purchase
Plan Property Map - Describes the gallery image definition purchase plan. This is used by marketplace images.
- recommended Property Map
- The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- release
Note StringUri - The release note uri.
- Map<String>
- Resource tags
Outputs
All input properties are implicitly available as output properties. Additionally, the GalleryImage resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Provisioning
State string - The provisioning state, which only appears in the response.
- Type string
- Resource type
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Provisioning
State string - The provisioning state, which only appears in the response.
- Type string
- Resource type
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- provisioning
State String - The provisioning state, which only appears in the response.
- type String
- Resource type
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name
- provisioning
State string - The provisioning state, which only appears in the response.
- type string
- Resource type
- 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.
- type str
- Resource type
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- provisioning
State String - The provisioning state, which only appears in the response.
- type String
- Resource type
Supporting Types
Architecture, ArchitectureArgs
- X64
- x64
- Arm64
- Arm64
- Architecture
X64 - x64
- Architecture
Arm64 - Arm64
- X64
- x64
- Arm64
- Arm64
- X64
- x64
- Arm64
- Arm64
- X64
- x64
- ARM64
- Arm64
- "x64"
- x64
- "Arm64"
- Arm64
Disallowed, DisallowedArgs
- Disk
Types List<string> - A list of disk types.
- Disk
Types []string - A list of disk types.
- disk
Types List<String> - A list of disk types.
- disk
Types string[] - A list of disk types.
- disk_
types Sequence[str] - A list of disk types.
- disk
Types List<String> - A list of disk types.
DisallowedResponse, DisallowedResponseArgs
- Disk
Types List<string> - A list of disk types.
- Disk
Types []string - A list of disk types.
- disk
Types List<String> - A list of disk types.
- disk
Types string[] - A list of disk types.
- disk_
types Sequence[str] - A list of disk types.
- disk
Types List<String> - A list of disk types.
GalleryImageFeature, GalleryImageFeatureArgs
GalleryImageFeatureResponse, GalleryImageFeatureResponseArgs
GalleryImageIdentifier, GalleryImageIdentifierArgs
GalleryImageIdentifierResponse, GalleryImageIdentifierResponseArgs
HyperVGeneration, HyperVGenerationArgs
- V1
- V1
- V2
- V2
- Hyper
VGeneration V1 - V1
- Hyper
VGeneration V2 - V2
- V1
- V1
- V2
- V2
- V1
- V1
- V2
- V2
- V1
- V1
- V2
- V2
- "V1"
- V1
- "V2"
- V2
ImagePurchasePlan, ImagePurchasePlanArgs
ImagePurchasePlanResponse, ImagePurchasePlanResponseArgs
OperatingSystemStateTypes, OperatingSystemStateTypesArgs
- Generalized
- GeneralizedGeneralized image. Needs to be provisioned during deployment time.
- Specialized
- SpecializedSpecialized image. Contains already provisioned OS Disk.
- Operating
System State Types Generalized - GeneralizedGeneralized image. Needs to be provisioned during deployment time.
- Operating
System State Types Specialized - SpecializedSpecialized image. Contains already provisioned OS Disk.
- Generalized
- GeneralizedGeneralized image. Needs to be provisioned during deployment time.
- Specialized
- SpecializedSpecialized image. Contains already provisioned OS Disk.
- Generalized
- GeneralizedGeneralized image. Needs to be provisioned during deployment time.
- Specialized
- SpecializedSpecialized image. Contains already provisioned OS Disk.
- GENERALIZED
- GeneralizedGeneralized image. Needs to be provisioned during deployment time.
- SPECIALIZED
- SpecializedSpecialized image. Contains already provisioned OS Disk.
- "Generalized"
- GeneralizedGeneralized image. Needs to be provisioned during deployment time.
- "Specialized"
- SpecializedSpecialized image. Contains already provisioned OS Disk.
OperatingSystemTypes, OperatingSystemTypesArgs
- Windows
- Windows
- Linux
- Linux
- Operating
System Types Windows - Windows
- Operating
System Types Linux - Linux
- Windows
- Windows
- Linux
- Linux
- Windows
- Windows
- Linux
- Linux
- WINDOWS
- Windows
- LINUX
- Linux
- "Windows"
- Windows
- "Linux"
- Linux
RecommendedMachineConfiguration, RecommendedMachineConfigurationArgs
- Memory
Pulumi.
Azure Native. Compute. Inputs. Resource Range - Describes the resource range.
- VCPUs
Pulumi.
Azure Native. Compute. Inputs. Resource Range - Describes the resource range.
- Memory
Resource
Range - Describes the resource range.
- VCPUs
Resource
Range - Describes the resource range.
- memory
Resource
Range - Describes the resource range.
- v
CPUs ResourceRange - Describes the resource range.
- memory
Resource
Range - Describes the resource range.
- v
CPUs ResourceRange - Describes the resource range.
- memory
Resource
Range - Describes the resource range.
- v_
cpus ResourceRange - Describes the resource range.
- memory Property Map
- Describes the resource range.
- v
CPUs Property Map - Describes the resource range.
RecommendedMachineConfigurationResponse, RecommendedMachineConfigurationResponseArgs
- Memory
Pulumi.
Azure Native. Compute. Inputs. Resource Range Response - Describes the resource range.
- VCPUs
Pulumi.
Azure Native. Compute. Inputs. Resource Range Response - Describes the resource range.
- Memory
Resource
Range Response - Describes the resource range.
- VCPUs
Resource
Range Response - Describes the resource range.
- memory
Resource
Range Response - Describes the resource range.
- v
CPUs ResourceRange Response - Describes the resource range.
- memory
Resource
Range Response - Describes the resource range.
- v
CPUs ResourceRange Response - Describes the resource range.
- memory
Resource
Range Response - Describes the resource range.
- v_
cpus ResourceRange Response - Describes the resource range.
- memory Property Map
- Describes the resource range.
- v
CPUs Property Map - Describes the resource range.
ResourceRange, ResourceRangeArgs
ResourceRangeResponse, ResourceRangeResponseArgs
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:compute:GalleryImage myGalleryImageName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0