Share via


DatabaseWatcherTargetProperties Class

Definition

The generic properties of a target. Please note DatabaseWatcherTargetProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SqlDBSingleDatabaseTargetProperties, SqlDBElasticPoolTargetProperties and SqlMITargetProperties.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DatabaseWatcher.Models.UnknownDatabaseWatcherTargetProperties))]
public abstract class DatabaseWatcherTargetProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DatabaseWatcher.Models.DatabaseWatcherTargetProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DatabaseWatcher.Models.DatabaseWatcherTargetProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DatabaseWatcher.Models.UnknownDatabaseWatcherTargetProperties))>]
type DatabaseWatcherTargetProperties = class
    interface IJsonModel<DatabaseWatcherTargetProperties>
    interface IPersistableModel<DatabaseWatcherTargetProperties>
Public MustInherit Class DatabaseWatcherTargetProperties
Implements IJsonModel(Of DatabaseWatcherTargetProperties), IPersistableModel(Of DatabaseWatcherTargetProperties)
Inheritance
DatabaseWatcherTargetProperties
Derived
Attributes
Implements

Constructors

DatabaseWatcherTargetProperties(TargetAuthenticationType, String)

Initializes a new instance of DatabaseWatcherTargetProperties.

Properties

ConnectionServerName

The FQDN host name of the server to use in the connection string when connecting to a target. For example, for an Azure SQL logical server in the Azure commercial cloud, the value might be 'sql-logical-server-22092780.database.windows.net'; for an Azure SQL managed instance in the Azure commercial cloud, the value might be 'sql-mi-39441134.767d5869f605.database.windows.net'. Port number and instance name must be specified separately.

ProvisioningState

The provisioning state of the resource.

TargetAuthenticationType

The type of authentication to use when connecting to a target.

TargetVault

To use SQL authentication when connecting to targets, specify the vault where the login name and password secrets are stored.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DatabaseWatcherTargetProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DatabaseWatcherTargetProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DatabaseWatcherTargetProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DatabaseWatcherTargetProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DatabaseWatcherTargetProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to