共用方式為


IWithServicePrincipalProfile.WithServicePrincipal(String, String) Method

Definition

Properties for cluster service principals.

public Microsoft.Azure.Management.ContainerService.Fluent.ContainerService.Definition.IWithLinux WithServicePrincipal (string clientId, string secret);
abstract member WithServicePrincipal : string * string -> Microsoft.Azure.Management.ContainerService.Fluent.ContainerService.Definition.IWithLinux
Public Function WithServicePrincipal (clientId As String, secret As String) As IWithLinux

Parameters

clientId
String

The ID for the service principal.

secret
String

The secret password associated with the service principal.

Returns

Applies to