VMware Sample Exchange

Browse and download code samples from VMware as well as code samples contributed by the VMware community. Log in to Sample Exchange using your MyVMware credentials to submit requests for new samples, contribute your own samples, as well as propose a sample as a solution for open requests.

Disclaimer: All sample content and code in Sample Exchange is licensed to you by the sample's author. VMware does not guarantee the samples; they are provided "AS IS". Use of this site is subject to the VMware Community Terms of Use.

Browse the list below for code samples from VMware and the community. You can filter the list of samples by selecting a platform or language, or enter other search keywords above.

Filters

SDK / Platform / Tool

  • App Modernization

  • Cloud Management

  • Compute Virtualization

  • Desktop & App Virtualization

  • Developer Tools

  • Digital Workspace

  • Hybrid Cloud & Data Center Infrastructure

  • Hyperconverged Infrastructure

  • Multi-Cloud Operations

  • Private & Hybrid Cloud

  • Storage & Availability

  • Virtual Cloud Networking

  • Other Platform

Contributor

Language

1 - 10 of 13 Results Sample 4.4.1.1
  • VCF Create Domain

    Contributor VCF VMware

    VCF Create Domain : A workload domain is a policy based resource container with specific availability and performance attributes that combines compute (vSphere), storage (vSAN/NFS/VMFS on FC/VVOL) and ...
    VMware Cloud Foundation Python
    Download

    197 Downloads

    0 Comments

    Updated 2 months ago

  • VCF Create Cluster

    Contributor VCF VMware

    VCF Create Cluster : A cluster is a group of hosts. When a host is added to a cluster, the host\\\'s resources become part of the cluster\\\'s resources. After you add the primary cluster, you can add ...
    VMware Cloud Foundation Python
    Download

    188 Downloads

    0 Comments

    Updated 2 months ago

  • VCF Expand Cluster

    Contributor VCF VMware

    VCF Expand Cluster : Adding an individual host to a cluster adds the resources of that host to the cluster. You can add multiple hosts at a time to a cluster. Use the provided script to expand cluster ...
    VMware Cloud Foundation Python
    Download

    272 Downloads

    0 Comments

    Updated 2 months ago

  • VCF Get Clusters

    Contributor VCF VMware

    VCF Get Clusters : A cluster is a group of hosts. When a host is added to a cluster, the host's resources become part of the cluster's resources. Use the provided script to fetch cluster details in SD ...
    VMware Cloud Foundation Python
    Download

    231 Downloads

    0 Comments

    Updated 2 months ago

  • VCF Compact Cluster

    Contributor VCF VMware

    VCF Compact Cluster: When a host is removed from a cluster in a domain, the vSAN members are reduced. Ensure that you have enough hosts remaining to facilitate the configured vSAN availability. Failur ...
    VMware Cloud Foundation Python
    Download

    210 Downloads

    0 Comments

    Updated 2 months ago

  • VCF Delete Cluster

    Contributor VCF VMware

    VCF Delete Cluster : You cannot delete the last cluster in a domain. Instead, the domain can be deleted. A cluster cannot be deleted if it has remote vSAN datastores configured. If so, unmount the rem ...
    VMware Cloud Foundation Python
    Download

    175 Downloads

    0 Comments

    Updated 2 months ago

  • VCF Delete Domain

    Contributor VCF VMware

    VCF Delete Domain : A workload domain is a policy based resource container with specific availability and performance attributes that combines compute (vSphere), storage (vSAN/NFS/VMFS on FC/VVOL) and ...
    VMware Cloud Foundation Python
    Download

    145 Downloads

    0 Comments

    Updated 2 months ago

  • VCF Get Domains

    Contributor VCF VMware

    VCF Get Domains : A workload domain is a policy based resource container with specific availability and performance attributes that combines compute (vSphere), storage (vSAN/NFS/VMFS on FC/VVOL) and n ...
    VMware Cloud Foundation Python
    Download

    190 Downloads

    0 Comments

    Updated 2 months ago

  • VCF Host Commission

    Contributor VCF VMware

    VCF Host Commission : Adding hosts to the SDDC Manager inventory is called commissioning.Use the provided python script and the sample host commission spec to commission the hosts in your SDDC Environ ...
    VMware Cloud Foundation Python
    Download

    255 Downloads

    0 Comments

    Updated 2 months ago

  • VCF Host Decommission

    Contributor VCF VMware

    VCF Host Decommission : Removing hosts from the SDDC Manager inventory is called decommissioning. If you want to re-use a host in a different workload domain, you must decommission, re-image, and comm ...
    VMware Cloud Foundation Python
    Download

    177 Downloads

    0 Comments

    Updated 2 months ago