Language

GallerySoftDeletedResource Class

Definition

The details information of soft-deleted resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class GallerySoftDeletedResource : Microsoft.Azure.Management.Compute.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type GallerySoftDeletedResource = class
    inherit TrackedResource
Public Class GallerySoftDeletedResource
Inherits TrackedResource
Inheritance
GallerySoftDeletedResource
Attributes

Constructors

Name Description
GallerySoftDeletedResource()

Initializes a new instance of the GallerySoftDeletedResource class.

GallerySoftDeletedResource(String, String, String, String, IDictionary<String, String>, String, String, String, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the GallerySoftDeletedResource class.

GallerySoftDeletedResource(String, String, String, String, IDictionary<String,String>, String, String, String)

Initializes a new instance of the GallerySoftDeletedResource class.

Properties

Name Description
ConsumptionEndTime

Gets the timestamp after which a soft-deleted gallery image version is no longer consumable for VM/VMSS creation or VMSS scale out. It is calculated from the soft-deleted time plus the retention period. In dateTime offset format.

HardDeletionTargetTime

Gets the timestamp at which a soft-deleted gallery image version is permanently (hard) deleted and can no longer be recovered. In dateTime offset format.

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
Location

Gets or sets the geo-location where the resource lives

(Inherited from TrackedResource)
Name

Gets the name of the resource

(Inherited from Resource)
ResourceArmId

Gets or sets arm id of the soft-deleted resource

SoftDeletedArtifactType

Gets or sets artifact type of the soft-deleted resource Possible values include: 'Images'

SoftDeletedTime

Gets or sets the timestamp for when the resource is soft-deleted. In dateTime offset format.

Tags

Gets or sets resource tags.

(Inherited from TrackedResource)
Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)

Methods

Name Description
Validate()

Validate the object.

Applies to