Class HostSwitchProfilesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.HostSwitchProfilesStub
-
- All Implemented Interfaces:
HostSwitchProfiles
,HostSwitchProfilesTypes
,com.vmware.vapi.bindings.Service
public class HostSwitchProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements HostSwitchProfiles
Remote stub implementation of theHostSwitchProfiles
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.HostSwitchProfilesTypes
_VAPI_SERVICE_ID, LIST_DEPLOYMENT_TYPE_PHYSICAL_MACHINE, LIST_DEPLOYMENT_TYPE_UNKNOWN, LIST_DEPLOYMENT_TYPE_VIRTUAL_MACHINE, LIST_HOSTSWITCH_PROFILE_TYPE_POLICYEXTRACONFIGHOSTSWITCHPROFILE, LIST_HOSTSWITCH_PROFILE_TYPE_POLICYHIGHPERFORMANCEHOSTSWITCHPROFILE, LIST_HOSTSWITCH_PROFILE_TYPE_POLICYLLDPHOSTSWITCHPROFILE, LIST_HOSTSWITCH_PROFILE_TYPE_POLICYNIOCPROFILE, LIST_HOSTSWITCH_PROFILE_TYPE_POLICYUPLINKHOSTSWITCHPROFILE, LIST_HOSTSWITCH_PROFILE_TYPE_POLICYVTEPHAHOSTSWITCHPROFILE, LIST_NODE_TYPE_EDGENODE, LIST_NODE_TYPE_PUBLICCLOUDGATEWAYNODE
-
-
Constructor Summary
Constructors Constructor Description HostSwitchProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
HostSwitchProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(java.lang.String hostSwitchProfileId)
Deletes a specified hostswitch profile.void
delete(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes a specified hostswitch profile.void
delete(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes a specified hostswitch profile.void
delete(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes a specified hostswitch profile.com.vmware.vapi.bindings.Structure
get(java.lang.String hostSwitchProfileId)
Returns information about a specified hostswitch profile.void
get(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Returns information about a specified hostswitch profile.void
get(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specified hostswitch profile.com.vmware.vapi.bindings.Structure
get(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specified hostswitch profile.PolicyHostSwitchProfilesListResult
list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long maxActiveUplinkCount, java.lang.String nodeType, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String uplinkTeamingPolicyName)
Returns information about the configured hostswitch profiles.void
list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long maxActiveUplinkCount, java.lang.String nodeType, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String uplinkTeamingPolicyName, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostSwitchProfilesListResult> asyncCallback)
Returns information about the configured hostswitch profiles.void
list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long maxActiveUplinkCount, java.lang.String nodeType, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String uplinkTeamingPolicyName, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostSwitchProfilesListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the configured hostswitch profiles.PolicyHostSwitchProfilesListResult
list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long maxActiveUplinkCount, java.lang.String nodeType, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String uplinkTeamingPolicyName, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the configured hostswitch profiles.com.vmware.vapi.bindings.Structure
patch(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile)
Patch a hostswitch profile.void
patch(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Patch a hostswitch profile.void
patch(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Patch a hostswitch profile.com.vmware.vapi.bindings.Structure
patch(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Patch a hostswitch profile.com.vmware.vapi.bindings.Structure
update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile)
Create or update a hostswitch profile.void
update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Create or update a hostswitch profile.void
update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update a hostswitch profile.com.vmware.vapi.bindings.Structure
update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update a hostswitch profile.
-
-
-
Constructor Detail
-
HostSwitchProfilesStub
public HostSwitchProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
HostSwitchProfilesStub
public HostSwitchProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String hostSwitchProfileId)
Description copied from interface:HostSwitchProfiles
Deletes a specified hostswitch profile.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
delete
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)
-
delete
public void delete(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostSwitchProfiles
Deletes a specified hostswitch profile.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
delete
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)invocationConfig
- Configuration for the method invocation.
-
delete
public void delete(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:HostSwitchProfiles
Deletes a specified hostswitch profile.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
delete
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostSwitchProfiles
Deletes a specified hostswitch profile.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
delete
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
public com.vmware.vapi.bindings.Structure get(java.lang.String hostSwitchProfileId)
Description copied from interface:HostSwitchProfiles
Returns information about a specified hostswitch profile.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)- Returns:
- com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile
The return value will contain all the properties defined in
PolicyBaseHostSwitchProfile
.
-
get
public com.vmware.vapi.bindings.Structure get(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostSwitchProfiles
Returns information about a specified hostswitch profile.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
get
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile
The return value will contain all the properties defined in
PolicyBaseHostSwitchProfile
.
-
get
public void get(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Description copied from interface:HostSwitchProfiles
Returns information about a specified hostswitch profile.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile The return value will contain all the properties defined inPolicyBaseHostSwitchProfile
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostSwitchProfiles
Returns information about a specified hostswitch profile.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile The return value will contain all the properties defined inPolicyBaseHostSwitchProfile
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
public PolicyHostSwitchProfilesListResult list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long maxActiveUplinkCount, java.lang.String nodeType, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String uplinkTeamingPolicyName)
Description copied from interface:HostSwitchProfiles
Returns information about the configured hostswitch profiles. Hostswitch profiles define networking policies for hostswitches (sometimes referred to as bridges in OVS). Currently, following profiles are supported. UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
list
in interfaceHostSwitchProfiles
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)deploymentType
- Supported edge deployment type. (optional)hostswitchProfileType
- Supported HostSwitch profiles. (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includeSystemOwned
- Whether the list result contains system resources (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (optional)maxActiveUplinkCount
- Filter uplink profiles by number of active links in teaming policy. (optional)nodeType
- Fabric node type for which uplink profiles are to be listed (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)uplinkTeamingPolicyName
- The host switch profile's uplink teaming policy name (optional)- Returns:
- com.vmware.nsx_policy.model.PolicyHostSwitchProfilesListResult
-
list
public PolicyHostSwitchProfilesListResult list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long maxActiveUplinkCount, java.lang.String nodeType, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String uplinkTeamingPolicyName, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostSwitchProfiles
Returns information about the configured hostswitch profiles. Hostswitch profiles define networking policies for hostswitches (sometimes referred to as bridges in OVS). Currently, following profiles are supported. UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
list
in interfaceHostSwitchProfiles
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)deploymentType
- Supported edge deployment type. (optional)hostswitchProfileType
- Supported HostSwitch profiles. (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includeSystemOwned
- Whether the list result contains system resources (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (optional)maxActiveUplinkCount
- Filter uplink profiles by number of active links in teaming policy. (optional)nodeType
- Fabric node type for which uplink profiles are to be listed (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)uplinkTeamingPolicyName
- The host switch profile's uplink teaming policy name (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyHostSwitchProfilesListResult
-
list
public void list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long maxActiveUplinkCount, java.lang.String nodeType, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String uplinkTeamingPolicyName, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostSwitchProfilesListResult> asyncCallback)
Description copied from interface:HostSwitchProfiles
Returns information about the configured hostswitch profiles. Hostswitch profiles define networking policies for hostswitches (sometimes referred to as bridges in OVS). Currently, following profiles are supported. UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.PolicyHostSwitchProfilesListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceHostSwitchProfiles
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)deploymentType
- Supported edge deployment type. (optional)hostswitchProfileType
- Supported HostSwitch profiles. (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includeSystemOwned
- Whether the list result contains system resources (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (optional)maxActiveUplinkCount
- Filter uplink profiles by number of active links in teaming policy. (optional)nodeType
- Fabric node type for which uplink profiles are to be listed (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)uplinkTeamingPolicyName
- The host switch profile's uplink teaming policy name (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
list
public void list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeMarkForDeleteObjects, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Long maxActiveUplinkCount, java.lang.String nodeType, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String uplinkTeamingPolicyName, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostSwitchProfilesListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostSwitchProfiles
Returns information about the configured hostswitch profiles. Hostswitch profiles define networking policies for hostswitches (sometimes referred to as bridges in OVS). Currently, following profiles are supported. UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PolicyHostSwitchProfilesListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceHostSwitchProfiles
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)deploymentType
- Supported edge deployment type. (optional)hostswitchProfileType
- Supported HostSwitch profiles. (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includeSystemOwned
- Whether the list result contains system resources (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (optional)maxActiveUplinkCount
- Filter uplink profiles by number of active links in teaming policy. (optional)nodeType
- Fabric node type for which uplink profiles are to be listed (optional)pageSize
- Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)uplinkTeamingPolicyName
- The host switch profile's uplink teaming policy name (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
patch
public com.vmware.vapi.bindings.Structure patch(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile)
Description copied from interface:HostSwitchProfiles
Patch a hostswitch profile. The resource_type is required and needs to be one of the following, UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - 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 (uplink_mtu_threshold). uplink_mtu_threshold is 9000 by default. Range can be extended by modifying (uplink_mtu_threshold) in SwitchingGlobalConfig to the required upper threshold. Teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patch
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)policyBaseHostSwitchProfile
- (required) The parameter must contain all the properties defined inPolicyBaseHostSwitchProfile
.- Returns:
- com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile
The return value will contain all the properties defined in
PolicyBaseHostSwitchProfile
.
-
patch
public com.vmware.vapi.bindings.Structure patch(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostSwitchProfiles
Patch a hostswitch profile. The resource_type is required and needs to be one of the following, UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - 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 (uplink_mtu_threshold). uplink_mtu_threshold is 9000 by default. Range can be extended by modifying (uplink_mtu_threshold) in SwitchingGlobalConfig to the required upper threshold. Teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
patch
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)policyBaseHostSwitchProfile
- (required) The parameter must contain all the properties defined inPolicyBaseHostSwitchProfile
.invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile
The return value will contain all the properties defined in
PolicyBaseHostSwitchProfile
.
-
patch
public void patch(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Description copied from interface:HostSwitchProfiles
Patch a hostswitch profile. The resource_type is required and needs to be one of the following, UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - 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 (uplink_mtu_threshold). uplink_mtu_threshold is 9000 by default. Range can be extended by modifying (uplink_mtu_threshold) in SwitchingGlobalConfig to the required upper threshold. Teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile The return value will contain all the properties defined inPolicyBaseHostSwitchProfile
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
patch
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)policyBaseHostSwitchProfile
- (required) The parameter must contain all the properties defined inPolicyBaseHostSwitchProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
public void patch(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostSwitchProfiles
Patch a hostswitch profile. The resource_type is required and needs to be one of the following, UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - 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 (uplink_mtu_threshold). uplink_mtu_threshold is 9000 by default. Range can be extended by modifying (uplink_mtu_threshold) in SwitchingGlobalConfig to the required upper threshold. Teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile The return value will contain all the properties defined inPolicyBaseHostSwitchProfile
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
patch
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)policyBaseHostSwitchProfile
- (required) The parameter must contain all the properties defined inPolicyBaseHostSwitchProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
public com.vmware.vapi.bindings.Structure update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile)
Description copied from interface:HostSwitchProfiles
Create or update a hostswitch profile. The resource_type is required and needs to be one of the following, UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - 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 (uplink_mtu_threshold). uplink_mtu_threshold is 9000 by default. Range can be extended by modifying (uplink_mtu_threshold) in SwitchingGlobalConfig to the required upper threshold. Teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
update
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)policyBaseHostSwitchProfile
- (required) The parameter must contain all the properties defined inPolicyBaseHostSwitchProfile
.- Returns:
- com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile
The return value will contain all the properties defined in
PolicyBaseHostSwitchProfile
.
-
update
public com.vmware.vapi.bindings.Structure update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostSwitchProfiles
Create or update a hostswitch profile. The resource_type is required and needs to be one of the following, UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - 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 (uplink_mtu_threshold). uplink_mtu_threshold is 9000 by default. Range can be extended by modifying (uplink_mtu_threshold) in SwitchingGlobalConfig to the required upper threshold. Teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
update
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)policyBaseHostSwitchProfile
- (required) The parameter must contain all the properties defined inPolicyBaseHostSwitchProfile
.invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile
The return value will contain all the properties defined in
PolicyBaseHostSwitchProfile
.
-
update
public void update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Description copied from interface:HostSwitchProfiles
Create or update a hostswitch profile. The resource_type is required and needs to be one of the following, UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - 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 (uplink_mtu_threshold). uplink_mtu_threshold is 9000 by default. Range can be extended by modifying (uplink_mtu_threshold) in SwitchingGlobalConfig to the required upper threshold. Teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile The return value will contain all the properties defined inPolicyBaseHostSwitchProfile
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)policyBaseHostSwitchProfile
- (required) The parameter must contain all the properties defined inPolicyBaseHostSwitchProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure policyBaseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostSwitchProfiles
Create or update a hostswitch profile. The resource_type is required and needs to be one of the following, UplinkHostSwitchProfile, LldpHostSwitchProfile, NiocProfile & ExtraConfigHostSwitchProfile. Uplink profile - 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 (uplink_mtu_threshold). uplink_mtu_threshold is 9000 by default. Range can be extended by modifying (uplink_mtu_threshold) in SwitchingGlobalConfig to the required upper threshold. Teaming defined in this profile 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. Lldp profile - Activate or deactivate sending LLDP packets NiocProfile - Network I/O Control settings: defines limits, shares and reservations for various host traffic types. ExtraConfig - Vendor specific configuration on HostSwitch, logical switch or logical portAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PolicyBaseHostSwitchProfile The return value will contain all the properties defined inPolicyBaseHostSwitchProfile
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceHostSwitchProfiles
- Parameters:
hostSwitchProfileId
- (required)policyBaseHostSwitchProfile
- (required) The parameter must contain all the properties defined inPolicyBaseHostSwitchProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-