Documentation ¶
Index ¶
- Variables
- func ConnectNSXAPI(serverIP string, port int) string
- func GetSecurityDetails(securityGroupName string, nsxCredentials NsxCredentials) securityGroupDetails
- func GetVirtualMachineInSecGroupAPI(nsxCredentials NsxCredentials, virtualMachine string) string
- func NsxConfig(d *schema.ResourceData) (interface{}, error)
- func Provider() terraform.ResourceProvider
- func RemoveVirtualMachineAPI(nsxCredentials NsxCredentials, securityGroupID string, virtualMachine string) string
- func SecurityGroupAddMembersAPI(nsxCredentials NsxCredentials, securityGroupID string, virtualMachineID string) string
- func SecurityGroupDetailsAPI(nsxCredentials NsxCredentials) string
- type Error
- type NsxCredentials
Constants ¶
This section is empty.
Variables ¶
View Source
var DELETE = "DELETE"
View Source
var GET = "GET"
View Source
var OPTIONS = "OPTIONS"
View Source
var POST = "POST"
View Source
var PUT = "PUT"
Functions ¶
func ConnectNSXAPI ¶
check if NSX URL is valid or not url
func GetSecurityDetails ¶
func GetSecurityDetails(securityGroupName string, nsxCredentials NsxCredentials) securityGroupDetails
func GetVirtualMachineInSecGroupAPI ¶
func GetVirtualMachineInSecGroupAPI(nsxCredentials NsxCredentials, virtualMachine string) string
read members in security group
func NsxConfig ¶
func NsxConfig(d *schema.ResourceData) (interface{}, error)
check the nsx credentails
func RemoveVirtualMachineAPI ¶
func RemoveVirtualMachineAPI(nsxCredentials NsxCredentials, securityGroupID string, virtualMachine string) string
remove vm from security group api
func SecurityGroupAddMembersAPI ¶
func SecurityGroupAddMembersAPI(nsxCredentials NsxCredentials, securityGroupID string, virtualMachineID string) string
add vm to security group api
func SecurityGroupDetailsAPI ¶
func SecurityGroupDetailsAPI(nsxCredentials NsxCredentials) string
get secuirty group details api
Types ¶
Click to show internal directories.
Click to hide internal directories.