ArmCognitiveServicesModelFactory.CustomKeysConnectionProperties Method
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.
Initializes a new instance of CustomKeysConnectionProperties.
public static Azure.ResourceManager.CognitiveServices.Models.CustomKeysConnectionProperties CustomKeysConnectionProperties(Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesConnectionCategory? category = default, Azure.Core.ResourceIdentifier createdByWorkspaceArmId = default, string error = default, DateTimeOffset? expiryOn = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesConnectionGroup? group = default, bool? isSharedToAll = default, System.Collections.Generic.IDictionary<string,string> metadata = default, Azure.ResourceManager.CognitiveServices.Models.ManagedPERequirement? peRequirement = default, Azure.ResourceManager.CognitiveServices.Models.ManagedPEStatus? peStatus = default, System.Collections.Generic.IEnumerable<string> sharedUserList = default, string target = default, bool? useWorkspaceManagedIdentity = default, System.Collections.Generic.IDictionary<string,string> credentialsKeys = default);
static member CustomKeysConnectionProperties : Nullable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesConnectionCategory> * Azure.Core.ResourceIdentifier * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesConnectionGroup> * Nullable<bool> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.CognitiveServices.Models.ManagedPERequirement> * Nullable<Azure.ResourceManager.CognitiveServices.Models.ManagedPEStatus> * seq<string> * string * Nullable<bool> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.CognitiveServices.Models.CustomKeysConnectionProperties
Public Shared Function CustomKeysConnectionProperties (Optional category As Nullable(Of CognitiveServicesConnectionCategory) = Nothing, Optional createdByWorkspaceArmId As ResourceIdentifier = Nothing, Optional error As String = Nothing, Optional expiryOn As Nullable(Of DateTimeOffset) = Nothing, Optional group As Nullable(Of CognitiveServicesConnectionGroup) = Nothing, Optional isSharedToAll As Nullable(Of Boolean) = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional peRequirement As Nullable(Of ManagedPERequirement) = Nothing, Optional peStatus As Nullable(Of ManagedPEStatus) = Nothing, Optional sharedUserList As IEnumerable(Of String) = Nothing, Optional target As String = Nothing, Optional useWorkspaceManagedIdentity As Nullable(Of Boolean) = Nothing, Optional credentialsKeys As IDictionary(Of String, String) = Nothing) As CustomKeysConnectionProperties
Parameters
- category
- Nullable<CognitiveServicesConnectionCategory>
Category of the connection.
- createdByWorkspaceArmId
- ResourceIdentifier
- error
- String
Provides the error message if the connection fails.
- expiryOn
- Nullable<DateTimeOffset>
Group based on connection category.
- metadata
- IDictionary<String,String>
Store user metadata for this connection.
- peRequirement
- Nullable<ManagedPERequirement>
Specifies how private endpoints are used with this connection: 'Required', 'NotRequired', or 'NotApplicable'.
- peStatus
- Nullable<ManagedPEStatus>
Specifies the status of private endpoints for this connection: 'Inactive', 'Active', or 'NotApplicable'.
- sharedUserList
- IEnumerable<String>
- target
- String
The connection URL to be used.
- credentialsKeys
- IDictionary<String,String>
Dictionary of <string>.
Returns
A new CustomKeysConnectionProperties instance for mocking.