ArmIotOperationsModelFactory.KubernetesReference Method

Definition

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

Parameters

apiGroup
String

APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.

kind
String

Kind is the type of resource being referenced.

name
String

Name is the name of resource being referenced.

namespace
String

Namespace is the namespace of the resource being referenced. This field is required when the resource has a namespace.

Returns

A new KubernetesReference instance for mocking.

Applies to