Bagikan melalui


MachineLearningUsernamePasswordAuthTypeWorkspaceConnection Class

Definition

The MachineLearningUsernamePasswordAuthTypeWorkspaceConnection.

public class MachineLearningUsernamePasswordAuthTypeWorkspaceConnection : Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceConnectionProperties
type MachineLearningUsernamePasswordAuthTypeWorkspaceConnection = class
    inherit MachineLearningWorkspaceConnectionProperties
Public Class MachineLearningUsernamePasswordAuthTypeWorkspaceConnection
Inherits MachineLearningWorkspaceConnectionProperties
Inheritance
MachineLearningUsernamePasswordAuthTypeWorkspaceConnection

Constructors

MachineLearningUsernamePasswordAuthTypeWorkspaceConnection()

Initializes a new instance of MachineLearningUsernamePasswordAuthTypeWorkspaceConnection.

Properties

Category

Category of the connection.

(Inherited from MachineLearningWorkspaceConnectionProperties)
Credentials

Gets or sets the credentials.

ExpiryOn

Gets or sets the expiry on.

(Inherited from MachineLearningWorkspaceConnectionProperties)
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" }.

(Inherited from MachineLearningWorkspaceConnectionProperties)
Target

Gets or sets the target.

(Inherited from MachineLearningWorkspaceConnectionProperties)

Applies to