Sdílet prostřednictvím


CustomKeysWorkspaceConnectionProperties Class

Definition

Category:= CustomKeys AuthType:= CustomKeys (as type discriminator) Credentials:= {CustomKeys} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.CustomKeys Target:= {any value} Use Metadata property bag for ApiVersion and other metadata fields

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

Constructors

CustomKeysWorkspaceConnectionProperties()

Initializes a new instance of CustomKeysWorkspaceConnectionProperties.

Properties

Category

Category of the connection.

(Inherited from MachineLearningWorkspaceConnectionProperties)
CredentialsKeys

Dictionary of <string>.

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