ArmCognitiveServicesModelFactory.ManagedIdentityAuthTypeConnectionProperties 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.
The ManagedIdentityAuthTypeConnectionProperties.
public static Azure.ResourceManager.CognitiveServices.Models.ManagedIdentityAuthTypeConnectionProperties ManagedIdentityAuthTypeConnectionProperties(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, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesConnectionManagedIdentity credentials = default);
static member ManagedIdentityAuthTypeConnectionProperties : 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> * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesConnectionManagedIdentity -> Azure.ResourceManager.CognitiveServices.Models.ManagedIdentityAuthTypeConnectionProperties
Public Shared Function ManagedIdentityAuthTypeConnectionProperties (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 credentials As CognitiveServicesConnectionManagedIdentity = Nothing) As ManagedIdentityAuthTypeConnectionProperties
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.
- credentials
- CognitiveServicesConnectionManagedIdentity
Returns
A new ManagedIdentityAuthTypeConnectionProperties instance for mocking.