Delen via


SynapseCmdkeySetup Class

Definition

The custom setup of running cmdkey commands.

public class SynapseCmdkeySetup : Azure.ResourceManager.Synapse.Models.SynapseCustomSetupBase
type SynapseCmdkeySetup = class
    inherit SynapseCustomSetupBase
Public Class SynapseCmdkeySetup
Inherits SynapseCustomSetupBase
Inheritance
SynapseCmdkeySetup

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" }.

Applies to