New-CnsVolumeMetadata

This cmdlet creates a Cloud Native Storage (CNS) volume metadata at the client side.

Syntax

-CnsEntityMetadata  <CnsEntityMetadata[]>
-ContainerCluster  <CnsContainerCluster[]>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
CnsEntityMetadata
CnsEntityMetadata[] named Specifies the CNS entity metadata associated with the CNS volume within a container orchestrator like Kubernetes.
required
ContainerCluster
CnsContainerCluster[] named Specifies the list of all container orchestrator clusters where you can use the CNS volume.

Output

VMware.VimAutomation.Storage.Types.V1.Vsan.Cns.CnsVolumeMetadata

Examples


Example 1

New-CnsVolumeMetadata -CnsEntityMetadata $cnsEntityMetadata -ContainerCluster $containerCluster

Creates a CNS volume metadata with $cnsEntityMetadata as a CNS entity metadata and $containerCluster as a container cluster.

Related Commands

Feedback

Was this page helpful?