语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ArmSqlModelFactory.DeletedServerData Method

Definition

public static Azure.ResourceManager.Sql.DeletedServerData DeletedServerData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string version = default, DateTimeOffset? deletedOn = default, Azure.Core.ResourceIdentifier originalId = default, string originalResourceGroup = default, string fullyQualifiedDomainName = default, DateTimeOffset? scheduledPurgeOn = default);
static member DeletedServerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * string * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Sql.DeletedServerData
Public Shared Function DeletedServerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional version As String = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional originalId As ResourceIdentifier = Nothing, Optional originalResourceGroup As String = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional scheduledPurgeOn As Nullable(Of DateTimeOffset) = Nothing) As DeletedServerData

Parameters

id
ResourceIdentifier

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

name
String

The name of the resource.

resourceType
ResourceType

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

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

version
String

The version of the deleted server.

deletedOn
Nullable<DateTimeOffset>

The deletion time of the deleted server.

originalId
ResourceIdentifier

The original ID of the server before deletion.

originalResourceGroup
String

The resource group of the original server before deletion.

fullyQualifiedDomainName
String

The fully qualified domain name of the server.

scheduledPurgeOn
Nullable<DateTimeOffset>

The date and time when the deleted server will be permanently deleted (purged).

Returns

A new DeletedServerData instance for mocking.

Applies to