Sdílet prostřednictvím


JobTarget Class

Definition

A job target, for example a specific database or a container of databases that is evaluated during job execution.

public class JobTarget : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.Models.JobTarget>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.Models.JobTarget>
type JobTarget = class
    interface IJsonModel<JobTarget>
    interface IPersistableModel<JobTarget>
Public Class JobTarget
Implements IJsonModel(Of JobTarget), IPersistableModel(Of JobTarget)
Inheritance
JobTarget
Implements

Constructors

JobTarget(JobTargetType)

Initializes a new instance of JobTarget.

Properties

DatabaseName

The target database name.

ElasticPoolName

The target elastic pool name.

MembershipType

Whether the target is included or excluded from the group.

RefreshCredential

The resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target.

ServerName

The target server name.

ShardMapName

The target shard map.

TargetType

The target type.

Explicit Interface Implementations

IJsonModel<JobTarget>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<JobTarget>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<JobTarget>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<JobTarget>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<JobTarget>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to