共用方式為


IWithServicePrincipalProfile.WithServicePrincipalSecret(String) Method

Definition

Properties for service principal.

public Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Definition.IWithAgentPool WithServicePrincipalSecret (string secret);
abstract member WithServicePrincipalSecret : string -> Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Definition.IWithAgentPool
Public Function WithServicePrincipalSecret (secret As String) As IWithAgentPool

Parameters

secret
String

The secret password associated with the service principal.

Returns

Applies to