ServicePrincipalParameters Constructor
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.
public ServicePrincipalParameters (Microsoft.Azure.Commands.Common.Authentication.PowerShellTokenCacheProvider tokenCacheProvider, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache tokenCache, string tenantId, string resourceId, string applicationId, string thumbprint, string certificatePath, System.Security.SecureString certificateSecret, System.Security.SecureString secret, bool? sendCertificateChain);
new Microsoft.Azure.Commands.Common.Authentication.ServicePrincipalParameters : Microsoft.Azure.Commands.Common.Authentication.PowerShellTokenCacheProvider * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache * string * string * string * string * string * System.Security.SecureString * System.Security.SecureString * Nullable<bool> -> Microsoft.Azure.Commands.Common.Authentication.ServicePrincipalParameters
Public Sub New (tokenCacheProvider As PowerShellTokenCacheProvider, environment As IAzureEnvironment, tokenCache As IAzureTokenCache, tenantId As String, resourceId As String, applicationId As String, thumbprint As String, certificatePath As String, certificateSecret As SecureString, secret As SecureString, sendCertificateChain As Nullable(Of Boolean))
Parameters
- tokenCacheProvider
- PowerShellTokenCacheProvider
- environment
- IAzureEnvironment
- tokenCache
- IAzureTokenCache
- tenantId
- String
- resourceId
- String
- applicationId
- String
- thumbprint
- String
- certificatePath
- String
- certificateSecret
- SecureString
- secret
- SecureString