Class Tier0sStub

  • All Implemented Interfaces:
    Tier0s, Tier0sTypes, com.vmware.vapi.bindings.Service

    public class Tier0sStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements Tier0s
    Remote stub implementation of the Tier0s 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
    • Constructor Summary

      Constructors 
      Constructor 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)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Tier0sStub

        public Tier0sStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                          com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
                          com.vmware.vapi.bindings.StubConfigurationBase config)
      • Tier0sStub

        public Tier0sStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                          com.vmware.vapi.bindings.StubConfigurationBase config)
    • Method Detail

      • delete

        public void delete​(java.lang.String tier0Id)
        Description copied from interface: Tier0s
        Delete Tier-0

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        delete in interface Tier0s
        Parameters:
        tier0Id - (required)
      • delete

        public void delete​(java.lang.String tier0Id,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier0s
        Delete Tier-0

        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 interface Tier0s
        Parameters:
        tier0Id - (required)
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String tier0Id,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Tier0s
        Delete Tier-0

        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 interface Tier0s
        Parameters:
        tier0Id - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        public void delete​(java.lang.String tier0Id,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier0s
        Delete Tier-0

        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

        Specified by:
        delete in interface Tier0s
        Parameters:
        tier0Id - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        public Tier0 get​(java.lang.String tier0Id)
        Description copied from interface: Tier0s
        Read Tier-0

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface Tier0s
        Parameters:
        tier0Id - (required)
        Returns:
        com.vmware.nsx_policy.model.Tier0
      • get

        public Tier0 get​(java.lang.String tier0Id,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier0s
        Read Tier-0

        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 interface Tier0s
        Parameters:
        tier0Id - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.Tier0
      • get

        public void get​(java.lang.String tier0Id,
                        com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback)
        Description copied from interface: Tier0s
        Read Tier-0

        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

        Specified by:
        get in interface Tier0s
        Parameters:
        tier0Id - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String tier0Id,
                        com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier0s
        Read Tier-0

        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

        Specified by:
        get in interface Tier0s
        Parameters:
        tier0Id - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        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)
        Description copied from interface: Tier0s
        Paginated list of all Tier-0s

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        list in interface Tier0s
        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.Tier0ListResult
      • list

        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)
        Description copied from interface: Tier0s
        Paginated list of all Tier-0s

        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 interface Tier0s
        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.Tier0ListResult
      • 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<Tier0ListResult> asyncCallback)
        Description copied from interface: Tier0s
        Paginated list of all Tier-0s

        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

        Specified by:
        list in interface Tier0s
        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<Tier0ListResult> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier0s
        Paginated list of all Tier-0s

        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

        Specified by:
        list in interface Tier0s
        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 tier0Id,
                          Tier0 tier0)
        Description copied from interface: Tier0s
        If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, update the Tier-0 for specified attributes.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        patch in interface Tier0s
        Parameters:
        tier0Id - (required)
        tier0 - (required)
      • patch

        public void patch​(java.lang.String tier0Id,
                          Tier0 tier0,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier0s
        If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, update the Tier-0 for specified attributes.

        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:
        patch in interface Tier0s
        Parameters:
        tier0Id - (required)
        tier0 - (required)
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String tier0Id,
                          Tier0 tier0,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Tier0s
        If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, update the Tier-0 for 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

        Specified by:
        patch in interface Tier0s
        Parameters:
        tier0Id - (required)
        tier0 - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        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)
        Description copied from interface: Tier0s
        If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, update the Tier-0 for specified attributes.

        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

        Specified by:
        patch in interface Tier0s
        Parameters:
        tier0Id - (required)
        tier0 - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • reprocess

        public void reprocess​(java.lang.String tier0Id,
                              java.lang.String enforcementPointPath)
        Description copied from interface: Tier0s
        Reprocess Tier0 gateway configuration and configuration of related entities like Tier0 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.

        Specified by:
        reprocess in interface Tier0s
        Parameters:
        tier0Id - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
      • reprocess

        public void reprocess​(java.lang.String tier0Id,
                              java.lang.String enforcementPointPath,
                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier0s
        Reprocess Tier0 gateway configuration and configuration of related entities like Tier0 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 invocationConfig to specify configuration for this particular invocation.

        Specified by:
        reprocess in interface Tier0s
        Parameters:
        tier0Id - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        invocationConfig - Configuration for the method invocation.
      • reprocess

        public void reprocess​(java.lang.String tier0Id,
                              java.lang.String enforcementPointPath,
                              com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Tier0s
        Reprocess Tier0 gateway configuration and configuration of related entities like Tier0 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

        Specified by:
        reprocess in interface Tier0s
        Parameters:
        tier0Id - (required)
        enforcementPointPath - String Path of the enforcement point (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • reprocess

        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)
        Description copied from interface: Tier0s
        Reprocess Tier0 gateway configuration and configuration of related entities like Tier0 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. 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

        Specified by:
        reprocess in interface Tier0s
        Parameters:
        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.
      • sitefailover

        public void sitefailover​(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig)
        Description copied from interface: Tier0s
        API to recover specified Tier0 gateway and linked tier1 gateway from primary site path to new primary site path. This will update intent of affected Tier-0 and Tier-1 gateway.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        sitefailover in interface Tier0s
        Parameters:
        gatewaySiteFailoverActionConfig - (required)
      • sitefailover

        public void sitefailover​(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig,
                                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier0s
        API to recover specified Tier0 gateway and linked tier1 gateway from primary site path to new primary site path. This will update intent of affected Tier-0 and Tier-1 gateway.

        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:
        sitefailover in interface Tier0s
        Parameters:
        gatewaySiteFailoverActionConfig - (required)
        invocationConfig - Configuration for the method invocation.
      • sitefailover

        public void sitefailover​(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig,
                                 com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Tier0s
        API to recover specified Tier0 gateway and linked tier1 gateway from primary site path to new primary site path. This will update intent of affected Tier-0 and Tier-1 gateway.

        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:
        sitefailover in interface Tier0s
        Parameters:
        gatewaySiteFailoverActionConfig - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • sitefailover

        public void sitefailover​(GatewaySiteFailoverActionConfig gatewaySiteFailoverActionConfig,
                                 com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier0s
        API to recover specified Tier0 gateway and linked tier1 gateway from primary site path to new primary site path. This will update intent of affected Tier-0 and Tier-1 gateway.

        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

        Specified by:
        sitefailover in interface Tier0s
        Parameters:
        gatewaySiteFailoverActionConfig - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public Tier0 update​(java.lang.String tier0Id,
                            Tier0 tier0)
        Description copied from interface: Tier0s
        If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, replace the Tier-0 instance with the new object.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        update in interface Tier0s
        Parameters:
        tier0Id - (required)
        tier0 - (required)
        Returns:
        com.vmware.nsx_policy.model.Tier0
      • update

        public Tier0 update​(java.lang.String tier0Id,
                            Tier0 tier0,
                            com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier0s
        If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, replace the Tier-0 instance with the new object.

        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 interface Tier0s
        Parameters:
        tier0Id - (required)
        tier0 - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.Tier0
      • update

        public void update​(java.lang.String tier0Id,
                           Tier0 tier0,
                           com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback)
        Description copied from interface: Tier0s
        If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, replace the Tier-0 instance with the new object.

        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

        Specified by:
        update in interface Tier0s
        Parameters:
        tier0Id - (required)
        tier0 - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String tier0Id,
                           Tier0 tier0,
                           com.vmware.vapi.bindings.client.AsyncCallback<Tier0> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Tier0s
        If a Tier-0 with the tier-0-id is not already present, create a new Tier-0. If it already exists, replace the Tier-0 instance with the new object.

        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

        Specified by:
        update in interface Tier0s
        Parameters:
        tier0Id - (required)
        tier0 - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.