JobAgentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. sql. fluent. models. JobAgentInner
- com.
- com.
- com.
public final class JobAgentInner
extends Resource
An Azure SQL job agent.
Constructor Summary
| Constructor | Description |
|---|---|
| JobAgentInner() |
Creates an instance of Job |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
databaseId()
Get the database |
|
static
Job |
fromJson(JsonReader jsonReader)
Reads an instance of Job |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Job |
identity()
Get the identity property: The identity of the job agent. |
| String |
name()
Get the name property: The name of the resource. |
| Sku |
sku()
Get the sku property: The name and tier of the SKU. |
|
Job |
state()
Get the state property: The state of the job agent. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Job |
withDatabaseId(String databaseId)
Set the database |
|
Job |
withIdentity(JobAgentIdentity identity)
Set the identity property: The identity of the job agent. |
|
Job |
withLocation(String location) |
|
Job |
withSku(Sku sku)
Set the sku property: The name and tier of the SKU. |
|
Job |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
JobAgentInner
public JobAgentInner()
Creates an instance of JobAgentInner class.
Method Details
databaseId
public String databaseId()
Get the databaseId property: Resource ID of the database to store job metadata in.
Returns:
fromJson
public static JobAgentInner fromJson(JsonReader jsonReader)
Reads an instance of JobAgentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
JobAgentInner.id()Returns:
identity
public JobAgentIdentity identity()
Get the identity property: The identity of the job agent.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
JobAgentInner.name()Returns:
sku
public Sku sku()
Get the sku property: The name and tier of the SKU.
Returns:
state
public JobAgentState state()
Get the state property: The state of the job agent.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
JobAgentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
JobAgentInner.type()Returns:
validate
public void validate()
Validates the instance.
withDatabaseId
public JobAgentInner withDatabaseId(String databaseId)
Set the databaseId property: Resource ID of the database to store job metadata in.
Parameters:
Returns:
withIdentity
public JobAgentInner withIdentity(JobAgentIdentity identity)
Set the identity property: The identity of the job agent.
Parameters:
Returns:
withLocation
public JobAgentInner withLocation(String location)
Overrides:
JobAgentInner.withLocation(String location)Parameters:
withSku
public JobAgentInner withSku(Sku sku)
Set the sku property: The name and tier of the SKU.
Parameters:
Returns:
withTags
public JobAgentInner withTags(Map<String,String> tags)
Overrides:
JobAgentInner.withTags(Map<String,String> tags)Parameters: