共用方式為


ArmKubernetesModelFactory.CredentialResults Method

Definition

Initializes a new instance of CredentialResults.

public static Azure.ResourceManager.Kubernetes.Models.CredentialResults CredentialResults (Azure.ResourceManager.Kubernetes.Models.HybridConnectionConfig hybridConnectionConfig = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Kubernetes.Models.CredentialResult> kubeconfigs = default);
static member CredentialResults : Azure.ResourceManager.Kubernetes.Models.HybridConnectionConfig * seq<Azure.ResourceManager.Kubernetes.Models.CredentialResult> -> Azure.ResourceManager.Kubernetes.Models.CredentialResults
Public Shared Function CredentialResults (Optional hybridConnectionConfig As HybridConnectionConfig = Nothing, Optional kubeconfigs As IEnumerable(Of CredentialResult) = Nothing) As CredentialResults

Parameters

hybridConnectionConfig
HybridConnectionConfig

Contains the REP (rendezvous endpoint) and “Sender” access token.

kubeconfigs
IEnumerable<CredentialResult>

Base64-encoded Kubernetes configuration file.

Returns

A new CredentialResults instance for mocking.

Applies to