共用方式為


IKubernetesClusters.GetUserKubeConfigContents(String, String) Method

Definition

Returns the user Kube.config content which can be used with a Kubernetes client.

public byte[] GetUserKubeConfigContents (string resourceGroupName, string kubernetesClusterName);
abstract member GetUserKubeConfigContents : string * string -> byte[]
Public Function GetUserKubeConfigContents (resourceGroupName As String, kubernetesClusterName As String) As Byte()

Parameters

resourceGroupName
String

The resource group name where the cluster is.

kubernetesClusterName
String

The managed cluster name.

Returns

Byte[]

Applies to