共用方式為


JobAgent Constructors

Definition

Overloads

JobAgent()

Initializes a new instance of the JobAgent class.

JobAgent(String, String, String, String, String, IDictionary<String,String>, Sku, String)

Initializes a new instance of the JobAgent class.

JobAgent()

Initializes a new instance of the JobAgent class.

public JobAgent ();
Public Sub New ()

Applies to

JobAgent(String, String, String, String, String, IDictionary<String,String>, Sku, String)

Initializes a new instance of the JobAgent class.

public JobAgent (string location, string databaseId, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Sql.Models.Sku sku = default, string state = default);
new Microsoft.Azure.Management.Sql.Models.JobAgent : string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Sql.Models.Sku * string -> Microsoft.Azure.Management.Sql.Models.JobAgent
Public Sub New (location As String, databaseId As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As Sku = Nothing, Optional state As String = Nothing)

Parameters

location
String

Resource location.

databaseId
String

Resource ID of the database to store job metadata in.

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

sku
Sku

The name and tier of the SKU.

state
String

The state of the job agent. Possible values include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled'

Applies to