public class Tier0sStub extends com.vmware.vapi.internal.bindings.Stub implements Tier0s
Tier0s
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
Tier0sStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Tier0sStub(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 |
---|---|
void |
delete(java.lang.String tier0Id)
Delete Tier-0
|
void |
delete(java.lang.String tier0Id,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete Tier-0
|
void |
delete(java.lang.String tier0Id,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete Tier-0
|
void |
delete(java.lang.String tier0Id,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete Tier-0
|
Tier0 |
get(java.lang.String tier0Id)
Read Tier-0
|
void |
get(java.lang.String tier0Id,
com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback)
Read Tier-0
|
void |
get(java.lang.String tier0Id,
com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read Tier-0
|
Tier0 |
get(java.lang.String tier0Id,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read Tier-0
|
Tier0ListResult |
list(java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Paginated list of all Tier-0s
|
void |
list(java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<Tier0ListResult> asyncCallback)
Paginated list of all Tier-0s
|
void |
list(java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<Tier0ListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of all Tier-0s
|
Tier0ListResult |
list(java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of all Tier-0s
|
void |
patch(java.lang.String tier0Id,
Tier0 tier0)
If a Tier-0 with the tier-0-id is not already present, create a new Tier-0.
|
void |
patch(java.lang.String tier0Id,
Tier0 tier0,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
If a Tier-0 with the tier-0-id is not already present, create a new Tier-0.
|
void |
patch(java.lang.String tier0Id,
Tier0 tier0,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a Tier-0 with the tier-0-id is not already present, create a new Tier-0.
|
void |
patch(java.lang.String tier0Id,
Tier0 tier0,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a Tier-0 with the tier-0-id is not already present, create a new Tier-0.
|
void |
reprocess(java.lang.String tier0Id,
java.lang.String enforcementPointPath)
Reprocess Tier0 gateway configuration and configuration of related entities like
Tier0 interfaces and static routes, etc.
|
void |
reprocess(java.lang.String tier0Id,
java.lang.String enforcementPointPath,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Reprocess Tier0 gateway configuration and configuration of related entities like
Tier0 interfaces and static routes, etc.
|
void |
reprocess(java.lang.String tier0Id,
java.lang.String enforcementPointPath,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reprocess Tier0 gateway configuration and configuration of related entities like
Tier0 interfaces and static routes, etc.
|
void |
reprocess(java.lang.String tier0Id,
java.lang.String enforcementPointPath,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reprocess Tier0 gateway configuration and configuration of related entities like
Tier0 interfaces and static routes, etc.
|
void |
sitefailover(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig)
API to recover specified Tier0 gateway and linked tier1 gateway from primary
site path to new primary site path.
|
void |
sitefailover(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
API to recover specified Tier0 gateway and linked tier1 gateway from primary
site path to new primary site path.
|
void |
sitefailover(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API to recover specified Tier0 gateway and linked tier1 gateway from primary
site path to new primary site path.
|
void |
sitefailover(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API to recover specified Tier0 gateway and linked tier1 gateway from primary
site path to new primary site path.
|
Tier0 |
update(java.lang.String tier0Id,
Tier0 tier0)
If a Tier-0 with the tier-0-id is not already present, create a new Tier-0.
|
void |
update(java.lang.String tier0Id,
Tier0 tier0,
com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback)
If a Tier-0 with the tier-0-id is not already present, create a new Tier-0.
|
void |
update(java.lang.String tier0Id,
Tier0 tier0,
com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a Tier-0 with the tier-0-id is not already present, create a new Tier-0.
|
Tier0 |
update(java.lang.String tier0Id,
Tier0 tier0,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a Tier-0 with the tier-0-id is not already present, create a new Tier-0.
|
public Tier0sStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public Tier0sStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void delete(java.lang.String tier0Id)
Tier0s
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Tier0s
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
public void delete(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
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
public Tier0 get(java.lang.String tier0Id)
Tier0s
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Tier0 get(java.lang.String tier0Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback)
Tier0s
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.Tier0
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
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_policy.model.Tier0
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public Tier0ListResult list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Tier0s
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Tier0s
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to
false)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)public Tier0ListResult list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
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 Tier0s
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to
false)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.public void list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<Tier0ListResult> asyncCallback)
Tier0s
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.Tier0ListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Tier0s
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to
false)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.public void list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<Tier0ListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
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_policy.model.Tier0ListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Tier0s
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to
false)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.public void patch(java.lang.String tier0Id, Tier0 tier0)
Tier0s
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void patch(java.lang.String tier0Id, Tier0 tier0, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void patch(java.lang.String tier0Id, Tier0 tier0, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Tier0s
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
public void patch(java.lang.String tier0Id, Tier0 tier0, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
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
public void reprocess(java.lang.String tier0Id, java.lang.String enforcementPointPath)
Tier0s
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void reprocess(java.lang.String tier0Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void reprocess(java.lang.String tier0Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Tier0s
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
public void reprocess(java.lang.String tier0Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
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
reprocess
in interface Tier0s
tier0Id
- (required)enforcementPointPath
- String Path of the enforcement point (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void sitefailover(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig)
Tier0s
Synchronous method overload. Result of the invocation will be reported as a method return value.
sitefailover
in interface Tier0s
gatewaySiteFailoverActionConfig
- (required)public void sitefailover(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
sitefailover
in interface Tier0s
gatewaySiteFailoverActionConfig
- (required)invocationConfig
- Configuration for the method invocation.public void sitefailover(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Tier0s
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
sitefailover
in interface Tier0s
gatewaySiteFailoverActionConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void sitefailover(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
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
sitefailover
in interface Tier0s
gatewaySiteFailoverActionConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public Tier0 update(java.lang.String tier0Id, Tier0 tier0)
Tier0s
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Tier0 update(java.lang.String tier0Id, Tier0 tier0, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void update(java.lang.String tier0Id, Tier0 tier0, com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback)
Tier0s
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.Tier0
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(java.lang.String tier0Id, Tier0 tier0, com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tier0s
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_policy.model.Tier0
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found