Class JobAgent
An Azure SQL job agent.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class JobAgent : Microsoft.Azure.Management.Sql.Models.TrackedResource
Constructors
JobAgent()
Initializes a new instance of the JobAgent class.
Declaration
public JobAgent ();
JobAgent(String, String, String, String, String, IDictionary<String,String>, Sku, String)
Initializes a new instance of the JobAgent class.
Declaration
public JobAgent (string location, string databaseId, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, Microsoft.Azure.Management.Sql.Models.Sku sku = null, string state = null);
Parameters
String
location
Resource location. |
String
databaseId
Resource ID of the database to store job metadata in. |
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
IDictionary<String,String>
tags
Resource tags. |
Sku
sku
The name and tier of the SKU. |
String
state
The state of the job agent. Possible values include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled' |
Properties
DatabaseId
Gets or sets resource ID of the database to store job metadata in.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.databaseId")]
public string DatabaseId { get; set; }
Property Value
String
|
Sku
Gets or sets the name and tier of the SKU.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="sku")]
public Microsoft.Azure.Management.Sql.Models.Sku Sku { get; set; }
Property Value
Sku
|
State
Gets the state of the job agent. Possible values include: 'Creating', 'Ready', 'Updating', 'Deleting', 'Disabled'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.state")]
public string State { get; }
Property Value
String
|
Methods
Validate()
Validate the object.
Declaration
public override void Validate ();
Exceptions
ValidationException
Thrown if validation fails |