Dela via


AnalyticsSynapseArtifactsModelFactory.SqlPool Method

Definition

Initializes a new instance of SqlPool.

public static Azure.Analytics.Synapse.Artifacts.Models.SqlPool SqlPool (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string location = default, Azure.Analytics.Synapse.Artifacts.Models.Sku sku = default, long? maxSizeBytes = default, string collation = default, string sourceDatabaseId = default, string recoverableDatabaseId = default, string provisioningState = default, string status = default, string restorePointInTime = default, Azure.Analytics.Synapse.Artifacts.Models.CreateMode? createMode = default, DateTimeOffset? creationDate = default);
static member SqlPool : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Azure.Analytics.Synapse.Artifacts.Models.Sku * Nullable<int64> * string * string * string * string * string * string * Nullable<Azure.Analytics.Synapse.Artifacts.Models.CreateMode> * Nullable<DateTimeOffset> -> Azure.Analytics.Synapse.Artifacts.Models.SqlPool
Public Shared Function SqlPool (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As String = Nothing, Optional sku As Sku = 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 String = Nothing, Optional createMode As Nullable(Of CreateMode) = Nothing, Optional creationDate As Nullable(Of DateTimeOffset) = Nothing) As SqlPool

Parameters

id
String

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

name
String

The name of the resource.

type
String

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

tags
IDictionary<String,String>

Resource tags.

location
String

The geo-location where the resource lives.

sku
Sku

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
String

Snapshot time to restore.

createMode
Nullable<CreateMode>

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.

creationDate
Nullable<DateTimeOffset>

Date the SQL pool was created.

Returns

A new SqlPool instance for mocking.

Applies to