你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ApiKeyAuthWorkspaceConnectionProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This connection type covers the generic ApiKey auth connection categories, for examples: AzureOpenAI: Category:= AzureOpenAI AuthType:= ApiKey (as type discriminator) Credentials:= {ApiKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey Target:= {ApiBase}
CognitiveService: Category:= CognitiveService AuthType:= ApiKey (as type discriminator) Credentials:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey Target:= ServiceRegion={serviceRegion}
CognitiveSearch: Category:= CognitiveSearch AuthType:= ApiKey (as type discriminator) Credentials:= {Key} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey Target:= {Endpoint}
Use Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields
public class ApiKeyAuthWorkspaceConnectionProperties : Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceConnectionProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.ApiKeyAuthWorkspaceConnectionProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.ApiKeyAuthWorkspaceConnectionProperties>
public class ApiKeyAuthWorkspaceConnectionProperties : Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceConnectionProperties
type ApiKeyAuthWorkspaceConnectionProperties = class
inherit MachineLearningWorkspaceConnectionProperties
interface IJsonModel<ApiKeyAuthWorkspaceConnectionProperties>
interface IPersistableModel<ApiKeyAuthWorkspaceConnectionProperties>
type ApiKeyAuthWorkspaceConnectionProperties = class
inherit MachineLearningWorkspaceConnectionProperties
Public Class ApiKeyAuthWorkspaceConnectionProperties
Inherits MachineLearningWorkspaceConnectionProperties
Implements IJsonModel(Of ApiKeyAuthWorkspaceConnectionProperties), IPersistableModel(Of ApiKeyAuthWorkspaceConnectionProperties)
Public Class ApiKeyAuthWorkspaceConnectionProperties
Inherits MachineLearningWorkspaceConnectionProperties
- Inheritance
- Implements
Constructors
ApiKeyAuthWorkspaceConnectionProperties() |
Initializes a new instance of ApiKeyAuthWorkspaceConnectionProperties. |
Properties
Category |
Category of the connection. (Inherited from MachineLearningWorkspaceConnectionProperties) |
CreatedByWorkspaceArmId |
Gets the created by workspace arm id. (Inherited from MachineLearningWorkspaceConnectionProperties) |
CredentialsKey |
Gets or sets the credentials key. |
ExpiryOn |
Gets or sets the expiry on. (Inherited from MachineLearningWorkspaceConnectionProperties) |
Group |
Group based on connection category. (Inherited from MachineLearningWorkspaceConnectionProperties) |
IsSharedToAll |
Gets or sets the is shared to all. (Inherited from MachineLearningWorkspaceConnectionProperties) |
Metadata |
Store user metadata for this connection. (Inherited from MachineLearningWorkspaceConnectionProperties) |
SharedUserList |
Gets the shared user list. (Inherited from MachineLearningWorkspaceConnectionProperties) |
Target |
Gets or sets the target. (Inherited from MachineLearningWorkspaceConnectionProperties) |