共用方式為


ArmSqlModelFactory.DeletedServerData Method

Definition

Initializes a new instance of DeletedServerData.

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 fullyQualifiedDomainName = default);
static member DeletedServerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * string -> 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 fullyQualifiedDomainName As String = Nothing) As DeletedServerData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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.

fullyQualifiedDomainName
String

The fully qualified domain name of the server.

Returns

A new DeletedServerData instance for mocking.

Applies to