public class FailureDomainsStub extends com.vmware.vapi.internal.bindings.Stub implements FailureDomains
FailureDomains
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
FailureDomainsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
FailureDomainsStub(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 |
---|---|
FailureDomain |
create(FailureDomain failureDomain)
Creates a new failure domain.
|
void |
create(FailureDomain failureDomain,
com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback)
Creates a new failure domain.
|
void |
create(FailureDomain failureDomain,
com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new failure domain.
|
FailureDomain |
create(FailureDomain failureDomain,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new failure domain.
|
void |
delete(java.lang.String failureDomainId)
Deletes an existing failure domain.
|
void |
delete(java.lang.String failureDomainId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes an existing failure domain.
|
void |
delete(java.lang.String failureDomainId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes an existing failure domain.
|
void |
delete(java.lang.String failureDomainId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes an existing failure domain.
|
FailureDomain |
get(java.lang.String failureDomainId)
Returns information about a single failure domain.
|
void |
get(java.lang.String failureDomainId,
com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback)
Returns information about a single failure domain.
|
void |
get(java.lang.String failureDomainId,
com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a single failure domain.
|
FailureDomain |
get(java.lang.String failureDomainId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a single failure domain.
|
FailureDomainListResult |
list()
Returns information about configured failure domains.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<FailureDomainListResult> asyncCallback)
Returns information about configured failure domains.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<FailureDomainListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about configured failure domains.
|
FailureDomainListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about configured failure domains.
|
FailureDomain |
update(java.lang.String failureDomainId,
FailureDomain failureDomain)
Updates an existing failure domain.
|
void |
update(java.lang.String failureDomainId,
FailureDomain failureDomain,
com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback)
Updates an existing failure domain.
|
void |
update(java.lang.String failureDomainId,
FailureDomain failureDomain,
com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates an existing failure domain.
|
FailureDomain |
update(java.lang.String failureDomainId,
FailureDomain failureDomain,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates an existing failure domain.
|
public FailureDomainsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public FailureDomainsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public FailureDomain create(FailureDomain failureDomain)
FailureDomains
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface FailureDomains
failureDomain
- (required)public FailureDomain create(FailureDomain failureDomain, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
FailureDomains
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 FailureDomains
failureDomain
- (required)invocationConfig
- Configuration for the method invocation.public void create(FailureDomain failureDomain, com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback)
FailureDomains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.FailureDomain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface FailureDomains
failureDomain
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(FailureDomain failureDomain, com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
FailureDomains
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.FailureDomain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface FailureDomains
failureDomain
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String failureDomainId)
FailureDomains
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface FailureDomains
failureDomainId
- (required)public void delete(java.lang.String failureDomainId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
FailureDomains
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 FailureDomains
failureDomainId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String failureDomainId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
FailureDomains
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 FailureDomains
failureDomainId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String failureDomainId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
FailureDomains
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 FailureDomains
failureDomainId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public FailureDomain get(java.lang.String failureDomainId)
FailureDomains
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface FailureDomains
failureDomainId
- (required)public FailureDomain get(java.lang.String failureDomainId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
FailureDomains
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 FailureDomains
failureDomainId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String failureDomainId, com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback)
FailureDomains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.FailureDomain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface FailureDomains
failureDomainId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String failureDomainId, com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
FailureDomains
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.FailureDomain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface FailureDomains
failureDomainId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public FailureDomainListResult list()
FailureDomains
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface FailureDomains
public FailureDomainListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
FailureDomains
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 FailureDomains
invocationConfig
- Configuration for the method invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<FailureDomainListResult> asyncCallback)
FailureDomains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.FailureDomainListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface FailureDomains
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<FailureDomainListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
FailureDomains
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.FailureDomainListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface FailureDomains
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public FailureDomain update(java.lang.String failureDomainId, FailureDomain failureDomain)
FailureDomains
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface FailureDomains
failureDomainId
- (required)failureDomain
- (required)public FailureDomain update(java.lang.String failureDomainId, FailureDomain failureDomain, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
FailureDomains
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 FailureDomains
failureDomainId
- (required)failureDomain
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String failureDomainId, FailureDomain failureDomain, com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback)
FailureDomains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.FailureDomain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface FailureDomains
failureDomainId
- (required)failureDomain
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String failureDomainId, FailureDomain failureDomain, com.vmware.vapi.bindings.client.AsyncCallback<FailureDomain> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
FailureDomains
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.FailureDomain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface FailureDomains
failureDomainId
- (required)failureDomain
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.