Class SharedImageVersion
Manages a Version of a Shared Image within a Shared Image Gallery.
Inherited Members
Namespace: Pulumi.Azure.Compute
Assembly: Pulumi.Azure.dll
Syntax
public class SharedImageVersion : CustomResource
Constructors
View SourceSharedImageVersion(String, SharedImageVersionArgs, CustomResourceOptions)
Create a SharedImageVersion resource with the given unique name, arguments, and options.
Declaration
public SharedImageVersion(string name, SharedImageVersionArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SharedImageVersionArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceExcludeFromLatest
Should this Image Version be excluded from the latest filter? If set to true this Image Version won't be returned for the latest version. Defaults to false.
Declaration
public Output<bool?> ExcludeFromLatest { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
GalleryName
The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.
Declaration
public Output<string> GalleryName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ImageName
The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.
Declaration
public Output<string> ImageName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Location
The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ManagedImageId
The ID of the Managed Image which should be used for this Shared Image Version. Changing this forces a new resource to be created.
Declaration
public Output<string> ManagedImageId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The version number for this Image Version, such as 1.0.0. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A collection of tags which should be applied to this resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
TargetRegions
One or more target_region blocks as documented below.
Declaration
public Output<ImmutableArray<SharedImageVersionTargetRegion>> TargetRegions { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<SharedImageVersionTargetRegion>> |
Methods
View SourceGet(String, Input<String>, SharedImageVersionState, CustomResourceOptions)
Get an existing SharedImageVersion resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SharedImageVersion Get(string name, Input<string> id, SharedImageVersionState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| SharedImageVersionState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SharedImageVersion |