public class HostSwitchProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements HostSwitchProfiles
HostSwitchProfiles
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, LIST_DEPLOYMENT_TYPE_PHYSICAL_MACHINE, LIST_DEPLOYMENT_TYPE_UNKNOWN, LIST_DEPLOYMENT_TYPE_VIRTUAL_MACHINE, LIST_HOSTSWITCH_PROFILE_TYPE_EXTRACONFIGHOSTSWITCHPROFILE, LIST_HOSTSWITCH_PROFILE_TYPE_HIGHPERFORMANCEHOSTSWITCHPROFILE, LIST_HOSTSWITCH_PROFILE_TYPE_LLDPHOSTSWITCHPROFILE, LIST_HOSTSWITCH_PROFILE_TYPE_NIOCPROFILE, LIST_HOSTSWITCH_PROFILE_TYPE_UPLINKHOSTSWITCHPROFILE, LIST_HOSTSWITCH_PROFILE_TYPE_VTEPHAHOSTSWITCHPROFILE, LIST_NODE_TYPE_EDGENODE, LIST_NODE_TYPE_PUBLICCLOUDGATEWAYNODE
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
com.vmware.vapi.bindings.Structure |
create(com.vmware.vapi.bindings.Structure baseHostSwitchProfile)
Creates a hostswitch profile.
|
void |
create(com.vmware.vapi.bindings.Structure baseHostSwitchProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Creates a hostswitch profile.
|
void |
create(com.vmware.vapi.bindings.Structure baseHostSwitchProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a hostswitch profile.
|
com.vmware.vapi.bindings.Structure |
create(com.vmware.vapi.bindings.Structure baseHostSwitchProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a hostswitch profile.
|
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.
|
HostSwitchProfilesListResult |
list(java.lang.String cursor,
java.lang.String deploymentType,
java.lang.String hostswitchProfileType,
java.lang.Boolean includeSystemOwned,
java.lang.String includedFields,
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 includeSystemOwned,
java.lang.String includedFields,
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<HostSwitchProfilesListResult> 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 includeSystemOwned,
java.lang.String includedFields,
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<HostSwitchProfilesListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the configured hostswitch profiles.
|
HostSwitchProfilesListResult |
list(java.lang.String cursor,
java.lang.String deploymentType,
java.lang.String hostswitchProfileType,
java.lang.Boolean includeSystemOwned,
java.lang.String includedFields,
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 |
update(java.lang.String hostSwitchProfileId,
com.vmware.vapi.bindings.Structure baseHostSwitchProfile)
Modifies a specified hostswitch profile.
|
void |
update(java.lang.String hostSwitchProfileId,
com.vmware.vapi.bindings.Structure baseHostSwitchProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Modifies a specified hostswitch profile.
|
void |
update(java.lang.String hostSwitchProfileId,
com.vmware.vapi.bindings.Structure baseHostSwitchProfile,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies a specified hostswitch profile.
|
com.vmware.vapi.bindings.Structure |
update(java.lang.String hostSwitchProfileId,
com.vmware.vapi.bindings.Structure baseHostSwitchProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies a specified hostswitch profile.
|
public HostSwitchProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public HostSwitchProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure baseHostSwitchProfile)
HostSwitchProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface HostSwitchProfiles
baseHostSwitchProfile
- (required)
The parameter must contain all the properties defined in BaseHostSwitchProfile
.BaseHostSwitchProfile
.public com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure baseHostSwitchProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HostSwitchProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface HostSwitchProfiles
baseHostSwitchProfile
- (required)
The parameter must contain all the properties defined in BaseHostSwitchProfile
.invocationConfig
- Configuration for the method invocation.BaseHostSwitchProfile
.public void create(com.vmware.vapi.bindings.Structure baseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
HostSwitchProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseHostSwitchProfile
The return value will contain all the properties defined in BaseHostSwitchProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface HostSwitchProfiles
baseHostSwitchProfile
- (required)
The parameter must contain all the properties defined in BaseHostSwitchProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(com.vmware.vapi.bindings.Structure baseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HostSwitchProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.BaseHostSwitchProfile
The return value will contain all the properties defined in BaseHostSwitchProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface HostSwitchProfiles
baseHostSwitchProfile
- (required)
The parameter must contain all the properties defined in BaseHostSwitchProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String hostSwitchProfileId)
HostSwitchProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)public void delete(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HostSwitchProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
HostSwitchProfiles
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
delete
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HostSwitchProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
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
delete
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public com.vmware.vapi.bindings.Structure get(java.lang.String hostSwitchProfileId)
HostSwitchProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)BaseHostSwitchProfile
.public com.vmware.vapi.bindings.Structure get(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HostSwitchProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)invocationConfig
- Configuration for the method invocation.BaseHostSwitchProfile
.public void get(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
HostSwitchProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseHostSwitchProfile
The return value will contain all the properties defined in BaseHostSwitchProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.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)
HostSwitchProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.BaseHostSwitchProfile
The return value will contain all the properties defined in BaseHostSwitchProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public HostSwitchProfilesListResult list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.String nodeType, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String uplinkTeamingPolicyName)
HostSwitchProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface HostSwitchProfiles
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)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)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)public HostSwitchProfilesListResult list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, 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)
HostSwitchProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface HostSwitchProfiles
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)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)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.public void list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, 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<HostSwitchProfilesListResult> asyncCallback)
HostSwitchProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.HostSwitchProfilesListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface HostSwitchProfiles
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)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)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.public void list(java.lang.String cursor, java.lang.String deploymentType, java.lang.String hostswitchProfileType, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, 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<HostSwitchProfilesListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HostSwitchProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.HostSwitchProfilesListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface HostSwitchProfiles
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)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)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.public com.vmware.vapi.bindings.Structure update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure baseHostSwitchProfile)
HostSwitchProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)baseHostSwitchProfile
- (required)
The parameter must contain all the properties defined in BaseHostSwitchProfile
.BaseHostSwitchProfile
.public com.vmware.vapi.bindings.Structure update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure baseHostSwitchProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HostSwitchProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)baseHostSwitchProfile
- (required)
The parameter must contain all the properties defined in BaseHostSwitchProfile
.invocationConfig
- Configuration for the method invocation.BaseHostSwitchProfile
.public void update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure baseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
HostSwitchProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseHostSwitchProfile
The return value will contain all the properties defined in BaseHostSwitchProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)baseHostSwitchProfile
- (required)
The parameter must contain all the properties defined in BaseHostSwitchProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String hostSwitchProfileId, com.vmware.vapi.bindings.Structure baseHostSwitchProfile, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
HostSwitchProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.BaseHostSwitchProfile
The return value will contain all the properties defined in BaseHostSwitchProfile
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface HostSwitchProfiles
hostSwitchProfileId
- (required)baseHostSwitchProfile
- (required)
The parameter must contain all the properties defined in BaseHostSwitchProfile
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.