ArmSqlModelFactory.DeletedServerData Method
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.
public static Azure.ResourceManager.Sql.DeletedServerData DeletedServerData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, string version, DateTimeOffset? deletedOn, Azure.Core.ResourceIdentifier originalId, string originalResourceGroup, string fullyQualifiedDomainName, 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 (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, version As String, deletedOn As Nullable(Of DateTimeOffset), originalId As ResourceIdentifier, originalResourceGroup As String, fullyQualifiedDomainName As String, Optional scheduledPurgeOn As Nullable(Of DateTimeOffset) = Nothing) As DeletedServerData
Parameters
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.