Condividi tramite


ArmSqlModelFactory.ElasticPoolActivity Method

Definition

Initializes a new instance of ElasticPoolActivity.

public static Azure.ResourceManager.Sql.Models.ElasticPoolActivity ElasticPoolActivity (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, DateTimeOffset? endOn = default, int? errorCode = default, string errorMessage = default, int? errorSeverity = default, string operation = default, Guid? operationId = default, int? percentComplete = default, int? requestedDatabaseDtuMax = default, int? requestedDatabaseDtuMin = default, int? requestedDtu = default, string requestedElasticPoolName = default, long? requestedStorageLimitInGB = default, string elasticPoolName = default, string serverName = default, DateTimeOffset? startOn = default, string state = default, int? requestedStorageLimitInMB = default, int? requestedDatabaseDtuGuarantee = default, int? requestedDatabaseDtuCap = default, int? requestedDtuGuarantee = default);
static member ElasticPoolActivity : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * Nullable<DateTimeOffset> * Nullable<int> * string * Nullable<int> * string * Nullable<Guid> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * string * Nullable<int64> * string * string * Nullable<DateTimeOffset> * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.Sql.Models.ElasticPoolActivity
Public Shared Function ElasticPoolActivity (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional errorCode As Nullable(Of Integer) = Nothing, Optional errorMessage As String = Nothing, Optional errorSeverity As Nullable(Of Integer) = Nothing, Optional operation As String = Nothing, Optional operationId As Nullable(Of Guid) = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional requestedDatabaseDtuMax As Nullable(Of Integer) = Nothing, Optional requestedDatabaseDtuMin As Nullable(Of Integer) = Nothing, Optional requestedDtu As Nullable(Of Integer) = Nothing, Optional requestedElasticPoolName As String = Nothing, Optional requestedStorageLimitInGB As Nullable(Of Long) = Nothing, Optional elasticPoolName As String = Nothing, Optional serverName As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional state As String = Nothing, Optional requestedStorageLimitInMB As Nullable(Of Integer) = Nothing, Optional requestedDatabaseDtuGuarantee As Nullable(Of Integer) = Nothing, Optional requestedDatabaseDtuCap As Nullable(Of Integer) = Nothing, Optional requestedDtuGuarantee As Nullable(Of Integer) = Nothing) As ElasticPoolActivity

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

The geo-location where the resource lives.

endOn
Nullable<DateTimeOffset>

The time the operation finished (ISO8601 format).

errorCode
Nullable<Int32>

The error code if available.

errorMessage
String

The error message if available.

errorSeverity
Nullable<Int32>

The error severity if available.

operation
String

The operation name.

operationId
Nullable<Guid>

The unique operation ID.

percentComplete
Nullable<Int32>

The percentage complete if available.

requestedDatabaseDtuMax
Nullable<Int32>

The requested max DTU per database if available.

requestedDatabaseDtuMin
Nullable<Int32>

The requested min DTU per database if available.

requestedDtu
Nullable<Int32>

The requested DTU for the pool if available.

requestedElasticPoolName
String

The requested name for the elastic pool if available.

requestedStorageLimitInGB
Nullable<Int64>

The requested storage limit for the pool in GB if available.

elasticPoolName
String

The name of the elastic pool.

serverName
String

The name of the server the elastic pool is in.

startOn
Nullable<DateTimeOffset>

The time the operation started (ISO8601 format).

state
String

The current state of the operation.

requestedStorageLimitInMB
Nullable<Int32>

The requested storage limit in MB.

requestedDatabaseDtuGuarantee
Nullable<Int32>

The requested per database DTU guarantee.

requestedDatabaseDtuCap
Nullable<Int32>

The requested per database DTU cap.

requestedDtuGuarantee
Nullable<Int32>

The requested DTU guarantee.

Returns

A new ElasticPoolActivity instance for mocking.

Applies to