Class CommunicationMapsStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.domains.CommunicationMapsStub
-
- All Implemented Interfaces:
CommunicationMaps
,CommunicationMapsTypes
,com.vmware.vapi.bindings.Service
public class CommunicationMapsStub extends com.vmware.vapi.internal.bindings.Stub implements CommunicationMaps
Remote stub implementation of theCommunicationMaps
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.domains.CommunicationMapsTypes
_VAPI_SERVICE_ID, REVISE_OPERATION_AFTER, REVISE_OPERATION_BEFORE, REVISE_OPERATION_BOTTOM, REVISE_OPERATION_TOP
-
-
Constructor Summary
Constructors Constructor Description CommunicationMapsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
CommunicationMapsStub(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 domainId, java.lang.String communicationMapId)
Deletes the communication map along with all the communication entries
This API is deprecated.void
delete(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the communication map along with all the communication entries
This API is deprecated.void
delete(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the communication map along with all the communication entries
This API is deprecated.void
delete(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the communication map along with all the communication entries
This API is deprecated.CommunicationMap
get(java.lang.String domainId, java.lang.String communicationMapId)
Read communication-map for a domain.void
get(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
Read communication-map for a domain.void
get(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read communication-map for a domain.CommunicationMap
get(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read communication-map for a domain.CommunicationMapListResult
list(java.lang.String domainId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
List all communication maps for a domain.void
list(java.lang.String domainId, 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<CommunicationMapListResult> asyncCallback)
List all communication maps for a domain.void
list(java.lang.String domainId, 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<CommunicationMapListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all communication maps for a domain.CommunicationMapListResult
list(java.lang.String domainId, 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)
List all communication maps for a domain.void
patch(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap)
Patch the communication map for a domain.void
patch(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Patch the communication map for a domain.void
patch(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Patch the communication map for a domain.void
patch(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Patch the communication map for a domain.CommunicationMap
revise(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation)
This is used to set a precedence of a communication map w.r.t others.void
revise(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
This is used to set a precedence of a communication map w.r.t others.void
revise(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This is used to set a precedence of a communication map w.r.t others.CommunicationMap
revise(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This is used to set a precedence of a communication map w.r.t others.CommunicationMap
update(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap)
Create or Update the communication map for a domain.void
update(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
Create or Update the communication map for a domain.void
update(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or Update the communication map for a domain.CommunicationMap
update(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or Update the communication map for a domain.
-
-
-
Constructor Detail
-
CommunicationMapsStub
public CommunicationMapsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
CommunicationMapsStub
public CommunicationMapsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String domainId, java.lang.String communicationMapId)
Description copied from interface:CommunicationMaps
Deletes the communication map along with all the communication entries
This API is deprecated. Please use the following API instead. DELETE /infra/domains/domain-id/security-policies/security-policy-idSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
delete
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)
-
delete
public void delete(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:CommunicationMaps
Deletes the communication map along with all the communication entries
This API is deprecated. Please use the following API instead. DELETE /infra/domains/domain-id/security-policies/security-policy-idSynchronous 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 interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)invocationConfig
- Configuration for the method invocation.
-
delete
public void delete(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:CommunicationMaps
Deletes the communication map along with all the communication entries
This API is deprecated. Please use the following API instead. DELETE /infra/domains/domain-id/security-policies/security-policy-idAsynchronous 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 interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:CommunicationMaps
Deletes the communication map along with all the communication entries
This API is deprecated. Please use the following API instead. DELETE /infra/domains/domain-id/security-policies/security-policy-idAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
delete
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
public CommunicationMap get(java.lang.String domainId, java.lang.String communicationMapId)
Description copied from interface:CommunicationMaps
Read communication-map for a domain.
This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policies/security-policy-idSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)- Returns:
- com.vmware.nsx_policy.model.CommunicationMap
-
get
public CommunicationMap get(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:CommunicationMaps
Read communication-map for a domain.
This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policies/security-policy-idSynchronous 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 interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.CommunicationMap
-
get
public void get(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
Description copied from interface:CommunicationMaps
Read communication-map for a domain.
This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policies/security-policy-idAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.CommunicationMapOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:CommunicationMaps
Read communication-map for a domain.
This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policies/security-policy-idAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.CommunicationMapOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
public CommunicationMapListResult list(java.lang.String domainId, 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:CommunicationMaps
List all communication maps for a domain.
This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policiesSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
list
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)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.CommunicationMapListResult
-
list
public CommunicationMapListResult list(java.lang.String domainId, 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:CommunicationMaps
List all communication maps for a domain.
This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policiesSynchronous 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 interfaceCommunicationMaps
- Parameters:
domainId
- (required)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.CommunicationMapListResult
-
list
public void list(java.lang.String domainId, 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<CommunicationMapListResult> asyncCallback)
Description copied from interface:CommunicationMaps
List all communication maps for a domain.
This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policiesAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.CommunicationMapListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)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 domainId, 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<CommunicationMapListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:CommunicationMaps
List all communication maps for a domain.
This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policiesAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.CommunicationMapListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)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 domainId, java.lang.String communicationMapId, CommunicationMap communicationMap)
Description copied from interface:CommunicationMaps
Patch the communication map for a domain. If a communication map for the given communication-map-id is not present, the object will get created and if it is present it will be updated. This is a full replace
This API is deprecated. Please use the following API instead. PATCH /infra/domains/domain-id/security-policies/security-policy-idSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patch
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)
-
patch
public void patch(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:CommunicationMaps
Patch the communication map for a domain. If a communication map for the given communication-map-id is not present, the object will get created and if it is present it will be updated. This is a full replace
This API is deprecated. Please use the following API instead. PATCH /infra/domains/domain-id/security-policies/security-policy-idSynchronous 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 interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)invocationConfig
- Configuration for the method invocation.
-
patch
public void patch(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:CommunicationMaps
Patch the communication map for a domain. If a communication map for the given communication-map-id is not present, the object will get created and if it is present it will be updated. This is a full replace
This API is deprecated. Please use the following API instead. PATCH /infra/domains/domain-id/security-policies/security-policy-idAsynchronous 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 interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
public void patch(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:CommunicationMaps
Patch the communication map for a domain. If a communication map for the given communication-map-id is not present, the object will get created and if it is present it will be updated. This is a full replace
This API is deprecated. Please use the following API instead. PATCH /infra/domains/domain-id/security-policies/security-policy-idAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
patch
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
revise
public CommunicationMap revise(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation)
Description copied from interface:CommunicationMaps
This is used to set a precedence of a communication map w.r.t others.
This API is deprecated. Please use the following API instead. POST /infra/domains/domain-id/security-policies/security-policy-id?action=reviseSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
revise
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)anchorPath
- The communication map/communication entry path if operation is 'insert_after' or 'insert_before' (optional)operation
- Operation (optional, default to insert_top)- Returns:
- com.vmware.nsx_policy.model.CommunicationMap
-
revise
public CommunicationMap revise(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:CommunicationMaps
This is used to set a precedence of a communication map w.r.t others.
This API is deprecated. Please use the following API instead. POST /infra/domains/domain-id/security-policies/security-policy-id?action=reviseSynchronous 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:
revise
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)anchorPath
- The communication map/communication entry path if operation is 'insert_after' or 'insert_before' (optional)operation
- Operation (optional, default to insert_top)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.CommunicationMap
-
revise
public void revise(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
Description copied from interface:CommunicationMaps
This is used to set a precedence of a communication map w.r.t others.
This API is deprecated. Please use the following API instead. POST /infra/domains/domain-id/security-policies/security-policy-id?action=reviseAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.CommunicationMapOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
revise
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)anchorPath
- The communication map/communication entry path if operation is 'insert_after' or 'insert_before' (optional)operation
- Operation (optional, default to insert_top)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
revise
public void revise(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:CommunicationMaps
This is used to set a precedence of a communication map w.r.t others.
This API is deprecated. Please use the following API instead. POST /infra/domains/domain-id/security-policies/security-policy-id?action=reviseAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.CommunicationMapOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
revise
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)anchorPath
- The communication map/communication entry path if operation is 'insert_after' or 'insert_before' (optional)operation
- Operation (optional, default to insert_top)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
public CommunicationMap update(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap)
Description copied from interface:CommunicationMaps
Create or Update the communication map for a domain. This is a full replace. All the CommunicationEntries are replaced.
This API is deprecated. Please use the following API instead. PUT /infra/domains/domain-id/security-policies/security-policy-idSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
update
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)- Returns:
- com.vmware.nsx_policy.model.CommunicationMap
-
update
public CommunicationMap update(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:CommunicationMaps
Create or Update the communication map for a domain. This is a full replace. All the CommunicationEntries are replaced.
This API is deprecated. Please use the following API instead. PUT /infra/domains/domain-id/security-policies/security-policy-idSynchronous 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 interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.CommunicationMap
-
update
public void update(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
Description copied from interface:CommunicationMaps
Create or Update the communication map for a domain. This is a full replace. All the CommunicationEntries are replaced.
This API is deprecated. Please use the following API instead. PUT /infra/domains/domain-id/security-policies/security-policy-idAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.CommunicationMapOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:CommunicationMaps
Create or Update the communication map for a domain. This is a full replace. All the CommunicationEntries are replaced.
This API is deprecated. Please use the following API instead. PUT /infra/domains/domain-id/security-policies/security-policy-idAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.CommunicationMapOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceCommunicationMaps
- Parameters:
domainId
- (required)communicationMapId
- (required)communicationMap
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-