Share via


ArmKubernetesModelFactory.CredentialResult(String, Byte[]) Method

Definition

Initializes a new instance of CredentialResult.

public static Azure.ResourceManager.Kubernetes.Models.CredentialResult CredentialResult (string name = default, byte[] value = default);
static member CredentialResult : string * byte[] -> Azure.ResourceManager.Kubernetes.Models.CredentialResult
Public Shared Function CredentialResult (Optional name As String = Nothing, Optional value As Byte() = Nothing) As CredentialResult

Parameters

name
String

The name of the credential.

value
Byte[]

Base64-encoded Kubernetes configuration file.

Returns

A new CredentialResult instance for mocking.

Applies to