共用方式為


ArmComputeModelFactory.GallerySoftDeletedResourceDetails Method

Definition

Initializes a new instance of GallerySoftDeletedResourceDetails.

public static Azure.ResourceManager.Compute.Models.GallerySoftDeletedResourceDetails GallerySoftDeletedResourceDetails (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.Core.ResourceIdentifier resourceArmId = default, Azure.ResourceManager.Compute.Models.GallerySoftDeletedArtifactType? softDeletedArtifactType = default, DateTimeOffset? softDeletedOn = default);
static member GallerySoftDeletedResourceDetails : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Compute.Models.GallerySoftDeletedArtifactType> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Compute.Models.GallerySoftDeletedResourceDetails
Public Shared Function GallerySoftDeletedResourceDetails (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional resourceArmId As ResourceIdentifier = Nothing, Optional softDeletedArtifactType As Nullable(Of GallerySoftDeletedArtifactType) = Nothing, Optional softDeletedOn As Nullable(Of DateTimeOffset) = Nothing) As GallerySoftDeletedResourceDetails

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

resourceArmId
ResourceIdentifier

arm id of the soft-deleted resource.

softDeletedArtifactType
Nullable<GallerySoftDeletedArtifactType>

artifact type of the soft-deleted resource.

softDeletedOn
Nullable<DateTimeOffset>

The timestamp for when the resource is soft-deleted. In dateTime offset format.

Returns

A new GallerySoftDeletedResourceDetails instance for mocking.

Applies to