ArmSynapseModelFactory.SynapseSqlPoolData Method

Definition

Initializes a new instance of SynapseSqlPoolData.

public static Azure.ResourceManager.Synapse.SynapseSqlPoolData SynapseSqlPoolData (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.ResourceManager.Synapse.Models.SynapseSku sku = default, long? maxSizeBytes = default, string collation = default, string sourceDatabaseId = default, string recoverableDatabaseId = default, string provisioningState = default, string status = default, DateTimeOffset? restorePointInTime = default, Azure.ResourceManager.Synapse.Models.SqlPoolCreateMode? createMode = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.Synapse.Models.SqlPoolStorageAccountType? storageAccountType = default, DateTimeOffset? sourceDatabaseDeletionOn = default);
static member SynapseSqlPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Synapse.Models.SynapseSku * Nullable<int64> * string * string * string * string * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Synapse.Models.SqlPoolCreateMode> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Synapse.Models.SqlPoolStorageAccountType> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Synapse.SynapseSqlPoolData
Public Shared Function SynapseSqlPoolData (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 sku As SynapseSku = Nothing, Optional maxSizeBytes As Nullable(Of Long) = Nothing, Optional collation As String = Nothing, Optional sourceDatabaseId As String = Nothing, Optional recoverableDatabaseId As String = Nothing, Optional provisioningState As String = Nothing, Optional status As String = Nothing, Optional restorePointInTime As Nullable(Of DateTimeOffset) = Nothing, Optional createMode As Nullable(Of SqlPoolCreateMode) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional storageAccountType As Nullable(Of SqlPoolStorageAccountType) = Nothing, Optional sourceDatabaseDeletionOn As Nullable(Of DateTimeOffset) = Nothing) As SynapseSqlPoolData

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.

sku
SynapseSku

SQL pool SKU.

maxSizeBytes
Nullable<Int64>

Maximum size in bytes.

collation
String

Collation mode.

sourceDatabaseId
String

Source database to create from.

recoverableDatabaseId
String

Backup database to restore from.

provisioningState
String

Resource state.

status
String

Resource status.

restorePointInTime
Nullable<DateTimeOffset>

Snapshot time to restore.

createMode
Nullable<SqlPoolCreateMode>

Specifies the mode of sql pool creation.

Default: regular sql pool creation.

PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.

Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.

Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.

createdOn
Nullable<DateTimeOffset>

Date the SQL pool was created.

storageAccountType
Nullable<SqlPoolStorageAccountType>

The storage account type used to store backups for this sql pool.

sourceDatabaseDeletionOn
Nullable<DateTimeOffset>

Specifies the time that the sql pool was deleted.

Returns

A new SynapseSqlPoolData instance for mocking.

Applies to