Aracılığıyla paylaş


ArmSqlModelFactory.ElasticPoolDatabaseActivity Method

Definition

Initializes a new instance of ElasticPoolDatabaseActivity.

public static Azure.ResourceManager.Sql.Models.ElasticPoolDatabaseActivity ElasticPoolDatabaseActivity (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, string databaseName = default, DateTimeOffset? endOn = default, int? errorCode = default, string errorMessage = default, int? errorSeverity = default, string operation = default, Guid? operationId = default, int? percentComplete = default, string requestedElasticPoolName = default, string currentElasticPoolName = default, string currentServiceObjective = default, string requestedServiceObjective = default, string serverName = default, DateTimeOffset? startOn = default, string state = default);
static member ElasticPoolDatabaseActivity : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * string * Nullable<DateTimeOffset> * Nullable<int> * string * Nullable<int> * string * Nullable<Guid> * Nullable<int> * string * string * string * string * string * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.Sql.Models.ElasticPoolDatabaseActivity
Public Shared Function ElasticPoolDatabaseActivity (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 databaseName As String = 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 requestedElasticPoolName As String = Nothing, Optional currentElasticPoolName As String = Nothing, Optional currentServiceObjective As String = Nothing, Optional requestedServiceObjective As String = Nothing, Optional serverName As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional state As String = Nothing) As ElasticPoolDatabaseActivity

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.

databaseName
String

The database name.

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.

requestedElasticPoolName
String

The name for the elastic pool the database is moving into if available.

currentElasticPoolName
String

The name of the current elastic pool the database is in if available.

currentServiceObjective
String

The name of the current service objective if available.

requestedServiceObjective
String

The name of the requested service objective if available.

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.

Returns

A new ElasticPoolDatabaseActivity instance for mocking.

Applies to