ArmKubernetesConfigurationModelFactory.KubernetesObjectReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.