Class Tier1sStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.Tier1sStub
-
- All Implemented Interfaces:
Tier1s,Tier1sTypes,com.vmware.vapi.bindings.Service
public class Tier1sStub extends com.vmware.vapi.internal.bindings.Stub implements Tier1s
Remote stub implementation of theTier1sAPI 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.Tier1sTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description Tier1sStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)Tier1sStub(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 voiddelete(java.lang.String tier1Id)Delete Tier-1 configurationvoiddelete(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Delete Tier-1 configurationvoiddelete(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete Tier-1 configurationvoiddelete(java.lang.String tier1Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete Tier-1 configurationTier1get(java.lang.String tier1Id)Read Tier-1 configurationvoidget(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback)Read Tier-1 configurationvoidget(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read Tier-1 configurationTier1get(java.lang.String tier1Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Read Tier-1 configurationTier1ListResultlist(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-1 instancesvoidlist(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<Tier1ListResult> asyncCallback)Paginated list of all Tier-1 instancesvoidlist(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<Tier1ListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Paginated list of all Tier-1 instancesTier1ListResultlist(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-1 instancesvoidpatch(java.lang.String tier1Id, Tier1 tier1)If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.voidpatch(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.voidpatch(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.voidpatch(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.voidreprocess(java.lang.String tier1Id, java.lang.String enforcementPointPath)Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc.voidreprocess(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc.voidreprocess(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc.voidreprocess(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Reprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc.Tier1update(java.lang.String tier1Id, Tier1 tier1)If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.voidupdate(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback)If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.voidupdate(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.Tier1update(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance.
-
-
-
Constructor Detail
-
Tier1sStub
public Tier1sStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Tier1sStub
public Tier1sStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String tier1Id)
Description copied from interface:Tier1sDelete Tier-1 configurationSynchronous method overload. Result of the invocation will be reported as a method return value.
-
delete
public void delete(java.lang.String tier1Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:Tier1sDelete Tier-1 configurationSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
delete
public void delete(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:Tier1sDelete Tier-1 configurationAsynchronous 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
public void delete(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:Tier1sDelete Tier-1 configurationAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto 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
-
get
public Tier1 get(java.lang.String tier1Id)
Description copied from interface:Tier1sRead Tier-1 configurationSynchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public Tier1 get(java.lang.String tier1Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Tier1sRead Tier-1 configurationSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
get
public void get(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback)Description copied from interface:Tier1sRead Tier-1 configurationAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.Tier1Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
get
public void get(java.lang.String tier1Id, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:Tier1sRead Tier-1 configurationAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.Tier1Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
list
public Tier1ListResult 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)
Description copied from interface:Tier1sPaginated list of all Tier-1 instancesSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
listin interfaceTier1s- Parameters:
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)- Returns:
- com.vmware.nsx_policy.model.Tier1ListResult
-
list
public Tier1ListResult 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)
Description copied from interface:Tier1sPaginated list of all Tier-1 instancesSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
listin interfaceTier1s- Parameters:
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.- Returns:
- com.vmware.nsx_policy.model.Tier1ListResult
-
list
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<Tier1ListResult> asyncCallback)Description copied from interface:Tier1sPaginated list of all Tier-1 instancesAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.Tier1ListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceTier1s- Parameters:
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.
-
list
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<Tier1ListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:Tier1sPaginated list of all Tier-1 instancesAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.Tier1ListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceTier1s- Parameters:
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.
-
patch
public void patch(java.lang.String tier1Id, Tier1 tier1)Description copied from interface:Tier1sIf Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, update the tier-1 instance with specified attributes.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
patch
public void patch(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:Tier1sIf Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, update the tier-1 instance with specified attributes.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
patch
public void patch(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:Tier1sIf Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, update the tier-1 instance with specified attributes.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
-
patch
public void patch(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:Tier1sIf Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, update the tier-1 instance with specified attributes.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto 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
public void reprocess(java.lang.String tier1Id, java.lang.String enforcementPointPath)Description copied from interface:Tier1sReprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc. Any missing Updates are published to NSX controller.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
reprocess
public void reprocess(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:Tier1sReprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc. Any missing Updates are published to NSX controller.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
reprocess
public void reprocess(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:Tier1sReprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc. Any missing Updates are published to NSX controller.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
-
reprocess
public void reprocess(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:Tier1sReprocess Tier1 gateway configuration and configuration of related entities like Tier1 interfaces and static routes, etc. Any missing Updates are published to NSX controller.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto 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:
reprocessin interfaceTier1s- Parameters:
tier1Id- (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.
-
update
public Tier1 update(java.lang.String tier1Id, Tier1 tier1)
Description copied from interface:Tier1sIf Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, replace the Tier-1 instance with this object.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
update
public Tier1 update(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Tier1sIf Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, replace the Tier-1 instance with this object.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
update
public void update(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback)Description copied from interface:Tier1sIf Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, replace the Tier-1 instance with this object.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.Tier1Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
update
public void update(java.lang.String tier1Id, Tier1 tier1, com.vmware.vapi.bindings.client.AsyncCallback<Tier1> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:Tier1sIf Tier-1 with the tier-1-id is not already present, create a new Tier-1 instance. If it already exists, replace the Tier-1 instance with this object.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.Tier1Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
-