nsxt

package module
Version: v0.0.0-...-9a33939 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2021 License: BSD-2-Clause Imports: 45 Imported by: 9

README

go-vmware-nsxt

Overview

A Go library for Vmware NSX-T REST APIs. The library covers communication with NSX Manager, NSX Policy and NSX Upgrader.

Most codebase was generated by swagger-codegen based on NSX-T 2.0 release.

Try it out

Prerequisites
  • make sure Go is installed and GOPATH is set correctly
Build & Run
  1. go get -u github.com/vmware/go-vmware-nsxt
  2. go build

Documentation

Usage example

Please refer to terraform provider nsxt.

A good starting point would be looking at code initializing the provider.

Releases & Major Branches

Limitations

Some APIs where request or response structure rely on resource_type attribute offer limited support.

Contributing

The go-vmware-nsxt project team welcomes contributions from the community. Before you start working with go-vmware-nsxt, please read our Developer Certificate of Origin. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch. For more detailed information, refer to CONTRIBUTING.md.

License

go-vmware-nsxt is available under BSD-2 license.

Documentation

Overview

* NSX-T Data Center Policy API * * VMware NSX-T Data Center Policy REST API * * API version: 3.2.0.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

Index

Constants

View Source
const ContextAPIKey int = 4
View Source
const ContextAccessToken int = 3
View Source
const ContextBasicAuth int = 2
View Source
const ContextOAuth2 int = 1

Variables

This section is empty.

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func GetContext

func GetContext(cfg *Configuration) context.Context

func GetDefaultHeaders

func GetDefaultHeaders(client *APIClient) error

Perform 'session create' and save the xsrf & session id to the default headers

func InitHttpClient

func InitHttpClient(cfg *Configuration) error

Types

type APIClient

type APIClient struct {
	Context context.Context

	// API Services
	AaaApi                          *AaaApiService
	AggregationServiceApi           *AggregationServiceApiService
	ApiServicesApi                  *ApiServicesApiService
	AppDiscoveryApi                 *AppDiscoveryApiService
	AssociationsApi                 *AssociationsApiService
	CloudServiceManagerApi          *CloudServiceManagerApiService
	ErrorResolverApi                *ErrorResolverApiService
	FabricApi                       *FabricApiService
	GroupingObjectsApi              *GroupingObjectsApiService
	LicensingApi                    *LicensingApiService
	LogicalRoutingAndServicesApi    *LogicalRoutingAndServicesApiService
	LogicalSwitchingApi             *LogicalSwitchingApiService
	NetworkTransportApi             *NetworkTransportApiService
	NormalizationApi                *NormalizationApiService
	NsxComponentAdministrationApi   *NsxComponentAdministrationApiService
	NsxManagerHealthApi             *NsxManagerHealthApiService
	OperationsApi                   *OperationsApiService
	PolicyApi                       *PolicyApiService
	PoolManagementApi               *PoolManagementApiService
	RealizationApi                  *RealizationApiService
	ServicesApi                     *ServicesApiService
	TransportEntitiesApi            *TransportEntitiesApiService
	TroubleshootingAndMonitoringApi *TroubleshootingAndMonitoringApiService
	UpgradeApi                      *UpgradeApiService
	ContainerApplicationsApi        *ManagementPlaneApiFabricContainerApplicationsApiService
	ContainerClustersApi            *ManagementPlaneApiFabricContainerClustersApiService
	ContainerInventoryApi           *ManagementPlaneApiFabricContainerInventoryApiService
	ContainerProjectsApi            *ManagementPlaneApiFabricContainerProjectsApiService
	ClusterControlPlaneApi          *SystemAdministrationPolicyClusterControlPlaneApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the NSX API API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) (*APIClient, error)

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AaaApiService

type AaaApiService service

func (*AaaApiService) CreateRegistrationToken

func (a *AaaApiService) CreateRegistrationToken(ctx context.Context) (aaa.RegistrationToken, *http.Response, error)
AaaApiService Create registration access token

Create registration access token * @param ctx context.Context Authentication Context @return aaa.RegistrationToken

func (*AaaApiService) CreateRoleBinding

func (a *AaaApiService) CreateRoleBinding(ctx context.Context, roleBinding aaa.RoleBinding) (aaa.RoleBinding, *http.Response, error)
AaaApiService Assign roles to User or Group

Assign roles to User or Group * @param ctx context.Context Authentication Context @param roleBinding @return aaa.RoleBinding

func (*AaaApiService) DeleteRegistrationToken

func (a *AaaApiService) DeleteRegistrationToken(ctx context.Context, token string) (*http.Response, error)
AaaApiService Delete registration access token

Delete registration access token * @param ctx context.Context Authentication Context @param token Registration token @return

func (*AaaApiService) DeleteRoleBinding

func (a *AaaApiService) DeleteRoleBinding(ctx context.Context, bindingId string) (*http.Response, error)
AaaApiService Delete user/group's roles assignment

Delete user/group's roles assignment * @param ctx context.Context Authentication Context @param bindingId User/Group's id @return

func (*AaaApiService) GetAllRoleBindings

func (a *AaaApiService) GetAllRoleBindings(ctx context.Context, localVarOptionals map[string]interface{}) (aaa.RoleBindingListResult, *http.Response, error)
AaaApiService Get all users and groups with their roles

Get all users and groups with their roles * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "name" (string) User/Group name
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted
@param "type_" (string) Type

@return aaa.RoleBindingListResult

func (*AaaApiService) GetAllRolesInfo

func (a *AaaApiService) GetAllRolesInfo(ctx context.Context) (aaa.RoleListResult, *http.Response, error)
AaaApiService Get information about all roles

Get information about all roles * @param ctx context.Context Authentication Context @return aaa.RoleListResult

func (*AaaApiService) GetCurrentUserInfo

func (a *AaaApiService) GetCurrentUserInfo(ctx context.Context) (aaa.UserInfo, *http.Response, error)
AaaApiService Get information about logged-in user

Get information about logged-in user * @param ctx context.Context Authentication Context @return aaa.UserInfo

func (*AaaApiService) GetGroupVidmSearchResult

func (a *AaaApiService) GetGroupVidmSearchResult(ctx context.Context, searchString string, localVarOptionals map[string]interface{}) (aaa.VidmInfoListResult, *http.Response, error)
AaaApiService Get all the User Groups where vIDM display name matches the search key case insensitively. The search key is checked to be a substring of display name.

Get all the User Groups where vIDM display name matches the search key case insensitively. The search key is checked to be a substring of display name. * @param ctx context.Context Authentication Context @param searchString Search string to search for. @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return aaa.VidmInfoListResult

func (*AaaApiService) GetRegistrationToken

func (a *AaaApiService) GetRegistrationToken(ctx context.Context, token string) (aaa.RegistrationToken, *http.Response, error)
AaaApiService Get registration access token

Get registration access token * @param ctx context.Context Authentication Context @param token Registration token @return aaa.RegistrationToken

func (*AaaApiService) GetRoleBinding

func (a *AaaApiService) GetRoleBinding(ctx context.Context, bindingId string) (aaa.RoleBinding, *http.Response, error)
AaaApiService Get user/group's role information

Get user/group's role information * @param ctx context.Context Authentication Context @param bindingId User/Group's id @return aaa.RoleBinding

func (*AaaApiService) GetRoleInfo

func (a *AaaApiService) GetRoleInfo(ctx context.Context, role string) (aaa.RoleWithFeatures, *http.Response, error)
AaaApiService Get role information

Get role information * @param ctx context.Context Authentication Context @param role Role Name @return aaa.RoleWithFeatures

func (*AaaApiService) GetUserVidmSearchResult

func (a *AaaApiService) GetUserVidmSearchResult(ctx context.Context, searchString string, localVarOptionals map[string]interface{}) (aaa.VidmInfoListResult, *http.Response, error)
AaaApiService Get all the users from vIDM whose userName, givenName or familyName matches the search key case insensitively. The search key is checked to be a substring of name or given name or family name.

Get all the users from vIDM whose userName, givenName or familyName matches the search key case insensitively. The search key is checked to be a substring of name or given name or family name. * @param ctx context.Context Authentication Context @param searchString Search string to search for. @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return aaa.VidmInfoListResult

func (*AaaApiService) GetVidmSearchResult

func (a *AaaApiService) GetVidmSearchResult(ctx context.Context, searchString string, localVarOptionals map[string]interface{}) (aaa.VidmInfoListResult, *http.Response, error)
AaaApiService Get all the users and groups from vIDM matching the search key case insensitively. The search key is checked to be a substring of name or given name or family name of user and display name of group.

Get all the users and groups from vIDM matching the search key case insensitively. The search key is checked to be a substring of name or given name or family name of user and display name of group. * @param ctx context.Context Authentication Context @param searchString Search string to search for. @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return aaa.VidmInfoListResult

func (*AaaApiService) UpdateRoleBinding

func (a *AaaApiService) UpdateRoleBinding(ctx context.Context, bindingId string, roleBinding aaa.RoleBinding) (aaa.RoleBinding, *http.Response, error)
AaaApiService Update User or Group's roles

Update User or Group's roles * @param ctx context.Context Authentication Context @param bindingId User/Group's id @param roleBinding @return aaa.RoleBinding

type AggregationServiceApiService

type AggregationServiceApiService service

func (*AggregationServiceApiService) GetAggregationServiceGlobalConfig

AggregationServiceApiService Read global health performance monitoring configuration

Read global health performance monitoring configuration * @param ctx context.Context Authentication Context @return aggregation.GlobalCollectionConfiguration

func (*AggregationServiceApiService) GetFeatureStackConfiguration

func (a *AggregationServiceApiService) GetFeatureStackConfiguration(ctx context.Context, featureStackName string) (aggregation.FeatureStackCollectionConfiguration, *http.Response, error)
AggregationServiceApiService Read health performance monitoring configuration for feature stack

Returns the complete set of client type data collection configuration records for the specified feature stack. * @param ctx context.Context Authentication Context @param featureStackName @return aggregation.FeatureStackCollectionConfiguration

func (*AggregationServiceApiService) ListFeatureStackConfigurations

AggregationServiceApiService List all health performance monitoring feature stacks

List all health performance monitoring feature stacks * @param ctx context.Context Authentication Context @return aggregation.FeatureStackCollectionConfigurationList

func (*AggregationServiceApiService) ResetAggregationServiceFeatureStackConfigurationResetCollectionFrequency

func (a *AggregationServiceApiService) ResetAggregationServiceFeatureStackConfigurationResetCollectionFrequency(ctx context.Context, featureStackName string, action string) (aggregation.FeatureStackCollectionConfiguration, *http.Response, error)
AggregationServiceApiService Reset the data collection frequency configuration setting to the default values

Reset the data collection frequency configuration setting to the default values * @param ctx context.Context Authentication Context @param featureStackName @param action @return aggregation.FeatureStackCollectionConfiguration

func (*AggregationServiceApiService) UpdateAggregationServiceGlobalConfig

func (a *AggregationServiceApiService) UpdateAggregationServiceGlobalConfig(ctx context.Context, globalCollectionConfiguration aggregation.GlobalCollectionConfiguration) (aggregation.GlobalCollectionConfiguration, *http.Response, error)
AggregationServiceApiService Set the global configuration for aggregation service related data collection

Set the global configuration for aggregation service related data collection * @param ctx context.Context Authentication Context @param globalCollectionConfiguration @return aggregation.GlobalCollectionConfiguration

func (*AggregationServiceApiService) UpdateFeatureStackConfiguration

func (a *AggregationServiceApiService) UpdateFeatureStackConfiguration(ctx context.Context, featureStackName string, featureStackCollectionConfiguration aggregation.FeatureStackCollectionConfiguration) (aggregation.FeatureStackCollectionConfiguration, *http.Response, error)
AggregationServiceApiService Update health performance monitoring configuration for feature stack

Apply the data collection configuration for the specified feature stack. * @param ctx context.Context Authentication Context @param featureStackName @param featureStackCollectionConfiguration @return aggregation.FeatureStackCollectionConfiguration

type ApiError

type ApiError struct {
	ErrorCode int64 `json:"error_code,omitempty"`

	ErrorMessage string `json:"error_message,omitempty"`

	ModuleName string `json:"module_name,omitempty"`
}

type ApiServicesApiService

type ApiServicesApiService service

func (*ApiServicesApiService) ListTasks

func (a *ApiServicesApiService) ListTasks(ctx context.Context, localVarOptionals map[string]interface{}) (apiservice.TaskListResult, *http.Response, error)
ApiServicesApiService Get information about all tasks

Get information about all tasks * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "requestUri" (string) Request URI(s) to include in query result
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted
@param "status" (string) Status(es) to include in query result
@param "user" (string) Names of users to include in query result

@return apiservice.TaskListResult

func (*ApiServicesApiService) ReadAuthenticationPolicyProperties

func (a *ApiServicesApiService) ReadAuthenticationPolicyProperties(ctx context.Context) (apiservice.AuthenticationPolicyProperties, *http.Response, error)
ApiServicesApiService Read node authentication policy configuration

Returns information about the currently configured authentication policies on the node. * @param ctx context.Context Authentication Context @return apiservice.AuthenticationPolicyProperties

func (*ApiServicesApiService) ReadTaskProperties

func (a *ApiServicesApiService) ReadTaskProperties(ctx context.Context, taskId string) (apiservice.TaskProperties, *http.Response, error)
ApiServicesApiService Get information about the specified task

Get information about the specified task * @param ctx context.Context Authentication Context @param taskId ID of task to read @return apiservice.TaskProperties

func (*ApiServicesApiService) ReadTaskResult

func (a *ApiServicesApiService) ReadTaskResult(ctx context.Context, taskId string) (interface{}, *http.Response, error)
ApiServicesApiService Get the response of a task

Get the response of a task * @param ctx context.Context Authentication Context @param taskId ID of task to read @return interface{}

func (*ApiServicesApiService) RegisterBatchRequest

func (a *ApiServicesApiService) RegisterBatchRequest(ctx context.Context, batchRequest apiservice.BatchRequest, localVarOptionals map[string]interface{}) (apiservice.BatchResponse, *http.Response, error)
ApiServicesApiService Register a Collection of API Calls at a Single End Point

Enables you to make multiple API requests using a single request. The batch API takes in an array of logical HTTP requests represented as JSON arrays. Each request has a method (GET, PUT, POST, or DELETE), a relative_url (the portion of the URL after https://<nsx-mgr>/api/), optional headers array (corresponding to HTTP headers) and an optional body (for POST and PUT requests). The batch API returns an array of logical HTTP responses represented as JSON arrays. Each response has a status code, an optional headers array and an optional body (which is a JSON-encoded string). * @param ctx context.Context Authentication Context @param batchRequest @param optional (nil or map[string]interface{}) with one or more of:

@param "atomic" (bool) transactional atomicity for the batch of requests embedded in the batch list

@return apiservice.BatchResponse

func (*ApiServicesApiService) UpdateAuthenticationPolicyProperties

func (a *ApiServicesApiService) UpdateAuthenticationPolicyProperties(ctx context.Context, authenticationPolicyProperties apiservice.AuthenticationPolicyProperties) (apiservice.AuthenticationPolicyProperties, *http.Response, error)
ApiServicesApiService Update node authentication policy configuration

Update the currently configured authentication policy on the node. If any of api_max_auth_failures, api_failed_auth_reset_period, or api_failed_auth_lockout_period are modified, the http service is automatically restarted. * @param ctx context.Context Authentication Context @param authenticationPolicyProperties @return apiservice.AuthenticationPolicyProperties

type AppDiscoveryApiService

type AppDiscoveryApiService service

func (*AppDiscoveryApiService) AddAppProfile

AppDiscoveryApiService Adds a new app profile

Adds a new app profile * @param ctx context.Context Authentication Context @param appProfile @return AppProfile

func (*AppDiscoveryApiService) DeleteAppDiscoverySession

func (a *AppDiscoveryApiService) DeleteAppDiscoverySession(ctx context.Context, sessionId string) (*http.Response, error)
AppDiscoveryApiService Cancel and delete the application discovery session

Cancel and delete the application discovery session * @param ctx context.Context Authentication Context @param sessionId @return

func (*AppDiscoveryApiService) DeleteAppProfile

func (a *AppDiscoveryApiService) DeleteAppProfile(ctx context.Context, appProfileId string, localVarOptionals map[string]interface{}) (*http.Response, error)
AppDiscoveryApiService Delete App Profile

Deletes the specified AppProfile. * @param ctx context.Context Authentication Context @param appProfileId @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Force delete the resource even if it is being used somewhere

@return

func (*AppDiscoveryApiService) GetAppDiscoverySession

func (a *AppDiscoveryApiService) GetAppDiscoverySession(ctx context.Context, sessionId string) (appdiscovery.AppDiscoverySession, *http.Response, error)
AppDiscoveryApiService Returns the status of the application discovery session and other details

Returns the status of the application discovery session and other details * @param ctx context.Context Authentication Context @param sessionId @return AppDiscoverySession

func (*AppDiscoveryApiService) GetAppDiscoverySessionInstalledApps

func (a *AppDiscoveryApiService) GetAppDiscoverySessionInstalledApps(ctx context.Context, sessionId string, localVarOptionals map[string]interface{}) (appdiscovery.AppInfoListResult, *http.Response, error)
AppDiscoveryApiService Returns the details of the installed apps for the app profile ID in that session

Returns the details of the installed apps for the app profile ID in that session * @param ctx context.Context Authentication Context @param sessionId @param optional (nil or map[string]interface{}) with one or more of:

@param "appProfileId" (string)
@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted
@param "vmId" (string)

@return AppInfoListResult

func (*AppDiscoveryApiService) GetAppDiscoverySessionNsGroupMembers

func (a *AppDiscoveryApiService) GetAppDiscoverySessionNsGroupMembers(ctx context.Context, sessionId string, nsGroupId string) (appdiscovery.AppDiscoveryVmInfoListResult, *http.Response, error)
AppDiscoveryApiService vms in the ns-group of the application discovery session

Returns the vms in the ns-group of the application discovery session * @param ctx context.Context Authentication Context @param sessionId @param nsGroupId @return AppDiscoveryVmInfoListResult

func (*AppDiscoveryApiService) GetAppDiscoverySessionNsGroups

func (a *AppDiscoveryApiService) GetAppDiscoverySessionNsGroups(ctx context.Context, sessionId string) (appdiscovery.NsGroupMetaInfoListResult, *http.Response, error)
AppDiscoveryApiService ns-groups in this application discovery session

Returns the ns groups that was part of the application discovery session | while it was started * @param ctx context.Context Authentication Context @param sessionId @return NsGroupMetaInfoListResult

func (*AppDiscoveryApiService) GetAppDiscoverySessionSummary

func (a *AppDiscoveryApiService) GetAppDiscoverySessionSummary(ctx context.Context, sessionId string) (appdiscovery.AppDiscoverySessionResultSummary, *http.Response, error)
AppDiscoveryApiService Returns the summary of the application discovery session

Returns the summary of the application discovery session * @param ctx context.Context Authentication Context @param sessionId @return AppDiscoverySessionResultSummary

func (*AppDiscoveryApiService) GetAppDiscoverySessions

func (a *AppDiscoveryApiService) GetAppDiscoverySessions(ctx context.Context, localVarOptionals map[string]interface{}) (appdiscovery.AppDiscoverySessionsListResult, *http.Response, error)
AppDiscoveryApiService Returns the list of the application discovery sessions available

Returns the list of the application discovery sessions available * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "groupId" (string) NSGroup id, helps user query sessions related to one nsgroup
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted
@param "status" (string) Session Status, e.g. get all running sessions

@return AppDiscoverySessionsListResult

func (*AppDiscoveryApiService) GetAppProfileDetails

func (a *AppDiscoveryApiService) GetAppProfileDetails(ctx context.Context, appProfileId string) (appdiscovery.AppProfile, *http.Response, error)
AppDiscoveryApiService Returns detail of the app profile

Returns detail of the app profile * @param ctx context.Context Authentication Context @param appProfileId @return AppProfile

func (*AppDiscoveryApiService) GetAppProfiles

AppDiscoveryApiService Returns list of app profile IDs created

Returns list of app profile IDs created * @param ctx context.Context Authentication Context @return AppProfileListResult

func (*AppDiscoveryApiService) StartAppDiscoverySession

func (a *AppDiscoveryApiService) StartAppDiscoverySession(ctx context.Context, startAppDiscoverySessionParameters appdiscovery.StartAppDiscoverySessionParameters) (appdiscovery.AppDiscoverySession, *http.Response, error)
AppDiscoveryApiService Starts the discovery of application discovery session

Starts the discovery of application discovery session * @param ctx context.Context Authentication Context @param startAppDiscoverySessionParameters @return AppDiscoverySession

func (*AppDiscoveryApiService) UpdateAppProfile

func (a *AppDiscoveryApiService) UpdateAppProfile(ctx context.Context, appProfileId string, appProfile appdiscovery.AppProfile) (appdiscovery.AppProfile, *http.Response, error)
AppDiscoveryApiService Update AppProfile

Update AppProfile * @param ctx context.Context Authentication Context @param appProfileId @param appProfile @return AppProfile

type AssociationsApiService

type AssociationsApiService service

func (*AssociationsApiService) GetAssociations

func (a *AssociationsApiService) GetAssociations(ctx context.Context, associatedResourceType string, resourceId string, resourceType string, localVarOptionals map[string]interface{}) (association.AssociationListResult, *http.Response, error)
AssociationsApiService Get ResourceReference objects to which the given resource belongs to

Returns information about resources that are associated with the given resource. Id and type of the resource for which associated resources are to be fetched are to be specified as query parameter in the URI. Resource type of the associated resources must be specified as query parameter. * @param ctx context.Context Authentication Context @param associatedResourceType Resource type valid for use as target in association API @param resourceId The resource for which associated resources are to be fetched @param resourceType Resource type valid for use as source in association API @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "fetchAncestors" (bool) Fetch complete list of associated resources considering containment and nesting
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return association.AssociationListResult

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

type ClientRetriesConfiguration

type ClientRetriesConfiguration struct {
	MaxRetries      int
	RetryMinDelay   int // milliseconds
	RetryMaxDelay   int // milliseconds
	RetryOnStatuses []int
}

type CloudServiceManagerApiService

type CloudServiceManagerApiService service

func (*CloudServiceManagerApiService) AwsAccountInfo

func (a *CloudServiceManagerApiService) AwsAccountInfo(ctx context.Context, accountId string) (upgrade.AwsAccount, *http.Response, error)
CloudServiceManagerApiService Returns the details of the particular AWS account

Returns the details of the particular AWS account * @param ctx context.Context Authentication Context @param accountId ID of AWS account @return AwsAccount

func (*CloudServiceManagerApiService) AwsRegionInfo

CloudServiceManagerApiService Returns information about the particual Aws Region

Returns information about the particual Aws Region * @param ctx context.Context Authentication Context @param regionId ID of the region @return AwsRegion

func (*CloudServiceManagerApiService) AwsVpcInfo

CloudServiceManagerApiService Returns Vpc information

Returns Vpc information * @param ctx context.Context Authentication Context @param vpcId ID of the Vpc @return AwsVpc

func (*CloudServiceManagerApiService) CloudVirtualMachineInfo

func (a *CloudServiceManagerApiService) CloudVirtualMachineInfo(ctx context.Context, virtualMachineId string) (upgrade.CloudVirtualMachine, *http.Response, error)
CloudServiceManagerApiService Returns information about the particular virtual machine

Returns information about the particular virtual machine * @param ctx context.Context Authentication Context @param virtualMachineId ID of the virtual machine @return CloudVirtualMachine

func (*CloudServiceManagerApiService) CreateAwsAccount

CloudServiceManagerApiService Add a AWS account to cloud serivce manager

Add a AWS account to cloud serivce manager * @param ctx context.Context Authentication Context @param awsAccount @return AwsAccount

func (*CloudServiceManagerApiService) CreateNsxManagerAccount

func (a *CloudServiceManagerApiService) CreateNsxManagerAccount(ctx context.Context, nsxManagerAccount upgrade.NsxManagerAccount) (upgrade.NsxManagerAccount, *http.Response, error)
CloudServiceManagerApiService Create a NSX Manager account

Create a NSX Manager account * @param ctx context.Context Authentication Context @param nsxManagerAccount @return upgrade.NsxManagerAccount

func (*CloudServiceManagerApiService) DeleteAwsAccount

func (a *CloudServiceManagerApiService) DeleteAwsAccount(ctx context.Context, accountId string) (*http.Response, error)
CloudServiceManagerApiService Delete AWS account information

Delete AWS account information * @param ctx context.Context Authentication Context @param accountId ID of AWS account to delete @return

func (*CloudServiceManagerApiService) DeleteAwsGatewayAmi

func (a *CloudServiceManagerApiService) DeleteAwsGatewayAmi(ctx context.Context, regionId string) (*http.Response, error)
CloudServiceManagerApiService Delete a AWS Gateway AMI

Delete a AWS Gateway AMI * @param ctx context.Context Authentication Context @param regionId ID of AWS region @return

func (*CloudServiceManagerApiService) DeleteNsxManagerAccount

func (a *CloudServiceManagerApiService) DeleteNsxManagerAccount(ctx context.Context, accountId string) (*http.Response, error)
CloudServiceManagerApiService Delete a NSX Manager account

Delete a NSX Manager account * @param ctx context.Context Authentication Context @param accountId ID of NSX Manager account @return

func (*CloudServiceManagerApiService) DeployAwsGatewayDeploy

CloudServiceManagerApiService All the required configuration to deploy Aws gateways will be absorbed as a part of request body in this api and gateway deployment will be triggered.

All the required configuration to deploy Aws gateways will be absorbed as a part of request body in this api and gateway deployment will be triggered. * @param ctx context.Context Authentication Context @param awsGatewayDeployConfig @return AwsGatewayDeployConfig

func (*CloudServiceManagerApiService) GetAwsAccountStatus

func (a *CloudServiceManagerApiService) GetAwsAccountStatus(ctx context.Context, accountId string) (upgrade.AwsAccountStatus, *http.Response, error)
CloudServiceManagerApiService Return status of the account like credentails validity, inventory synchronization status and inventory synchronization state

Return status of the account like credentails validity, inventory synchronization status and inventory synchronization state * @param ctx context.Context Authentication Context @param accountId ID of AWS account @return AwsAccountStatus

func (*CloudServiceManagerApiService) GetAwsGatewayAmiInfo

func (a *CloudServiceManagerApiService) GetAwsGatewayAmiInfo(ctx context.Context, regionId string) (upgrade.AwsGatewayAmiInfo, *http.Response, error)
CloudServiceManagerApiService Returns AWS Gateway AMI for a particular region

Returns AWS Gateway AMI for a particular region * @param ctx context.Context Authentication Context @param regionId ID of AWS region @return AwsGatewayAmiInfo

func (*CloudServiceManagerApiService) GetAwsGatewayConfig

CloudServiceManagerApiService Returns configuration for primary gateway and secondary gateway for the vpc,if exists.

Returns configuration for primary gateway and secondary gateway for the vpc,if exists. * @param ctx context.Context Authentication Context @param vpcId ID of the Vpc @return AwsGatewayDeployConfig

func (*CloudServiceManagerApiService) GetAwsGatewayStatus

CloudServiceManagerApiService Returns status information for primary gateway and secondary gateway for the vpc, if exists.

Returns status information for primary gateway and secondary gateway for the vpc, if exists. * @param ctx context.Context Authentication Context @param vpcId @return AwsGatewayStatus

func (*CloudServiceManagerApiService) GetCsmStatus

func (a *CloudServiceManagerApiService) GetCsmStatus(ctx context.Context, localVarOptionals map[string]interface{}) (upgrade.CsmStatus, *http.Response, error)
CloudServiceManagerApiService Return Csm status information

Return Csm status information * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return upgrade.CsmStatus

func (*CloudServiceManagerApiService) ListAwsAccounts

func (a *CloudServiceManagerApiService) ListAwsAccounts(ctx context.Context, localVarOptionals map[string]interface{}) (upgrade.AwsAccountsListResult, *http.Response, error)
CloudServiceManagerApiService Return a list of all AWS accounts

Return a list of all AWS accounts * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "regionId" (string) Identifier for region based on which accounts statistics will be aggregated. Using this request parameter will return only all_accounts_vpc_stats and all_accounts_instance_stats properties.
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return AwsAccountsListResult

func (*CloudServiceManagerApiService) ListAwsGatewayAmis

func (a *CloudServiceManagerApiService) ListAwsGatewayAmis(ctx context.Context, localVarOptionals map[string]interface{}) (upgrade.AwsGatewayAmisListResult, *http.Response, error)
CloudServiceManagerApiService Returns a list of Aws Gateway Amis

Returns a list of Aws Gateway Amis * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "regionId" (string) Identifier for region based on which list of AWS Gateway AMIs will be obtained
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return AwsGatewayAmisListResult

func (*CloudServiceManagerApiService) ListAwsGateways

func (a *CloudServiceManagerApiService) ListAwsGateways(ctx context.Context, localVarOptionals map[string]interface{}) (upgrade.AwsGatewaysListResult, *http.Response, error)
CloudServiceManagerApiService Returns configuration information for all gateways

Returns configuration information for all gateways * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "accountId" (string) Identifier for account based on which Aws gateways list can to be filtered
@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "regionId" (string) Identifier for region based on which Aws Gateways list can to be filtered
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted
@param "vpcId" (string) Identifier for vpc based on which Aws Gateways list can to be filtered

@return AwsGatewaysListResult

func (*CloudServiceManagerApiService) ListAwsKeyPairs

func (a *CloudServiceManagerApiService) ListAwsKeyPairs(ctx context.Context, accountId string, regionId string, localVarOptionals map[string]interface{}) (upgrade.AwsKeyPairList, *http.Response, error)
CloudServiceManagerApiService Returns a list of Aws Key Pairs

Returns a list of Aws Key Pairs * @param ctx context.Context Authentication Context @param accountId Identifier for account based on which list of key pairs will be obtained @param regionId Identifier for region based on which list of key pairs will be obtained @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return AwsKeyPairList

func (*CloudServiceManagerApiService) ListAwsRegions

func (a *CloudServiceManagerApiService) ListAwsRegions(ctx context.Context, localVarOptionals map[string]interface{}) (upgrade.AwsRegionsListResult, *http.Response, error)
CloudServiceManagerApiService Returns a list of Aws regions

Returns a list of Aws regions * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "accountId" (string) Identifier for account based on which regions are to be filtered
@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "regionId" (string) Identifier for region based on which the list can be filtered or can be used to validate that hierarchy is correct
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return AwsRegionsListResult

func (*CloudServiceManagerApiService) ListAwsSubnets

func (a *CloudServiceManagerApiService) ListAwsSubnets(ctx context.Context, accountId string, availabilityZoneName string, regionName string, vpcId string, localVarOptionals map[string]interface{}) (upgrade.AwsSubnetListResult, *http.Response, error)
CloudServiceManagerApiService Returns a list of subnets

Returns a list of subnets * @param ctx context.Context Authentication Context @param accountId Identifier for account based on which subnets are to be filtered @param availabilityZoneName Identifier for availability zone based on which subnets are to be filtered @param regionName Identifier for region based on which subnets are to be filtered @param vpcId Identifier for vpc based on which subnets are to be filtered @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return AwsSubnetListResult

func (*CloudServiceManagerApiService) ListAwsVpcs

func (a *CloudServiceManagerApiService) ListAwsVpcs(ctx context.Context, localVarOptionals map[string]interface{}) (upgrade.AwsVpcListResult, *http.Response, error)
CloudServiceManagerApiService Returns a list of Vpcs. Support optional query parameters like account_id, region_id, cidr and/or op_status

Returns a list of Vpcs. Support optional query parameters like account_id, region_id, cidr and/or op_status * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "accountId" (string) Identifier for account based on which vpcs are to be filtered
@param "cidr" (string) IPV4 CIDR Block for the Vpc
@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "opStatus" (string) Identifier for state based on which vpcs are to be filtered
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "regionId" (string) Identifier for region based on which vpcs are to be filtered
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted
@param "vpcId" (string) Identifier for vpc based on which the list can be filtered or can be used to validate that hierarchy is correct

@return AwsVpcListResult

func (*CloudServiceManagerApiService) ListCloudVirtualMachines

func (a *CloudServiceManagerApiService) ListCloudVirtualMachines(ctx context.Context, localVarOptionals map[string]interface{}) (upgrade.CloudVirtualMachinesListResult, *http.Response, error)
CloudServiceManagerApiService Returns the list of all virtual machines created or imported under a particular account id. Supports optional query parameters like region id, vpc id, public_ip, is_gateway.

Returns the list of all virtual machines created or imported under a particular account id. Supports optional query parameters like region id, vpc id, public_ip, is_gateway. * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "accountId" (string) Identifier for account based on which virtual machines are to be filtered
@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "instanceId" (string) Identifier for virtual machine based on which the list can be filtered
@param "isGateway" (bool) Is the VM a gateway node?
@param "logicalSwitchId" (string) Identifier for logical switch based on which Aws Virtual Machines are to be filtered
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "publicIp" (string) Public IP address of the virtual machine
@param "regionId" (string) Identifier for region based on whicha Virtual Machines are to be filtered
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted
@param "vpcId" (string) Identifier for vpc based on which Aws Virtual Machines are to be filtered

@return upgrade.CloudVirtualMachinesListResult

func (*CloudServiceManagerApiService) ListNsxManagerAccounts

CloudServiceManagerApiService Returns a list of NSX Manager accounts

Returns a list of NSX Manager accounts * @param ctx context.Context Authentication Context @return upgrade.NsxManagerAccountsListResult

func (*CloudServiceManagerApiService) NsxManagerAccountInfo

func (a *CloudServiceManagerApiService) NsxManagerAccountInfo(ctx context.Context, accountId string) (upgrade.NsxManagerAccount, *http.Response, error)
CloudServiceManagerApiService Returns the particular NSX Manager account information

Returns the particular NSX Manager account information * @param ctx context.Context Authentication Context @param accountId ID of NSX Manager account @return upgrade.NsxManagerAccount

func (*CloudServiceManagerApiService) RegisterAwsGatewayAmi

func (a *CloudServiceManagerApiService) RegisterAwsGatewayAmi(ctx context.Context, awsGatewayAmiInfo upgrade.AwsGatewayAmiInfo) (upgrade.AwsGatewayAmiInfo, *http.Response, error)
CloudServiceManagerApiService Registers a AWS Gateway AMI for the region specified in the body. One can register only one gateway AMI ID per region. If a gateway AMI is already registered with a region, user is expected to use update API to overwrite the registerd AMI for a region.

Registers a AWS Gateway AMI for the region specified in the body. One can register only one gateway AMI ID per region. If a gateway AMI is already registered with a region, user is expected to use update API to overwrite the registerd AMI for a region. * @param ctx context.Context Authentication Context @param awsGatewayAmiInfo @return AwsGatewayAmiInfo

func (*CloudServiceManagerApiService) SyncAwsAccountInventorySyncInventory

func (a *CloudServiceManagerApiService) SyncAwsAccountInventorySyncInventory(ctx context.Context, accountId string) (*http.Response, error)
CloudServiceManagerApiService Synchronizes Aws account related inventory like Regions, Vpcs, Instances Status of inventory synchronization can be known from Aws account status api

Synchronizes Aws account related inventory like Regions, Vpcs, Instances Status of inventory synchronization can be known from Aws account status api * @param ctx context.Context Authentication Context @param accountId ID of AWS account @return

func (*CloudServiceManagerApiService) UndeployAwsGatewayUndeploy

func (a *CloudServiceManagerApiService) UndeployAwsGatewayUndeploy(ctx context.Context, awsGatewayUndeployConfig upgrade.AwsGatewayUndeployConfig) (*http.Response, error)
CloudServiceManagerApiService All the required configuration to undeploy Aws gateways will be absorbed as a part of request body in this api and gateway undeployment will be triggered.

All the required configuration to undeploy Aws gateways will be absorbed as a part of request body in this api and gateway undeployment will be triggered. * @param ctx context.Context Authentication Context @param awsGatewayUndeployConfig @return

func (*CloudServiceManagerApiService) UpdateAwsAccount

func (a *CloudServiceManagerApiService) UpdateAwsAccount(ctx context.Context, accountId string, awsAccount upgrade.AwsAccount) (upgrade.AwsAccount, *http.Response, error)
CloudServiceManagerApiService Update a AWS account information

Update a AWS account information * @param ctx context.Context Authentication Context @param accountId ID of AWS account @param awsAccount @return AwsAccount

func (*CloudServiceManagerApiService) UpdateAwsGatewayAmi

func (a *CloudServiceManagerApiService) UpdateAwsGatewayAmi(ctx context.Context, regionId string, awsGatewayAmiInfo upgrade.AwsGatewayAmiInfo) (upgrade.AwsGatewayAmiInfo, *http.Response, error)
CloudServiceManagerApiService Update a AWS Gateway AMI

Update a AWS Gateway AMI * @param ctx context.Context Authentication Context @param regionId ID of AWS region @param awsGatewayAmiInfo @return AwsGatewayAmiInfo

func (*CloudServiceManagerApiService) UpdateAwsGatewayConfig

func (a *CloudServiceManagerApiService) UpdateAwsGatewayConfig(ctx context.Context, vpcId string, awsGatewayDeployConfig upgrade.AwsGatewayDeployConfig) (upgrade.AwsGatewayDeployConfig, *http.Response, error)
CloudServiceManagerApiService Updates configuration for primary gateway and secondary gateway for the vpc, if exists.

Updates configuration for primary gateway and secondary gateway for the vpc, if exists. * @param ctx context.Context Authentication Context @param vpcId @param awsGatewayDeployConfig @return AwsGatewayDeployConfig

func (*CloudServiceManagerApiService) UpdateNsxManagerAccount

func (a *CloudServiceManagerApiService) UpdateNsxManagerAccount(ctx context.Context, accountId string, nsxManagerAccount upgrade.NsxManagerAccount) (upgrade.NsxManagerAccount, *http.Response, error)
CloudServiceManagerApiService Update a NSX Manager account

Update a NSX Manager account * @param ctx context.Context Authentication Context @param accountId ID of NSX Manager account @param nsxManagerAccount @return upgrade.NsxManagerAccount

type Configuration

type Configuration struct {
	BasePath             string `json:"basePath,omitempty"`
	Host                 string `json:"host,omitempty"`
	Scheme               string `json:"scheme,omitempty"`
	UserName             string
	Password             string
	RemoteAuth           bool
	DefaultHeader        map[string]string `json:"defaultHeader,omitempty"`
	UserAgent            string            `json:"userAgent,omitempty"`
	ClientAuthCertFile   string
	ClientAuthKeyFile    string
	CAFile               string
	ClientAuthCertString string
	ClientAuthKeyString  string
	CAString             string
	Insecure             bool
	RetriesConfiguration ClientRetriesConfiguration
	HTTPClient           *http.Client
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

type DeleteClusterControlPlaneOpts

type DeleteClusterControlPlaneOpts struct {
	Cascade optional.Bool
}

type ErrorResolverApiService

type ErrorResolverApiService service

func (*ErrorResolverApiService) GetErrorResolverInfo

func (a *ErrorResolverApiService) GetErrorResolverInfo(ctx context.Context, errorId string) (errorresolver.ErrorResolverInfo, *http.Response, error)
ErrorResolverApiService Fetches metadata about the given error_id

Returns some metadata about the given error_id. This includes information of whether there is a resolver present for the given error_id and its associated user input data * @param ctx context.Context Authentication Context @param errorId @return errorresolver.ErrorResolverInfo

func (*ErrorResolverApiService) ListErrorResolverInfo

ErrorResolverApiService Fetches a list of metadata for all the registered error resolvers

Returns a list of metadata for all the error resolvers registered. * @param ctx context.Context Authentication Context @return errorresolver.ErrorResolverInfoList

func (*ErrorResolverApiService) ResolveErrorResolveError

func (a *ErrorResolverApiService) ResolveErrorResolveError(ctx context.Context, errorResolverMetadataList errorresolver.ErrorResolverMetadataList) (*http.Response, error)
ErrorResolverApiService Resolves the error

Invokes the corresponding error resolver for the given error(s) present in the payload * @param ctx context.Context Authentication Context @param errorresolver.errorResolverMetadataList @return

type FabricApiService

type FabricApiService service

func (*FabricApiService) AddComputeManager

func (a *FabricApiService) AddComputeManager(ctx context.Context, computeManager manager.ComputeManager) (manager.ComputeManager, *http.Response, error)
FabricApiService Register compute manager with NSX

Registers compute manager with NSX. Inventory service will collect data from the registered compute manager * @param ctx context.Context Authentication Context @param computeManager @return manager.ComputeManager

func (*FabricApiService) AddNode

FabricApiService Register and Install NSX Components on a manager.Node

Creates a host node (hypervisor) or edge node (router) in the transport network. When you run this command for a host, NSX Manager attempts to install the NSX kernel modules, which are packaged as VIB, RPM, or DEB files. For the installation to succeed, you must provide the host login credentials and the host thumbprint. To get the ESXi host thumbprint, SSH to the host and run the <b>openssl x509 -in /etc/vmware/ssl/rui.crt -fingerprint -sha256 -noout</b> command. To generate host key thumbprint using SHA-256 algorithm please follow the steps below. Log into the host, making sure that the connection is not vulnerable to a man in the middle attack. Check whether a public key already exists. Host public key is generally located at '/etc/ssh/ssh_host_rsa_key.pub'. If the key is not present then generate a new key by running the following command and follow the instructions. <b>ssh-keygen -t rsa</b> Now generate a SHA256 hash of the key using the following command. Please make sure to pass the appropriate file name if the public key is stored with a different file name other than the default 'id_rsa.pub'. <b>awk '{print $2}' id_rsa.pub | base64 -d | sha256sum -b | sed 's/ .*$//' | xxd -r -p | base64</b> * @param ctx context.Context Authentication Context @param node @return manager.Node

func (*FabricApiService) CreateComputeCollectionFabricTemplate

func (a *FabricApiService) CreateComputeCollectionFabricTemplate(ctx context.Context, computeCollectionFabricTemplate manager.ComputeCollectionFabricTemplate) (manager.ComputeCollectionFabricTemplate, *http.Response, error)
FabricApiService Create a compute collection fabric template

Fabric templates are fabric configurations applied at the compute collection level. This configurations is used to decide what automated operations should be a run when a host membership changes. * @param ctx context.Context Authentication Context @param computeCollectionFabricTemplate @return manager.ComputeCollectionFabricTemplate

func (*FabricApiService) DeleteComputeCollectionFabricTemplate

func (a *FabricApiService) DeleteComputeCollectionFabricTemplate(ctx context.Context, fabricTemplateId string) (*http.Response, error)
FabricApiService Deletes compute collection fabric template

Deletes compute collection fabric template for the given id * @param ctx context.Context Authentication Context @param fabricTemplateId @return

func (*FabricApiService) DeleteComputeManager

func (a *FabricApiService) DeleteComputeManager(ctx context.Context, computeManagerId string) (*http.Response, error)
FabricApiService Unregister a compute manager

Unregisters a specified compute manager * @param ctx context.Context Authentication Context @param computeManagerId @return

func (*FabricApiService) DeleteNode

func (a *FabricApiService) DeleteNode(ctx context.Context, nodeId string, localVarOptionals map[string]interface{}) (*http.Response, error)
FabricApiService Delete a manager.Node

Removes a specified fabric node (host or edge). A fabric node may only be deleted when it is no longer referenced by a Transport manager.Node. If unprepare_host option is specified, the host will be deleted without uninstalling the NSX components from the host. * @param ctx context.Context Authentication Context @param nodeId @param optional (nil or map[string]interface{}) with one or more of:

@param "unprepareHost" (bool) Delete a host without uninstalling NSX components

@return

func (*FabricApiService) GetComputeCollectionFabricTemplate

func (a *FabricApiService) GetComputeCollectionFabricTemplate(ctx context.Context, fabricTemplateId string) (manager.ComputeCollectionFabricTemplate, *http.Response, error)
FabricApiService Get compute collection fabric template by id

Get compute collection fabric template for the given id * @param ctx context.Context Authentication Context @param fabricTemplateId @return manager.ComputeCollectionFabricTemplate

func (*FabricApiService) GetComputeManagerState

func (a *FabricApiService) GetComputeManagerState(ctx context.Context, computeManagerId string) (manager.ConfigurationState, *http.Response, error)
FabricApiService Get the realized state of a compute manager

Get the realized state of a compute manager * @param ctx context.Context Authentication Context @param computeManagerId @return ConfigurationState

func (*FabricApiService) GetFabricNodeModules

func (a *FabricApiService) GetFabricNodeModules(ctx context.Context, nodeId string) (manager.SoftwareModuleResult, *http.Response, error)
FabricApiService Get the module details of a Fabric manager.Node

Get the module details of a Fabric manager.Node * @param ctx context.Context Authentication Context @param nodeId @return SoftwareModuleResult

func (*FabricApiService) GetFabricNodeState

func (a *FabricApiService) GetFabricNodeState(ctx context.Context, nodeId string) (manager.ConfigurationState, *http.Response, error)
FabricApiService Get the Realized State of a Fabric manager.Node

Get the Realized State of a Fabric manager.Node * @param ctx context.Context Authentication Context @param nodeId @return ConfigurationState

func (*FabricApiService) HostPrepDiscoveredNodeHostprep

func (a *FabricApiService) HostPrepDiscoveredNodeHostprep(ctx context.Context, nodeExtId string) (manager.Node, *http.Response, error)
FabricApiService Prepares discovered manager.Node for NSX

Prepares(hostprep) discovered node for NSX. NSX LCP bundles are installed on this discovered node. * @param ctx context.Context Authentication Context @param nodeExtId @return manager.Node

func (*FabricApiService) ListComputeCollectionFabricTemplates

func (a *FabricApiService) ListComputeCollectionFabricTemplates(ctx context.Context, localVarOptionals map[string]interface{}) (manager.ComputeCollectionFabricTemplateListResult, *http.Response, error)
FabricApiService Get compute collection fabric templates

Returns compute collection fabric templates * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "computeCollectionId" (string) Compute collection id

@return manager.ComputeCollectionFabricTemplateListResult

func (*FabricApiService) ListComputeCollections

func (a *FabricApiService) ListComputeCollections(ctx context.Context, localVarOptionals map[string]interface{}) (manager.ComputeCollectionListResult, *http.Response, error)
FabricApiService Return the List of Compute Collections

Returns information about all compute collections. * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cmLocalId" (string) Local Id of the compute collection in the Compute Manager
@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "discoveredNodeId" (string) Id of the discovered node which belongs to this Compute Collection
@param "displayName" (string) Name of the manager.ComputeCollection in source compute manager
@param "externalId" (string) External ID of the manager.ComputeCollection in the source Compute manager, e.g. mo-ref in VC
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "nodeId" (string) Id of the fabric node created from a discovered node belonging to this Compute Collection
@param "originId" (string) Id of the compute manager from where this Compute Collection was discovered
@param "originType" (string) manager.ComputeCollection type like VC_Cluster. Here the Compute Manager type prefix would help in differentiating similar named Compute Collection types from different Compute Managers
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.ComputeCollectionListResult

func (*FabricApiService) ListComputeManagers

func (a *FabricApiService) ListComputeManagers(ctx context.Context, localVarOptionals map[string]interface{}) (manager.ComputeManagerListResult, *http.Response, error)
FabricApiService Return the List of Compute managers

Returns information about all compute managers. * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "originType" (string) Compute manager type like vCenter
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "server" (string) IP address or hostname of compute manager
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.ComputeManagerListResult

func (*FabricApiService) ListDiscoveredNodes

func (a *FabricApiService) ListDiscoveredNodes(ctx context.Context, localVarOptionals map[string]interface{}) (manager.DiscoveredNodeListResult, *http.Response, error)
FabricApiService Return the List of Discovered Nodes

Returns information about all discovered nodes. * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cmLocalId" (string) Local Id of the discovered node in the Compute Manager
@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "displayName" (string) Display name of discovered node
@param "externalId" (string) External id of the discovered node, ex. a mo-ref from VC
@param "hasParent" (string) Discovered node has a parent compute collection or is a standalone host
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "ipAddress" (string) IP address of the discovered node
@param "nodeId" (string) Id of the fabric node created from the discovered node
@param "nodeType" (string) Discovered manager.Node type like HostNode
@param "originId" (string) Id of the compute manager from where this node was discovered
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "parentComputeCollection" (string) External id of the compute collection to which this node belongs
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.DiscoveredNodeListResult

func (*FabricApiService) ListFabricNodeInterfaces

func (a *FabricApiService) ListFabricNodeInterfaces(ctx context.Context, nodeId string, localVarOptionals map[string]interface{}) (manager.NodeInterfacePropertiesListResult, *http.Response, error)
FabricApiService List the specified node's Network Interfaces

Returns the number of interfaces on the node and detailed information about each interface. Interface information includes MTU, broadcast and host IP addresses, link and admin status, MAC address, network mask, and the IP configuration method (static or DHCP). * @param ctx context.Context Authentication Context @param nodeId @param optional (nil or map[string]interface{}) with one or more of:

@param "source" (string) Data source type.

@return manager.NodeInterfacePropertiesListResult

func (*FabricApiService) ListNodeCapabilities

func (a *FabricApiService) ListNodeCapabilities(ctx context.Context, nodeId string) (manager.NodeCapabilitiesResult, *http.Response, error)
FabricApiService Return the List of Capabilities of a Single manager.Node

Returns information about capabilities of a single fabric node (host or edge). * @param ctx context.Context Authentication Context @param nodeId @return manager.NodeCapabilitiesResult

func (*FabricApiService) ListNodes

func (a *FabricApiService) ListNodes(ctx context.Context, localVarOptionals map[string]interface{}) (manager.NodeListResult, *http.Response, error)
FabricApiService Return the List of Nodes

Returns information about all fabric nodes (hosts and edges). * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "discoveredNodeId" (string) Id of the discovered node which was converted to create this node
@param "displayName" (string) HostNode display name
@param "externalId" (string) HostNode external id
@param "hypervisorOsType" (string) HostNode's Hypervisor type, for example ESXi, RHEL KVM or UBUNTU KVM.
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "ipAddress" (string) Management IP address of the node
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "resourceType" (string) manager.Node type from 'HostNode', 'EdgeNode', 'PublicCloudGatewayNode'
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.NodeListResult

func (*FabricApiService) ListVifs

func (a *FabricApiService) ListVifs(ctx context.Context, localVarOptionals map[string]interface{}) (manager.VirtualNetworkInterfaceListResult, *http.Response, error)
FabricApiService Return the List of Virtual Network Interfaces (VIFs)

Returns information about all VIFs. A virtual network interface aggregates network interfaces into a logical interface unit that is indistinuishable from a physical network interface. * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "hostId" (string) Id of the host where this vif is located.
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "lportAttachmentId" (string) LPort Attachment Id of the virtual network interface.
@param "ownerVmId" (string) External id of the virtual machine.
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted
@param "vmId" (string) External id of the virtual machine.

@return manager.VirtualNetworkInterfaceListResult

func (*FabricApiService) ListVirtualMachines

func (a *FabricApiService) ListVirtualMachines(ctx context.Context, localVarOptionals map[string]interface{}) (manager.VirtualMachineListResult, *http.Response, error)
FabricApiService Return the List of Virtual Machines

Returns information about all virtual machines. * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "displayName" (string) Display Name of the virtual machine
@param "externalId" (string) External id of the virtual machine
@param "hostId" (string) Id of the host where this vif is located
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.VirtualMachineListResult

func (*FabricApiService) PerformHostNodeUpgradeActionUpgradeInfra

func (a *FabricApiService) PerformHostNodeUpgradeActionUpgradeInfra(ctx context.Context, nodeId string, localVarOptionals map[string]interface{}) (manager.Node, *http.Response, error)
FabricApiService Perform a service deployment upgrade on a host node

Perform a service deployment upgrade on a host node * @param ctx context.Context Authentication Context @param nodeId @param optional (nil or map[string]interface{}) with one or more of:

@param "disableVmMigration" (bool) Should VM migration be disabled during upgrade

@return manager.Node

func (*FabricApiService) PerformNodeAction

func (a *FabricApiService) PerformNodeAction(ctx context.Context, nodeId string, localVarOptionals map[string]interface{}) (manager.Node, *http.Response, error)
FabricApiService Perform an Action on Fabric manager.Node

The supported fabric node actions are enter_maintenance_mode, exit_maintenance_mode for EdgeNode. This API is deprecated, please call TransportNode maintenance mode API to update maintenance mode, refer to \"Update transport node maintenance mode\". * @param ctx context.Context Authentication Context @param nodeId @param optional (nil or map[string]interface{}) with one or more of:

@param "action" (string) Supported fabric node actions

@return manager.Node

func (*FabricApiService) ReadComputeCollection

func (a *FabricApiService) ReadComputeCollection(ctx context.Context, ccExtId string) (manager.ComputeCollection, *http.Response, error)
FabricApiService Return Compute Collection Information

Returns information about a specific compute collection. * @param ctx context.Context Authentication Context @param ccExtId @return manager.ComputeCollection

func (*FabricApiService) ReadComputeManager

func (a *FabricApiService) ReadComputeManager(ctx context.Context, computeManagerId string) (manager.ComputeManager, *http.Response, error)
FabricApiService Return compute manager Information

Returns information about a specific compute manager * @param ctx context.Context Authentication Context @param computeManagerId @return manager.ComputeManager

func (*FabricApiService) ReadComputeManagerStatus

func (a *FabricApiService) ReadComputeManagerStatus(ctx context.Context, computeManagerId string) (manager.ComputeManagerStatus, *http.Response, error)
FabricApiService Return runtime status information for a compute manager

Returns connection and version information about a compute manager * @param ctx context.Context Authentication Context @param computeManagerId @return manager.ComputeManagerStatus

func (*FabricApiService) ReadDiscoveredNode

func (a *FabricApiService) ReadDiscoveredNode(ctx context.Context, nodeExtId string) (manager.DiscoveredNode, *http.Response, error)
FabricApiService Return Discovered manager.Node Information

Returns information about a specific discovered node. * @param ctx context.Context Authentication Context @param nodeExtId @return manager.DiscoveredNode

func (*FabricApiService) ReadFabricNodeInterface

func (a *FabricApiService) ReadFabricNodeInterface(ctx context.Context, nodeId string, interfaceId string, localVarOptionals map[string]interface{}) (manager.NodeInterfaceProperties, *http.Response, error)
FabricApiService Read the node's Network Interface

Returns detailed information about the specified interface. Interface information includes MTU, broadcast and host IP addresses, link and admin status, MAC address, network mask, and the IP configuration method (static or DHCP). * @param ctx context.Context Authentication Context @param nodeId @param interfaceId @param optional (nil or map[string]interface{}) with one or more of:

@param "source" (string) Data source type.

@return manager.NodeInterfaceProperties

func (*FabricApiService) ReadFabricNodeInterfaceStatistics

func (a *FabricApiService) ReadFabricNodeInterfaceStatistics(ctx context.Context, nodeId string, interfaceId string, localVarOptionals map[string]interface{}) (manager.NodeInterfaceStatisticsProperties, *http.Response, error)
FabricApiService Read the NSX Manager's Network Interface Statistics

On the specified interface, returns the number of received (rx), transmitted (tx), and dropped packets; the number of bytes and errors received and transmitted on the interface; and the number of detected collisions. * @param ctx context.Context Authentication Context @param nodeId @param interfaceId @param optional (nil or map[string]interface{}) with one or more of:

@param "source" (string) Data source type.

@return manager.NodeInterfaceStatisticsProperties

func (*FabricApiService) ReadNode

func (a *FabricApiService) ReadNode(ctx context.Context, nodeId string) (manager.Node, *http.Response, error)
FabricApiService Return manager.Node Information

Returns information about a specific fabric node (host or edge). * @param ctx context.Context Authentication Context @param nodeId @return manager.Node

func (*FabricApiService) ReadNodeStatus

func (a *FabricApiService) ReadNodeStatus(ctx context.Context, nodeId string, localVarOptionals map[string]interface{}) (manager.NodeStatus, *http.Response, error)
FabricApiService Return Runtime Status Information for a manager.Node

Returns connectivity, heartbeat, and version information about a fabric node (host or edge). Note that the LCP connectivity status remains down until after the fabric node has been added as a transpot node and the NSX host switch has been successfully installed. See POST /api/v1/transport-nodes. * @param ctx context.Context Authentication Context @param nodeId @param optional (nil or map[string]interface{}) with one or more of:

@param "source" (string) Data source type.

@return manager.NodeStatus

func (*FabricApiService) ReadNodesStatus

func (a *FabricApiService) ReadNodesStatus(ctx context.Context, readNodesStatusRequestParameters manager.ReadNodesStatusRequestParameters) (manager.NodeStatusListResult, *http.Response, error)
FabricApiService Return Runtime Status Information for given Nodes

Returns connectivity, heartbeat, and version information about all fabric nodes (host or edge). * @param ctx context.Context Authentication Context @param readNodesStatusRequestParameters @return manager.NodeStatusListResult

func (*FabricApiService) RestartInventorySyncRestartInventorySync

func (a *FabricApiService) RestartInventorySyncRestartInventorySync(ctx context.Context, nodeId string) (*http.Response, error)
FabricApiService Restart the inventory sync for the node if it is paused currently.

Restart the inventory sync for the node if it is currently internally paused. After this action the next inventory sync coming from the node is processed. * @param ctx context.Context Authentication Context @param nodeId @return

func (*FabricApiService) UpdateComputeCollectionFabricTemplate

func (a *FabricApiService) UpdateComputeCollectionFabricTemplate(ctx context.Context, fabricTemplateId string, computeCollectionFabricTemplate manager.ComputeCollectionFabricTemplate) (manager.ComputeCollectionFabricTemplate, *http.Response, error)
FabricApiService Updates compute collection fabric template

Updates compute collection fabric template for the given id * @param ctx context.Context Authentication Context @param fabricTemplateId @param computeCollectionFabricTemplate @return manager.ComputeCollectionFabricTemplate

func (*FabricApiService) UpdateComputeManager

func (a *FabricApiService) UpdateComputeManager(ctx context.Context, computeManagerId string, computeManager manager.ComputeManager) (manager.ComputeManager, *http.Response, error)
FabricApiService Update compute manager

Updates a specified compute manager * @param ctx context.Context Authentication Context @param computeManagerId @param computeManager @return manager.ComputeManager

func (*FabricApiService) UpdateNode

func (a *FabricApiService) UpdateNode(ctx context.Context, nodeId string, node manager.Node) (manager.Node, *http.Response, error)
FabricApiService Update a manager.Node

Modifies attributes of a fabric node (host or edge). * @param ctx context.Context Authentication Context @param nodeId @param node @return manager.Node

func (*FabricApiService) UpdateVirtualMachineTagsUpdateTags

func (a *FabricApiService) UpdateVirtualMachineTagsUpdateTags(ctx context.Context, virtualMachineTagUpdate manager.VirtualMachineTagUpdate) (*http.Response, error)
FabricApiService Update tags applied to a virtual machine

Update tags applied to the virtual machine. External id of the virtual machine will be specified in the request body. Request body should contain all the tags to be applied. To clear all tags, provide an empty list. User can apply maximum 10 tags on a virtual machine. The remaining 5 are reserved for system defined tags. * @param ctx context.Context Authentication Context @param virtualMachineTagUpdate @return

type GenericSwaggerError

type GenericSwaggerError struct {
	// contains filtered or unexported fields
}

GenericSwaggerError Provides access to the body, error and model on returned errors.

func (GenericSwaggerError) Body

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error

func (e GenericSwaggerError) Error() string

Error returns non-empty string if there was an error.

func (GenericSwaggerError) Model

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type GroupingObjectsApiService

type GroupingObjectsApiService service

func (*GroupingObjectsApiService) AddMACAddress

func (a *GroupingObjectsApiService) AddMACAddress(ctx context.Context, macSetId string, mACAddressElement manager.MacAddressElement) (manager.MacAddressElement, *http.Response, error)
GroupingObjectsApiService Add a MAC address to a MACSet

Add an individual MAC address to a MACSet * @param ctx context.Context Authentication Context @param macSetId MAC Set Id @param mACAddressElement @return manager.MacAddressElement

func (*GroupingObjectsApiService) AddOrRemoveNSGroupExpression

func (a *GroupingObjectsApiService) AddOrRemoveNSGroupExpression(ctx context.Context, nsGroupId string, nSGroupExpressionList manager.NsGroupExpressionList, action string) (manager.NsGroup, *http.Response, error)
GroupingObjectsApiService Add NSGroup expression

Add/remove the expressions passed in the request body to/from the NSGroup * @param ctx context.Context Authentication Context @param nsGroupId NSGroup Id @param nSGroupExpressionList @param action Specifies addition or removal action @return NsGroup

func (*GroupingObjectsApiService) AddOrRemoveNsGroupSimpleExpression

func (a *GroupingObjectsApiService) AddOrRemoveNsGroupSimpleExpression(ctx context.Context, nsGroupId string, nSGroupExpressionList manager.NsGroupSimpleExpressionList, action string) (manager.NsGroup, *http.Response, error)
GroupingObjectsApiService Add NSGroup expression

Add/remove the expressions passed in the request body to/from the NSGroup * @param ctx context.Context Authentication Context @param nsGroupId NSGroup Id @param nSGroupExpressionList @param action Specifies addition or removal action @return NsGroup

func (*GroupingObjectsApiService) AddOrRemoveNsGroupTagExpression

func (a *GroupingObjectsApiService) AddOrRemoveNsGroupTagExpression(ctx context.Context, nsGroupId string, nSGroupExpressionList manager.NsGroupTagExpressionList, action string) (manager.NsGroup, *http.Response, error)
GroupingObjectsApiService Add NSGroup expression

Add/remove the expressions passed in the request body to/from the NSGroup * @param ctx context.Context Authentication Context @param nsGroupId NSGroup Id @param nSGroupExpressionList @param action Specifies addition or removal action @return NsGroup

func (*GroupingObjectsApiService) CreateAlgTypeNSService

GroupingObjectsApiService Create AlgTypeNSService

Creates a new NSService which allows users to specify characteristics to use for matching network traffic. * @param ctx context.Context Authentication Context @param nSService @return manager.NsService

func (*GroupingObjectsApiService) CreateEtherTypeNSService

GroupingObjectsApiService Create EtherTypeNSService

Creates a new NSService which allows users to specify characteristics to use for matching network traffic. * @param ctx context.Context Authentication Context @param nSService @return manager.NsService

func (*GroupingObjectsApiService) CreateIPSet

GroupingObjectsApiService Create IPSet

Creates a new IPSet that can group either IPv4 or IPv6 individual ip addresses, ranges or subnets. * @param ctx context.Context Authentication Context @param iPSet @return manager.IpSet

func (*GroupingObjectsApiService) CreateIcmpTypeNSService

GroupingObjectsApiService Create IcmpTypeNSService

Creates a new NSService which allows users to specify characteristics to use for matching network traffic. * @param ctx context.Context Authentication Context @param nSService @return manager.NsService

func (*GroupingObjectsApiService) CreateIgmpTypeNSService

GroupingObjectsApiService Create IgmpTypeNSService

Creates a new NSService which allows users to specify characteristics to use for matching network traffic. * @param ctx context.Context Authentication Context @param nSService @return manager.NsService

func (*GroupingObjectsApiService) CreateIpProtocolNSService

GroupingObjectsApiService Create IpProtocolNSService

Creates a new NSService which allows users to specify characteristics to use for matching network traffic. * @param ctx context.Context Authentication Context @param nSService @return manager.NsService

func (*GroupingObjectsApiService) CreateL4PortSetNSService

GroupingObjectsApiService Create L4PortSetNSService

Creates a new NSService which allows users to specify characteristics to use for matching network traffic. * @param ctx context.Context Authentication Context @param nSService @return manager.NsService

func (*GroupingObjectsApiService) CreateMACSet

GroupingObjectsApiService Create MACSet

Creates a new MACSet that can group individual MAC addresses. * @param ctx context.Context Authentication Context @param mACSet @return manager.MacSet

func (*GroupingObjectsApiService) CreateNSGroup

GroupingObjectsApiService Create NSGroup

Creates a new NSGroup that can group NSX resources - VIFs, Lports and LSwitches as well as the grouping objects - IPSet, MACSet and other NSGroups * @param ctx context.Context Authentication Context @param nSGroup @return NsGroup

func (*GroupingObjectsApiService) CreateNSService

GroupingObjectsApiService Create NSService

Creates a new NSService which allows users to specify characteristics to use for matching network traffic. * @param ctx context.Context Authentication Context @param nSService @return manager.NsService

func (*GroupingObjectsApiService) CreateNSServiceGroup

func (a *GroupingObjectsApiService) CreateNSServiceGroup(ctx context.Context, nSServiceGroup manager.NsServiceGroup) (manager.NsServiceGroup, *http.Response, error)
GroupingObjectsApiService Create NSServiceGroup

Creates a new NSServiceGroup which can contain NSServices. A given NSServiceGroup can contain either only ether type of NSServices or only non-ether type of NSServices, i.e. an NSServiceGroup cannot contain a mix of both ether and non-ether types of NSServices. * @param ctx context.Context Authentication Context @param nSServiceGroup @return manager.NsServiceGroup

func (*GroupingObjectsApiService) DeleteIPSet

func (a *GroupingObjectsApiService) DeleteIPSet(ctx context.Context, ipSetId string, localVarOptionals map[string]interface{}) (*http.Response, error)
GroupingObjectsApiService Delete IPSet

Deletes the specified IPSet. By default, if the IPSet is added to an NSGroup, it won't be deleted. In such situations, pass \"force=true\" as query param to force delete the IPSet. * @param ctx context.Context Authentication Context @param ipSetId IPSet Id @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Force delete the resource even if it is being used somewhere

@return

func (*GroupingObjectsApiService) DeleteMACSet

func (a *GroupingObjectsApiService) DeleteMACSet(ctx context.Context, macSetId string, localVarOptionals map[string]interface{}) (*http.Response, error)
GroupingObjectsApiService Delete MACSet

Deletes the specified MACSet. By default, if the MACSet is added to an NSGroup, it won't be deleted. In such situations, pass \"force=true\" as query param to force delete the MACSet. * @param ctx context.Context Authentication Context @param macSetId MACSet Id @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Force delete the resource even if it is being used somewhere

@return

func (*GroupingObjectsApiService) DeleteNSGroup

func (a *GroupingObjectsApiService) DeleteNSGroup(ctx context.Context, nsGroupId string, localVarOptionals map[string]interface{}) (*http.Response, error)
GroupingObjectsApiService Delete NSGroup

Deletes the specified NSGroup. By default, if the NSGroup is added to another NSGroup, it won't be deleted. In such situations, pass \"force=true\" as query param to force delete the NSGroup. * @param ctx context.Context Authentication Context @param nsGroupId NSGroup Id @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Force delete the resource even if it is being used somewhere

@return

func (*GroupingObjectsApiService) DeleteNSService

func (a *GroupingObjectsApiService) DeleteNSService(ctx context.Context, nsServiceId string, localVarOptionals map[string]interface{}) (*http.Response, error)
GroupingObjectsApiService Delete NSService

Deletes the specified NSService. By default, if the NSService is being referred in an NSServiceGroup, it can't be deleted. In such situations, pass \"force=true\" as a parameter to force delete the NSService. System defined NSServices can't be deleted using \"force\" flag. * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Force delete the resource even if it is being used somewhere

@return

func (*GroupingObjectsApiService) DeleteNSServiceGroup

func (a *GroupingObjectsApiService) DeleteNSServiceGroup(ctx context.Context, nsServiceGroupId string, localVarOptionals map[string]interface{}) (*http.Response, error)
GroupingObjectsApiService Delete NSServiceGroup

Deletes the specified NSServiceGroup. By default, if the NSServiceGroup is consumed in a Firewall rule, it won't get deleted. In such situations, pass \"force=true\" as query param to force delete the NSServiceGroup. * @param ctx context.Context Authentication Context @param nsServiceGroupId NSServiceGroup Id @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Force delete the resource even if it is being used somewhere

@return

func (*GroupingObjectsApiService) GetEffectiveIPAddressMembers

func (a *GroupingObjectsApiService) GetEffectiveIPAddressMembers(ctx context.Context, nsGroupId string, localVarOptionals map[string]interface{}) (manager.EffectiveIpAddressMemberListResult, *http.Response, error)
GroupingObjectsApiService Get Effective IPAddress translated from the NSGroup

Returns effective ip address members of the specified NSGroup. * @param ctx context.Context Authentication Context @param nsGroupId NSGroup Id @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.EffectiveIpAddressMemberListResult

func (*GroupingObjectsApiService) GetEffectiveLogicalPortMembers

func (a *GroupingObjectsApiService) GetEffectiveLogicalPortMembers(ctx context.Context, nsGroupId string, localVarOptionals map[string]interface{}) (manager.EffectiveMemberResourceListResult, *http.Response, error)
GroupingObjectsApiService Get Effective Logical Ports translated from the NSgroup

Returns effective logical port members of the specified NSGroup. * @param ctx context.Context Authentication Context @param nsGroupId NSGroup Id @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.EffectiveMemberResourceListResult

func (*GroupingObjectsApiService) GetEffectiveLogicalSwitchMembers

func (a *GroupingObjectsApiService) GetEffectiveLogicalSwitchMembers(ctx context.Context, nsGroupId string, localVarOptionals map[string]interface{}) (manager.EffectiveMemberResourceListResult, *http.Response, error)
GroupingObjectsApiService Get Effective switch members translated from the NSGroup

Returns effective logical switch members of the specified NSGroup. * @param ctx context.Context Authentication Context @param nsGroupId NSGroup Id @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.EffectiveMemberResourceListResult

func (*GroupingObjectsApiService) GetEffectiveVirtualMachineMembers

func (a *GroupingObjectsApiService) GetEffectiveVirtualMachineMembers(ctx context.Context, nsGroupId string, localVarOptionals map[string]interface{}) (manager.VirtualMachineListResult, *http.Response, error)
GroupingObjectsApiService Get Effective Virtual Machine members of the specified NSGroup.

Returns effective virtual machine members of the specified NSGroup. * @param ctx context.Context Authentication Context @param nsGroupId NSGroup Id @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.VirtualMachineListResult

func (*GroupingObjectsApiService) GetMACAddresses

GroupingObjectsApiService Get all MACAddresses in a MACSet

List all MAC addresses in a MACSet * @param ctx context.Context Authentication Context @param macSetId MAC Set Id @return manager.MacAddressElementListResult

func (*GroupingObjectsApiService) GetMemberTypes

func (a *GroupingObjectsApiService) GetMemberTypes(ctx context.Context, nsGroupId string, localVarOptionals map[string]interface{}) (manager.EffectiveMemberTypeListResult, *http.Response, error)
GroupingObjectsApiService Get member types from NSGroup

Returns member types for a specified NSGroup including child NSGroups. This considers static members and members added via membership criteria only * @param ctx context.Context Authentication Context @param nsGroupId NSGroup Id @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.EffectiveMemberTypeListResult

func (*GroupingObjectsApiService) GetServiceAssociations

func (a *GroupingObjectsApiService) GetServiceAssociations(ctx context.Context, nsgroupId string, serviceType string, localVarOptionals map[string]interface{}) (manager.ServiceAssociationListResult, *http.Response, error)
GroupingObjectsApiService Get services to which the given nsgroup belongs to

Returns information about services that are associated with the given NSGroup. The service name is passed by service_type parameter * @param ctx context.Context Authentication Context @param nsgroupId @param serviceType @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "fetchParentgroupAssociations" (bool) Fetch complete list of associated resources considering nesting
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.ServiceAssociationListResult

func (*GroupingObjectsApiService) GetUnassociatedVirtualMachines

func (a *GroupingObjectsApiService) GetUnassociatedVirtualMachines(ctx context.Context, localVarOptionals map[string]interface{}) (manager.UnassociatedVmListResult, *http.Response, error)
GroupingObjectsApiService Get the list of all the virtual machines that are not a part of any existing NSGroup.

Get the list of all the virtual machines that are not a part of any existing NSGroup. * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "displayName" (string) Display Name of the virtual machine
@param "externalId" (string) External id of the virtual machine
@param "hostId" (string) Id of the host where this vif is located
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.UnassociatedVmListResult

func (*GroupingObjectsApiService) ListIPSets

func (a *GroupingObjectsApiService) ListIPSets(ctx context.Context, localVarOptionals map[string]interface{}) (manager.IpSetListResult, *http.Response, error)
GroupingObjectsApiService List IPSets

Returns paginated list of IPSets * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.IpSetListResult

func (*GroupingObjectsApiService) ListMACSets

func (a *GroupingObjectsApiService) ListMACSets(ctx context.Context, localVarOptionals map[string]interface{}) (manager.MacSetListResult, *http.Response, error)
GroupingObjectsApiService List MACSets

Returns paginated list of MACSets * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.MacSetListResult

func (*GroupingObjectsApiService) ListNSGroups

func (a *GroupingObjectsApiService) ListNSGroups(ctx context.Context, localVarOptionals map[string]interface{}) (manager.NsGroupListResult, *http.Response, error)
GroupingObjectsApiService List NSGroups

List the NSGroups in a paginated format. The page size is restricted to 50 NSGroups so that the size of the response remains small even in the worst case. Optionally, specify valid member types as request parameter to filter NSGroups. * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "memberTypes" (string) Specify member types to filter corresponding NSGroups
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "populateReferences" (bool) Populate metadata of resource referenced by NSGroupExpressions
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.NsGroupListResult

func (*GroupingObjectsApiService) ListNSServiceGroups

func (a *GroupingObjectsApiService) ListNSServiceGroups(ctx context.Context, localVarOptionals map[string]interface{}) (manager.NsServiceGroupListResult, *http.Response, error)
GroupingObjectsApiService List all NSServiceGroups

Returns paginated list of NSServiceGroups * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "defaultService" (bool) Fetch all default NSServiceGroups
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.NsServiceGroupListResult

func (*GroupingObjectsApiService) ListNSServices

func (a *GroupingObjectsApiService) ListNSServices(ctx context.Context, localVarOptionals map[string]interface{}) (manager.NsServiceListResult, *http.Response, error)
GroupingObjectsApiService List all NSServices

Returns paginated list of NSServices * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "defaultService" (bool) Fetch all default NSServices
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.NsServiceListResult

func (*GroupingObjectsApiService) ReadAlgTypeNSService

func (a *GroupingObjectsApiService) ReadAlgTypeNSService(ctx context.Context, nsServiceId string) (manager.AlgTypeNsService, *http.Response, error)
GroupingObjectsApiService Read AlgTypeNSService

Returns information about the specified AlgTypeNSService * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @return manager.AlgTypeNsService

func (*GroupingObjectsApiService) ReadEtherTypeNSService

func (a *GroupingObjectsApiService) ReadEtherTypeNSService(ctx context.Context, nsServiceId string) (manager.EtherTypeNsService, *http.Response, error)
GroupingObjectsApiService Read EtherTypeNSService

Returns information about the specified EtherTypeNSService * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @return manager.EtherTypeNsService

func (*GroupingObjectsApiService) ReadIPSet

GroupingObjectsApiService Read IPSet

Returns information about the specified IPSet * @param ctx context.Context Authentication Context @param ipSetId IPSet Id @return manager.IpSet

func (*GroupingObjectsApiService) ReadIcmpTypeNSService

func (a *GroupingObjectsApiService) ReadIcmpTypeNSService(ctx context.Context, nsServiceId string) (manager.IcmpTypeNsService, *http.Response, error)
GroupingObjectsApiService Read IcmpTypeNSService

Returns information about the specified IcmpTypeNSService * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @return manager.IcmpTypeNsService

func (*GroupingObjectsApiService) ReadIgmpTypeNSService

func (a *GroupingObjectsApiService) ReadIgmpTypeNSService(ctx context.Context, nsServiceId string) (manager.IgmpTypeNsService, *http.Response, error)
GroupingObjectsApiService Read IgmpTypeNSService

Returns information about the specified IgmpTypeNSService * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @return manager.IgmpTypeNsService

func (*GroupingObjectsApiService) ReadIpProtocolNSService

func (a *GroupingObjectsApiService) ReadIpProtocolNSService(ctx context.Context, nsServiceId string) (manager.IpProtocolNsService, *http.Response, error)
GroupingObjectsApiService Read IpProtocolNSService

Returns information about the specified IpProtocolNSService * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @return manager.IpProtocolNsService

func (*GroupingObjectsApiService) ReadL4PortSetNSService

func (a *GroupingObjectsApiService) ReadL4PortSetNSService(ctx context.Context, nsServiceId string) (manager.L4PortSetNsService, *http.Response, error)
GroupingObjectsApiService Read L4PortSetNSService

Returns information about the specified L4PortSetNSService * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @return manager.L4PortSetNsService

func (*GroupingObjectsApiService) ReadMACSet

func (a *GroupingObjectsApiService) ReadMACSet(ctx context.Context, macSetId string) (manager.MacSet, *http.Response, error)
GroupingObjectsApiService Read MACSet

Returns information about the specified MACSet * @param ctx context.Context Authentication Context @param macSetId MACSet Id @return manager.MacSet

func (*GroupingObjectsApiService) ReadNSGroup

func (a *GroupingObjectsApiService) ReadNSGroup(ctx context.Context, nsGroupId string, localVarOptionals map[string]interface{}) (manager.NsGroup, *http.Response, error)
GroupingObjectsApiService Read NSGroup

Returns information about the specified NSGroup. * @param ctx context.Context Authentication Context @param nsGroupId NSGroup Id @param optional (nil or map[string]interface{}) with one or more of:

@param "populateReferences" (bool) Populate metadata of resource referenced by NSGroupExpressions

@return NsGroup

func (*GroupingObjectsApiService) ReadNSService

func (a *GroupingObjectsApiService) ReadNSService(ctx context.Context, nsServiceId string) (manager.NsService, *http.Response, error)
GroupingObjectsApiService Read NSService

Returns information about the specified NSService * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @return manager.NsService

func (*GroupingObjectsApiService) ReadNSServiceGroup

func (a *GroupingObjectsApiService) ReadNSServiceGroup(ctx context.Context, nsServiceGroupId string) (manager.NsServiceGroup, *http.Response, error)
GroupingObjectsApiService Read NSServiceGroup

Returns information about the specified NSServiceGroup * @param ctx context.Context Authentication Context @param nsServiceGroupId NSServiceGroup Id @return manager.NsServiceGroup

func (*GroupingObjectsApiService) RemoveMACAddress

func (a *GroupingObjectsApiService) RemoveMACAddress(ctx context.Context, macSetId string, macAddress string) (*http.Response, error)
GroupingObjectsApiService Remove a MAC address from given MACSet

Remove an individual MAC address from a MACSet * @param ctx context.Context Authentication Context @param macSetId MACSet Id @param macAddress MAC address to be removed @return

func (*GroupingObjectsApiService) UpdateAlgTypeNSService

func (a *GroupingObjectsApiService) UpdateAlgTypeNSService(ctx context.Context, nsServiceId string, nSService manager.AlgTypeNsService) (manager.AlgTypeNsService, *http.Response, error)
GroupingObjectsApiService Update AlgTypeNSService

Updates the specified NSService. Modifiable parameters include the description, display_name and the AlgTypeNSService element. The system defined NSServices can't be modified * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @param nSService @return manager.AlgTypeNsService

func (*GroupingObjectsApiService) UpdateEtherTypeNSService

func (a *GroupingObjectsApiService) UpdateEtherTypeNSService(ctx context.Context, nsServiceId string, nSService manager.EtherTypeNsService) (manager.EtherTypeNsService, *http.Response, error)
GroupingObjectsApiService Update EtherTypeNSService

Updates the specified NSService. Modifiable parameters include the description, display_name and the EtherTypeNSService element. The system defined NSServices can't be modified * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @param nSService @return manager.EtherTypeNsService

func (*GroupingObjectsApiService) UpdateIPSet

func (a *GroupingObjectsApiService) UpdateIPSet(ctx context.Context, ipSetId string, iPSet manager.IpSet) (manager.IpSet, *http.Response, error)
GroupingObjectsApiService Update IPSet

Updates the specified IPSet. Modifiable parameters include description, display_name and ip_addresses. * @param ctx context.Context Authentication Context @param ipSetId IPSet Id @param iPSet @return manager.IpSet

func (*GroupingObjectsApiService) UpdateIcmpTypeNSService

func (a *GroupingObjectsApiService) UpdateIcmpTypeNSService(ctx context.Context, nsServiceId string, nSService manager.IcmpTypeNsService) (manager.IcmpTypeNsService, *http.Response, error)
GroupingObjectsApiService Update IcmpTypeNSService

Updates the specified NSService. Modifiable parameters include the description, display_name and the IcmpTypeNSService element. The system defined NSServices can't be modified * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @param nSService @return manager.IcmpTypeNsService

func (*GroupingObjectsApiService) UpdateIgmpTypeNSService

func (a *GroupingObjectsApiService) UpdateIgmpTypeNSService(ctx context.Context, nsServiceId string, nSService manager.IgmpTypeNsService) (manager.IgmpTypeNsService, *http.Response, error)
GroupingObjectsApiService Update IgmpTypeNSService

Updates the specified NSService. Modifiable parameters include the description, display_name and the IgmpTypeNSService element. The system defined NSServices can't be modified * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @param nSService @return manager.IgmpTypeNsService

func (*GroupingObjectsApiService) UpdateIpProtocolNSService

func (a *GroupingObjectsApiService) UpdateIpProtocolNSService(ctx context.Context, nsServiceId string, nSService manager.IpProtocolNsService) (manager.IpProtocolNsService, *http.Response, error)
GroupingObjectsApiService Update IpProtocolNSService

Updates the specified NSService. Modifiable parameters include the description, display_name and the IpProtocolNSService element. The system defined NSServices can't be modified * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @param nSService @return manager.IpProtocolNsService

func (*GroupingObjectsApiService) UpdateL4PortSetNSService

func (a *GroupingObjectsApiService) UpdateL4PortSetNSService(ctx context.Context, nsServiceId string, nSService manager.L4PortSetNsService) (manager.L4PortSetNsService, *http.Response, error)
GroupingObjectsApiService Update L4PortSetNSService

Updates the specified NSService. Modifiable parameters include the description, display_name and the L4PortSetNSService element. The system defined NSServices can't be modified * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @param nSService @return manager.L4PortSetNsService

func (*GroupingObjectsApiService) UpdateMACSet

func (a *GroupingObjectsApiService) UpdateMACSet(ctx context.Context, macSetId string, mACSet manager.MacSet) (manager.MacSet, *http.Response, error)
GroupingObjectsApiService Update MACSet

Updates the specified MACSet. Modifiable parameters include the description, display_name and mac_addresses. * @param ctx context.Context Authentication Context @param macSetId MACSet Id @param mACSet @return manager.MacSet

func (*GroupingObjectsApiService) UpdateNSGroup

func (a *GroupingObjectsApiService) UpdateNSGroup(ctx context.Context, nsGroupId string, nSGroup manager.NsGroup) (manager.NsGroup, *http.Response, error)
GroupingObjectsApiService Update NSGroup

Updates the specified NSGroup. Modifiable parameters include the description, display_name and members. * @param ctx context.Context Authentication Context @param nsGroupId NSGroup Id @param nSGroup @return NsGroup

func (*GroupingObjectsApiService) UpdateNSService

func (a *GroupingObjectsApiService) UpdateNSService(ctx context.Context, nsServiceId string, nSService manager.NsService) (manager.NsService, *http.Response, error)
GroupingObjectsApiService Update NSService

Updates the specified NSService. Modifiable parameters include the description, display_name and the NSService element. The system defined NSServices can't be modified * @param ctx context.Context Authentication Context @param nsServiceId NSService Id @param nSService @return manager.NsService

func (*GroupingObjectsApiService) UpdateNSServiceGroup

func (a *GroupingObjectsApiService) UpdateNSServiceGroup(ctx context.Context, nsServiceGroupId string, nSServiceGroup manager.NsServiceGroup) (manager.NsServiceGroup, *http.Response, error)
GroupingObjectsApiService Update NSServiceGroup

Updates the specified NSService. Modifiable parameters include the description, display_name and members. * @param ctx context.Context Authentication Context @param nsServiceGroupId NSServiceGroup Id @param nSServiceGroup @return manager.NsServiceGroup

type LicensingApiService

type LicensingApiService service

func (*LicensingApiService) AcceptEULA

func (a *LicensingApiService) AcceptEULA(ctx context.Context) (*http.Response, error)
LicensingApiService Accept end user license agreement

Accept end user license agreement * @param ctx context.Context Authentication Context @return

func (*LicensingApiService) AcceptUpgradeEULA

func (a *LicensingApiService) AcceptUpgradeEULA(ctx context.Context) (*http.Response, error)
LicensingApiService Accept end user license agreement

Accept end user license agreement * @param ctx context.Context Authentication Context @return

func (*LicensingApiService) CreateLicense

LicensingApiService Add a new license key

This will add a license key to the system. The API supports adding only one license key for each license edition type - Standard, Advanced or Enterprise. If a new license key is tried to add for an edition for which the license key already exists, then this API will return an error. * @param ctx context.Context Authentication Context @param license @return License

func (*LicensingApiService) DeleteLicense

func (a *LicensingApiService) DeleteLicense(ctx context.Context, licenseKey string) (*http.Response, error)
LicensingApiService Deprecated. Remove a license identified by the license-key

Deprecated. Use POST /licenses?action=delete API instead. * @param ctx context.Context Authentication Context @param licenseKey @return

func (*LicensingApiService) DeleteLicenseKeyDelete

func (a *LicensingApiService) DeleteLicenseKeyDelete(ctx context.Context, license licensing.License) (*http.Response, error)
LicensingApiService Remove a license

This will delete the license key identified in the request body by \"license_key\" and its properties from the system. Attempting to delete the last license key will result in an error. * @param ctx context.Context Authentication Context @param license @return

func (*LicensingApiService) GetEULAAcceptance

LicensingApiService Return the acceptance status of end user license agreement

Return the acceptance status of end user license agreement * @param ctx context.Context Authentication Context @return licensing.EulaAcceptance

func (*LicensingApiService) GetEULAContent

func (a *LicensingApiService) GetEULAContent(ctx context.Context, localVarOptionals map[string]interface{}) (licensing.EulaContent, *http.Response, error)
LicensingApiService Return the content of end user license agreement

Return the content of end user license agreement in the specified format. By default, it's pure string without line break * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "format" (string) End User License Agreement content output format
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return licensing.EulaContent

func (*LicensingApiService) GetLicense

LicensingApiService Deprecated. Return the Enterprise License

Deprecated. Use the GET /licenses API instead. * @param ctx context.Context Authentication Context @return License

func (*LicensingApiService) GetLicenseByKey

func (a *LicensingApiService) GetLicenseByKey(ctx context.Context, licenseKey string) (licensing.License, *http.Response, error)
LicensingApiService Deprecated. Get license properties for license identified by the license-key

Deprecated. Use GET /licenses API instead. * @param ctx context.Context Authentication Context @param licenseKey @return License

func (*LicensingApiService) GetLicenseUsageReport

func (a *LicensingApiService) GetLicenseUsageReport(ctx context.Context) (licensing.FeatureUsageList, *http.Response, error)
LicensingApiService Get usage report of all registered modules

Returns usage report of all registered modules * @param ctx context.Context Authentication Context @return licensing.FeatureUsageList

func (*LicensingApiService) GetLicenseUsageReportInCsvFormatCsv

func (a *LicensingApiService) GetLicenseUsageReportInCsvFormatCsv(ctx context.Context) (licensing.FeatureUsageListInCsvFormat, *http.Response, error)
LicensingApiService Get usage report of all registred modules in CSV format

Returns usage report of all registered modules in CSV format * @param ctx context.Context Authentication Context @return licensing.FeatureUsageListInCsvFormat

func (*LicensingApiService) GetLicenses

LicensingApiService Get all licenses

Returns all licenses. * @param ctx context.Context Authentication Context @return LicensesListResult

func (*LicensingApiService) GetUpgradeEULAAcceptance

func (a *LicensingApiService) GetUpgradeEULAAcceptance(ctx context.Context) (licensing.EulaAcceptance, *http.Response, error)
LicensingApiService Return the acceptance status of end user license agreement

Return the acceptance status of end user license agreement * @param ctx context.Context Authentication Context @return licensing.EulaAcceptance

func (*LicensingApiService) GetUpgradeEULAContent

func (a *LicensingApiService) GetUpgradeEULAContent(ctx context.Context, localVarOptionals map[string]interface{}) (licensing.EulaContent, *http.Response, error)
LicensingApiService Return the content of end user license agreement

Return the content of end user license agreement in the specified format. By default, it's pure string without line break * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "format" (string) End User License Agreement content output format
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return licensing.EulaContent

func (*LicensingApiService) UpdateLicense

LicensingApiService Deprecated. Assign an Updated Enterprise License Key

Deprecated. Use the POST /licenses API instead * @param ctx context.Context Authentication Context @param license @return License

type ListClusterControlPlaneOpts

type ListClusterControlPlaneOpts struct {
	Cursor                      optional.String
	IncludeMarkForDeleteObjects optional.Bool
	IncludedFields              optional.String
	PageSize                    optional.Int64
	SortAscending               optional.Bool
	SortBy                      optional.String
}

type ListContainerApplicationInstancesOpts

type ListContainerApplicationInstancesOpts struct {
	ContainerApplicationId optional.String
	ContainerClusterId     optional.String
	ContainerProjectId     optional.String
	Cursor                 optional.String
	IncludedFields         optional.String
	PageSize               optional.Int64
	SortAscending          optional.Bool
	SortBy                 optional.String
}

type ListContainerApplicationsOpts

type ListContainerApplicationsOpts struct {
	ContainerClusterId optional.String
	ContainerProjectId optional.String
	Cursor             optional.String
	IncludedFields     optional.String
	PageSize           optional.Int64
	SortAscending      optional.Bool
	SortBy             optional.String
}

type ListContainerClusterNodesOpts

type ListContainerClusterNodesOpts struct {
	ContainerClusterId optional.String
	Cursor             optional.String
	IncludedFields     optional.String
	PageSize           optional.Int64
	SortAscending      optional.Bool
	SortBy             optional.String
}

type ListContainerClustersOpts

type ListContainerClustersOpts struct {
	ClusterType    optional.String
	Cursor         optional.String
	IncludedFields optional.String
	InfraType      optional.String
	PageSize       optional.Int64
	SortAscending  optional.Bool
	SortBy         optional.String
}

type ListContainerIngressPoliciesOpts

type ListContainerIngressPoliciesOpts struct {
	ContainerClusterId optional.String
	ContainerProjectId optional.String
	Cursor             optional.String
	IncludedFields     optional.String
	PageSize           optional.Int64
	SortAscending      optional.Bool
	SortBy             optional.String
}

type ListContainerNetworkPoliciesOpts

type ListContainerNetworkPoliciesOpts struct {
	ContainerClusterId optional.String
	ContainerProjectId optional.String
	Cursor             optional.String
	IncludedFields     optional.String
	PageSize           optional.Int64
	SortAscending      optional.Bool
	SortBy             optional.String
}

type ListContainerProjectsOpts

type ListContainerProjectsOpts struct {
	ContainerClusterId optional.String
	Cursor             optional.String
	IncludedFields     optional.String
	PageSize           optional.Int64
	SortAscending      optional.Bool
	SortBy             optional.String
}

type LogicalRoutingAndServicesApiService

type LogicalRoutingAndServicesApiService service

func (*LogicalRoutingAndServicesApiService) AddBgpNeighbor

func (a *LogicalRoutingAndServicesApiService) AddBgpNeighbor(ctx context.Context, logicalRouterId string, bgpNeighbor manager.BgpNeighbor) (manager.BgpNeighbor, *http.Response, error)
LogicalRoutingAndServicesApiService Add a new BGP Neighbor on a Logical Router

Add a new BGP Neighbor on a Logical Router * @param ctx context.Context Authentication Context @param logicalRouterId @param bgpNeighbor @return manager.BgpNeighbor

func (*LogicalRoutingAndServicesApiService) AddIPPrefixList

func (a *LogicalRoutingAndServicesApiService) AddIPPrefixList(ctx context.Context, logicalRouterId string, iPPrefixList manager.IpPrefixList) (manager.IpPrefixList, *http.Response, error)
LogicalRoutingAndServicesApiService Add IPPrefixList on a Logical Router

Adds a new IPPrefixList on a Logical Router * @param ctx context.Context Authentication Context @param logicalRouterId @param iPPrefixList @return manager.IpPrefixList

func (*LogicalRoutingAndServicesApiService) AddNatRule

func (a *LogicalRoutingAndServicesApiService) AddNatRule(ctx context.Context, logicalRouterId string, natRule manager.NatRule) (manager.NatRule, *http.Response, error)
LogicalRoutingAndServicesApiService Add a NAT rule in a specific logical router

Add a NAT rule in a specific logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param natRule @return manager.NatRule

func (*LogicalRoutingAndServicesApiService) AddRouteMap

func (a *LogicalRoutingAndServicesApiService) AddRouteMap(ctx context.Context, logicalRouterId