{"id":15035155,"url":"https://github.com/vmware/vsphere-automation-sdk-go","last_synced_at":"2025-04-12T18:45:27.056Z","repository":{"id":39256494,"uuid":"223869857","full_name":"vmware/vsphere-automation-sdk-go","owner":"vmware","description":"Go programming language SDK (Beta) for VMC. NSX-T and vSphere services will be added soon.","archived":false,"fork":false,"pushed_at":"2025-04-03T07:12:54.000Z","size":22592,"stargazers_count":35,"open_issues_count":5,"forks_count":24,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-03T21:12:19.451Z","etag":null,"topics":["go","go-sdk","golang","sdk","vmc","vmware","vmware-vmc","vsphere-automation-sdk-go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-25T05:39:54.000Z","updated_at":"2025-03-17T06:04:22.000Z","dependencies_parsed_at":"2024-12-11T12:06:48.802Z","dependency_job_id":"8492b9e9-5bb9-4af9-afae-c211c209c89d","html_url":"https://github.com/vmware/vsphere-automation-sdk-go","commit_stats":null,"previous_names":[],"tags_count":89,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fvsphere-automation-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fvsphere-automation-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fvsphere-automation-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fvsphere-automation-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmware","download_url":"https://codeload.github.com/vmware/vsphere-automation-sdk-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248617357,"owners_count":21134190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","go-sdk","golang","sdk","vmc","vmware","vmware-vmc","vsphere-automation-sdk-go"],"created_at":"2024-09-24T20:27:40.994Z","updated_at":"2025-04-12T18:45:27.021Z","avatar_url":"https://github.com/vmware.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vsphere-automation-sdk-go (Beta)\n\nvSphere Automation SDK Beta for GO language.\n\n[![License](https://img.shields.io/static/v1?\u0026label=License\u0026message=BSD-2-Clause\u0026color=red\u0026style=for-the-badge)](LICENSE.txt)\n\n![Supported VMware Products](https://img.shields.io/static/v1?\u0026label=Supported%20VMware%20Products\u0026message=%20VMC%2C%20NSX-T%20\u0026color=blue\u0026style=for-the-badge)\n\n# VMware vSphere Automation SDK for GO Language\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Table of Contents](#table-of-contents)\n- [Quick Start Guide](#quick-start-guide)\n- [API Documentation](#api-documentation)\n- [Resource Maintenance](#resource-maintenance)\n- [Repository Administrator Resources](#repository-administrator-resources)\n  - [Board Members](#board-members)\n- [VMware Resources](#vmware-resources)\n- [License](#license)\n\n## Overview\n\nThis document describes the vSphere Automation GO SDK services(client-bindings), that use the vSphere Automation\nGO client library. Currently, vSphere Automation Go SDK supports VMC and NSX-T. Support for vSphere(vCenter) will be added soon.\n\n## Quick Start Guide\n\nThis document will walk you through setting up the SDK to start writing your Sample.\n\n### Environment Set Up\n\n#### Pre-Requisites\n\n- golang 1.17\n- Recommneded use of [Go Modules](https://blog.golang.org/using-go-modules) for development,\n  as it will be very convenient and easy to upgrade to major version releases.\n\n#### Go Environment Variables\n\n- **GO111MODULE** environment variable is recommended to be set as\n\n  \u003e **auto**: if all the Go projects in your development environment are not compatible with Go Modules.\n\n  \u003e **on**: if all your projects are compatible with Go Modules.\n\n- **GOPATH** environment variable is required to be set only if \"GO111MODULE\" is set to \"auto\".\n\n### Start Writing your Sample\n\n#### Create Go Module\n\nStart with creating Go Module by executing the command\n\n```shell\ngo mod init sample\n```\n\nExecuting this command will create go.mod file in current directory, as shown below\n\n```golang\nmodule sample\n\ngo 1.17\n\n```\n\n\u003e Note\n\n- If \"GOPATH\" is set in your development environment, use directory outside \"GOPATH\" as workspace for writing your sample.\n- If the Go Module, you are developing, is to be stored on any public or private Code repository, use fully qualified URL as the module name like for module vsphere-automation-sdk-go on github.com has module name \"github.com/vmware/vsphere-automation-sdk-go\".\n\n#### Writing your Sample\n\nYou can directly start writing your sample.go file by importing the required Go Modules.\nFor **VMC** services import\n\n\u003e github.com/vmware/vsphere-automation-sdk-go/services/vmc\n\nFor **NSX-T** services import\n\n\u003e github.com/vmware/vsphere-automation-sdk-go/services/nsxt\n\nYou can refer to the below code excerpt.\n\n```golang\npackage main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\n\tvmc \"github.com/vmware/vsphere-automation-sdk-go/services/vmc\"\n.\n.\n.\n```\n\n\u003e Note\n\n- If you are using IDE to develop and want to use auto-completion, navigation and other such features for fast and easy development, just write all your imports with \"\\_\" (underscore) as alias as shown below\n\n  ```golang\n  package main\n\n  import (\n      _ \"github.com/vmware/vsphere-automation-sdk-go/services/vmc\"\n  )\n  ```\n\n  and then execute below command in the directory with the go.mod file\n\n  ```shell\n  go test\n  ```\n  OR\n  ```\n  go build\n  ```\n\nThis will fetch all the dependency modules and your IDE code-related features will start working.\n\n## API Documentation\n\nThe API documentation can be accessed from here:\n\n[VMC APIs](https://godoc.org/github.com/vmware/vsphere-automation-sdk-go/services/vmc).\n[NSX-T APIs](https://godoc.org/github.com/vmware/vsphere-automation-sdk-go/services/nsxt).\n\n## Resource Maintenance\n\n### Filing Issues\n\nAny bugs or other issues should be filed with appropriate tags, within GitHub by way of the repository’s Issue Tracker.\n\n### Resolving Issues\n\nThis project contains auto-generated code, therefore code contributions will not be accepted. However, vsphere-automation-sdk-go team welcomes issue reports and we will do our best to ensure that future population of repository will contain a fix.\n\n## Repository Administrator Resources\n\n### Board Members\n\nBoard members are volunteers from the SDK community and VMware staff members.\n\nMembers:\n\n- Deyan Popov (VMware)\n- Ankit Agrawal (VMware)\n- Kunal Singh (VMware)\n\n## VMware Resources\n\n- [vSphere Automation SDK Overview](http://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.vapi.progguide.doc/GUID-AF73991C-FC1C-47DF-8362-184B6544CFDE.html)\n- [VMware Code](https://code.vmware.com/home)\n- [VMware Developer Community](https://communities.vmware.com/community/vmtn/developer)\n- [VMware VMC Go API Reference documentation](https://godoc.org/github.com/vmware/vsphere-automation-sdk-go/services/vmc).\n  \u003c!---* [VMware NSX-T GOLang API Reference documentation](https://godoc.org/github.com/vmware/vsphere-automation-sdk-go/services/nsxt).---\u003e\n  \u003c!---* [VMware vSphere GOLang API Reference documentation](https://godoc.org/github.com/vmware/vsphere-automation-sdk-go/services/vsphere).---\u003e\n  \u003c!---* [VMware GOLang forum]()---\u003e\n\n## License\n\nvsphere-automation-sdk-go is available under the [BSD-2 license](LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Fvsphere-automation-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmware%2Fvsphere-automation-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Fvsphere-automation-sdk-go/lists"}