Поделиться через


SqlDBSingleDatabaseTargetProperties Class

Definition

The properties specific to a database in Azure SQL Database.

public class SqlDBSingleDatabaseTargetProperties : Azure.ResourceManager.DatabaseWatcher.Models.DatabaseWatcherTargetProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DatabaseWatcher.Models.SqlDBSingleDatabaseTargetProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DatabaseWatcher.Models.SqlDBSingleDatabaseTargetProperties>
type SqlDBSingleDatabaseTargetProperties = class
    inherit DatabaseWatcherTargetProperties
    interface IJsonModel<SqlDBSingleDatabaseTargetProperties>
    interface IPersistableModel<SqlDBSingleDatabaseTargetProperties>
Public Class SqlDBSingleDatabaseTargetProperties
Inherits DatabaseWatcherTargetProperties
Implements IJsonModel(Of SqlDBSingleDatabaseTargetProperties), IPersistableModel(Of SqlDBSingleDatabaseTargetProperties)
Inheritance
SqlDBSingleDatabaseTargetProperties
Implements

Constructors

SqlDBSingleDatabaseTargetProperties(TargetAuthenticationType, String, ResourceIdentifier)

Initializes a new instance of SqlDBSingleDatabaseTargetProperties.

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.

(Inherited from DatabaseWatcherTargetProperties)
ProvisioningState

The provisioning state of the resource.

(Inherited from DatabaseWatcherTargetProperties)
ReadIntent

Set to true to monitor a high availability replica of specified target, if any.

SqlDbResourceId

The Azure resource ID of an Azure SQL DB database target.

TargetAuthenticationType

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

(Inherited from DatabaseWatcherTargetProperties)
TargetVault

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

(Inherited from DatabaseWatcherTargetProperties)

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.

(Inherited from DatabaseWatcherTargetProperties)
IJsonModel<DatabaseWatcherTargetProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DatabaseWatcherTargetProperties)
IJsonModel<SqlDBSingleDatabaseTargetProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SqlDBSingleDatabaseTargetProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DatabaseWatcherTargetProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DatabaseWatcherTargetProperties)
IPersistableModel<DatabaseWatcherTargetProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DatabaseWatcherTargetProperties)
IPersistableModel<DatabaseWatcherTargetProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DatabaseWatcherTargetProperties)
IPersistableModel<SqlDBSingleDatabaseTargetProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlDBSingleDatabaseTargetProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SqlDBSingleDatabaseTargetProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to