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 theFirewallSchedulers
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.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 void
delete(java.lang.String firewallSchedulerId, java.lang.Boolean force)
Deletes the specified PolicyFirewallScheduler.void
delete(java.lang.String firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the specified PolicyFirewallScheduler.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)
Deletes the specified PolicyFirewallScheduler.void
delete(java.lang.String firewallSchedulerId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified PolicyFirewallScheduler.PolicyFirewallScheduler
get(java.lang.String firewallSchedulerId)
Get a PolicyFirewallScheduler by idvoid
get(java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)
Get a PolicyFirewallScheduler by idvoid
get(java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a PolicyFirewallScheduler by idPolicyFirewallScheduler
get(java.lang.String firewallSchedulerId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a PolicyFirewallScheduler by idPolicyFirewallSchedulerListResult
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)
Get all PolicyFirewallSchedulersvoid
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)
Get all PolicyFirewallSchedulersvoid
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)
Get all PolicyFirewallSchedulersPolicyFirewallSchedulerListResult
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)
Get all PolicyFirewallSchedulersvoid
patch(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler)
Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.void
patch(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.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)
Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.void
patch(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates/Updates a PolicyFirewallScheduler, which can be set at security policy.PolicyFirewallScheduler
update(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler)
Updates a PolicyFirewallScheduler, which can be set at security policy.void
update(java.lang.String firewallSchedulerId, PolicyFirewallScheduler policyFirewallScheduler, com.vmware.vapi.bindings.client.AsyncCallback<PolicyFirewallScheduler> asyncCallback)
Updates a PolicyFirewallScheduler, which can be set at security policy.void
update(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.PolicyFirewallScheduler
update(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:FirewallSchedulers
Deletes 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:
delete
in 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:FirewallSchedulers
Deletes 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
invocationConfig
to specify configuration for this particular invocation.- Specified by:
delete
in 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:FirewallSchedulers
Deletes 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:
delete
in 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:FirewallSchedulers
Deletes 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
. 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 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:FirewallSchedulers
Get a PolicyFirewallScheduler by idSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in 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:FirewallSchedulers
Get a PolicyFirewallScheduler by 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 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:FirewallSchedulers
Get 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:
get
in 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:FirewallSchedulers
Get a PolicyFirewallScheduler by 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.PolicyFirewallSchedulerOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in 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:FirewallSchedulers
Get all PolicyFirewallSchedulersSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
list
in 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:FirewallSchedulers
Get all PolicyFirewallSchedulersSynchronous 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 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:FirewallSchedulers
Get 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:
list
in 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:FirewallSchedulers
Get all PolicyFirewallSchedulersAsynchronous 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.PolicyFirewallSchedulerListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in 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:FirewallSchedulers
Creates/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:
patch
in 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:FirewallSchedulers
Creates/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
invocationConfig
to specify configuration for this particular invocation.- Specified by:
patch
in 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:FirewallSchedulers
Creates/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:
patch
in 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:FirewallSchedulers
Creates/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
. 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 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:FirewallSchedulers
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:
update
in 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:FirewallSchedulers
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
invocationConfig
to specify configuration for this particular invocation.- Specified by:
update
in 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:FirewallSchedulers
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
.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:
update
in 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:FirewallSchedulers
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
. UseinvocationConfig
to 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:
update
in interfaceFirewallSchedulers
- Parameters:
firewallSchedulerId
- (required)policyFirewallScheduler
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-