Sdílet prostřednictvím


MachineLearningWorkspaceConnectionProperties Class

Definition

The MachineLearningWorkspaceConnectionProperties. Please note MachineLearningWorkspaceConnectionProperties 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 MachineLearningManagedIdentityAuthTypeWorkspaceConnection, MachineLearningNoneAuthTypeWorkspaceConnection, MachineLearningPatAuthTypeWorkspaceConnection, MachineLearningSasAuthTypeWorkspaceConnection and MachineLearningUsernamePasswordAuthTypeWorkspaceConnection.

public abstract class MachineLearningWorkspaceConnectionProperties
type MachineLearningWorkspaceConnectionProperties = class
Public MustInherit Class MachineLearningWorkspaceConnectionProperties
Inheritance
MachineLearningWorkspaceConnectionProperties
Derived

Constructors

MachineLearningWorkspaceConnectionProperties()

Initializes a new instance of MachineLearningWorkspaceConnectionProperties.

Properties

Category

Category of the connection.

ExpiryOn

Gets or sets the expiry on.

Metadata

Any object

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

Target

Gets or sets the target.

Applies to