DatabaseWatcherTargetProperties Class

Definition

The generic properties of a target. Please note this is the abstract base class. The derived classes available for instantiation are: 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

Properties

Name Description
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

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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