Class HostTransportNodeProfilesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.HostTransportNodeProfilesStub
-
- All Implemented Interfaces:
HostTransportNodeProfiles
,HostTransportNodeProfilesTypes
,com.vmware.vapi.bindings.Service
public class HostTransportNodeProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements HostTransportNodeProfiles
Remote stub implementation of theHostTransportNodeProfiles
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.HostTransportNodeProfilesTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description HostTransportNodeProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
HostTransportNodeProfilesStub(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 transportNodeProfileId)
Deletes the specified host transport node profile.void
delete(java.lang.String transportNodeProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the specified host transport node profile.void
delete(java.lang.String transportNodeProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified host transport node profile.void
delete(java.lang.String transportNodeProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified host transport node profile.PolicyHostTransportNodeProfile
get(java.lang.String hostTransportNodeProfileId)
Returns information about a specified host transport node profile.void
get(java.lang.String hostTransportNodeProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfile> asyncCallback)
Returns information about a specified host transport node profile.void
get(java.lang.String hostTransportNodeProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specified host transport node profile.PolicyHostTransportNodeProfile
get(java.lang.String hostTransportNodeProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specified host transport node profile.PolicyHostTransportNodeProfileListResult
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Returns information about all host transport node profiles.void
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfileListResult> asyncCallback)
Returns information about all host transport node profiles.void
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all host transport node profiles.PolicyHostTransportNodeProfileListResult
list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all host transport node profiles.PolicyHostTransportNodeProfile
update(java.lang.String transportNodeProfileId, PolicyHostTransportNodeProfile policyHostTransportNodeProfile, java.lang.Boolean overrideNsxOwnership)
Host transport node profile captures the configuration needed to create a host transport node.void
update(java.lang.String transportNodeProfileId, PolicyHostTransportNodeProfile policyHostTransportNodeProfile, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfile> asyncCallback)
Host transport node profile captures the configuration needed to create a host transport node.void
update(java.lang.String transportNodeProfileId, PolicyHostTransportNodeProfile policyHostTransportNodeProfile, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Host transport node profile captures the configuration needed to create a host transport node.PolicyHostTransportNodeProfile
update(java.lang.String transportNodeProfileId, PolicyHostTransportNodeProfile policyHostTransportNodeProfile, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Host transport node profile captures the configuration needed to create a host transport node.
-
-
-
Constructor Detail
-
HostTransportNodeProfilesStub
public HostTransportNodeProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
HostTransportNodeProfilesStub
public HostTransportNodeProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String transportNodeProfileId)
Description copied from interface:HostTransportNodeProfiles
Deletes the specified host transport node profile. A host transport node profile can be deleted only when it is not attached to any compute collection.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
delete
in interfaceHostTransportNodeProfiles
- Parameters:
transportNodeProfileId
- (required)
-
delete
public void delete(java.lang.String transportNodeProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostTransportNodeProfiles
Deletes the specified host transport node profile. A host transport node profile can be deleted only when it is not attached to any compute collection.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 interfaceHostTransportNodeProfiles
- Parameters:
transportNodeProfileId
- (required)invocationConfig
- Configuration for the method invocation.
-
delete
public void delete(java.lang.String transportNodeProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:HostTransportNodeProfiles
Deletes the specified host transport node profile. A host transport node profile can be deleted only when it is not attached to any compute collection.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 interfaceHostTransportNodeProfiles
- Parameters:
transportNodeProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String transportNodeProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostTransportNodeProfiles
Deletes the specified host transport node profile. A host transport node profile can be deleted only when it is not attached to any compute collection.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 interfaceHostTransportNodeProfiles
- Parameters:
transportNodeProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
public PolicyHostTransportNodeProfile get(java.lang.String hostTransportNodeProfileId)
Description copied from interface:HostTransportNodeProfiles
Returns information about a specified host transport node profile.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceHostTransportNodeProfiles
- Parameters:
hostTransportNodeProfileId
- (required)- Returns:
- com.vmware.nsx_policy.model.PolicyHostTransportNodeProfile
-
get
public PolicyHostTransportNodeProfile get(java.lang.String hostTransportNodeProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostTransportNodeProfiles
Returns information about a specified host transport node 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 interfaceHostTransportNodeProfiles
- Parameters:
hostTransportNodeProfileId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyHostTransportNodeProfile
-
get
public void get(java.lang.String hostTransportNodeProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfile> asyncCallback)
Description copied from interface:HostTransportNodeProfiles
Returns information about a specified host transport node profile.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.PolicyHostTransportNodeProfileOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceHostTransportNodeProfiles
- Parameters:
hostTransportNodeProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String hostTransportNodeProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostTransportNodeProfiles
Returns information about a specified host transport node 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.PolicyHostTransportNodeProfileOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceHostTransportNodeProfiles
- Parameters:
hostTransportNodeProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
public PolicyHostTransportNodeProfileListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Description copied from interface:HostTransportNodeProfiles
Returns information about all host transport node profiles.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
list
in interfaceHostTransportNodeProfiles
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (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)- Returns:
- com.vmware.nsx_policy.model.PolicyHostTransportNodeProfileListResult
-
list
public PolicyHostTransportNodeProfileListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostTransportNodeProfiles
Returns information about all host transport node profiles.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:
list
in interfaceHostTransportNodeProfiles
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (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)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyHostTransportNodeProfileListResult
-
list
public void list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfileListResult> asyncCallback)
Description copied from interface:HostTransportNodeProfiles
Returns information about all host transport node profiles.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.PolicyHostTransportNodeProfileListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceHostTransportNodeProfiles
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (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)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
list
public void list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostTransportNodeProfiles
Returns information about all host transport node profiles.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.PolicyHostTransportNodeProfileListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceHostTransportNodeProfiles
- Parameters:
cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includedFields
- Comma separated list of fields that should be included in query result (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)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
public PolicyHostTransportNodeProfile update(java.lang.String transportNodeProfileId, PolicyHostTransportNodeProfile policyHostTransportNodeProfile, java.lang.Boolean overrideNsxOwnership)
Description copied from interface:HostTransportNodeProfiles
Host transport node profile captures the configuration needed to create a host transport node. A host transport node profile can be attached to compute collections for automatic host transport node creation of member hosts. When configurations of a host transport node profile(TNP) are updated, all the host transport nodes in all the compute collections to which this TNP is attached are updated to reflect the updated configuration.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
update
in interfaceHostTransportNodeProfiles
- Parameters:
transportNodeProfileId
- (required)policyHostTransportNodeProfile
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)- Returns:
- com.vmware.nsx_policy.model.PolicyHostTransportNodeProfile
-
update
public PolicyHostTransportNodeProfile update(java.lang.String transportNodeProfileId, PolicyHostTransportNodeProfile policyHostTransportNodeProfile, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostTransportNodeProfiles
Host transport node profile captures the configuration needed to create a host transport node. A host transport node profile can be attached to compute collections for automatic host transport node creation of member hosts. When configurations of a host transport node profile(TNP) are updated, all the host transport nodes in all the compute collections to which this TNP is attached are updated to reflect the updated configuration.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:
update
in interfaceHostTransportNodeProfiles
- Parameters:
transportNodeProfileId
- (required)policyHostTransportNodeProfile
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyHostTransportNodeProfile
-
update
public void update(java.lang.String transportNodeProfileId, PolicyHostTransportNodeProfile policyHostTransportNodeProfile, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfile> asyncCallback)
Description copied from interface:HostTransportNodeProfiles
Host transport node profile captures the configuration needed to create a host transport node. A host transport node profile can be attached to compute collections for automatic host transport node creation of member hosts. When configurations of a host transport node profile(TNP) are updated, all the host transport nodes in all the compute collections to which this TNP is attached are updated to reflect the updated configuration.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.PolicyHostTransportNodeProfileOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceHostTransportNodeProfiles
- Parameters:
transportNodeProfileId
- (required)policyHostTransportNodeProfile
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String transportNodeProfileId, PolicyHostTransportNodeProfile policyHostTransportNodeProfile, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.AsyncCallback<PolicyHostTransportNodeProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:HostTransportNodeProfiles
Host transport node profile captures the configuration needed to create a host transport node. A host transport node profile can be attached to compute collections for automatic host transport node creation of member hosts. When configurations of a host transport node profile(TNP) are updated, all the host transport nodes in all the compute collections to which this TNP is attached are updated to reflect the updated configuration.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.PolicyHostTransportNodeProfileOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceHostTransportNodeProfiles
- Parameters:
transportNodeProfileId
- (required)policyHostTransportNodeProfile
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-