Class IpsecVpnDpdProfilesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.orgs.projects.infra.IpsecVpnDpdProfilesStub
-
- All Implemented Interfaces:
IpsecVpnDpdProfiles
,IpsecVpnDpdProfilesTypes
,com.vmware.vapi.bindings.Service
public class IpsecVpnDpdProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements IpsecVpnDpdProfiles
Remote stub implementation of theIpsecVpnDpdProfiles
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.orgs.projects.infra.IpsecVpnDpdProfilesTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description IpsecVpnDpdProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
IpsecVpnDpdProfilesStub(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 orgId, java.lang.String projectId, java.lang.String dpdProfileId)
Delete custom dead peer detection (DPD) profile.void
delete(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete custom dead peer detection (DPD) profile.void
delete(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete custom dead peer detection (DPD) profile.void
delete(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete custom dead peer detection (DPD) profile.IPSecVpnDpdProfile
get(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId)
Get custom dead peer detection (DPD) profile, given the particular id.void
get(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVpnDpdProfile> asyncCallback)
Get custom dead peer detection (DPD) profile, given the particular id.void
get(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVpnDpdProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get custom dead peer detection (DPD) profile, given the particular id.IPSecVpnDpdProfile
get(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get custom dead peer detection (DPD) profile, given the particular id.IPSecVpnDpdProfileListResult
list(java.lang.String orgId, java.lang.String projectId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Get paginated list of all DPD Profiles.void
list(java.lang.String orgId, java.lang.String projectId, 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<IPSecVpnDpdProfileListResult> asyncCallback)
Get paginated list of all DPD Profiles.void
list(java.lang.String orgId, java.lang.String projectId, 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<IPSecVpnDpdProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get paginated list of all DPD Profiles.IPSecVpnDpdProfileListResult
list(java.lang.String orgId, java.lang.String projectId, 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)
Get paginated list of all DPD Profiles.void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile)
Create or patch dead peer detection (DPD) profile.void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Create or patch dead peer detection (DPD) profile.void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or patch dead peer detection (DPD) profile.void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or patch dead peer detection (DPD) profile.IPSecVpnDpdProfile
update(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile)
Create or patch dead peer detection (DPD) profile.void
update(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVpnDpdProfile> asyncCallback)
Create or patch dead peer detection (DPD) profile.void
update(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVpnDpdProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or patch dead peer detection (DPD) profile.IPSecVpnDpdProfile
update(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or patch dead peer detection (DPD) profile.
-
-
-
Constructor Detail
-
IpsecVpnDpdProfilesStub
public IpsecVpnDpdProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
IpsecVpnDpdProfilesStub
public IpsecVpnDpdProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId)
Description copied from interface:IpsecVpnDpdProfiles
Delete custom dead peer detection (DPD) profile. Profile can not be deleted if profile has references to it.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
delete
in interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)
-
delete
public void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:IpsecVpnDpdProfiles
Delete custom dead peer detection (DPD) profile. Profile can not be deleted if profile has references to it.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 interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)invocationConfig
- Configuration for the method invocation.
-
delete
public void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:IpsecVpnDpdProfiles
Delete custom dead peer detection (DPD) profile. Profile can not be deleted if profile has references to it.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 interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:IpsecVpnDpdProfiles
Delete custom dead peer detection (DPD) profile. Profile can not be deleted if profile has references to it.Asynchronous 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 interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
public IPSecVpnDpdProfile get(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId)
Description copied from interface:IpsecVpnDpdProfiles
Get custom dead peer detection (DPD) profile, given the particular id.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)- Returns:
- com.vmware.nsx_policy.model.IPSecVpnDpdProfile
-
get
public IPSecVpnDpdProfile get(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:IpsecVpnDpdProfiles
Get custom dead peer detection (DPD) profile, given the particular id.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 interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.IPSecVpnDpdProfile
-
get
public void get(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVpnDpdProfile> asyncCallback)
Description copied from interface:IpsecVpnDpdProfiles
Get custom dead peer detection (DPD) profile, given the particular id.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.IPSecVpnDpdProfileOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVpnDpdProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:IpsecVpnDpdProfiles
Get custom dead peer detection (DPD) profile, given the particular id.Asynchronous 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.IPSecVpnDpdProfileOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
public IPSecVpnDpdProfileListResult list(java.lang.String orgId, java.lang.String projectId, 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:IpsecVpnDpdProfiles
Get paginated list of all DPD Profiles.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
list
in interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (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.IPSecVpnDpdProfileListResult
-
list
public IPSecVpnDpdProfileListResult list(java.lang.String orgId, java.lang.String projectId, 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:IpsecVpnDpdProfiles
Get paginated list of all DPD Profiles.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 interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (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.IPSecVpnDpdProfileListResult
-
list
public void list(java.lang.String orgId, java.lang.String projectId, 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<IPSecVpnDpdProfileListResult> asyncCallback)
Description copied from interface:IpsecVpnDpdProfiles
Get paginated list of all DPD Profiles.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.IPSecVpnDpdProfileListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (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 orgId, java.lang.String projectId, 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<IPSecVpnDpdProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:IpsecVpnDpdProfiles
Get paginated list of all DPD Profiles.Asynchronous 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.IPSecVpnDpdProfileListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (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 orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile)
Description copied from interface:IpsecVpnDpdProfiles
Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patch
in interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)ipSecVpnDpdProfile
- (required)
-
patch
public void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:IpsecVpnDpdProfiles
Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile.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 interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)ipSecVpnDpdProfile
- (required)invocationConfig
- Configuration for the method invocation.
-
patch
public void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:IpsecVpnDpdProfiles
Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile.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 interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)ipSecVpnDpdProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
public void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:IpsecVpnDpdProfiles
Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile.Asynchronous 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 interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)ipSecVpnDpdProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
public IPSecVpnDpdProfile update(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile)
Description copied from interface:IpsecVpnDpdProfiles
Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile. Revision is optional for creation and required for update.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
update
in interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)ipSecVpnDpdProfile
- (required)- Returns:
- com.vmware.nsx_policy.model.IPSecVpnDpdProfile
-
update
public IPSecVpnDpdProfile update(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:IpsecVpnDpdProfiles
Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile. Revision is optional for creation and required for update.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 interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)ipSecVpnDpdProfile
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.IPSecVpnDpdProfile
-
update
public void update(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVpnDpdProfile> asyncCallback)
Description copied from interface:IpsecVpnDpdProfiles
Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile. Revision is optional for creation and required for update.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.IPSecVpnDpdProfileOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)ipSecVpnDpdProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String orgId, java.lang.String projectId, java.lang.String dpdProfileId, IPSecVpnDpdProfile ipSecVpnDpdProfile, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVpnDpdProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:IpsecVpnDpdProfiles
Create or patch dead peer detection (DPD) profile. Any change in profile affects all sessions consuming this profile. System will be provisioned with system owned editable default DPD profile. Any change in profile affects all sessions consuming this profile. Revision is optional for creation and required for update.Asynchronous 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.IPSecVpnDpdProfileOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceIpsecVpnDpdProfiles
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)dpdProfileId
- (required)ipSecVpnDpdProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-