Show / Hide Table of Contents

Class SharedImageVersion

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

Inheritance
System.Object
Resource
CustomResource
SharedImageVersion
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Compute
Assembly: Pulumi.Azure.dll
Syntax
public class SharedImageVersion : CustomResource

Constructors

View Source

SharedImageVersion(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 Source

ExcludeFromLatest

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>>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.