Share via


ArmContainerServiceModelFactory.ManagedClusterCredential Method

Definition

Initializes a new instance of ManagedClusterCredential.

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

Parameters

name
String

The name of the credential.

value
Byte[]

Base64-encoded Kubernetes configuration file.

Returns

A new ManagedClusterCredential instance for mocking.

Applies to