Sdílet prostřednictvím


SynapseCmdkeySetup Class

Definition

The custom setup of running cmdkey commands.

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

Constructors

SynapseCmdkeySetup(BinaryData, BinaryData, SynapseSecretBase)

Initializes a new instance of SynapseCmdkeySetup.

Properties

Password

The password of data source access. Please note SynapseSecretBase 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 SynapseSecureString.

TargetName

The server name of data source access.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

UserName

The user name of data source access.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SynapseCmdkeySetup>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SynapseCmdkeySetup>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SynapseCustomSetupBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from SynapseCustomSetupBase)
IPersistableModel<SynapseCmdkeySetup>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SynapseCmdkeySetup>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SynapseCmdkeySetup>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SynapseCustomSetupBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from SynapseCustomSetupBase)

Applies to