Partilhar via


ArmKubernetesConfigurationModelFactory.KubernetesObjectReference Method

Definition

Initializes a new instance of KubernetesObjectReference.

public static Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesObjectReference KubernetesObjectReference (string name = default, string namespace = default);
static member KubernetesObjectReference : string * string -> Azure.ResourceManager.KubernetesConfiguration.Models.KubernetesObjectReference
Public Shared Function KubernetesObjectReference (Optional name As String = Nothing, Optional namespace As String = Nothing) As KubernetesObjectReference

Parameters

name
String

Name of the object.

namespace
String

Namespace of the object.

Returns

A new KubernetesObjectReference instance for mocking.

Applies to