GallerySoftDeletedResource Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GallerySoftDeletedResource() |
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. |
| GallerySoftDeletedResource(String, String, String, String, IDictionary<String, String>, String, String, String, Nullable<DateTime>, Nullable<DateTime>) |
Initializes a new instance of the GallerySoftDeletedResource class. |
GallerySoftDeletedResource()
Initializes a new instance of the GallerySoftDeletedResource class.
public GallerySoftDeletedResource();
Public Sub New ()
Applies to
GallerySoftDeletedResource(String, String, String, String, IDictionary<String,String>, String, String, String)
Initializes a new instance of the GallerySoftDeletedResource class.
public GallerySoftDeletedResource(string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string resourceArmId = default, string softDeletedArtifactType = default, string softDeletedTime = default);
new Microsoft.Azure.Management.Compute.Models.GallerySoftDeletedResource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string -> Microsoft.Azure.Management.Compute.Models.GallerySoftDeletedResource
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional resourceArmId As String = Nothing, Optional softDeletedArtifactType As String = Nothing, Optional softDeletedTime As String = Nothing)
Parameters
- location
- String
The geo-location where the resource lives
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- tags
- IDictionary<String,String>
Resource tags.
- resourceArmId
- String
arm id of the soft-deleted resource
- softDeletedArtifactType
- String
artifact type of the soft-deleted resource Possible values include: 'Images'
- softDeletedTime
- String
The timestamp for when the resource is soft-deleted. In dateTime offset format.
Applies to
GallerySoftDeletedResource(String, String, String, String, IDictionary<String, String>, String, String, String, Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the GallerySoftDeletedResource class.
public GallerySoftDeletedResource(string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string resourceArmId = default, string softDeletedArtifactType = default, string softDeletedTime = default, DateTime? consumptionEndTime = default, DateTime? hardDeletionTargetTime = default);
new Microsoft.Azure.Management.Compute.Models.GallerySoftDeletedResource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Management.Compute.Models.GallerySoftDeletedResource
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional resourceArmId As String = Nothing, Optional softDeletedArtifactType As String = Nothing, Optional softDeletedTime As String = Nothing, Optional consumptionEndTime As Nullable(Of DateTime) = Nothing, Optional hardDeletionTargetTime As Nullable(Of DateTime) = Nothing)
Parameters
- location
- String
The geo-location where the resource lives
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- tags
- IDictionary<String,String>
Resource tags.
- resourceArmId
- String
arm id of the soft-deleted resource
- softDeletedArtifactType
- String
artifact type of the soft-deleted resource Possible values include: 'Images'
- softDeletedTime
- String
The timestamp for when the resource is soft-deleted. In dateTime offset format.
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.
The timestamp at which a soft-deleted gallery image version is permanently (hard) deleted and can no longer be recovered. In dateTime offset format.