ArmMachineLearningModelFactory.ManagedIdentityCredential 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 ManagedIdentityCredential.
public static Azure.ResourceManager.MachineLearning.Models.ManagedIdentityCredential ManagedIdentityCredential (string managedIdentityType = default, string userManagedIdentityResourceId = default, string userManagedIdentityClientId = default, string userManagedIdentityPrincipalId = default, string userManagedIdentityTenantId = default);
static member ManagedIdentityCredential : string * string * string * string * string -> Azure.ResourceManager.MachineLearning.Models.ManagedIdentityCredential
Public Shared Function ManagedIdentityCredential (Optional managedIdentityType As String = Nothing, Optional userManagedIdentityResourceId As String = Nothing, Optional userManagedIdentityClientId As String = Nothing, Optional userManagedIdentityPrincipalId As String = Nothing, Optional userManagedIdentityTenantId As String = Nothing) As ManagedIdentityCredential
Parameters
- managedIdentityType
- String
ManagedIdentityCredential identity type.
- userManagedIdentityResourceId
- String
Full arm scope for the Id. For ManagedIdentityType = SystemManaged, this field is null.
- userManagedIdentityClientId
- String
ClientId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null.
- userManagedIdentityPrincipalId
- String
PrincipalId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null.
- userManagedIdentityTenantId
- String
TenantId for the UAMI. For ManagedIdentityType = SystemManaged, this field is null.
Returns
A new ManagedIdentityCredential instance for mocking.
Applies to
Azure SDK for .NET