go-vmware-nsxt: github.com/vmware/go-vmware-nsxt Index | Files | Directories

package nsxt

import "github.com/vmware/go-vmware-nsxt"

Index

Package Files

aaa_api.go aggregation_service_api.go api_client.go api_container_applications.go api_container_clusters.go api_container_inventory.go api_container_projects.go api_error.go api_response.go api_services_api.go app_discovery_api.go associations_api.go cloud_service_manager_api.go configuration.go error_resolver_api.go fabric_api.go grouping_objects_api.go licensing_api.go logical_routing_and_services_api.go logical_switching_api.go network_transport_api.go normalization_api.go nsx_component_administration_api.go operations_api.go policy_api.go pool_management_api.go realization_api.go services_api.go transport_entities_api.go troubleshooting_and_monitoring_api.go upgrade_api.go

Constants

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

func CacheExpires Uses

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

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

func GetContext Uses

func GetContext(cfg *Configuration) context.Context

func GetDefaultHeaders Uses

func GetDefaultHeaders(client *APIClient) error

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

func InitHttpClient Uses

func InitHttpClient(cfg *Configuration) error

type APIClient Uses

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
    OperationsApi                   *OperationsApiService
    PolicyApi                       *PolicyApiService
    PoolManagementApi               *PoolManagementApiService
    RealizationApi                  *RealizationApiService
    ServicesApi                     *ServicesApiService
    TransportEntitiesApi            *TransportEntitiesApiService
    TroubleshootingAndMonitoringApi *TroubleshootingAndMonitoringApiService
    UpgradeApi                      *UpgradeApiService
    ContainerApplicationsApi        *ManagementPlaneApiFabricContainerApplicationsApiService
    ContainerClustersApi            *ManagementPlaneApiFabricContainerClustersApiService
    ContainerInventoryApi           *ManagementPlaneApiFabricContainerInventoryApiService
    ContainerProjectsApi            *ManagementPlaneApiFabricContainerProjectsApiService
    // 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 Uses

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 Uses

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey Uses

type APIKey struct {
    Key    string
    Prefix string
}

type APIResponse Uses

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 Uses

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError Uses

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AaaApiService Uses

type AaaApiService service

func (*AaaApiService) CreateRegistrationToken Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type AggregationServiceApiService service

func (*AggregationServiceApiService) GetAggregationServiceGlobalConfig Uses

func (a *AggregationServiceApiService) GetAggregationServiceGlobalConfig(ctx context.Context) (aggregation.GlobalCollectionConfiguration, *http.Response, error)
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 Uses

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 Uses

func (a *AggregationServiceApiService) ListFeatureStackConfigurations(ctx context.Context) (aggregation.FeatureStackCollectionConfigurationList, *http.Response, error)
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 Uses

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 Uses

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 Uses

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 Uses

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

    ErrorMessage string `json:"error_message,omitempty"`

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

type ApiServicesApiService Uses

type ApiServicesApiService service

func (*ApiServicesApiService) ListTasks Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type AppDiscoveryApiService service

func (*AppDiscoveryApiService) AddAppProfile Uses

func (a *AppDiscoveryApiService) AddAppProfile(ctx context.Context, appProfile appdiscovery.AppProfile) (appdiscovery.AppProfile, *http.Response, error)
AppDiscoveryApiService Adds a new app profile

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

func (*AppDiscoveryApiService) DeleteAppDiscoverySession Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (a *AppDiscoveryApiService) GetAppProfiles(ctx context.Context) (appdiscovery.AppProfileListResult, *http.Response, error)
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 Uses

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 Uses

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 Uses

type AssociationsApiService service

func (*AssociationsApiService) GetAssociations Uses

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 Uses

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

type ClientRetriesConfiguration Uses

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

type CloudServiceManagerApiService Uses

type CloudServiceManagerApiService service

func (*CloudServiceManagerApiService) AwsAccountInfo Uses

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 Uses

func (a *CloudServiceManagerApiService) AwsRegionInfo(ctx context.Context, regionId string) (upgrade.AwsRegion, *http.Response, error)
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 Uses

func (a *CloudServiceManagerApiService) AwsVpcInfo(ctx context.Context, vpcId string) (upgrade.AwsVpc, *http.Response, error)
CloudServiceManagerApiService Returns Vpc information

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

func (*CloudServiceManagerApiService) CloudVirtualMachineInfo Uses

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 Uses

func (a *CloudServiceManagerApiService) CreateAwsAccount(ctx context.Context, awsAccount upgrade.AwsAccount) (upgrade.AwsAccount, *http.Response, error)
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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (a *CloudServiceManagerApiService) DeployAwsGatewayDeploy(ctx context.Context, awsGatewayDeployConfig upgrade.AwsGatewayDeployConfig) (upgrade.AwsGatewayDeployConfig, *http.Response, error)
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 Uses

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 Uses

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 Uses

func (a *CloudServiceManagerApiService) GetAwsGatewayConfig(ctx context.Context, vpcId string) (upgrade.AwsGatewayDeployConfig, *http.Response, error)
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 Uses

func (a *CloudServiceManagerApiService) GetAwsGatewayStatus(ctx context.Context, vpcId string) (upgrade.AwsGatewayStatus, *http.Response, error)
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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (a *CloudServiceManagerApiService) ListNsxManagerAccounts(ctx context.Context) (upgrade.NsxManagerAccountsListResult, *http.Response, error)
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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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
    Insecure             bool
    RetriesConfiguration ClientRetriesConfiguration
    HTTPClient           *http.Client
}

func NewConfiguration Uses

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader Uses

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

type ErrorResolverApiService Uses

type ErrorResolverApiService service

func (*ErrorResolverApiService) GetErrorResolverInfo Uses

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 Uses

func (a *ErrorResolverApiService) ListErrorResolverInfo(ctx context.Context) (errorresolver.ErrorResolverInfoList, *http.Response, error)
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 Uses

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 Uses

type FabricApiService service

func (*FabricApiService) AddComputeManager Uses

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 Uses

func (a *FabricApiService) AddNode(ctx context.Context, node manager.Node) (manager.Node, *http.Response, error)
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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

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

func (GenericSwaggerError) Body Uses

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error Uses

func (e GenericSwaggerError) Error() string

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

func (GenericSwaggerError) Model Uses

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type GroupingObjectsApiService Uses

type GroupingObjectsApiService service

func (*GroupingObjectsApiService) AddMACAddress Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (a *GroupingObjectsApiService) CreateAlgTypeNSService(ctx context.Context, nSService manager.AlgTypeNsService) (manager.AlgTypeNsService, *http.Response, error)
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 Uses

func (a *GroupingObjectsApiService) CreateEtherTypeNSService(ctx context.Context, nSService manager.EtherTypeNsService) (manager.EtherTypeNsService, *http.Response, error)
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 Uses

func (a *GroupingObjectsApiService) CreateIPSet(ctx context.Context, iPSet manager.IpSet) (manager.IpSet, *http.Response, error)
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 Uses

func (a *GroupingObjectsApiService) CreateIcmpTypeNSService(ctx context.Context, nSService manager.IcmpTypeNsService) (manager.IcmpTypeNsService, *http.Response, error)
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 Uses

func (a *GroupingObjectsApiService) CreateIgmpTypeNSService(ctx context.Context, nSService manager.IgmpTypeNsService) (manager.IgmpTypeNsService, *http.Response, error)
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 Uses

func (a *GroupingObjectsApiService) CreateIpProtocolNSService(ctx context.Context, nSService manager.IpProtocolNsService) (manager.IpProtocolNsService, *http.Response, error)
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 Uses

func (a *GroupingObjectsApiService) CreateL4PortSetNSService(ctx context.Context, nSService manager.L4PortSetNsService) (manager.L4PortSetNsService, *http.Response, error)
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 Uses

func (a *GroupingObjectsApiService) CreateMACSet(ctx context.Context, mACSet manager.MacSet) (manager.MacSet, *http.Response, error)
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 Uses

func (a *GroupingObjectsApiService) CreateNSGroup(ctx context.Context, nSGroup manager.NsGroup) (manager.NsGroup, *http.Response, error)
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 Uses

func (a *GroupingObjectsApiService) CreateNSService(ctx context.Context, nSService manager.NsService) (manager.NsService, *http.Response, error)
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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (a *GroupingObjectsApiService) GetMACAddresses(ctx context.Context, macSetId string) (manager.MacAddressElementListResult, *http.Response, error)
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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (a *GroupingObjectsApiService) ReadIPSet(ctx context.Context, ipSetId string) (manager.IpSet, *http.Response, error)
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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type LicensingApiService service

func (*LicensingApiService) AcceptEULA Uses

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 Uses

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 Uses

func (a *LicensingApiService) CreateLicense(ctx context.Context, license licensing.License) (licensing.License, *http.Response, error)
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 Uses

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 Uses

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 Uses

func (a *LicensingApiService) GetEULAAcceptance(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) GetEULAContent Uses

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 Uses

func (a *LicensingApiService) GetLicense(ctx context.Context) (licensing.License, *http.Response, error)
LicensingApiService Deprecated. Return the Enterprise License

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

func (*LicensingApiService) GetLicenseByKey Uses

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 Uses

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 Uses

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 Uses

func (a *LicensingApiService) GetLicenses(ctx context.Context) (licensing.LicensesListResult, *http.Response, error)
LicensingApiService Get all licenses

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

func (*LicensingApiService) GetUpgradeEULAAcceptance Uses

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 Uses

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 Uses

func (a *LicensingApiService) UpdateLicense(ctx context.Context, license licensing.License) (licensing.License, *http.Response, error)
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 ListContainerApplicationInstancesOpts Uses

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 Uses

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 Uses

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

type ListContainerClustersOpts Uses

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 Uses

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 Uses

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 Uses

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

type LogicalRoutingAndServicesApiService Uses

type LogicalRoutingAndServicesApiService service

func (*LogicalRoutingAndServicesApiService) AddBgpNeighbor Uses

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 Uses

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 Uses

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 Uses

func (a *LogicalRoutingAndServicesApiService) AddRouteMap(ctx context.Context, logicalRouterId string, routeMap manager.RouteMap) (manager.RouteMap, *http.Response, error)
LogicalRoutingAndServicesApiService Add manager.RouteMap on a Logical Router

Adds a new manager.RouteMap on a Logical Router * @param ctx context.Context Authentication Context @param logicalRouterId @param routeMap @return manager.RouteMap

func (*LogicalRoutingAndServicesApiService) AddStaticRoute Uses

func (a *LogicalRoutingAndServicesApiService) AddStaticRoute(ctx context.Context, logicalRouterId string, staticRoute manager.StaticRoute) (manager.StaticRoute, *http.Response, error)
LogicalRoutingAndServicesApiService Add Static Routes on a Logical Router

Adds a new static route on a Logical Router * @param ctx context.Context Authentication Context @param logicalRouterId @param staticRoute @return manager.StaticRoute

func (*LogicalRoutingAndServicesApiService) CreateDhcpRelay Uses

func (a *LogicalRoutingAndServicesApiService) CreateDhcpRelay(ctx context.Context, dhcpRelayService manager.DhcpRelayService) (manager.DhcpRelayService, *http.Response, error)
LogicalRoutingAndServicesApiService Create a DHCP Relay Service

Creates a dhcp relay service. * @param ctx context.Context Authentication Context @param dhcpRelayService @return manager.DhcpRelayService

func (*LogicalRoutingAndServicesApiService) CreateDhcpRelayProfile Uses

func (a *LogicalRoutingAndServicesApiService) CreateDhcpRelayProfile(ctx context.Context, dhcpRelayProfile manager.DhcpRelayProfile) (manager.DhcpRelayProfile, *http.Response, error)
LogicalRoutingAndServicesApiService Create a DHCP Relay Profile

Creates a dhcp relay profile. * @param ctx context.Context Authentication Context @param dhcpRelayProfile @return manager.DhcpRelayProfile

func (*LogicalRoutingAndServicesApiService) CreateLogicalRouter Uses

func (a *LogicalRoutingAndServicesApiService) CreateLogicalRouter(ctx context.Context, logicalRouter manager.LogicalRouter) (manager.LogicalRouter, *http.Response, error)
LogicalRoutingAndServicesApiService Create a Logical Router

Creates a logical router. The required parameters are router_type (TIER0 or TIER1) and edge_cluster_id (TIER0 only). Optional parameters include internal and external transit network addresses. * @param ctx context.Context Authentication Context @param logicalRouter @return manager.LogicalRouter

func (*LogicalRoutingAndServicesApiService) CreateLogicalRouterCentralizedServicePort Uses

func (a *LogicalRoutingAndServicesApiService) CreateLogicalRouterCentralizedServicePort(ctx context.Context, logicalRouterPort manager.LogicalRouterCentralizedServicePort) (manager.LogicalRouterCentralizedServicePort, *http.Response, error)
LogicalRoutingAndServicesApiService Create a Logical Router Centralized Service Port

Creates a logical router port on TIER0/TIER1 router. This is the port for connected subnets on the logical router. The required parameters include logical_router_id (the router to which each logical router port is assigned). The service_bindings parameter is optional. * @param ctx context.Context Authentication Context @param logicalRouterPort @return manager.LogicalRouterCentralizedServicePort

func (*LogicalRoutingAndServicesApiService) CreateLogicalRouterDownLinkPort Uses

func (a *LogicalRoutingAndServicesApiService) CreateLogicalRouterDownLinkPort(ctx context.Context, logicalRouterPort manager.LogicalRouterDownLinkPort) (manager.LogicalRouterDownLinkPort, *http.Response, error)
LogicalRoutingAndServicesApiService Create a Logical Router DownLink Port

Creates a logical router port on TIER1 router. This is the port for connected subnets on the logical router. The required parameters include logical_router_id (the router to which each logical router port is assigned). The service_bindings parameter is optional. * @param ctx context.Context Authentication Context @param logicalRouterPort @return manager.LogicalRouterDownLinkPort

func (*LogicalRoutingAndServicesApiService) CreateLogicalRouterLinkPortOnTier0 Uses

func (a *LogicalRoutingAndServicesApiService) CreateLogicalRouterLinkPortOnTier0(ctx context.Context, logicalRouterPort manager.LogicalRouterLinkPortOnTier0) (manager.LogicalRouterLinkPortOnTier0, *http.Response, error)
LogicalRoutingAndServicesApiService Create a Logical Router Port

Creates a logical router port on TIER0 router. This is the port where the LogicalRouterLinkPortOnTier1 of TIER1 logical router connects to. The required parameters include logical_router_id (the router to which each logical router port is assigned). The service_bindings parameter is optional. * @param ctx context.Context Authentication Context @param logicalRouterPort @return manager.LogicalRouterLinkPortOnTier0

func (*LogicalRoutingAndServicesApiService) CreateLogicalRouterLinkPortOnTier1 Uses

func (a *LogicalRoutingAndServicesApiService) CreateLogicalRouterLinkPortOnTier1(ctx context.Context, logicalRouterPort manager.LogicalRouterLinkPortOnTier1) (manager.LogicalRouterLinkPortOnTier1, *http.Response, error)
LogicalRoutingAndServicesApiService Create a Logical Router Port

Creates a logical router port on TIER1 router. This is the port where the LogicalRouterLinkPortOnTier0 of TIER0 logical router connects to. The required parameters include logical_router_id (the router to which each logical router port is assigned). The service_bindings parameter is optional. * @param ctx context.Context Authentication Context @param logicalRouterPort @return manager.LogicalRouterLinkPortOnTier1

func (*LogicalRoutingAndServicesApiService) CreateLogicalRouterLoopbackPort Uses

func (a *LogicalRoutingAndServicesApiService) CreateLogicalRouterLoopbackPort(ctx context.Context, logicalRouterPort manager.LogicalRouterLoopbackPort) (manager.LogicalRouterLoopbackPort, *http.Response, error)
LogicalRoutingAndServicesApiService Create a Logical Router Loopback Port

Creates a logical router loopback port. This is a loopback port for logical router component which is placed on chosen edge cluster member. The required parameters include logical_router_id (the router to which each logical router port is assigned). The service_bindings parameter is optional. * @param ctx context.Context Authentication Context @param logicalRouterPort @return manager.LogicalRouterLoopbackPort

func (*LogicalRoutingAndServicesApiService) CreateLogicalRouterPort Uses

func (a *LogicalRoutingAndServicesApiService) CreateLogicalRouterPort(ctx context.Context, logicalRouterPort manager.LogicalRouterPort) (manager.LogicalRouterPort, *http.Response, error)
LogicalRoutingAndServicesApiService Create a Logical Router Port

Creates a logical router port. The required parameters include resource_type (LogicalRouterUpLinkPort, LogicalRouterDownLinkPort, LogicalRouterLinkPort, LogicalRouterLoopbackPort); and logical_router_id (the router to which each logical router port is assigned). The service_bindings parameter is optional. * @param ctx context.Context Authentication Context @param logicalRouterPort @return manager.LogicalRouterPort

func (*LogicalRoutingAndServicesApiService) CreateLogicalRouterUpLinkPort Uses

func (a *LogicalRoutingAndServicesApiService) CreateLogicalRouterUpLinkPort(ctx context.Context, logicalRouterPort manager.LogicalRouterUpLinkPort) (manager.LogicalRouterUpLinkPort, *http.Response, error)
LogicalRoutingAndServicesApiService Create a Logical Router Uplink Port

Creates a logical router uplink port on TIER0 router. The required parameters include logical_router_id (the router to which each logical router port is assigned). The service_bindings parameter is optional. * @param ctx context.Context Authentication Context @param logicalRouterPort @return manager.LogicalRouterUpLinkPort

func (*LogicalRoutingAndServicesApiService) CreateService Uses

func (a *LogicalRoutingAndServicesApiService) CreateService(ctx context.Context, logicalService manager.LogicalService) (manager.LogicalService, *http.Response, error)
LogicalRoutingAndServicesApiService Create a Logical Router Service

Creates a service that can be applied to one or more logical router ports. For some service types, you must create a service-profile before you can create a service. * @param ctx context.Context Authentication Context @param logicalService @return manager.LogicalService

func (*LogicalRoutingAndServicesApiService) CreateServiceProfile Uses

func (a *LogicalRoutingAndServicesApiService) CreateServiceProfile(ctx context.Context, serviceProfile manager.ServiceProfile) (manager.ServiceProfile, *http.Response, error)
LogicalRoutingAndServicesApiService Create a Service Profile

Creates a service profile, which can then be used to create a service. Services are then applied to one or more logical router ports. * @param ctx context.Context Authentication Context @param serviceProfile @return manager.ServiceProfile

func (*LogicalRoutingAndServicesApiService) CreateStaticHopBfdPeer Uses

func (a *LogicalRoutingAndServicesApiService) CreateStaticHopBfdPeer(ctx context.Context, logicalRouterId string, staticHopBfdPeer manager.StaticHopBfdPeer) (manager.StaticHopBfdPeer, *http.Response, error)
LogicalRoutingAndServicesApiService Create a static hop BFD peer

Creates a BFD peer for static route. The required parameters includes peer IP address. * @param ctx context.Context Authentication Context @param logicalRouterId @param staticHopBfdPeer @return manager.StaticHopBfdPeer

func (*LogicalRoutingAndServicesApiService) DeleteBgpNeighbor Uses

func (a *LogicalRoutingAndServicesApiService) DeleteBgpNeighbor(ctx context.Context, logicalRouterId string, id string) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a specific BGP Neighbor on a Logical Router

Delete a specific BGP Neighbor on a Logical Router * @param ctx context.Context Authentication Context @param logicalRouterId @param id @return

func (*LogicalRoutingAndServicesApiService) DeleteDhcpRelay Uses

func (a *LogicalRoutingAndServicesApiService) DeleteDhcpRelay(ctx context.Context, relayId string) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a DHCP Relay Service

Deletes the specified dhcp relay service. * @param ctx context.Context Authentication Context @param relayId @return

func (*LogicalRoutingAndServicesApiService) DeleteDhcpRelayProfile Uses

func (a *LogicalRoutingAndServicesApiService) DeleteDhcpRelayProfile(ctx context.Context, relayProfileId string) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a DHCP Relay Profile

Deletes the specified dhcp relay profile. * @param ctx context.Context Authentication Context @param relayProfileId @return

func (*LogicalRoutingAndServicesApiService) DeleteIPPrefixList Uses

func (a *LogicalRoutingAndServicesApiService) DeleteIPPrefixList(ctx context.Context, logicalRouterId string, id string) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a specific IPPrefixList on a Logical Router

Deletes a specific IPPrefixList on the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param id @return

func (*LogicalRoutingAndServicesApiService) DeleteLogicalRouter Uses

func (a *LogicalRoutingAndServicesApiService) DeleteLogicalRouter(ctx context.Context, logicalRouterId string, localVarOptionals map[string]interface{}) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a Logical Router

Deletes the specified logical router. You must delete associated logical router ports before you can delete a logical router. Otherwise use force delete which will delete all related ports and other entities associated with that LR. To force delete logical router pass force=true in query param. * @param ctx context.Context Authentication Context @param logicalRouterId @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 (*LogicalRoutingAndServicesApiService) DeleteLogicalRouterPort Uses

func (a *LogicalRoutingAndServicesApiService) DeleteLogicalRouterPort(ctx context.Context, logicalRouterPortId string, localVarOptionals map[string]interface{}) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a Logical Router Port

Deletes the specified logical router port. You must delete logical router ports before you can delete the associated logical router. To Delete Tier0 router link port you must have to delete attached tier1 router link port, otherwise pass \"force=true\" as query param to force delete the Tier0 router link port. * @param ctx context.Context Authentication Context @param logicalRouterPortId @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 (*LogicalRoutingAndServicesApiService) DeleteNatRule Uses

func (a *LogicalRoutingAndServicesApiService) DeleteNatRule(ctx context.Context, logicalRouterId string, ruleId string) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a specific NAT rule from a logical router

Delete a specific NAT rule from a logical router * @param ctx context.Context Authentication Context @param logicalRouterId @param ruleId @return

func (*LogicalRoutingAndServicesApiService) DeleteRouteMap Uses

func (a *LogicalRoutingAndServicesApiService) DeleteRouteMap(ctx context.Context, logicalRouterId string, id string) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a specific manager.RouteMap on a Logical Router

Deletes a specific manager.RouteMap on the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param id @return

func (*LogicalRoutingAndServicesApiService) DeleteService Uses

func (a *LogicalRoutingAndServicesApiService) DeleteService(ctx context.Context, serviceId string) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a Logical Router Service

Deletes the specified logical router service. * @param ctx context.Context Authentication Context @param serviceId @return

func (*LogicalRoutingAndServicesApiService) DeleteServiceProfile Uses

func (a *LogicalRoutingAndServicesApiService) DeleteServiceProfile(ctx context.Context, serviceProfileId string) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a Service Profile

Deletes the specified service profile. * @param ctx context.Context Authentication Context @param serviceProfileId @return

func (*LogicalRoutingAndServicesApiService) DeleteStaticHopBfdPeer Uses

func (a *LogicalRoutingAndServicesApiService) DeleteStaticHopBfdPeer(ctx context.Context, logicalRouterId string, bfdPeerId string, localVarOptionals map[string]interface{}) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a specified static route BFD peer cofigured on a specified logical router

Deletes the specified BFD peer present on specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param bfdPeerId @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 (*LogicalRoutingAndServicesApiService) DeleteStaticRoute Uses

func (a *LogicalRoutingAndServicesApiService) DeleteStaticRoute(ctx context.Context, logicalRouterId string, id string) (*http.Response, error)
LogicalRoutingAndServicesApiService Delete a specific Static Route on a Logical Router

Deletes a specific static route on the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param id @return

func (*LogicalRoutingAndServicesApiService) GetBgpNeighborsStatus Uses

func (a *LogicalRoutingAndServicesApiService) GetBgpNeighborsStatus(ctx context.Context, logicalRouterId string, localVarOptionals map[string]interface{}) (manager.BgpNeighborsStatusListResult, *http.Response, error)
LogicalRoutingAndServicesApiService Get the status of all the BGP neighbors for the Logical Router of the given id

Returns the status of all the BGP neighbors for the Logical Router of the given id. To get BGP neighbors status for the logical router from particular node, parameter \"transport_node_id=<transportnode_id>\" needs to be specified. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterId @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
@param "source" (string) Data source type.
@param "transportNodeId" (string) Transport node id

@return manager.BgpNeighborsStatusListResult

func (*LogicalRoutingAndServicesApiService) GetLogicalRouterForwardingTable Uses

func (a *LogicalRoutingAndServicesApiService) GetLogicalRouterForwardingTable(ctx context.Context, logicalRouterId string, transportNodeId string, localVarOptionals map[string]interface{}) (manager.LogicalRouterRouteTable, *http.Response, error)
LogicalRoutingAndServicesApiService Get FIB table on a specified node for a logical router

Returns the FIB for the logical router on a node of the given transport-node-id. Query parameter \"transport_node_id=<transport-node-id>\" is required. To filter the result by network address, paramter \"network_prefix=<a.b.c.d/mask>\" needs to be specified. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterId @param transportNodeId TransportNode 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 "networkPrefix" (string) IPv4 CIDR Block
@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 "source" (string) Data source type.

@return manager.LogicalRouterRouteTable

func (*LogicalRoutingAndServicesApiService) GetLogicalRouterForwardingTableInCsvFormatCsv Uses

func (a *LogicalRoutingAndServicesApiService) GetLogicalRouterForwardingTableInCsvFormatCsv(ctx context.Context, logicalRouterId string, transportNodeId string, localVarOptionals map[string]interface{}) (manager.LogicalRouterRouteTableInCsvFormat, *http.Response, error)
LogicalRoutingAndServicesApiService Get FIB table on a specified node for a logical router

Returns the FIB table in CSV format for the logical router on a node of the given transport-node-id. Query parameter \"transport_node_id=<transport-node-id>\" is required. To filter the result by network address, paramter \"network_prefix=<a.b.c.d/mask>\" needs to be specified. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterId @param transportNodeId TransportNode Id @param optional (nil or map[string]interface{}) with one or more of:

@param "networkPrefix" (string) IPv4 CIDR Block
@param "source" (string) Data source type.

@return manager.LogicalRouterRouteTableInCsvFormat

func (*LogicalRoutingAndServicesApiService) GetLogicalRouterPortArpTable Uses

func (a *LogicalRoutingAndServicesApiService) GetLogicalRouterPortArpTable(ctx context.Context, logicalRouterPortId string, localVarOptionals map[string]interface{}) (manager.LogicalRouterPortArpTable, *http.Response, error)
LogicalRoutingAndServicesApiService Get the ARP table for the Logical Router Port of the given id

Returns ARP table for the Logical Router Port of the given id, on a node if a query parameter \"transport_node_id=<transport-node-id>\" is given. The transport_node_id parameter is mandatory if the router port is not uplink type. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterPortId @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
@param "source" (string) Data source type.
@param "transportNodeId" (string) TransportNode Id

@return manager.LogicalRouterPortArpTable

func (*LogicalRoutingAndServicesApiService) GetLogicalRouterPortArpTableInCsvFormatCsv Uses

func (a *LogicalRoutingAndServicesApiService) GetLogicalRouterPortArpTableInCsvFormatCsv(ctx context.Context, logicalRouterPortId string, localVarOptionals map[string]interface{}) (manager.LogicalRouterPortArpTableInCsvFormat, *http.Response, error)
LogicalRoutingAndServicesApiService Get the ARP table for the Logical Router Port of the given id

Returns ARP table in CSV format for the Logical Router Port of the given id, on a node if a query parameter \"transport_node_id=<transport-node-id>\" is given. The transport_node_id parameter is mandatory if the router port is not uplink type. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterPortId @param optional (nil or map[string]interface{}) with one or more of:

@param "source" (string) Data source type.
@param "transportNodeId" (string) TransportNode Id

@return manager.LogicalRouterPortArpTableInCsvFormat

func (*LogicalRoutingAndServicesApiService) GetLogicalRouterPortStatistics Uses

func (a *LogicalRoutingAndServicesApiService) GetLogicalRouterPortStatistics(ctx context.Context, logicalRouterPortId string, localVarOptionals map[string]interface{}) (manager.LogicalRouterPortStatistics, *http.Response, error)
LogicalRoutingAndServicesApiService Get the statistics of a specified logical router port on all or a specified node

Returns the statistics for the Logical Router Port. If query parameter \"transport_node_id=<transport-node-id>\" is given, only the statistics from the given node for the logical router port will be returned. Otherwise the statistics from each node for the same logical router port will be returned. The transport_node_id is mandatory if the router port is not uplink type. The query parameter \"source=realtime\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterPortId @param optional (nil or map[string]interface{}) with one or more of:

@param "source" (string) Data source type.
@param "transportNodeId" (string) TransportNode Id

@return manager.LogicalRouterPortStatistics

func (*LogicalRoutingAndServicesApiService) GetLogicalRouterPortStatisticsSummary Uses

func (a *LogicalRoutingAndServicesApiService) GetLogicalRouterPortStatisticsSummary(ctx context.Context, logicalRouterPortId string, localVarOptionals map[string]interface{}) (manager.LogicalRouterPortStatisticsSummary, *http.Response, error)
LogicalRoutingAndServicesApiService Get the statistics summary of a specified logical router port

Returns the summation of statistics from all nodes for the Specified Logical Router Port. The query parameter \"source=realtime\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterPortId @param optional (nil or map[string]interface{}) with one or more of:

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

@return manager.LogicalRouterPortStatisticsSummary

func (*LogicalRoutingAndServicesApiService) GetLogicalRouterRouteTable Uses

func (a *LogicalRoutingAndServicesApiService) GetLogicalRouterRouteTable(ctx context.Context, logicalRouterId string, transportNodeId string, localVarOptionals map[string]interface{}) (manager.LogicalRouterRouteTable, *http.Response, error)
LogicalRoutingAndServicesApiService Get route table on a given node for a logical router

Deprecated - Please use /logical-routers/<logical-router-id>/routing/routing-table for RIB and /logical-routers/<logical-router-id>/routing/forwarding-table for FIB. Returns the route table for the logical router on a node of the given transport-node-id. Query parameter \"transport_node_id=<transport-node-id>\" is required. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterId @param transportNodeId TransportNode 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
@param "source" (string) Data source type.

@return manager.LogicalRouterRouteTable

func (*LogicalRoutingAndServicesApiService) GetLogicalRouterRouteTableInCsvFormatCsv Uses

func (a *LogicalRoutingAndServicesApiService) GetLogicalRouterRouteTableInCsvFormatCsv(ctx context.Context, logicalRouterId string, transportNodeId string, localVarOptionals map[string]interface{}) (manager.LogicalRouterRouteTableInCsvFormat, *http.Response, error)
LogicalRoutingAndServicesApiService Get route table on a node for a logical router

Deprecated - Please use /logical-routers/<logical-router-id>/routing/routing-table for RIB and /logical-routers/<logical-router-id>/routing/forwarding-table for FIB. Returns the route table in CSV format for the logical router on a node of the given transport-node-id. Query parameter \"transport_node_id=<transport-node-id>\" is required. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterId @param transportNodeId TransportNode Id @param optional (nil or map[string]interface{}) with one or more of:

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

@return manager.LogicalRouterRouteTableInCsvFormat

func (*LogicalRoutingAndServicesApiService) GetLogicalRouterRoutingTable Uses

func (a *LogicalRoutingAndServicesApiService) GetLogicalRouterRoutingTable(ctx context.Context, logicalRouterId string, transportNodeId string, localVarOptionals map[string]interface{}) (manager.LogicalRouterRouteTable, *http.Response, error)
LogicalRoutingAndServicesApiService Get RIB table on a specified node for a logical router

Returns the route table(RIB) for the logical router on a node of the given transport-node-id. Query parameter \"transport_node_id=<transport-node-id>\" is required. To filter the result by network address, parameter \"network_prefix=<a.b.c.d/mask>\" needs to be specified. To filter the result by route source, parameter \"route_source=<source_type>\" needs to be specified where source_type can be BGP, STATIC, CONNECTED, NSX_STATIC, TIER1_NAT or TIER0_NAT. It is also possible to filter the RIB table using both network address and route source filter together. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterId @param transportNodeId TransportNode 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 "networkPrefix" (string) IPv4 CIDR Block
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "routeSource" (string) To filter the RIB table based on the source from which route is learned.
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted
@param "source" (string) Data source type.

@return manager.LogicalRouterRouteTable

func (*LogicalRoutingAndServicesApiService) GetLogicalRouterRoutingTableInCsvFormatCsv Uses

func (a *LogicalRoutingAndServicesApiService) GetLogicalRouterRoutingTableInCsvFormatCsv(ctx context.Context, logicalRouterId string, transportNodeId string, localVarOptionals map[string]interface{}) (manager.LogicalRouterRouteTableInCsvFormat, *http.Response, error)
LogicalRoutingAndServicesApiService Get RIB table on a specified node for a logical router

Returns the route table in CSV format for the logical router on a node of the given transport-node-id. Query parameter \"transport_node_id=<transport-node-id>\" is required. To filter the result by network address, paramter \"network_prefix=<a.b.c.d/mask>\" needs to be specified. To filter the result by route source, parameter \"route_source=<source_type>\" needs to be specified where source_type can be BGP, STATIC, CONNECTED, NSX_STATIC, TIER1_NAT or TIER0_NAT. It is also possible to filter the RIB table using both network address and route source filter together. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterId @param transportNodeId TransportNode Id @param optional (nil or map[string]interface{}) with one or more of:

@param "networkPrefix" (string) IPv4 CIDR Block
@param "routeSource" (string) To filter the RIB table based on the source from which route is learned.
@param "source" (string) Data source type.

@return manager.LogicalRouterRouteTableInCsvFormat

func (*LogicalRoutingAndServicesApiService) GetLogicalRouterStatus Uses

func (a *LogicalRoutingAndServicesApiService) GetLogicalRouterStatus(ctx context.Context, logicalRouterId string, localVarOptionals map[string]interface{}) (manager.LogicalRouterStatus, *http.Response, error)
LogicalRoutingAndServicesApiService Get the status for the Logical Router of the given id

Returns status for the Logical Router of the given id. * @param ctx context.Context Authentication Context @param logicalRouterId @param optional (nil or map[string]interface{}) with one or more of:

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

@return manager.LogicalRouterStatus

func (*LogicalRoutingAndServicesApiService) GetNatRule Uses

func (a *LogicalRoutingAndServicesApiService) GetNatRule(ctx context.Context, logicalRouterId string, ruleId string) (manager.NatRule, *http.Response, error)
LogicalRoutingAndServicesApiService Get a specific NAT rule from a given logical router

Get a specific NAT rule from a given logical router * @param ctx context.Context Authentication Context @param logicalRouterId @param ruleId @return manager.NatRule

func (*LogicalRoutingAndServicesApiService) GetNatStatisticsPerLogicalRouter Uses

func (a *LogicalRoutingAndServicesApiService) GetNatStatisticsPerLogicalRouter(ctx context.Context, logicalRouterId string, localVarOptionals map[string]interface{}) (manager.NatStatisticsPerLogicalRouter, *http.Response, error)
LogicalRoutingAndServicesApiService Get the statistics of all rules of the logical router

Returns the summation of statistics for all rules from all nodes for the Specified Logical Router. Also gives the per transport node statistics for provided logical router. The query parameter \"source=realtime\" is not supported. * @param ctx context.Context Authentication Context @param logicalRouterId @param optional (nil or map[string]interface{}) with one or more of:

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

@return manager.NatStatisticsPerLogicalRouter

func (*LogicalRoutingAndServicesApiService) GetNatStatisticsPerRule Uses

func (a *LogicalRoutingAndServicesApiService) GetNatStatisticsPerRule(ctx context.Context, logicalRouterId string, ruleId string, localVarOptionals map[string]interface{}) (manager.NatStatisticsPerRule, *http.Response, error)
LogicalRoutingAndServicesApiService Get the statistics of a specified logical router NAT Rule

Returns the summation of statistics from all nodes for the Specified Logical Router NAT Rule. Query parameter \"source=realtime\" is the only supported source. * @param ctx context.Context Authentication Context @param logicalRouterId @param ruleId @param optional (nil or map[string]interface{}) with one or more of:

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

@return manager.NatStatisticsPerRule

func (*LogicalRoutingAndServicesApiService) GetNatStatisticsPerTransportNode Uses

func (a *LogicalRoutingAndServicesApiService) GetNatStatisticsPerTransportNode(ctx context.Context, nodeId string, localVarOptionals map[string]interface{}) (manager.NatStatisticsPerTransportNode, *http.Response, error)
LogicalRoutingAndServicesApiService Get statistics for all logical router NAT rules on a transport node

Returns the summation of statistics for all rules from all logical routers which are present on given transport node. Only cached statistics are supported. The query parameter \"source=realtime\" is not supported. * @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.NatStatisticsPerTransportNode

func (*LogicalRoutingAndServicesApiService) ListBgpNeighbors Uses

func (a *LogicalRoutingAndServicesApiService) ListBgpNeighbors(ctx context.Context, logicalRouterId string, localVarOptionals map[string]interface{}) (manager.BgpNeighborListResult, *http.Response, error)
LogicalRoutingAndServicesApiService Paginated list of BGP Neighbors on a Logical Router

Paginated list of BGP Neighbors on a Logical Router * @param ctx context.Context Authentication Context @param logicalRouterId @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.BgpNeighborListResult

func (*LogicalRoutingAndServicesApiService) ListDhcpRelayProfiles Uses

func (a *LogicalRoutingAndServicesApiService) ListDhcpRelayProfiles(ctx context.Context, localVarOptionals map[string]interface{}) (manager.DhcpRelayProfileListResult, *http.Response, error)
LogicalRoutingAndServicesApiService List All DHCP Relay Profiles

Returns information about all dhcp relay profiles. * @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.DhcpRelayProfileListResult

func (*LogicalRoutingAndServicesApiService) ListDhcpRelays Uses

func (a *LogicalRoutingAndServicesApiService) ListDhcpRelays(ctx context.Context, localVarOptionals map[string]interface{}) (manager.DhcpRelayServiceListResult, *http.Response, error)
LogicalRoutingAndServicesApiService List all DHCP Relay Services

Returns information about all configured dhcp relay services. * @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.DhcpRelayServiceListResult

func (*LogicalRoutingAndServicesApiService) ListIPPrefixLists Uses

func (a *LogicalRoutingAndServicesApiService) ListIPPrefixLists(ctx context.Context, logicalRouterId string, localVarOptionals map[string]interface{}) (manager.IpPrefixListListResult, *http.Response, error)
LogicalRoutingAndServicesApiService Paginated List of IPPrefixLists

Paginated List of IPPrefixLists * @param ctx context.Context Authentication Context @param logicalRouterId @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.IpPrefixListListResult

func (*LogicalRoutingAndServicesApiService) ListLogicalRouterPorts Uses

func (a *LogicalRoutingAndServicesApiService) ListLogicalRouterPorts(ctx context.Context, localVarOptionals map[string]interface{}) (manager.LogicalRouterPortListResult, *http.Response, error)
LogicalRoutingAndServicesApiService List Logical Router Ports

Returns information about all logical router ports. Information includes the resource_type (LogicalRouterUpLinkPort, LogicalRouterDownLinkPort, LogicalRouterLinkPort, LogicalRouterLoopbackPort); logical_router_id (the router to which each logical router port is assigned); and any service_bindings (such as DHCP relay service). The GET request can include a query parameter (logical_router_id or logical_switch_id). * @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 "logicalRouterId" (string) Logical Router identifier
@param "logicalSwitchId" (string) Logical Switch identifier
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "resourceType" (string) Resource types of logical router port
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.LogicalRouterPortListResult

func (*LogicalRoutingAndServicesApiService) ListLogicalRouters Uses

func (a *LogicalRoutingAndServicesApiService) ListLogicalRouters(ctx context.Context, localVarOptionals map[string]interface{}) (manager.LogicalRouterListResult, *http.Response, error)
LogicalRoutingAndServicesApiService List Logical Routers

Returns information about all logical routers, including the UUID, internal and external transit network addresses, and the router type (TIER0 or TIER1). You can get information for only TIER0 routers or only the TIER1 routers by including the router_type query parameter. * @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 "routerType" (string) Type of Logical Router
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.LogicalRouterListResult

func (*LogicalRoutingAndServicesApiService) ListNatRules Uses

func (a *LogicalRoutingAndServicesApiService) ListNatRules(ctx context.Context, logicalRouterId string, localVarOptionals map[string]interface{}) (manager.NatRuleListResult, *http.Response, error)
LogicalRoutingAndServicesApiService List NAT rules of the logical router

Returns paginated list of all user defined NAT rules of the specific logical router * @param ctx context.Context Authentication Context @param logicalRouterId @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.NatRuleListResult

func (*LogicalRoutingAndServicesApiService) ListRouteMaps Uses

func (a *LogicalRoutingAndServicesApiService) ListRouteMaps(ctx context.Context, logicalRouterId string, localVarOptionals map[string]interface{}) (manager.RouteMapListResult, *http.Response, error)
LogicalRoutingAndServicesApiService Paginated List of RouteMaps

Paginated List of RouteMaps * @param ctx context.Context Authentication Context @param logicalRouterId @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.RouteMapListResult

func (*LogicalRoutingAndServicesApiService) ListServiceProfiles Uses

func (a *LogicalRoutingAndServicesApiService) ListServiceProfiles(ctx context.Context, localVarOptionals map[string]interface{}) (manager.ServiceProfileListResult, *http.Response, error)
LogicalRoutingAndServicesApiService List All Service Profiles

Returns information about all service profiles. A service profile is a configuration that you can use to create a service, which is then applied to one or more logical router ports. Currently, only the manager.DhcpRelayProfile is supported. * @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 "resourceType" (string)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.ServiceProfileListResult

func (*LogicalRoutingAndServicesApiService) ListServices Uses

func (a *LogicalRoutingAndServicesApiService) ListServices(ctx context.Context, localVarOptionals map[string]interface{}) (manager.LogicalServiceListResult, *http.Response, error)
LogicalRoutingAndServicesApiService List all Logical Router Services

Returns information about all configured logical router services that can be applied to one or more logical router ports. You must create a service-profile before you can create a service. Currently, only manager.DhcpRelayService is supported. * @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 "resourceType" (string)
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.LogicalServiceListResult

func (*LogicalRoutingAndServicesApiService) ListStaticHopBfdPeers Uses

func (a *LogicalRoutingAndServicesApiService) ListStaticHopBfdPeers(ctx context.Context, logicalRouterId string, localVarOptionals map[string]interface{}) (manager.StaticHopBfdPeerListResult, *http.Response, error)
LogicalRoutingAndServicesApiService List static routes BFD Peers

Returns information about all BFD peers created on specified logical router for static routes. * @param ctx context.Context Authentication Context @param logicalRouterId @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.StaticHopBfdPeerListResult

func (*LogicalRoutingAndServicesApiService) ListStaticRoutes Uses

func (a *LogicalRoutingAndServicesApiService) ListStaticRoutes(ctx context.Context, logicalRouterId string, localVarOptionals map[string]interface{}) (manager.StaticRouteListResult, *http.Response, error)
LogicalRoutingAndServicesApiService Paginated List of Static Routes

Returns information about configured static routes, including the network address and next hops for each static route. * @param ctx context.Context Authentication Context @param logicalRouterId @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.StaticRouteListResult

func (*LogicalRoutingAndServicesApiService) ReProcessLogicalRouterReprocess Uses

func (a *LogicalRoutingAndServicesApiService) ReProcessLogicalRouterReprocess(ctx context.Context, logicalRouterId string) (*http.Response, error)
LogicalRoutingAndServicesApiService Reprocesses a logical router configuration and publish updates to controller

Reprocess logical router configuration and configuration of related entities like logical router ports, static routing, etc. Any missing Updates are published to controller. * @param ctx context.Context Authentication Context @param logicalRouterId @return

func (*LogicalRoutingAndServicesApiService) ReadAdvertiseRuleList Uses

func (a *LogicalRoutingAndServicesApiService) ReadAdvertiseRuleList(ctx context.Context, logicalRouterId string) (manager.AdvertiseRuleList, *http.Response, error)
LogicalRoutingAndServicesApiService Read the Advertisement Rules on a Logical Router

Returns the advertisement rule list for the specified TIER1 logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @return manager.AdvertiseRuleList

func (*LogicalRoutingAndServicesApiService) ReadAdvertisementConfig Uses

func (a *LogicalRoutingAndServicesApiService) ReadAdvertisementConfig(ctx context.Context, logicalRouterId string) (manager.AdvertisementConfig, *http.Response, error)
LogicalRoutingAndServicesApiService Read the Advertisement Configuration on a Logical Router

Returns information about the routes to be advertised by the specified TIER1 logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @return manager.AdvertisementConfig

func (*LogicalRoutingAndServicesApiService) ReadBgpConfig Uses

func (a *LogicalRoutingAndServicesApiService) ReadBgpConfig(ctx context.Context, logicalRouterId string) (manager.BgpConfig, *http.Response, error)
LogicalRoutingAndServicesApiService Read the BGP Configuration on a Logical Router

Returns information about the BGP configuration on a specified logical router. Information includes whether or not the BGP configuration is enabled, the AS number, and whether or not graceful restart is enabled. * @param ctx context.Context Authentication Context @param logicalRouterId @return manager.BgpConfig

func (*LogicalRoutingAndServicesApiService) ReadBgpNeighbor Uses

func (a *LogicalRoutingAndServicesApiService) ReadBgpNeighbor(ctx context.Context, logicalRouterId string, id string) (manager.BgpNeighbor, *http.Response, error)
LogicalRoutingAndServicesApiService Read a specific BGP Neighbor on a Logical Router

Read a specific BGP Neighbor on a Logical Router * @param ctx context.Context Authentication Context @param logicalRouterId @param id @return manager.BgpNeighbor

func (*LogicalRoutingAndServicesApiService) ReadDebugInfoText Uses

func (a *LogicalRoutingAndServicesApiService) ReadDebugInfoText(ctx context.Context, logicalRouterId string) (string, *http.Response, error)
LogicalRoutingAndServicesApiService Read the debug information for the logical router

API to download below information as text which will be used for debugging and troubleshooting. 1) Logical router sub-components and ports. 2) Routing configuration as sent to central control plane. 3) TIER1 advertised network information. * @param ctx context.Context Authentication Context @param logicalRouterId @return string

func (*LogicalRoutingAndServicesApiService) ReadDhcpRelay Uses

func (a *LogicalRoutingAndServicesApiService) ReadDhcpRelay(ctx context.Context, relayId string) (manager.DhcpRelayService, *http.Response, error)
LogicalRoutingAndServicesApiService Read a DHCP Relay Service

Returns the dhcp relay service information. * @param ctx context.Context Authentication Context @param relayId @return manager.DhcpRelayService

func (*LogicalRoutingAndServicesApiService) ReadDhcpRelayProfile Uses

func (a *LogicalRoutingAndServicesApiService) ReadDhcpRelayProfile(ctx context.Context, relayProfileId string) (manager.DhcpRelayProfile, *http.Response, error)
LogicalRoutingAndServicesApiService Read a DHCP Relay Profile

Returns information about the specified dhcp relay profile. * @param ctx context.Context Authentication Context @param relayProfileId @return manager.DhcpRelayProfile

func (*LogicalRoutingAndServicesApiService) ReadIPPrefixList Uses

func (a *LogicalRoutingAndServicesApiService) ReadIPPrefixList(ctx context.Context, logicalRouterId string, id string) (manager.IpPrefixList, *http.Response, error)
LogicalRoutingAndServicesApiService Get a specific IPPrefixList on a Logical Router

Read a specific IPPrefixList on the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param id @return manager.IpPrefixList

func (*LogicalRoutingAndServicesApiService) ReadLogicalRouter Uses

func (a *LogicalRoutingAndServicesApiService) ReadLogicalRouter(ctx context.Context, logicalRouterId string) (manager.LogicalRouter, *http.Response, error)
LogicalRoutingAndServicesApiService Read Logical Router

Returns information about the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @return manager.LogicalRouter

func (*LogicalRoutingAndServicesApiService) ReadLogicalRouterCentralizedServicePort Uses

func (a *LogicalRoutingAndServicesApiService) ReadLogicalRouterCentralizedServicePort(ctx context.Context, logicalRouterPortId string) (manager.LogicalRouterCentralizedServicePort, *http.Response, error)
LogicalRoutingAndServicesApiService Read Logical Router Centralized Service Link Port

Returns information about the specified logical router port. * @param ctx context.Context Authentication Context @param logicalRouterPortId @return manager.LogicalRouterCentralizedServicePort

func (*LogicalRoutingAndServicesApiService) ReadLogicalRouterDownLinkPort Uses

func (a *LogicalRoutingAndServicesApiService) ReadLogicalRouterDownLinkPort(ctx context.Context, logicalRouterPortId string) (manager.LogicalRouterDownLinkPort, *http.Response, error)
LogicalRoutingAndServicesApiService Read Logical Router Down Link Port

Returns information about the specified logical router port. * @param ctx context.Context Authentication Context @param logicalRouterPortId @return manager.LogicalRouterDownLinkPort

func (*LogicalRoutingAndServicesApiService) ReadLogicalRouterLinkPortOnTier0 Uses

func (a *LogicalRoutingAndServicesApiService) ReadLogicalRouterLinkPortOnTier0(ctx context.Context, logicalRouterPortId string) (manager.LogicalRouterLinkPortOnTier0, *http.Response, error)
LogicalRoutingAndServicesApiService Read Logical Router Link Port On Tier0

Returns information about the specified logical router port. * @param ctx context.Context Authentication Context @param logicalRouterPortId @return manager.LogicalRouterLinkPortOnTier0

func (*LogicalRoutingAndServicesApiService) ReadLogicalRouterLinkPortOnTier1 Uses

func (a *LogicalRoutingAndServicesApiService) ReadLogicalRouterLinkPortOnTier1(ctx context.Context, logicalRouterPortId string) (manager.LogicalRouterLinkPortOnTier1, *http.Response, error)
LogicalRoutingAndServicesApiService Read Logical Router Link Port On Tier1

Returns information about the specified logical router port. * @param ctx context.Context Authentication Context @param logicalRouterPortId @return manager.LogicalRouterLinkPortOnTier1

func (*LogicalRoutingAndServicesApiService) ReadLogicalRouterLoopbackPort Uses

func (a *LogicalRoutingAndServicesApiService) ReadLogicalRouterLoopbackPort(ctx context.Context, logicalRouterPortId string) (manager.LogicalRouterLoopbackPort, *http.Response, error)
LogicalRoutingAndServicesApiService Read Logical Router Loopback Port

Returns information about the specified logical router port. * @param ctx context.Context Authentication Context @param logicalRouterPortId @return manager.LogicalRouterLoopbackPort

func (*LogicalRoutingAndServicesApiService) ReadLogicalRouterPort Uses

func (a *LogicalRoutingAndServicesApiService) ReadLogicalRouterPort(ctx context.Context, logicalRouterPortId string) (manager.LogicalRouterPort, *http.Response, error)
LogicalRoutingAndServicesApiService Read Logical Router Port

Returns information about the specified logical router port. * @param ctx context.Context Authentication Context @param logicalRouterPortId @return manager.LogicalRouterPort

func (*LogicalRoutingAndServicesApiService) ReadLogicalRouterUpLinkPort Uses

func (a *LogicalRoutingAndServicesApiService) ReadLogicalRouterUpLinkPort(ctx context.Context, logicalRouterPortId string) (manager.LogicalRouterUpLinkPort, *http.Response, error)
LogicalRoutingAndServicesApiService Read Logical Router UpLink Port

Returns information about the specified logical router port. * @param ctx context.Context Authentication Context @param logicalRouterPortId @return manager.LogicalRouterUpLinkPort

func (*LogicalRoutingAndServicesApiService) ReadRedistributionConfig Uses

func (a *LogicalRoutingAndServicesApiService) ReadRedistributionConfig(ctx context.Context, logicalRouterId string) (manager.RedistributionConfig, *http.Response, error)
LogicalRoutingAndServicesApiService Read the Redistribution Configuration on a Logical Router

Returns information about configured route redistribution for the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @return manager.RedistributionConfig

func (*LogicalRoutingAndServicesApiService) ReadRedistributionRuleList Uses

func (a *LogicalRoutingAndServicesApiService) ReadRedistributionRuleList(ctx context.Context, logicalRouterId string) (manager.RedistributionRuleList, *http.Response, error)
LogicalRoutingAndServicesApiService Read All the Redistribution Rules on a Logical Router

Returns all the route redistribution rules for the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @return manager.RedistributionRuleList

func (*LogicalRoutingAndServicesApiService) ReadRouteMap Uses

func (a *LogicalRoutingAndServicesApiService) ReadRouteMap(ctx context.Context, logicalRouterId string, id string) (manager.RouteMap, *http.Response, error)
LogicalRoutingAndServicesApiService Get a specific manager.RouteMap on a Logical Router

Read a specific manager.RouteMap on the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param id @return manager.RouteMap

func (*LogicalRoutingAndServicesApiService) ReadRoutingBfdConfig Uses

func (a *LogicalRoutingAndServicesApiService) ReadRoutingBfdConfig(ctx context.Context, logicalRouterId string) (manager.BfdConfig, *http.Response, error)
LogicalRoutingAndServicesApiService Read the Routing BFD Configuration

Returns the BFD configuration for all routing BFD peers. This will be inherited | by all BFD peers for manager.LogicalRouter unless overriden while configuring the Peer. * @param ctx context.Context Authentication Context @param logicalRouterId @return manager.BfdConfig

func (*LogicalRoutingAndServicesApiService) ReadRoutingConfig Uses

func (a *LogicalRoutingAndServicesApiService) ReadRoutingConfig(ctx context.Context, logicalRouterId string) (manager.RoutingConfig, *http.Response, error)
LogicalRoutingAndServicesApiService Read the Routing Configuration

Returns the routing configuration for a specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @return manager.RoutingConfig

func (*LogicalRoutingAndServicesApiService) ReadService Uses

func (a *LogicalRoutingAndServicesApiService) ReadService(ctx context.Context, serviceId string) (manager.LogicalService, *http.Response, error)
LogicalRoutingAndServicesApiService Read a Logical Router Service

Returns information about the specified service. * @param ctx context.Context Authentication Context @param serviceId @return manager.LogicalService

func (*LogicalRoutingAndServicesApiService) ReadServiceProfile Uses

func (a *LogicalRoutingAndServicesApiService) ReadServiceProfile(ctx context.Context, serviceProfileId string) (manager.ServiceProfile, *http.Response, error)
LogicalRoutingAndServicesApiService Read a Service Profile

Returns information about the specified service profile. * @param ctx context.Context Authentication Context @param serviceProfileId @return manager.ServiceProfile

func (*LogicalRoutingAndServicesApiService) ReadStaticHopBfdPeer Uses

func (a *LogicalRoutingAndServicesApiService) ReadStaticHopBfdPeer(ctx context.Context, logicalRouterId string, bfdPeerId string) (manager.StaticHopBfdPeer, *http.Response, error)
LogicalRoutingAndServicesApiService Read a static route BFD peer

Read the BFD peer having specified ID. * @param ctx context.Context Authentication Context @param logicalRouterId @param bfdPeerId @return manager.StaticHopBfdPeer

func (*LogicalRoutingAndServicesApiService) ReadStaticRoute Uses

func (a *LogicalRoutingAndServicesApiService) ReadStaticRoute(ctx context.Context, logicalRouterId string, id string) (manager.StaticRoute, *http.Response, error)
LogicalRoutingAndServicesApiService Get a specific Static Route on a Logical Router

Read a specific static routes on the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param id @return manager.StaticRoute

func (*LogicalRoutingAndServicesApiService) UnSetPasswordOnBgpNeighbor Uses

func (a *LogicalRoutingAndServicesApiService) UnSetPasswordOnBgpNeighbor(ctx context.Context, logicalRouterId string, id string, localVarOptionals map[string]interface{}) (manager.BgpNeighbor, *http.Response, error)
LogicalRoutingAndServicesApiService Unset/Delete password property on specific BGP Neighbor on Logical Router

Unset/Delete the password property on the specific BGP Neighbor. No other property of the manager.BgpNeighbor can be updated using this API * @param ctx context.Context Authentication Context @param logicalRouterId @param id @param optional (nil or map[string]interface{}) with one or more of:

@param "action" (string)

@return manager.BgpNeighbor

func (*LogicalRoutingAndServicesApiService) UpdateAdvertiseRuleList Uses

func (a *LogicalRoutingAndServicesApiService) UpdateAdvertiseRuleList(ctx context.Context, logicalRouterId string, advertiseRuleList manager.AdvertiseRuleList) (manager.AdvertiseRuleList, *http.Response, error)
LogicalRoutingAndServicesApiService Update the Advertisement Rules on a Logical Router

Modifies the advertisement rules on the specified logical router. The PUT request must include all the rules with the networks parameter. Modifiable parameters are networks, display_name, and description. Set the rules list to empty to delete/clear all rules. * @param ctx context.Context Authentication Context @param logicalRouterId @param advertiseRuleList @return manager.AdvertiseRuleList

func (*LogicalRoutingAndServicesApiService) UpdateAdvertisementConfig Uses

func (a *LogicalRoutingAndServicesApiService) UpdateAdvertisementConfig(ctx context.Context, logicalRouterId string, advertisementConfig manager.AdvertisementConfig) (manager.AdvertisementConfig, *http.Response, error)
LogicalRoutingAndServicesApiService Update the Advertisement Configuration on a Logical Router

Modifies the route advertisement configuration on the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param advertisementConfig @return manager.AdvertisementConfig

func (*LogicalRoutingAndServicesApiService) UpdateBgpConfig Uses

func (a *LogicalRoutingAndServicesApiService) UpdateBgpConfig(ctx context.Context, logicalRouterId string, bgpConfig manager.BgpConfig) (manager.BgpConfig, *http.Response, error)
LogicalRoutingAndServicesApiService Update the BGP Configuration on a Logical Router

Modifies the BGP configuration on a specified TIER0 logical router. Modifiable parameters include enabled, graceful_restart, as_number. * @param ctx context.Context Authentication Context @param logicalRouterId @param bgpConfig @return manager.BgpConfig

func (*LogicalRoutingAndServicesApiService) UpdateBgpNeighbor Uses

func (a *LogicalRoutingAndServicesApiService) UpdateBgpNeighbor(ctx context.Context, logicalRouterId string, id string, bgpNeighbor manager.BgpNeighbor) (manager.BgpNeighbor, *http.Response, error)
LogicalRoutingAndServicesApiService Update a specific BGP Neighbor on a Logical Router

Update a specific BGP Neighbor on a Logical Router * @param ctx context.Context Authentication Context @param logicalRouterId @param id @param bgpNeighbor @return manager.BgpNeighbor

func (*LogicalRoutingAndServicesApiService) UpdateDhcpRelay Uses

func (a *LogicalRoutingAndServicesApiService) UpdateDhcpRelay(ctx context.Context, relayId string, dhcpRelayService manager.DhcpRelayService) (manager.DhcpRelayService, *http.Response, error)
LogicalRoutingAndServicesApiService Update a DHCP Relay Service

Modifies the specified dhcp relay service. * @param ctx context.Context Authentication Context @param relayId @param dhcpRelayService @return manager.DhcpRelayService

func (*LogicalRoutingAndServicesApiService) UpdateDhcpRelayProfile Uses

func (a *LogicalRoutingAndServicesApiService) UpdateDhcpRelayProfile(ctx context.Context, relayProfileId string, dhcpRelayProfile manager.DhcpRelayProfile) (manager.DhcpRelayProfile, *http.Response, error)
LogicalRoutingAndServicesApiService Update a DHCP Relay Profile

Modifies the specified dhcp relay profile. * @param ctx context.Context Authentication Context @param relayProfileId @param dhcpRelayProfile @return manager.DhcpRelayProfile

func (*LogicalRoutingAndServicesApiService) UpdateIPPrefixList Uses

func (a *LogicalRoutingAndServicesApiService) UpdateIPPrefixList(ctx context.Context, logicalRouterId string, id string, iPPrefixList manager.IpPrefixList) (manager.IpPrefixList, *http.Response, error)
LogicalRoutingAndServicesApiService Update a specific IPPrefixList on a Logical Router

Update a specific IPPrefixList on the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param id @param iPPrefixList @return manager.IpPrefixList

func (*LogicalRoutingAndServicesApiService) UpdateLogicalRouter Uses

func (a *LogicalRoutingAndServicesApiService) UpdateLogicalRouter(ctx context.Context, logicalRouterId string, logicalRouter manager.LogicalRouter) (manager.LogicalRouter, *http.Response, error)
LogicalRoutingAndServicesApiService Update a Logical Router

Modifies the specified logical router. Modifiable attributes include the internal_transit_network, external_transit_networks, and edge_cluster_id (for TIER0 routers). * @param ctx context.Context Authentication Context @param logicalRouterId @param logicalRouter @return manager.LogicalRouter

func (*LogicalRoutingAndServicesApiService) UpdateLogicalRouterCentralizedServicePort Uses

func (a *LogicalRoutingAndServicesApiService) UpdateLogicalRouterCentralizedServicePort(ctx context.Context, logicalRouterPortId string, logicalRouterPort manager.LogicalRouterCentralizedServicePort) (manager.LogicalRouterCentralizedServicePort, *http.Response, error)
LogicalRoutingAndServicesApiService Update a Logical Router Centralized Service Port

Modifies the specified logical router port. Required parameters include the resource_type and logical_router_id. Modifiable parameters include the resource_type (LogicalRouterUpLinkPort, LogicalRouterDownLinkPort, LogicalRouterLinkPort, LogicalRouterLoopbackPort), logical_router_id (to reassign the port to a different router), and service_bindings. * @param ctx context.Context Authentication Context @param logicalRouterPortId @param logicalRouterPort @return manager.LogicalRouterCentralizedServicePort

func (*LogicalRoutingAndServicesApiService) UpdateLogicalRouterDownLinkPort Uses

func (a *LogicalRoutingAndServicesApiService) UpdateLogicalRouterDownLinkPort(ctx context.Context, logicalRouterPortId string, logicalRouterPort manager.LogicalRouterDownLinkPort) (manager.LogicalRouterDownLinkPort, *http.Response, error)
LogicalRoutingAndServicesApiService Update a Logical Router DownLink Port

Modifies the specified logical router port. Required parameters include the resource_type and logical_router_id. Modifiable parameters include the resource_type (LogicalRouterUpLinkPort, LogicalRouterDownLinkPort, LogicalRouterLinkPort, LogicalRouterLoopbackPort), logical_router_id (to reassign the port to a different router), and service_bindings. * @param ctx context.Context Authentication Context @param logicalRouterPortId @param logicalRouterPort @return manager.LogicalRouterDownLinkPort

func (*LogicalRoutingAndServicesApiService) UpdateLogicalRouterLinkPortOnTier0 Uses

func (a *LogicalRoutingAndServicesApiService) UpdateLogicalRouterLinkPortOnTier0(ctx context.Context, logicalRouterPortId string, logicalRouterPort manager.LogicalRouterLinkPortOnTier0) (manager.LogicalRouterLinkPortOnTier0, *http.Response, error)
LogicalRoutingAndServicesApiService Update a Logical Router Link Port On Tier0

Modifies the specified logical router port. Required parameters include the resource_type and logical_router_id. Modifiable parameters include the resource_type (LogicalRouterUpLinkPort, LogicalRouterDownLinkPort, LogicalRouterLinkPort, LogicalRouterLoopbackPort), logical_router_id (to reassign the port to a different router), and service_bindings. * @param ctx context.Context Authentication Context @param logicalRouterPortId @param logicalRouterPort @return manager.LogicalRouterLinkPortOnTier0

func (*LogicalRoutingAndServicesApiService) UpdateLogicalRouterLinkPortOnTier1 Uses

func (a *LogicalRoutingAndServicesApiService) UpdateLogicalRouterLinkPortOnTier1(ctx context.Context, logicalRouterPortId string, logicalRouterPort manager.LogicalRouterLinkPortOnTier1) (manager.LogicalRouterLinkPortOnTier1, *http.Response, error)
LogicalRoutingAndServicesApiService Update a Logical Router Link Port On Tier1

Modifies the specified logical router port. Required parameters include the resource_type and logical_router_id. Modifiable parameters include the resource_type (LogicalRouterUpLinkPort, LogicalRouterDownLinkPort, LogicalRouterLinkPort, LogicalRouterLoopbackPort), logical_router_id (to reassign the port to a different router), and service_bindings. * @param ctx context.Context Authentication Context @param logicalRouterPortId @param logicalRouterPort @return manager.LogicalRouterLinkPortOnTier1

func (*LogicalRoutingAndServicesApiService) UpdateLogicalRouterLoopbackPort Uses

func (a *LogicalRoutingAndServicesApiService) UpdateLogicalRouterLoopbackPort(ctx context.Context, logicalRouterPortId string, logicalRouterPort manager.LogicalRouterLoopbackPort) (manager.LogicalRouterLoopbackPort, *http.Response, error)
LogicalRoutingAndServicesApiService Update a Logical Router Loopback Port

Modifies the specified logical router port. Required parameters include the resource_type and logical_router_id. Modifiable parameters include the resource_type (LogicalRouterUpLinkPort, LogicalRouterDownLinkPort, LogicalRouterLinkPort, LogicalRouterLoopbackPort), logical_router_id (to reassign the port to a different router), and service_bindings. * @param ctx context.Context Authentication Context @param logicalRouterPortId @param logicalRouterPort @return manager.LogicalRouterLoopbackPort

func (*LogicalRoutingAndServicesApiService) UpdateLogicalRouterPort Uses

func (a *LogicalRoutingAndServicesApiService) UpdateLogicalRouterPort(ctx context.Context, logicalRouterPortId string, logicalRouterPort manager.LogicalRouterPort) (manager.LogicalRouterPort, *http.Response, error)
LogicalRoutingAndServicesApiService Update a Logical Router Port

Modifies the specified logical router port. Required parameters include the resource_type and logical_router_id. Modifiable parameters include the resource_type (LogicalRouterUpLinkPort, LogicalRouterDownLinkPort, LogicalRouterLinkPort, LogicalRouterLoopbackPort), logical_router_id (to reassign the port to a different router), and service_bindings. * @param ctx context.Context Authentication Context @param logicalRouterPortId @param logicalRouterPort @return manager.LogicalRouterPort

func (*LogicalRoutingAndServicesApiService) UpdateLogicalRouterUpLinkPort Uses

func (a *LogicalRoutingAndServicesApiService) UpdateLogicalRouterUpLinkPort(ctx context.Context, logicalRouterPortId string, logicalRouterPort manager.LogicalRouterUpLinkPort) (manager.LogicalRouterUpLinkPort, *http.Response, error)
LogicalRoutingAndServicesApiService Update a Logical Router UpLink Port

Modifies the specified logical router port. Required parameters include the resource_type and logical_router_id. Modifiable parameters include the resource_type (LogicalRouterUpLinkPort, LogicalRouterDownLinkPort, LogicalRouterLinkPort, LogicalRouterLoopbackPort), logical_router_id (to reassign the port to a different router), and service_bindings. * @param ctx context.Context Authentication Context @param logicalRouterPortId @param logicalRouterPort @return manager.LogicalRouterUpLinkPort

func (*LogicalRoutingAndServicesApiService) UpdateNatRule Uses

func (a *LogicalRoutingAndServicesApiService) UpdateNatRule(ctx context.Context, logicalRouterId string, ruleId string, natRule manager.NatRule) (manager.NatRule, *http.Response, error)
LogicalRoutingAndServicesApiService Update a specific NAT rule from a given logical router

Update a specific NAT rule from a given logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param ruleId @param natRule @return manager.NatRule

func (*LogicalRoutingAndServicesApiService) UpdateRedistributionConfig Uses

func (a *LogicalRoutingAndServicesApiService) UpdateRedistributionConfig(ctx context.Context, logicalRouterId string, redistributionConfig manager.RedistributionConfig) (manager.RedistributionConfig, *http.Response, error)
LogicalRoutingAndServicesApiService Update the Redistribution Configuration on a Logical Router

Modifies existing route redistribution rules for the specified TIER0 logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param redistributionConfig @return manager.RedistributionConfig

func (*LogicalRoutingAndServicesApiService) UpdateRedistributionRuleList Uses

func (a *LogicalRoutingAndServicesApiService) UpdateRedistributionRuleList(ctx context.Context, logicalRouterId string, redistributionRuleList manager.RedistributionRuleList) (manager.RedistributionRuleList, *http.Response, error)
LogicalRoutingAndServicesApiService Update All the Redistribution Rules on a Logical Router

Modifies all route redistribution rules for the specified TIER0 logical router. Set the rules list to empty to delete/clear all rules. * @param ctx context.Context Authentication Context @param logicalRouterId @param redistributionRuleList @return manager.RedistributionRuleList

func (*LogicalRoutingAndServicesApiService) UpdateRouteMap Uses

func (a *LogicalRoutingAndServicesApiService) UpdateRouteMap(ctx context.Context, logicalRouterId string, id string, routeMap manager.RouteMap) (manager.RouteMap, *http.Response, error)
LogicalRoutingAndServicesApiService Update a specific manager.RouteMap on a Logical Router

Update a specific manager.RouteMap on the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param id @param routeMap @return manager.RouteMap

func (*LogicalRoutingAndServicesApiService) UpdateRoutingBfdConfig Uses

func (a *LogicalRoutingAndServicesApiService) UpdateRoutingBfdConfig(ctx context.Context, logicalRouterId string, bfdConfig manager.BfdConfig) (manager.BfdConfig, *http.Response, error)
LogicalRoutingAndServicesApiService Update the BFD Configuration for BFD peers for routing

Modifies the BFD configuration for routing BFD peers. Note - the configuration | changes apply only to those routing BFD peers for which the BFD configuration has | not been overridden at Peer level. * @param ctx context.Context Authentication Context @param logicalRouterId @param bfdConfig @return manager.BfdConfig

func (*LogicalRoutingAndServicesApiService) UpdateRoutingConfig Uses

func (a *LogicalRoutingAndServicesApiService) UpdateRoutingConfig(ctx context.Context, logicalRouterId string, routingConfig manager.RoutingConfig) (manager.RoutingConfig, *http.Response, error)
LogicalRoutingAndServicesApiService Update the Routing Configuration

Modifies the routing configuration for a specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param routingConfig @return manager.RoutingConfig

func (*LogicalRoutingAndServicesApiService) UpdateService Uses

func (a *LogicalRoutingAndServicesApiService) UpdateService(ctx context.Context, serviceId string, logicalService manager.LogicalService) (manager.LogicalService, *http.Response, error)
LogicalRoutingAndServicesApiService Update a Logical Router Service

Modifies the specified logical router service. The resource_type parameter is required. The modifiable parameters depend on the service type. * @param ctx context.Context Authentication Context @param serviceId @param logicalService @return manager.LogicalService

func (*LogicalRoutingAndServicesApiService) UpdateServiceProfile Uses

func (a *LogicalRoutingAndServicesApiService) UpdateServiceProfile(ctx context.Context, serviceProfileId string, serviceProfile manager.ServiceProfile) (manager.ServiceProfile, *http.Response, error)
LogicalRoutingAndServicesApiService Update a Service Profile

Modifies the specified service profile. The PUT request must include the resource_type parameters. Modifiable parameters include description and display_name. Other parameters might be modifiable, depending on the specified service type. * @param ctx context.Context Authentication Context @param serviceProfileId @param serviceProfile @return manager.ServiceProfile

func (*LogicalRoutingAndServicesApiService) UpdateStaticHopBfdPeer Uses

func (a *LogicalRoutingAndServicesApiService) UpdateStaticHopBfdPeer(ctx context.Context, logicalRouterId string, bfdPeerId string, staticHopBfdPeer manager.StaticHopBfdPeer) (manager.StaticHopBfdPeer, *http.Response, error)
LogicalRoutingAndServicesApiService Update a static route BFD peer

Modifies the static route BFD peer. Modifiable parameters includes peer IP, enable flag and configuration of the BFD peer. * @param ctx context.Context Authentication Context @param logicalRouterId @param bfdPeerId @param staticHopBfdPeer @return manager.StaticHopBfdPeer

func (*LogicalRoutingAndServicesApiService) UpdateStaticRoute Uses

func (a *LogicalRoutingAndServicesApiService) UpdateStaticRoute(ctx context.Context, logicalRouterId string, id string, staticRoute manager.StaticRoute) (manager.StaticRoute, *http.Response, error)
LogicalRoutingAndServicesApiService Update a specific Static Route Rule on a Logical Router

Update a specific static route on the specified logical router. * @param ctx context.Context Authentication Context @param logicalRouterId @param id @param staticRoute @return manager.StaticRoute

type LogicalSwitchingApiService Uses

type LogicalSwitchingApiService service

func (*LogicalSwitchingApiService) CreateIpDiscoverySwitchingProfile Uses

func (a *LogicalSwitchingApiService) CreateIpDiscoverySwitchingProfile(ctx context.Context, baseSwitchingProfile manager.IpDiscoverySwitchingProfile) (manager.IpDiscoverySwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Create a Switching Profile

Creates a new, custom qos, port-mirroring, spoof-guard or port-security switching profile. You can override their default switching profile assignments by creating a new switching profile and assigning it to one or more logical switches. You cannot override the default ipfix or ip_discovery switching profiles. * @param ctx context.Context Authentication Context @param baseSwitchingProfile @return manager.IpDiscoverySwitchingProfile

func (*LogicalSwitchingApiService) CreateLogicalPort Uses

func (a *LogicalSwitchingApiService) CreateLogicalPort(ctx context.Context, logicalPort manager.LogicalPort) (manager.LogicalPort, *http.Response, error)
LogicalSwitchingApiService Create a Logical Port

Creates a new logical switch port. The required parameters are the associated logical_switch_id and admin_state (UP or DOWN). Optional parameters are the attachment and switching_profile_ids. If you don't specify switching_profile_ids, default switching profiles are assigned to the port. If you don't specify an attachment, the switch port remains empty. To configure an attachment, you must specify an id, and optionally you can specify an attachment_type (VIF or LOGICALROUTER). The attachment_type is VIF by default. * @param ctx context.Context Authentication Context @param logicalPort @return manager.LogicalPort

func (*LogicalSwitchingApiService) CreateLogicalSwitch Uses

func (a *LogicalSwitchingApiService) CreateLogicalSwitch(ctx context.Context, logicalSwitch manager.LogicalSwitch) (manager.LogicalSwitch, *http.Response, error)
LogicalSwitchingApiService Create a Logical Switch

Creates a new logical switch. The request must include the transport_zone_id, display_name, and admin_state (UP or DOWN). The replication_mode (MTEP or SOURCE) is required for overlay logical switches, but not for VLAN-based logical switches. A vlan needs to be provided for VLAN-based logical switches * @param ctx context.Context Authentication Context @param logicalSwitch @return manager.LogicalSwitch

func (*LogicalSwitchingApiService) CreateMacManagementSwitchingProfile Uses

func (a *LogicalSwitchingApiService) CreateMacManagementSwitchingProfile(ctx context.Context, baseSwitchingProfile manager.MacManagementSwitchingProfile) (manager.MacManagementSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Create a Switching Profile

Creates a new, custom qos, port-mirroring, spoof-guard or port-security switching profile. You can override their default switching profile assignments by creating a new switching profile and assigning it to one or more logical switches. You cannot override the default ipfix or ip_discovery switching profiles. * @param ctx context.Context Authentication Context @param baseSwitchingProfile @return manager.MacManagementSwitchingProfile

func (*LogicalSwitchingApiService) CreatePortMirroringSwitchingProfile Uses

func (a *LogicalSwitchingApiService) CreatePortMirroringSwitchingProfile(ctx context.Context, baseSwitchingProfile manager.PortMirroringSwitchingProfile) (manager.PortMirroringSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Create a Switching Profile

Creates a new, custom qos, port-mirroring, spoof-guard or port-security switching profile. You can override their default switching profile assignments by creating a new switching profile and assigning it to one or more logical switches. You cannot override the default ipfix or ip_discovery switching profiles. * @param ctx context.Context Authentication Context @param baseSwitchingProfile @return manager.PortMirroringSwitchingProfile

func (*LogicalSwitchingApiService) CreateQosSwitchingProfile Uses

func (a *LogicalSwitchingApiService) CreateQosSwitchingProfile(ctx context.Context, baseSwitchingProfile manager.QosSwitchingProfile) (manager.QosSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Create a Switching Profile

Creates a new, custom qos, port-mirroring, spoof-guard or port-security switching profile. You can override their default switching profile assignments by creating a new switching profile and assigning it to one or more logical switches. You cannot override the default ipfix or ip_discovery switching profiles. * @param ctx context.Context Authentication Context @param baseSwitchingProfile @return manager.QosSwitchingProfile

func (*LogicalSwitchingApiService) CreateSpoofGuardSwitchingProfile Uses

func (a *LogicalSwitchingApiService) CreateSpoofGuardSwitchingProfile(ctx context.Context, baseSwitchingProfile manager.SpoofGuardSwitchingProfile) (manager.SpoofGuardSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Create a Switching Profile

Creates a new, custom qos, port-mirroring, spoof-guard or port-security switching profile. You can override their default switching profile assignments by creating a new switching profile and assigning it to one or more logical switches. You cannot override the default ipfix or ip_discovery switching profiles. * @param ctx context.Context Authentication Context @param baseSwitchingProfile @return manager.SpoofGuardSwitchingProfile

func (*LogicalSwitchingApiService) CreateSwitchSecuritySwitchingProfile Uses

func (a *LogicalSwitchingApiService) CreateSwitchSecuritySwitchingProfile(ctx context.Context, baseSwitchingProfile manager.SwitchSecuritySwitchingProfile) (manager.SwitchSecuritySwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Create a Switching Profile

Creates a new, custom qos, port-mirroring, spoof-guard or port-security switching profile. You can override their default switching profile assignments by creating a new switching profile and assigning it to one or more logical switches. You cannot override the default ipfix or ip_discovery switching profiles. * @param ctx context.Context Authentication Context @param baseSwitchingProfile @return manager.SwitchSecuritySwitchingProfile

func (*LogicalSwitchingApiService) CreateSwitchingProfile Uses

func (a *LogicalSwitchingApiService) CreateSwitchingProfile(ctx context.Context, baseSwitchingProfile manager.BaseSwitchingProfile) (manager.BaseSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Create a Switching Profile

Creates a new, custom qos, port-mirroring, spoof-guard or port-security switching profile. You can override their default switching profile assignments by creating a new switching profile and assigning it to one or more logical switches. You cannot override the default ipfix or ip_discovery switching profiles. * @param ctx context.Context Authentication Context @param baseSwitchingProfile @return manager.BaseSwitchingProfile

func (*LogicalSwitchingApiService) DeleteLogicalPort Uses

func (a *LogicalSwitchingApiService) DeleteLogicalPort(ctx context.Context, lportId string, localVarOptionals map[string]interface{}) (*http.Response, error)
LogicalSwitchingApiService Delete a Logical Port

Deletes the specified logical switch port. By default, if logical port has attachments, or it is added to any NSGroup, the deletion will be failed. Option detach could be used for deleting logical port forcibly. * @param ctx context.Context Authentication Context @param lportId @param optional (nil or map[string]interface{}) with one or more of:

@param "detach" (bool) force delete even if attached or referenced by a group

@return

func (*LogicalSwitchingApiService) DeleteLogicalSwitch Uses

func (a *LogicalSwitchingApiService) DeleteLogicalSwitch(ctx context.Context, lswitchId string, localVarOptionals map[string]interface{}) (*http.Response, error)
LogicalSwitchingApiService Delete a Logical Switch

Removes a logical switch from the associated overlay or VLAN transport zone. By default, a logical switch cannot be deleted if there are logical ports on the switch, or it is added to a NSGroup. Cascade option can be used to delete all ports and the logical switch. Detach option can be used to delete the logical switch forcibly. * @param ctx context.Context Authentication Context @param lswitchId @param optional (nil or map[string]interface{}) with one or more of:

@param "cascade" (bool) Delete a Logical Switch and all the logical ports in it, if none of the logical ports have any attachment.
@param "detach" (bool) Force delete a logical switch

@return

func (*LogicalSwitchingApiService) DeleteSwitchingProfile Uses

func (a *LogicalSwitchingApiService) DeleteSwitchingProfile(ctx context.Context, switchingProfileId string, localVarOptionals map[string]interface{}) (*http.Response, error)
LogicalSwitchingApiService Delete a Switching Profile

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

@param "unbind" (bool) force unbinding of logical switches and ports from a switching profile

@return

func (*LogicalSwitchingApiService) GetIpDiscoverySwitchingProfile Uses

func (a *LogicalSwitchingApiService) GetIpDiscoverySwitchingProfile(ctx context.Context, switchingProfileId string) (manager.IpDiscoverySwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Get Switching Profile by ID

Returns information about a specified switching profile. * @param ctx context.Context Authentication Context @param switchingProfileId @return manager.IpDiscoverySwitchingProfile

func (*LogicalSwitchingApiService) GetLogicalPort Uses

func (a *LogicalSwitchingApiService) GetLogicalPort(ctx context.Context, lportId string) (manager.LogicalPort, *http.Response, error)
LogicalSwitchingApiService Get Information About a Logical Port

Returns information about a specified logical port. * @param ctx context.Context Authentication Context @param lportId @return manager.LogicalPort

func (*LogicalSwitchingApiService) GetLogicalPortMacTable Uses

func (a *LogicalSwitchingApiService) GetLogicalPortMacTable(ctx context.Context, lportId string, localVarOptionals map[string]interface{}) (manager.LogicalPortMacAddressListResult, *http.Response, error)
LogicalSwitchingApiService Get MAC table of a logical port with a given port id (lport-id)

Returns MAC table of a specified logical port. If the target transport node id is not provided, the NSX manager will ask the controller for the transport node where the logical port is located. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param lportId @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
@param "source" (string) Data source type.
@param "transportNodeId" (string) TransportNode Id

@return manager.LogicalPortMacAddressListResult

func (*LogicalSwitchingApiService) GetLogicalPortMacTableInCsvFormatCsv Uses

func (a *LogicalSwitchingApiService) GetLogicalPortMacTableInCsvFormatCsv(ctx context.Context, lportId string, localVarOptionals map[string]interface{}) (manager.LogicalPortMacAddressCsvListResult, *http.Response, error)
LogicalSwitchingApiService Get MAC table of a logical port with a given port id (lport-id)

Returns MAC table in CSV format of a specified logical port. If the target transport node id is not provided, the NSX manager will ask the controller for the transport node where the logical port is located. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param lportId @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
@param "source" (string) Data source type.
@param "transportNodeId" (string) TransportNode Id

@return manager.LogicalPortMacAddressCsvListResult

func (*LogicalSwitchingApiService) GetLogicalPortOperationalStatus Uses

func (a *LogicalSwitchingApiService) GetLogicalPortOperationalStatus(ctx context.Context, lportId string, localVarOptionals map[string]interface{}) (manager.LogicalPortOperationalStatus, *http.Response, error)
LogicalSwitchingApiService Get Operational Status for Logical Port of a Given Port ID (lport-id)

Returns operational status of a specified logical port. * @param ctx context.Context Authentication Context @param lportId @param optional (nil or map[string]interface{}) with one or more of:

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

@return manager.LogicalPortOperationalStatus

func (*LogicalSwitchingApiService) GetLogicalPortState Uses

func (a *LogicalSwitchingApiService) GetLogicalPortState(ctx context.Context, lportId string) (manager.LogicalPortState, *http.Response, error)
LogicalSwitchingApiService Get realized state & location of a logical port

Returns transport node id for a specified logical port. Also returns information about all address bindings of the specified logical port. This includes address bindings discovered via various snooping methods like ARP snooping, DHCP snooping etc. and addressing bindings that are realized based on user configuration. * @param ctx context.Context Authentication Context @param lportId @return manager.LogicalPortState

func (*LogicalSwitchingApiService) GetLogicalPortStatistics Uses

func (a *LogicalSwitchingApiService) GetLogicalPortStatistics(ctx context.Context, lportId string, localVarOptionals map[string]interface{}) (manager.LogicalPortStatistics, *http.Response, error)
LogicalSwitchingApiService Get Statistics for Logical Port of a Given Port ID (lport-id)

Returns statistics of a specified logical port. If the logical port is attached to a logical router port, query parameter \"source=realtime\" is not supported. * @param ctx context.Context Authentication Context @param lportId @param optional (nil or map[string]interface{}) with one or more of:

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

@return manager.LogicalPortStatistics

func (*LogicalSwitchingApiService) GetLogicalPortStatusSummary Uses

func (a *LogicalSwitchingApiService) GetLogicalPortStatusSummary(ctx context.Context, localVarOptionals map[string]interface{}) (manager.LogicalPortStatusSummary, *http.Response, error)
LogicalSwitchingApiService Get Operational Status Summary of All Logical Ports in the System

Returns operational status of all logical ports. The query parameter \"source=realtime\" is not supported. * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "attachmentId" (string) Logical Port attachment Id
@param "attachmentType" (string) Type of attachment for logical port; for query only.
@param "bridgeClusterId" (string) Bridge Cluster identifier
@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "diagnostic" (bool) Flag to enable showing of transit logical port.
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "logicalSwitchId" (string) Logical Switch identifier
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "parentVifId" (string) ID of the VIF of type PARENT
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted
@param "source" (string) Data source type.
@param "switchingProfileId" (string) Network Profile identifier
@param "transportNodeId" (string) Transport node identifier
@param "transportZoneId" (string) Transport zone identifier

@return manager.LogicalPortStatusSummary

func (*LogicalSwitchingApiService) GetLogicalSwitch Uses

func (a *LogicalSwitchingApiService) GetLogicalSwitch(ctx context.Context, lswitchId string) (manager.LogicalSwitch, *http.Response, error)
LogicalSwitchingApiService Get Logical Switch associated with the provided id (lswitch-id)

Returns information about the specified logical switch Id. * @param ctx context.Context Authentication Context @param lswitchId @return manager.LogicalSwitch

func (*LogicalSwitchingApiService) GetLogicalSwitchMacTable Uses

func (a *LogicalSwitchingApiService) GetLogicalSwitchMacTable(ctx context.Context, lswitchId string, localVarOptionals map[string]interface{}) (manager.MacAddressListResult, *http.Response, error)
LogicalSwitchingApiService Get MAC Table for Logical Switch of the Given ID (lswitch-id)

Returns MAC table of a specified logical switch from the given transport node if a transport node id is given in the query parameter, from the Central Controller Plane otherwise The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param lswitchId @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
@param "source" (string) Data source type.
@param "transportNodeId" (string) TransportNode Id

@return manager.MacAddressListResult

func (*LogicalSwitchingApiService) GetLogicalSwitchMacTableInCsvFormatCsv Uses

func (a *LogicalSwitchingApiService) GetLogicalSwitchMacTableInCsvFormatCsv(ctx context.Context, lswitchId string, localVarOptionals map[string]interface{}) (manager.MacAddressCsvListResult, *http.Response, error)
LogicalSwitchingApiService Get MAC Table for Logical Switch of the Given ID (lswitch-id)

Returns MAC table of a specified logical switch in CSV format from the given transport node if a transport node id is given in the query parameter, from the Central Controller Plane otherwise The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param lswitchId @param optional (nil or map[string]interface{}) with one or more of:

@param "source" (string) Data source type.
@param "transportNodeId" (string) TransportNode Id

@return manager.MacAddressCsvListResult

func (*LogicalSwitchingApiService) GetLogicalSwitchState Uses

func (a *LogicalSwitchingApiService) GetLogicalSwitchState(ctx context.Context, lswitchId string) (manager.LogicalSwitchState, *http.Response, error)
LogicalSwitchingApiService Get the realized state associated with provided logical switch id

Returns current state of the logical switch configuration and details of only out-of-sync transport nodes. * @param ctx context.Context Authentication Context @param lswitchId @return manager.LogicalSwitchState

func (*LogicalSwitchingApiService) GetLogicalSwitchStatistics Uses

func (a *LogicalSwitchingApiService) GetLogicalSwitchStatistics(ctx context.Context, lswitchId string, localVarOptionals map[string]interface{}) (manager.LogicalSwitchStatistics, *http.Response, error)
LogicalSwitchingApiService Get Statistics for Logical Switch of the Given ID (lswitch-id)

Returns statistics of a specified logical switch. The query parameter \"source=realtime\" is not supported. * @param ctx context.Context Authentication Context @param lswitchId @param optional (nil or map[string]interface{}) with one or more of:

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

@return manager.LogicalSwitchStatistics

func (*LogicalSwitchingApiService) GetLogicalSwitchStatus Uses

func (a *LogicalSwitchingApiService) GetLogicalSwitchStatus(ctx context.Context, lswitchId string) (manager.LogicalSwitchStatus, *http.Response, error)
LogicalSwitchingApiService Get Logical Switch runtime status info for a given logical switch

Returns the number of ports assigned to a logical switch. * @param ctx context.Context Authentication Context @param lswitchId @return manager.LogicalSwitchStatus

func (*LogicalSwitchingApiService) GetLogicalSwitchStatusSummary Uses

func (a *LogicalSwitchingApiService) GetLogicalSwitchStatusSummary(ctx context.Context, localVarOptionals map[string]interface{}) (manager.LogicalSwitchStatusSummary, *http.Response, error)
LogicalSwitchingApiService Get Status Summary of All Logical Switches in the System

Returns Operational status of all logical switches. The query parameter \"source=realtime\" is not supported. * @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 "diagnostic" (bool) Flag to enable showing of transit logical switch.
@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 "source" (string) Data source type.
@param "switchingProfileId" (string) Switching Profile identifier
@param "transportType" (string) Mode of transport supported in the transport zone for this logical switch
@param "transportZoneId" (string) Transport zone identifier

@return manager.LogicalSwitchStatusSummary

func (*LogicalSwitchingApiService) GetLogicalSwitchVtepTable Uses

func (a *LogicalSwitchingApiService) GetLogicalSwitchVtepTable(ctx context.Context, lswitchId string, localVarOptionals map[string]interface{}) (manager.VtepListResult, *http.Response, error)
LogicalSwitchingApiService Get virtual tunnel endpoint table for logical switch of the given ID (lswitch-id)

Returns the virtual tunnel endpoint table of a specified logical switch from the given transport node if a transport node id is given in the query parameter, from the Central Controller Plane otherwise. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param lswitchId @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
@param "source" (string) Data source type.
@param "transportNodeId" (string) TransportNode Id

@return manager.VtepListResult

func (*LogicalSwitchingApiService) GetLogicalSwitchVtepTableInCsvFormatCsv Uses

func (a *LogicalSwitchingApiService) GetLogicalSwitchVtepTableInCsvFormatCsv(ctx context.Context, lswitchId string, localVarOptionals map[string]interface{}) (manager.VtepCsvListResult, *http.Response, error)
LogicalSwitchingApiService Get virtual tunnel endpoint table for logical switch of the given ID (lswitch-id)

Returns virtual tunnel endpoint table of a specified logical switch in CSV format from the given transport node if a transport node id is given in the query parameter, from the Central Controller Plane otherwise. The query parameter \"source=cached\" is not supported. * @param ctx context.Context Authentication Context @param lswitchId @param optional (nil or map[string]interface{}) with one or more of:

@param "source" (string) Data source type.
@param "transportNodeId" (string) TransportNode Id

@return manager.VtepCsvListResult

func (*LogicalSwitchingApiService) GetMacManagementSwitchingProfile Uses

func (a *LogicalSwitchingApiService) GetMacManagementSwitchingProfile(ctx context.Context, switchingProfileId string) (manager.MacManagementSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Get Switching Profile by ID

Returns information about a specified switching profile. * @param ctx context.Context Authentication Context @param switchingProfileId @return manager.MacManagementSwitchingProfile

func (*LogicalSwitchingApiService) GetPortMirroringSwitchingProfile Uses

func (a *LogicalSwitchingApiService) GetPortMirroringSwitchingProfile(ctx context.Context, switchingProfileId string) (manager.PortMirroringSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Get Switching Profile by ID

Returns information about a specified switching profile. * @param ctx context.Context Authentication Context @param switchingProfileId @return manager.PortMirroringSwitchingProfile

func (*LogicalSwitchingApiService) GetQosSwitchingProfile Uses

func (a *LogicalSwitchingApiService) GetQosSwitchingProfile(ctx context.Context, switchingProfileId string) (manager.QosSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Get Switching Profile by ID

Returns information about a specified switching profile. * @param ctx context.Context Authentication Context @param switchingProfileId @return manager.QosSwitchingProfile

func (*LogicalSwitchingApiService) GetSpoofGuardSwitchingProfile Uses

func (a *LogicalSwitchingApiService) GetSpoofGuardSwitchingProfile(ctx context.Context, switchingProfileId string) (manager.SpoofGuardSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Get Switching Profile by ID

Returns information about a specified switching profile. * @param ctx context.Context Authentication Context @param switchingProfileId @return manager.SpoofGuardSwitchingProfile

func (*LogicalSwitchingApiService) GetSwitchSecuritySwitchingProfile Uses

func (a *LogicalSwitchingApiService) GetSwitchSecuritySwitchingProfile(ctx context.Context, switchingProfileId string) (manager.SwitchSecuritySwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Get Switching Profile by ID

Returns information about a specified switching profile. * @param ctx context.Context Authentication Context @param switchingProfileId @return manager.SwitchSecuritySwitchingProfile

func (*LogicalSwitchingApiService) GetSwitchingProfile Uses

func (a *LogicalSwitchingApiService) GetSwitchingProfile(ctx context.Context, switchingProfileId string) (manager.BaseSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Get Switching Profile by ID

Returns information about a specified switching profile. * @param ctx context.Context Authentication Context @param switchingProfileId @return manager.BaseSwitchingProfile

func (*LogicalSwitchingApiService) GetSwitchingProfileStatus Uses

func (a *LogicalSwitchingApiService) GetSwitchingProfileStatus(ctx context.Context, switchingProfileId string) (manager.SwitchingProfileStatus, *http.Response, error)
LogicalSwitchingApiService Get Counts of Ports and Switches Using This Switching Profile

Get Counts of Ports and Switches Using This Switching Profile * @param ctx context.Context Authentication Context @param switchingProfileId @return manager.SwitchingProfileStatus

func (*LogicalSwitchingApiService) ListLogicalPorts Uses

func (a *LogicalSwitchingApiService) ListLogicalPorts(ctx context.Context, localVarOptionals map[string]interface{}) (manager.LogicalPortListResult, *http.Response, error)
LogicalSwitchingApiService List All Logical Ports

Returns information about all configured logical switch ports. Logical switch ports connect to VM virtual network interface cards (NICs). Each logical port is associated with one logical switch. * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "attachmentId" (string) Logical Port attachment Id
@param "attachmentType" (string) Type of attachment for logical port; for query only.
@param "bridgeClusterId" (string) Bridge Cluster identifier
@param "cursor" (string) Opaque cursor to be used for getting next page of records (supplied by current result page)
@param "diagnostic" (bool) Flag to enable showing of transit logical port.
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "logicalSwitchId" (string) Logical Switch identifier
@param "pageSize" (int64) Maximum number of results to return in this page (server may return fewer)
@param "parentVifId" (string) ID of the VIF of type PARENT
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted
@param "switchingProfileId" (string) Network Profile identifier
@param "transportNodeId" (string) Transport node identifier
@param "transportZoneId" (string) Transport zone identifier

@return manager.LogicalPortListResult

func (*LogicalSwitchingApiService) ListLogicalSwitches Uses

func (a *LogicalSwitchingApiService) ListLogicalSwitches(ctx context.Context, localVarOptionals map[string]interface{}) (manager.LogicalSwitchListResult, *http.Response, error)
LogicalSwitchingApiService List all Logical Switches

Returns information about all configured logical switches. * @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 "diagnostic" (bool) Flag to enable showing of transit logical switch.
@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 "switchingProfileId" (string) Switching Profile identifier
@param "transportType" (string) Mode of transport supported in the transport zone for this logical switch
@param "transportZoneId" (string) Transport zone identifier

@return manager.LogicalSwitchListResult

func (*LogicalSwitchingApiService) ListLogicalSwitchesByState Uses

func (a *LogicalSwitchingApiService) ListLogicalSwitchesByState(ctx context.Context, localVarOptionals map[string]interface{}) (manager.LogicalSwitchStateListResult, *http.Response, error)
LogicalSwitchingApiService List logical switches by realized state

Returns a list of logical switches states that have realized state as provided as query parameter. * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "status" (string) Realized state of logical switches

@return manager.LogicalSwitchStateListResult

func (*LogicalSwitchingApiService) ListSwitchingProfiles Uses

func (a *LogicalSwitchingApiService) ListSwitchingProfiles(ctx context.Context, localVarOptionals map[string]interface{}) (manager.SwitchingProfilesListResult, *http.Response, error)
LogicalSwitchingApiService List Switching Profiles

Returns information about the system-default and user-configured switching profiles. Each switching profile has a unique ID, a display name, and various other read-only and configurable properties. The default switching profiles are assigned automatically to each switch. * @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 "includeSystemOwned" (bool) Whether the list result contains system resources
@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 "switchingProfileType" (string) comma-separated list of switching profile types, e.g. ?switching_profile_type=QosSwitchingProfile,PortMirroringSwitchingProfile

@return manager.SwitchingProfilesListResult

func (*LogicalSwitchingApiService) UpdateIpDiscoverySwitchingProfile Uses

func (a *LogicalSwitchingApiService) UpdateIpDiscoverySwitchingProfile(ctx context.Context, switchingProfileId string, baseSwitchingProfile manager.IpDiscoverySwitchingProfile) (manager.IpDiscoverySwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Update a Switching Profile

Updates the user-configurable parameters of a switching profile. Only the qos, port-mirroring, spoof-guard and port-security switching profiles can be modified. You cannot modify the ipfix or ip-discovery switching profiles. * @param ctx context.Context Authentication Context @param switchingProfileId @param baseSwitchingProfile @return manager.IpDiscoverySwitchingProfile

func (*LogicalSwitchingApiService) UpdateLogicalPort Uses

func (a *LogicalSwitchingApiService) UpdateLogicalPort(ctx context.Context, lportId string, logicalPort manager.LogicalPort) (manager.LogicalPort, *http.Response, error)
LogicalSwitchingApiService Update a Logical Port

Modifies an existing logical switch port. Parameters that can be modified include attachment_type (LOGICALROUTER, VIF), admin_state (UP or DOWN), attachment id and switching_profile_ids. You cannot modify the logical_switch_id. In other words, you cannot move an existing port from one switch to another switch. * @param ctx context.Context Authentication Context @param lportId @param logicalPort @return manager.LogicalPort

func (*LogicalSwitchingApiService) UpdateLogicalSwitch Uses

func (a *LogicalSwitchingApiService) UpdateLogicalSwitch(ctx context.Context, lswitchId string, logicalSwitch manager.LogicalSwitch) (manager.LogicalSwitch, *http.Response, error)
LogicalSwitchingApiService Update a Logical Switch

Modifies attributes of an existing logical switch. Modifiable attributes include admin_state, replication_mode, switching_profile_ids and vlan. You cannot modify the original transport_zone_id. * @param ctx context.Context Authentication Context @param lswitchId @param logicalSwitch @return manager.LogicalSwitch

func (*LogicalSwitchingApiService) UpdateMacManagementSwitchingProfile Uses

func (a *LogicalSwitchingApiService) UpdateMacManagementSwitchingProfile(ctx context.Context, switchingProfileId string, baseSwitchingProfile manager.MacManagementSwitchingProfile) (manager.MacManagementSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Update a Switching Profile

Updates the user-configurable parameters of a switching profile. Only the qos, port-mirroring, spoof-guard and port-security switching profiles can be modified. You cannot modify the ipfix or ip-discovery switching profiles. * @param ctx context.Context Authentication Context @param switchingProfileId @param baseSwitchingProfile @return manager.MacManagementSwitchingProfile

func (*LogicalSwitchingApiService) UpdatePortMirroringSwitchingProfile Uses

func (a *LogicalSwitchingApiService) UpdatePortMirroringSwitchingProfile(ctx context.Context, switchingProfileId string, baseSwitchingProfile manager.PortMirroringSwitchingProfile) (manager.PortMirroringSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Update a Switching Profile

Updates the user-configurable parameters of a switching profile. Only the qos, port-mirroring, spoof-guard and port-security switching profiles can be modified. You cannot modify the ipfix or ip-discovery switching profiles. * @param ctx context.Context Authentication Context @param switchingProfileId @param baseSwitchingProfile @return manager.PortMirroringSwitchingProfile

func (*LogicalSwitchingApiService) UpdateQosSwitchingProfile Uses

func (a *LogicalSwitchingApiService) UpdateQosSwitchingProfile(ctx context.Context, switchingProfileId string, baseSwitchingProfile manager.QosSwitchingProfile) (manager.QosSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Update a Switching Profile

Updates the user-configurable parameters of a switching profile. Only the qos, port-mirroring, spoof-guard and port-security switching profiles can be modified. You cannot modify the ipfix or ip-discovery switching profiles. * @param ctx context.Context Authentication Context @param switchingProfileId @param baseSwitchingProfile @return manager.QosSwitchingProfile

func (*LogicalSwitchingApiService) UpdateSpoofGuardSwitchingProfile Uses

func (a *LogicalSwitchingApiService) UpdateSpoofGuardSwitchingProfile(ctx context.Context, switchingProfileId string, baseSwitchingProfile manager.SpoofGuardSwitchingProfile) (manager.SpoofGuardSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Update a Switching Profile

Updates the user-configurable parameters of a switching profile. Only the qos, port-mirroring, spoof-guard and port-security switching profiles can be modified. You cannot modify the ipfix or ip-discovery switching profiles. * @param ctx context.Context Authentication Context @param switchingProfileId @param baseSwitchingProfile @return manager.SpoofGuardSwitchingProfile

func (*LogicalSwitchingApiService) UpdateSwitchSecuritySwitchingProfile Uses

func (a *LogicalSwitchingApiService) UpdateSwitchSecuritySwitchingProfile(ctx context.Context, switchingProfileId string, baseSwitchingProfile manager.SwitchSecuritySwitchingProfile) (manager.SwitchSecuritySwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Update a Switching Profile

Updates the user-configurable parameters of a switching profile. Only the qos, port-mirroring, spoof-guard and port-security switching profiles can be modified. You cannot modify the ipfix or ip-discovery switching profiles. * @param ctx context.Context Authentication Context @param switchingProfileId @param baseSwitchingProfile @return manager.SwitchSecuritySwitchingProfile

func (*LogicalSwitchingApiService) UpdateSwitchingProfile Uses

func (a *LogicalSwitchingApiService) UpdateSwitchingProfile(ctx context.Context, switchingProfileId string, baseSwitchingProfile manager.BaseSwitchingProfile) (manager.BaseSwitchingProfile, *http.Response, error)
LogicalSwitchingApiService Update a Switching Profile

Updates the user-configurable parameters of a switching profile. Only the qos, port-mirroring, spoof-guard and port-security switching profiles can be modified. You cannot modify the ipfix or ip-discovery switching profiles. * @param ctx context.Context Authentication Context @param switchingProfileId @param baseSwitchingProfile @return manager.BaseSwitchingProfile

type ManagementPlaneApiFabricContainerApplicationsApiService Uses

type ManagementPlaneApiFabricContainerApplicationsApiService service

func (*ManagementPlaneApiFabricContainerApplicationsApiService) GetContainerApplication Uses

func (a *ManagementPlaneApiFabricContainerApplicationsApiService) GetContainerApplication(ctx context.Context, containerApplicationId string) (containerinventory.ContainerApplication, *http.Response, error)

ManagementPlaneApiFabricContainerApplicationsApiService Return a Container Application within a container project Returns information about a specific Container Application within a project.

* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param containerApplicationId

@return ContainerApplication

func (*ManagementPlaneApiFabricContainerApplicationsApiService) GetContainerApplicationInstance Uses

func (a *ManagementPlaneApiFabricContainerApplicationsApiService) GetContainerApplicationInstance(ctx context.Context, containerApplicationInstanceId string) (containerinventory.ContainerApplicationInstance, *http.Response, error)

ManagementPlaneApiFabricContainerApplicationsApiService Return a container application instance Returns information about a specific container application instance.

* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param containerApplicationInstanceId

@return ContainerApplicationInstance

func (*ManagementPlaneApiFabricContainerApplicationsApiService) ListContainerApplicationInstances Uses

func (a *ManagementPlaneApiFabricContainerApplicationsApiService) ListContainerApplicationInstances(ctx context.Context, localVarOptionals *ListContainerApplicationInstancesOpts) (containerinventory.ContainerApplicationInstanceListResult, *http.Response, error)

func (*ManagementPlaneApiFabricContainerApplicationsApiService) ListContainerApplications Uses

func (a *ManagementPlaneApiFabricContainerApplicationsApiService) ListContainerApplications(ctx context.Context, localVarOptionals *ListContainerApplicationsOpts) (containerinventory.ContainerApplicationListResult, *http.Response, error)

type ManagementPlaneApiFabricContainerClustersApiService Uses

type ManagementPlaneApiFabricContainerClustersApiService service

func (*ManagementPlaneApiFabricContainerClustersApiService) AddContainerCluster Uses

func (a *ManagementPlaneApiFabricContainerClustersApiService) AddContainerCluster(ctx context.Context, containerCluster containerinventory.ContainerCluster) (containerinventory.ContainerCluster, *http.Response, error)

ManagementPlaneApiFabricContainerClustersApiService Add a container cluster Add a container cluster

* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param containerCluster

@return ContainerCluster

func (*ManagementPlaneApiFabricContainerClustersApiService) DeleteContainerCluster Uses

func (a *ManagementPlaneApiFabricContainerClustersApiService) DeleteContainerCluster(ctx context.Context, containerClusterId string) (*http.Response, error)

ManagementPlaneApiFabricContainerClustersApiService Delete a container cluster Delete a container cluster and objects discovered from that cluster

* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param containerClusterId

func (*ManagementPlaneApiFabricContainerClustersApiService) GetContainerCluster Uses

func (a *ManagementPlaneApiFabricContainerClustersApiService) GetContainerCluster(ctx context.Context, containerClusterId string) (containerinventory.ContainerCluster, *http.Response, error)

ManagementPlaneApiFabricContainerClustersApiService Return a container cluster Returns information about a specific container cluster

* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param containerClusterId

@return ContainerCluster

func (*ManagementPlaneApiFabricContainerClustersApiService) GetContainerClusterNode Uses

func (a *ManagementPlaneApiFabricContainerClustersApiService) GetContainerClusterNode(ctx context.Context, containerClusterNodeId string) (containerinventory.ContainerClusterNode, *http.Response, error)

ManagementPlaneApiFabricContainerClustersApiService Return a container cluster node Returns information about a specific container cluster node.

* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param containerClusterNodeId

@return ContainerClusterNode

func (*ManagementPlaneApiFabricContainerClustersApiService) GetContainerIngressPolicy Uses

func (a *ManagementPlaneApiFabricContainerClustersApiService) GetContainerIngressPolicy(ctx context.Context, ingressPolicyId string) (containerinventory.ContainerIngressPolicy, *http.Response, error)

ManagementPlaneApiFabricContainerClustersApiService Returns an ingress policy spec Returns information about a specific ingress policy.

* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param ingressPolicyId

@return ContainerIngressPolicy

func (*ManagementPlaneApiFabricContainerClustersApiService) GetContainerNetworkPolicy Uses

func (a *ManagementPlaneApiFabricContainerClustersApiService) GetContainerNetworkPolicy(ctx context.Context, networkPolicyId string) (containerinventory.ContainerNetworkPolicy, *http.Response, error)

ManagementPlaneApiFabricContainerClustersApiService Return a network policy spec Returns information about a specific network policy.

* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param networkPolicyId

@return ContainerNetworkPolicy

func (*ManagementPlaneApiFabricContainerClustersApiService) ListContainerClusterNodes Uses

func (a *ManagementPlaneApiFabricContainerClustersApiService) ListContainerClusterNodes(ctx context.Context, localVarOptionals *ListContainerClusterNodesOpts) (containerinventory.ContainerClusterNodeListResult, *http.Response, error)

func (*ManagementPlaneApiFabricContainerClustersApiService) ListContainerClusters Uses

func (a *ManagementPlaneApiFabricContainerClustersApiService) ListContainerClusters(ctx context.Context, localVarOptionals *ListContainerClustersOpts) (containerinventory.ContainerClusterListResult, *http.Response, error)

func (*ManagementPlaneApiFabricContainerClustersApiService) ListContainerIngressPolicies Uses

func (a *ManagementPlaneApiFabricContainerClustersApiService) ListContainerIngressPolicies(ctx context.Context, localVarOptionals *ListContainerIngressPoliciesOpts) (containerinventory.ContainerIngressPolicyListResult, *http.Response, error)

func (*ManagementPlaneApiFabricContainerClustersApiService) ListContainerNetworkPolicies Uses

func (a *ManagementPlaneApiFabricContainerClustersApiService) ListContainerNetworkPolicies(ctx context.Context, localVarOptionals *ListContainerNetworkPoliciesOpts) (containerinventory.ContainerNetworkPolicyListResult, *http.Response, error)

type ManagementPlaneApiFabricContainerInventoryApiService Uses

type ManagementPlaneApiFabricContainerInventoryApiService service

func (*ManagementPlaneApiFabricContainerInventoryApiService) AddContainerInventoryUpdateUpdates Uses

func (a *ManagementPlaneApiFabricContainerInventoryApiService) AddContainerInventoryUpdateUpdates(ctx context.Context, clusterId string, containerInventoryData containerinventory.ContainerInventoryData) (*http.Response, error)

ManagementPlaneApiFabricContainerInventoryApiService Send container inventory update to MP-Inventory Send container inventory update like container project, application, application instance etc to MP-Inventory.

* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param clusterId
* @param containerInventoryData

type ManagementPlaneApiFabricContainerProjectsApiService Uses

type ManagementPlaneApiFabricContainerProjectsApiService service

func (*ManagementPlaneApiFabricContainerProjectsApiService) GetContainerProject Uses

func (a *ManagementPlaneApiFabricContainerProjectsApiService) GetContainerProject(ctx context.Context, containerProjectId string) (containerinventory.ContainerProject, *http.Response, error)

ManagementPlaneApiFabricContainerProjectsApiService Return a container project Returns information about a specific project

* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param containerProjectId

@return ContainerProject

func (*ManagementPlaneApiFabricContainerProjectsApiService) ListContainerProjects Uses

func (a *ManagementPlaneApiFabricContainerProjectsApiService) ListContainerProjects(ctx context.Context, localVarOptionals *ListContainerProjectsOpts) (containerinventory.ContainerProjectListResult, *http.Response, error)

type NetworkTransportApiService Uses

type NetworkTransportApiService service

func (*NetworkTransportApiService) CreateBridgeCluster Uses

func (a *NetworkTransportApiService) CreateBridgeCluster(ctx context.Context, bridgeCluster manager.BridgeCluster) (manager.BridgeCluster, *http.Response, error)
NetworkTransportApiService Create a Bridge Cluster

Creates a bridge cluster. It is collection of transport nodes that will do the bridging for overlay network to vlan networks. Bridge cluster may have one or more transport nodes * @param ctx context.Context Authentication Context @param bridgeCluster @return manager.BridgeCluster

func (*NetworkTransportApiService) CreateBridgeEndpoint Uses

func (a *NetworkTransportApiService) CreateBridgeEndpoint(ctx context.Context, bridgeEndpoint manager.BridgeEndpoint) (manager.BridgeEndpoint, *http.Response, error)
NetworkTransportApiService Create a Bridge Endpoint

Creates a Bridge Endpoint. It describes the physical attributes of the bridge like vlan. A logical port can be attached to a vif providing bridging functionality from the logical overlay network to the physical vlan network * @param ctx context.Context Authentication Context @param bridgeEndpoint @return manager.BridgeEndpoint

func (*NetworkTransportApiService) CreateClusterProfile Uses

func (a *NetworkTransportApiService) CreateClusterProfile(ctx context.Context, clusterProfile manager.ClusterProfile) (manager.ClusterProfile, *http.Response, error)
NetworkTransportApiService Create a Cluster Profile

Create a cluster profile. The resource_type is required. * @param ctx context.Context Authentication Context @param clusterProfile @return manager.ClusterProfile

func (*NetworkTransportApiService) CreateComputeCollectionTransportNodeTemplate Uses

func (a *NetworkTransportApiService) CreateComputeCollectionTransportNodeTemplate(ctx context.Context, computeCollectionTransportNodeTemplate manager.ComputeCollectionTransportNodeTemplate) (manager.ComputeCollectionTransportNodeTemplate, *http.Response, error)
NetworkTransportApiService Create transport node template for compute collection.

If automated transport node creation is configured on compute collection, this template will serve as the default setting for transport node creation. * @param ctx context.Context Authentication Context @param computeCollectionTransportNodeTemplate @return manager.ComputeCollectionTransportNodeTemplate

func (*NetworkTransportApiService) CreateEdgeCluster Uses

func (a *NetworkTransportApiService) CreateEdgeCluster(ctx context.Context, edgeCluster manager.EdgeCluster) (manager.EdgeCluster, *http.Response, error)
NetworkTransportApiService Create Edge Cluster

Creates a new edge cluster. It only supports homogeneous members. The TransportNodes backed by EdgeNode are only allowed in cluster members. DeploymentType (VIRTUAL_MACHINE|PHYSICAL_MACHINE) of these EdgeNodes should be same. * @param ctx context.Context Authentication Context @param edgeCluster @return manager.EdgeCluster

func (*NetworkTransportApiService) CreateHostSwitchProfile Uses

func (a *NetworkTransportApiService) CreateHostSwitchProfile(ctx context.Context, baseHostSwitchProfile manager.BaseHostSwitchProfile) (manager.BaseHostSwitchProfile, *http.Response, error)
NetworkTransportApiService Create a Hostswitch Profile

Creates a hostswitch profile. The resource_type is required. For uplink profiles, the teaming and policy parameters are required. By default, the mtu is 1600 and the transport_vlan is 0. The supported MTU range is 1280 through 9000. * @param ctx context.Context Authentication Context @param baseHostSwitchProfile @return manager.BaseHostSwitchProfile

func (*NetworkTransportApiService) CreateTransportNode Uses

func (a *NetworkTransportApiService) CreateTransportNode(ctx context.Context, transportNode manager.TransportNode) (manager.TransportNode, *http.Response, error)
NetworkTransportApiService Create a Transport Node

Enables a fabric node to act as a transport node. A fabric node is a node that contains host switches. Any node can serve as a transport node if it contains a vswitch. Such nodes include but are not limited to hypervisor hosts. Host switches (also known as bridges in OVS) are the individual switches within the vswitch. Virtual machines are connected to the host switches. A transport node is a node that is capable of participating in an NSX overlay or NSX VLAN networking. There are two types of transport nodes; NSX configured transport nodes and manually configured transport nodes. Manually configured transport nodes are currently only supported on KVM hypervisors. For NSX configured transport nodes, NSX creates and manages host switches and virtual tunnel endpoints (VTEPS). On manually configured transport nodes, the user pre-creates all the required entities (eg: Host switch, VTEPS etc) on the host and then provides those details in the payload for this API. It is the user's responsibility to provide correct configuration of manually configured entities to NSX via this API. NSX doesn't do any validation of the provided configuration. The type of transport node to be created is determined based on the type of the HostSwitchSpec provided in the host_switch_spec parameter. The required parameter to create a transport node is the node_id. A node ID is created when you add a host with the POST fabric/nodes API or when you register a node with the NSX Manager (using the register-node CLI command). Some of the optional parameters are host_switch_spec, transport_zone_endpoints. The transport_zone_endpoints parameter is an array of transport zone id(s) and id(s) of transport zone profile which is to be associated with that transport zone endpoint. The transport_zone_endpoints associates a transport node to certain transport zone(s). Each transport zone has one designated host switch to handle traffic. The host_switch_spec parameter lets you specify the configuration of all host switches you want to be created for this transport node. The parameter host_switch_spec allows you to specify the configuration of of the host switch for either NSX configured transport nodes or manually configured transport nodes. The host_switches parameter has been deprecated in favor of the host_switch_spec parameter and new API clients should prefer host_switch_spec over host_switches. It is an error to provide both the host_switch_spec and host_switches parameters. When a virtual machine is hosted on a hypervisor that is serving as a transport node, and when you connect the virtual machine's network adapter to an NSX logical switch, the resulting virtual tunnel endpoint (VTEP) IP address is assigned from the IP pool specified in the static_ip_pool_id parameter. Before you can use these configuration parameters in the POST transport-nodes API, you must gather the following IDs: fabric host or fabric edge node, IP pool, host switch profile (also known as an uplink profile), and transport zone. * @param ctx context.Context Authentication Context @param transportNode @return manager.TransportNode

func (*NetworkTransportApiService) CreateTransportZone Uses

func (a *NetworkTransportApiService) CreateTransportZone(ctx context.Context, transportZone manager.TransportZone) (manager.TransportZone, *http.Response, error)
NetworkTransportApiService Create a Transport Zone

Creates a new transport zone. The required parameters are host_switch_name and transport_type (OVERLAY or VLAN). The optional parameters are description and display_name. * @param ctx context.Context Authentication Context @param transportZone @return manager.TransportZone

func (*NetworkTransportApiService) CreateTransportZoneProfile Uses

func (a *NetworkTransportApiService) CreateTransportZoneProfile(ctx context.Context, transportZoneProfile manager.TransportZoneProfile) (manager.TransportZoneProfile, *http.Response, error)
NetworkTransportApiService Create a transport zone Profile

Creates a transport zone profile. The resource_type is required. * @param ctx context.Context Authentication Context @param transportZoneProfile @return manager.TransportZoneProfile

func (*NetworkTransportApiService) DeleteBridgeCluster Uses

func (a *NetworkTransportApiService) DeleteBridgeCluster(ctx context.Context, bridgeclusterId string) (*http.Response, error)
NetworkTransportApiService Delete a Bridge Cluster

Removes the specified Bridge Cluster. * @param ctx context.Context Authentication Context @param bridgeclusterId @return

func (*NetworkTransportApiService) DeleteBridgeEndpoint Uses

func (a *NetworkTransportApiService) DeleteBridgeEndpoint(ctx context.Context, bridgeendpointId string) (*http.Response, error)
NetworkTransportApiService Delete a Bridge Endpoint

Deletes the specified Bridge Endpoint. * @param ctx context.Context Authentication Context @param bridgeendpointId @return

func (*NetworkTransportApiService) DeleteClusterProfile Uses

func (a *NetworkTransportApiService) DeleteClusterProfile(ctx context.Context, clusterProfileId string) (*http.Response, error)
NetworkTransportApiService Delete a cluster profile

Delete a specified cluster profile. * @param ctx context.Context Authentication Context @param clusterProfileId @return

func (*NetworkTransportApiService) DeleteComputeCollectionTransportNodeTemplate Uses

func (a *NetworkTransportApiService) DeleteComputeCollectionTransportNodeTemplate(ctx context.Context, templateId string) (*http.Response, error)
NetworkTransportApiService Delete a compute collection transport node template

Delete the specified compute collection transport node template. * @param ctx context.Context Authentication Context @param templateId @return

func (*NetworkTransportApiService) DeleteEdgeCluster Uses

func (a *NetworkTransportApiService) DeleteEdgeCluster(ctx context.Context, edgeClusterId string) (*http.Response, error)
NetworkTransportApiService Delete Edge Cluster

Deletes the specified edge cluster. * @param ctx context.Context Authentication Context @param edgeClusterId @return

func (*NetworkTransportApiService) DeleteHostSwitchProfile Uses

func (a *NetworkTransportApiService) DeleteHostSwitchProfile(ctx context.Context, hostSwitchProfileId string) (*http.Response, error)
NetworkTransportApiService Delete a Hostswitch Profile

Deletes a specified hostswitch profile. * @param ctx context.Context Authentication Context @param hostSwitchProfileId @return

func (*NetworkTransportApiService) DeleteTransportNode Uses

func (a *NetworkTransportApiService) DeleteTransportNode(ctx context.Context, transportnodeId string) (*http.Response, error)
NetworkTransportApiService Delete a Transport Node

Deletes the specified transport node. * @param ctx context.Context Authentication Context @param transportnodeId @return

func (*NetworkTransportApiService) DeleteTransportZone Uses

func (a *NetworkTransportApiService) DeleteTransportZone(ctx context.Context, zoneId string) (*http.Response, error)
NetworkTransportApiService Delete a Transport Zone

Deletes an existing transport zone. * @param ctx context.Context Authentication Context @param zoneId @return

func (*NetworkTransportApiService) DeleteTransportZoneProfile Uses

func (a *NetworkTransportApiService) DeleteTransportZoneProfile(ctx context.Context, transportzoneProfileId string) (*http.Response, error)
NetworkTransportApiService Delete a transport zone Profile

Deletes a specified transport zone profile. * @param ctx context.Context Authentication Context @param transportzoneProfileId @return

func (*NetworkTransportApiService) GetBridgeCluster Uses

func (a *NetworkTransportApiService) GetBridgeCluster(ctx context.Context, bridgeclusterId string) (manager.BridgeCluster, *http.Response, error)
NetworkTransportApiService Get Information about a bridge cluster

Returns information about a specified bridge cluster. * @param ctx context.Context Authentication Context @param bridgeclusterId @return manager.BridgeCluster

func (*NetworkTransportApiService) GetBridgeClusterStatus Uses

func (a *NetworkTransportApiService) GetBridgeClusterStatus(ctx context.Context, clusterId string, localVarOptionals map[string]interface{}) (manager.BridgeClusterStatus, *http.Response, error)
NetworkTransportApiService Returns status of a specified Bridge Cluster

Get the status for the Bridge Cluster of the given cluster id * @param ctx context.Context Authentication Context @param clusterId @param optional (nil or map[string]interface{}) with one or more of:

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

@return manager.BridgeClusterStatus

func (*NetworkTransportApiService) GetBridgeEndpoint Uses

func (a *NetworkTransportApiService) GetBridgeEndpoint(ctx context.Context, bridgeendpointId string) (manager.BridgeEndpoint, *http.Response, error)
NetworkTransportApiService Get Information about a bridge endpoint

Returns information about a specified bridge endpoint. * @param ctx context.Context Authentication Context @param bridgeendpointId @return manager.BridgeEndpoint

func (*NetworkTransportApiService) GetBridgeEndpointStatistics Uses

func (a *NetworkTransportApiService) GetBridgeEndpointStatistics(ctx context.Context, endpointId string, localVarOptionals map[string]interface{}) (manager.BridgeEndpointStatistics, *http.Response, error)
NetworkTransportApiService Returns statistics of a specified Bridge Endpoint

Get the statistics for the Bridge Endpoint of the given Endpoint id (endpoint-id) * @param ctx context.Context Authentication Context @param endpointId @param optional (nil or map[string]interface{}) with one or more of:

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

@return manager.BridgeEndpointStatistics

func (*NetworkTransportApiService) GetBridgeEndpointStatus Uses

func (a *NetworkTransportApiService) GetBridgeEndpointStatus(ctx context.Context, endpointId string, localVarOptionals map[string]interface{}) (manager.BridgeEndpointStatus, *http.Response, error)
NetworkTransportApiService Returns status of a specified Bridge Endpoint

Get the status for the Bridge Endpoint of the given Endpoint id * @param ctx context.Context Authentication Context @param endpointId @param optional (nil or map[string]interface{}) with one or more of:

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

@return manager.BridgeEndpointStatus

func (*NetworkTransportApiService) GetClusterProfile Uses

func (a *NetworkTransportApiService) GetClusterProfile(ctx context.Context, clusterProfileId string) (manager.ClusterProfile, *http.Response, error)
NetworkTransportApiService Get cluster profile by Id

Returns information about a specified cluster profile. * @param ctx context.Context Authentication Context @param clusterProfileId @return manager.ClusterProfile

func (*NetworkTransportApiService) GetComputeCollectionTransportNodeTemplate Uses

func (a *NetworkTransportApiService) GetComputeCollectionTransportNodeTemplate(ctx context.Context, templateId string) (manager.ComputeCollectionTransportNodeTemplate, *http.Response, error)
NetworkTransportApiService Get compute collection transportnode template by id

Returns compute collection transportnode template by id * @param ctx context.Context Authentication Context @param templateId @return manager.ComputeCollectionTransportNodeTemplate

func (*NetworkTransportApiService) GetComputeCollectionTransportNodeTemplateState Uses

func (a *NetworkTransportApiService) GetComputeCollectionTransportNodeTemplateState(ctx context.Context, templateId string, localVarOptionals map[string]interface{}) (manager.ComputeCollectionTransportNodeTemplateStateList, *http.Response, error)
NetworkTransportApiService Get compute collection transportnode template application states

Returns detailed transport node states for this compute collection * @param ctx context.Context Authentication Context @param templateId @param optional (nil or map[string]interface{}) with one or more of:

@param "computeCollectionId" (string) Compute collection id
@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.ComputeCollectionTransportNodeTemplateStateList

func (*NetworkTransportApiService) GetHostSwitchProfile Uses

func (a *NetworkTransportApiService) GetHostSwitchProfile(ctx context.Context, hostSwitchProfileId string) (manager.BaseHostSwitchProfile, *http.Response, error)
NetworkTransportApiService Get a Hostswitch Profile by ID

Returns information about a specified hostswitch profile. * @param ctx context.Context Authentication Context @param hostSwitchProfileId @return manager.BaseHostSwitchProfile

func (*NetworkTransportApiService) GetTransportNode Uses

func (a *NetworkTransportApiService) GetTransportNode(ctx context.Context, transportnodeId string) (manager.TransportNode, *http.Response, error)
NetworkTransportApiService Get a Transport Node

Returns information about a specified transport node. * @param ctx context.Context Authentication Context @param transportnodeId @return manager.TransportNode

func (*NetworkTransportApiService) GetTransportNodeState Uses

func (a *NetworkTransportApiService) GetTransportNodeState(ctx context.Context, transportnodeId string) (manager.TransportNodeState, *http.Response, error)
NetworkTransportApiService Get a Transport Node's State

Returns information about the current state of the transport node configuration and information about the associated hostswitch. * @param ctx context.Context Authentication Context @param transportnodeId @return manager.TransportNodeState

func (*NetworkTransportApiService) GetTransportZone Uses

func (a *NetworkTransportApiService) GetTransportZone(ctx context.Context, zoneId string) (manager.TransportZone, *http.Response, error)
NetworkTransportApiService Get a Transport Zone

Returns information about a single transport zone. * @param ctx context.Context Authentication Context @param zoneId @return manager.TransportZone

func (*NetworkTransportApiService) GetTransportZoneProfile Uses

func (a *NetworkTransportApiService) GetTransportZoneProfile(ctx context.Context, transportzoneProfileId string) (manager.TransportZoneProfile, *http.Response, error)
NetworkTransportApiService Get transport zone profile by identifier

Returns information about a specified transport zone profile. * @param ctx context.Context Authentication Context @param transportzoneProfileId @return manager.TransportZoneProfile

func (*NetworkTransportApiService) GetTransportZoneStatus Uses

func (a *NetworkTransportApiService) GetTransportZoneStatus(ctx context.Context, zoneId string) (manager.TransportZoneStatus, *http.Response, error)
NetworkTransportApiService Get a Transport Zone's Current Runtime Status Information

Returns information about a specified transport zone, including the number of logical switches in the transport zone, number of logical spitch ports assigned to the transport zone, and number of transport nodes in the transport zone. * @param ctx context.Context Authentication Context @param zoneId @return manager.TransportZoneStatus

func (*NetworkTransportApiService) ListBridgeClusters Uses

func (a *NetworkTransportApiService) ListBridgeClusters(ctx context.Context, localVarOptionals map[string]interface{}) (manager.BridgeClusterListResult, *http.Response, error)
NetworkTransportApiService List All Bridge Clusters

Returns information about all configured bridge clusters * @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.BridgeClusterListResult

func (*NetworkTransportApiService) ListBridgeEndpoints Uses

func (a *NetworkTransportApiService) ListBridgeEndpoints(ctx context.Context, localVarOptionals map[string]interface{}) (manager.BridgeEndpointListResult, *http.Response, error)
NetworkTransportApiService List All Bridge Endpoints

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

@param "bridgeClusterId" (string) Bridge Cluster Identifier
@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 "logicalSwitchId" (string) Logical Switch Identifier
@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.BridgeEndpointListResult

func (*NetworkTransportApiService) ListClusterProfiles Uses

func (a *NetworkTransportApiService) ListClusterProfiles(ctx context.Context, localVarOptionals map[string]interface{}) (manager.ClusterProfileListResult, *http.Response, error)
NetworkTransportApiService List Cluster Profiles

Returns paginated list of cluster profiles Cluster profiles define policies for edge cluster and bridge cluster. * @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 "includeSystemOwned" (bool) Whether the list result contains system resources
@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 "resourceType" (string) Supported cluster profiles.
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.ClusterProfileListResult

func (*NetworkTransportApiService) ListComputeCollectionTransportNodeTemplates Uses

func (a *NetworkTransportApiService) ListComputeCollectionTransportNodeTemplates(ctx context.Context, localVarOptionals map[string]interface{}) (manager.TransportNodeTemplateListResult, *http.Response, error)
NetworkTransportApiService List compute collection transportnode templates

Returns all eligible compute collection transportnode 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.TransportNodeTemplateListResult

func (*NetworkTransportApiService) ListEdgeClusters Uses

func (a *NetworkTransportApiService) ListEdgeClusters(ctx context.Context, localVarOptionals map[string]interface{}) (manager.EdgeClusterListResult, *http.Response, error)
NetworkTransportApiService List Edge Clusters

Returns information about the configured edge clusters, which enable you to group together transport nodes of the type EdgeNode and apply fabric profiles to all members of the edge cluster. Each edge node can participate in only one edge cluster. * @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.EdgeClusterListResult

func (*NetworkTransportApiService) ListHostSwitchProfiles Uses

func (a *NetworkTransportApiService) ListHostSwitchProfiles(ctx context.Context, localVarOptionals map[string]interface{}) (manager.HostSwitchProfilesListResult, *http.Response, error)
NetworkTransportApiService List Hostswitch Profiles

Returns information about the configured hostswitch profiles. Hostswitch profiles define networking policies for hostswitches (sometimes referred to as bridges in OVS). Currently, only uplink teaming is supported. Uplink teaming allows NSX to load balance traffic across different physical NICs (PNICs) on the hypervisor hosts. Multiple teaming policies are supported, including LACP active, LACP passive, load balancing based on source ID, and failover order. * @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 "hostswitchProfileType" (string) Supported HostSwitch profiles.
@param "includeSystemOwned" (bool) Whether the list result contains system resources
@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.HostSwitchProfilesListResult

func (*NetworkTransportApiService) ListNeighborProperties Uses

func (a *NetworkTransportApiService) ListNeighborProperties(ctx context.Context, nodeId string) (manager.InterfaceNeighborPropertyListResult, *http.Response, error)
NetworkTransportApiService List LLDP Neighbor Properties

List LLDP Neighbor Properties * @param ctx context.Context Authentication Context @param nodeId ID of transport node @return manager.InterfaceNeighborPropertyListResult

func (*NetworkTransportApiService) ListTransportNodes Uses

func (a *NetworkTransportApiService) ListTransportNodes(ctx context.Context, localVarOptionals map[string]interface{}) (manager.TransportNodeListResult, *http.Response, error)
NetworkTransportApiService List Transport Nodes

Returns information about all transport nodes. A transport node is a fabric node (host or edge) that contains hostswitches. A hostswitch can have virtual machines connected to them. Because each transport node has HostSwitches, transport nodes can also have virtual tunnel endpoints, which means that they can be part of the overlay. * @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 "inMaintenanceMode" (bool) maintenance mode flag
@param "includedFields" (string) Comma separated list of fields that should be included to result of query
@param "nodeId" (string) node identifier
@param "nodeIp" (string) Fabric node IP address
@param "nodeTypes" (string) a list of fabric node types separated by comma or a single type
@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 "transportZoneId" (string) Transport zone identifier

@return manager.TransportNodeListResult

func (*NetworkTransportApiService) ListTransportNodesByState Uses

func (a *NetworkTransportApiService) ListTransportNodesByState(ctx context.Context, localVarOptionals map[string]interface{}) (manager.TransportNodeStateListResult, *http.Response, error)
NetworkTransportApiService List transport nodes by realized state

Returns a list of transport node states that have realized state as provided as query parameter * @param ctx context.Context Authentication Context @param optional (nil or map[string]interface{}) with one or more of:

@param "mmState" (string) maintenance mode state
@param "status" (string) Realized state of transport nodes
@param "vtepIp" (string) Virtual tunnel endpoint ip address of transport node

@return manager.TransportNodeStateListResult

func (*NetworkTransportApiService) ListTransportZoneProfiles Uses

func (a *NetworkTransportApiService) ListTransportZoneProfiles(ctx context.Context, localVarOptionals map[string]interface{}) (manager.TransportZoneProfileListResult, *http.Response, error)
NetworkTransportApiService List transport zone profiles

Returns information about the configured transport zone profiles. Transport zone profiles define networking policies for transport zones and transport zone endpoints. * @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 "includeSystemOwned" (bool) Whether the list result contains system resources
@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 "resourceType" (string) comma-separated list of transport zone profile types, e.g. ?resource_type=BfdHealthMonitoringProfile
@param "sortAscending" (bool)
@param "sortBy" (string) Field by which records are sorted

@return manager.TransportZoneProfileListResult

func (*NetworkTransportApiService) ListTransportZones Uses

func (a *NetworkTransportApiService) ListTransportZones(ctx context.Context, localVarOptionals map[string]interface{}) (manager.TransportZoneListResult, *http.Response, error)
NetworkTransportApiService List Transport Zones

Returns information about configured transport zones. NSX requires at least one transport zone. NSX uses transport zones to provide connectivity based on the topology of the underlying network, trust zones, or organizational separations. For example, you might have hypervisors that use one network for management traffic and a different network for VM traffic. This architecture would require two transport zones. The combination of transport zones plus transport connectors enables NSX to form tunnels between hypervisors. Transport zones define which interfaces on the hypervisors can communicate with which other interfaces on other hypervisors to establish overlay tunnels or provide connectivity to a VLAN. A logical switch can be in one (and only one) transport zone. This means that all of a switch's interfaces must be in the same transport zone. However, each hypervisor virtual switch (OVS or VDS) has multiple interfaces (connectors), and each connector can be attached to a different logical switch. For example, on a single hypervisor with two connectors, connector A can be attached to logical switch 1 in transport zone A, while connector B is attached to logical switch 2 in transport zone B. In this way, a single hypervisor can participate in multiple transport zones. The API for creating a transport zone requires that a single host switch be specified for each transport zone, and multiple transport zones can share the same host switch. * @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.TransportZoneListResult

func (*NetworkTransportApiService) ReadEdgeCluster Uses

func (a *NetworkTransportApiService) ReadEdgeCluster(ctx context.Context, edgeClusterId string) (manager.EdgeCluster, *http.Response, error)
NetworkTransportApiService Read Edge Cluster

Returns information about the specified edge cluster. * @param ctx context.Context Authentication Context @param edgeClusterId @return manager.EdgeCluster

func (*NetworkTransportApiService) ReadNeighborProperties Uses

func (a *NetworkTransportApiService) ReadNeighborProperties(ctx context.Context, nodeId string, interfaceName string) (manager.InterfaceNeighborProperties, *http.Response, error)
NetworkTransportApiService Read LLDP Neighbor Properties

Read LLDP Neighbor Properties * @param ctx context.Context Authentication Context @param nodeId ID of transport node @param interfaceName Interface name to read @return manager.InterfaceNeighborProperties

func (*NetworkTransportApiService) ReplaceEdgeClusterMemberTransportNodeReplaceTransportNode Uses

func (a *NetworkTransportApiService) ReplaceEdgeClusterMemberTransportNodeReplaceTransportNode(ctx context.Context, edgeClusterId string, edgeClusterMemberTransportNode manager.EdgeClusterMemberTransportNode) (manager.EdgeCluster, *http.Response, error)
NetworkTransportApiService Replace the transport node in the specified member of the edge-cluster

Replace the transport node in the specified member of the edge-cluster. This is a disruptive action. This will move all the LogicalRouterPorts(uplink and routerLink) host on the old transport_node to the new transport_node. The transportNode cannot be present in another member of any edgeClusters. * @param ctx context.Context Authentication Context @param edgeClusterId @param edgeClusterMemberTransportNode @return manager.EdgeCluster

func (*NetworkTransportApiService) ResyncTransportNodeResyncHostConfig Uses

func (a *NetworkTransportApiService) ResyncTransportNodeResyncHostConfig(ctx context.Context, transportnodeId string) (*http.Response, error)
NetworkTransportApiService Resync a Transport Node

Resync the manage