Class FirewallSchedulersStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.FirewallSchedulersStub
-
- All Implemented Interfaces:
FirewallSchedulers,FirewallSchedulersTypes,com.vmware.vapi.bindings.Service
public class FirewallSchedulersStub extends com.vmware.vapi.internal.bindings.Stub implements FirewallSchedulers
Remote stub implementation of theFirewallSchedulersAPI 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.FirewallSchedulersTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description FirewallSchedulersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)FirewallSchedulersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(java.lang.String firewallSchedulerId, java.lang.Boolean force)Deletes the specified PolicyFirewallScheduler.voiddelete(java.lang.String firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Deletes the specified PolicyFirewallScheduler.voiddelete(java.lang.String firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Deletes the specified PolicyFirewallScheduler.voiddelete(java.lang.String firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Deletes the specified PolicyFirewallScheduler.PolicyFirewallSchedulerget(java.lang.String firewallSchedulerId)Get a PolicyFirewallScheduler by idvoidget(java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)Get a PolicyFirewallScheduler by idvoidget(java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Get a PolicyFirewallScheduler by idPolicyFirewallSchedulerget(java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Get a PolicyFirewallScheduler by idPolicyFirewallSchedulerListResultlist(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 all PolicyFirewallSchedulersvoidlist(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<PolicyFirewallSchedulerListResult> asyncCallback)Get all PolicyFirewallSchedulersvoidlist(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<PolicyFirewallSchedulerListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Get all PolicyFirewallSchedulersPolicyFirewallSchedulerListResultlist(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 all PolicyFirewallSchedulersvoidpatch(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler)Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.voidpatch(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.voidpatch(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.voidpatch(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.PolicyFirewallSchedulerupdate(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler)Updates a PolicyFirewallScheduler, which can be set at security policy.voidupdate(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)Updates a PolicyFirewallScheduler, which can be set at security policy.voidupdate(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Updates a PolicyFirewallScheduler, which can be set at security policy.PolicyFirewallSchedulerupdate(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Updates a PolicyFirewallScheduler, which can be set at security policy.
-
-
-
Constructor Detail
-
FirewallSchedulersStub
public FirewallSchedulersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
FirewallSchedulersStub
public FirewallSchedulersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String firewallSchedulerId, java.lang.Boolean force)Description copied from interface:FirewallSchedulersDeletes the specified PolicyFirewallScheduler. If scheduler is consumed in a security policy, it won't get deleted.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
deletein interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)force- Force delete the resource even if it is being used somewhere (optional, default to false)
-
delete
public void delete(java.lang.String firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:FirewallSchedulersDeletes the specified PolicyFirewallScheduler. If scheduler is consumed in a security policy, it won't get deleted.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
deletein interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)force- Force delete the resource even if it is being used somewhere (optional, default to false)invocationConfig- Configuration for the method invocation.
-
delete
public void delete(java.lang.String firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:FirewallSchedulersDeletes the specified PolicyFirewallScheduler. If scheduler is consumed in a security policy, it won't get deleted.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:
deletein interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)force- Force delete the resource even if it is being used somewhere (optional, default to false)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:FirewallSchedulersDeletes the specified PolicyFirewallScheduler. If scheduler is consumed in a security policy, it won't get deleted.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
deletein interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)force- Force delete the resource even if it is being used somewhere (optional, default to false)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
get
public PolicyFirewallScheduler get(java.lang.String firewallSchedulerId)
Description copied from interface:FirewallSchedulersGet a PolicyFirewallScheduler by idSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
getin interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)- Returns:
- com.vmware.nsx_policy.model.PolicyFirewallScheduler
-
get
public PolicyFirewallScheduler get(java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:FirewallSchedulersGet a PolicyFirewallScheduler by idSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
getin interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyFirewallScheduler
-
get
public void get(java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)Description copied from interface:FirewallSchedulersGet a PolicyFirewallScheduler by idAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.PolicyFirewallSchedulerOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:FirewallSchedulersGet a PolicyFirewallScheduler by idAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PolicyFirewallSchedulerOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
list
public PolicyFirewallSchedulerListResult 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:FirewallSchedulersGet all PolicyFirewallSchedulersSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
listin interfaceFirewallSchedulers- 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.PolicyFirewallSchedulerListResult
-
list
public PolicyFirewallSchedulerListResult 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:FirewallSchedulersGet all PolicyFirewallSchedulersSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
listin interfaceFirewallSchedulers- 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.PolicyFirewallSchedulerListResult
-
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<PolicyFirewallSchedulerListResult> asyncCallback)Description copied from interface:FirewallSchedulersGet all PolicyFirewallSchedulersAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.PolicyFirewallSchedulerListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceFirewallSchedulers- 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<PolicyFirewallSchedulerListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:FirewallSchedulersGet all PolicyFirewallSchedulersAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PolicyFirewallSchedulerListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfaceFirewallSchedulers- 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 firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler)Description copied from interface:FirewallSchedulersCreates/Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
patchin interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)policyFirewallScheduler- (required)
-
patch
public void patch(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:FirewallSchedulersCreates/Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
patchin interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)policyFirewallScheduler- (required)invocationConfig- Configuration for the method invocation.
-
patch
public void patch(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:FirewallSchedulersCreates/Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.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:
patchin interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)policyFirewallScheduler- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
patch
public void patch(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:FirewallSchedulersCreates/Updates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
patchin interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)policyFirewallScheduler- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
update
public PolicyFirewallScheduler update(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler)
Description copied from interface:FirewallSchedulersUpdates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
updatein interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)policyFirewallScheduler- (required)- Returns:
- com.vmware.nsx_policy.model.PolicyFirewallScheduler
-
update
public PolicyFirewallScheduler update(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:FirewallSchedulersUpdates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
updatein interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)policyFirewallScheduler- (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyFirewallScheduler
-
update
public void update(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)Description copied from interface:FirewallSchedulersUpdates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.PolicyFirewallSchedulerOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)policyFirewallScheduler- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:FirewallSchedulersUpdates a PolicyFirewallScheduler, which can be set at security policy. Note that at least one property out of \"days\", \"start_date\", \"time_interval\", \"end_date\" is required if \"recurring\" field is true. Also \"start_time\" and \"end_time\" should not be present. And if \"recurring\" field is false then \"start_date\" and \"end_date\" is mandatory, \"start_time\" and \"end_time\" is optional. Also the fields \"days\" and \"time_interval\" should not be present.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PolicyFirewallSchedulerOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceFirewallSchedulers- Parameters:
firewallSchedulerId- (required)policyFirewallScheduler- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-