public class MasterSwitchSettingStub extends com.vmware.vapi.internal.bindings.Stub implements MasterSwitchSetting
MasterSwitchSetting
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
MasterSwitchSettingStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
MasterSwitchSettingStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
IdfwMasterSwitchSetting |
get()
Fetches IDFW master switch setting to check whether master switch is enabled or
disabled
Use the following Policy API - GET /policy/api/v1/infra/settings/firewall/security |
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<IdfwMasterSwitchSetting> asyncCallback)
Fetches IDFW master switch setting to check whether master switch is enabled or
disabled
Use the following Policy API - GET /policy/api/v1/infra/settings/firewall/security |
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<IdfwMasterSwitchSetting> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Fetches IDFW master switch setting to check whether master switch is enabled or
disabled
Use the following Policy API - GET /policy/api/v1/infra/settings/firewall/security |
IdfwMasterSwitchSetting |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Fetches IDFW master switch setting to check whether master switch is enabled or
disabled
Use the following Policy API - GET /policy/api/v1/infra/settings/firewall/security |
IdfwMasterSwitchSetting |
update(IdfwMasterSwitchSetting idfwMasterSwitchSetting)
Update Identity Firewall master switch setting (true=enabled / false=disabled).
|
void |
update(IdfwMasterSwitchSetting idfwMasterSwitchSetting,
com.vmware.vapi.bindings.client.AsyncCallback<IdfwMasterSwitchSetting> asyncCallback)
Update Identity Firewall master switch setting (true=enabled / false=disabled).
|
void |
update(IdfwMasterSwitchSetting idfwMasterSwitchSetting,
com.vmware.vapi.bindings.client.AsyncCallback<IdfwMasterSwitchSetting> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update Identity Firewall master switch setting (true=enabled / false=disabled).
|
IdfwMasterSwitchSetting |
update(IdfwMasterSwitchSetting idfwMasterSwitchSetting,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update Identity Firewall master switch setting (true=enabled / false=disabled).
|
public MasterSwitchSettingStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public MasterSwitchSettingStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public IdfwMasterSwitchSetting get()
MasterSwitchSettingSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface MasterSwitchSettingpublic IdfwMasterSwitchSetting get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MasterSwitchSettingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface MasterSwitchSettinginvocationConfig - Configuration for the method invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<IdfwMasterSwitchSetting> asyncCallback)
MasterSwitchSettingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.IdfwMasterSwitchSetting
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface MasterSwitchSettingasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<IdfwMasterSwitchSetting> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MasterSwitchSettingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.IdfwMasterSwitchSetting
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface MasterSwitchSettingasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public IdfwMasterSwitchSetting update(IdfwMasterSwitchSetting idfwMasterSwitchSetting)
MasterSwitchSettingSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface MasterSwitchSettingidfwMasterSwitchSetting - (required)public IdfwMasterSwitchSetting update(IdfwMasterSwitchSetting idfwMasterSwitchSetting, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MasterSwitchSettingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
update in interface MasterSwitchSettingidfwMasterSwitchSetting - (required)invocationConfig - Configuration for the method invocation.public void update(IdfwMasterSwitchSetting idfwMasterSwitchSetting, com.vmware.vapi.bindings.client.AsyncCallback<IdfwMasterSwitchSetting> asyncCallback)
MasterSwitchSettingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.IdfwMasterSwitchSetting
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface MasterSwitchSettingidfwMasterSwitchSetting - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(IdfwMasterSwitchSetting idfwMasterSwitchSetting, com.vmware.vapi.bindings.client.AsyncCallback<IdfwMasterSwitchSetting> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MasterSwitchSettingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.IdfwMasterSwitchSetting
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface MasterSwitchSettingidfwMasterSwitchSetting - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.