public class StandaloneHostSwitchSettingStub extends com.vmware.vapi.internal.bindings.Stub implements StandaloneHostSwitchSetting
StandaloneHostSwitchSetting
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
StandaloneHostSwitchSettingStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StandaloneHostSwitchSettingStub(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 |
---|---|
IdfwStandaloneHostsSwitchSetting |
get()
Fetches IDFW standalone hosts switch setting to check whether standalone hosts
is enabled or disabled
Use the following Policy API - GET /policy/api/v1/infra/settings/firewall/idfw/standalone-host-switch-setting |
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<IdfwStandaloneHostsSwitchSetting> asyncCallback)
Fetches IDFW standalone hosts switch setting to check whether standalone hosts
is enabled or disabled
Use the following Policy API - GET /policy/api/v1/infra/settings/firewall/idfw/standalone-host-switch-setting |
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<IdfwStandaloneHostsSwitchSetting> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Fetches IDFW standalone hosts switch setting to check whether standalone hosts
is enabled or disabled
Use the following Policy API - GET /policy/api/v1/infra/settings/firewall/idfw/standalone-host-switch-setting |
IdfwStandaloneHostsSwitchSetting |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Fetches IDFW standalone hosts switch setting to check whether standalone hosts
is enabled or disabled
Use the following Policy API - GET /policy/api/v1/infra/settings/firewall/idfw/standalone-host-switch-setting |
IdfwStandaloneHostsSwitchSetting |
update(IdfwStandaloneHostsSwitchSetting idfwStandaloneHostsSwitchSetting)
Update Identity Firewall standalone hosts switch setting (true=enabled /
false=disabled).
|
void |
update(IdfwStandaloneHostsSwitchSetting idfwStandaloneHostsSwitchSetting,
com.vmware.vapi.bindings.client.AsyncCallback<IdfwStandaloneHostsSwitchSetting> asyncCallback)
Update Identity Firewall standalone hosts switch setting (true=enabled /
false=disabled).
|
void |
update(IdfwStandaloneHostsSwitchSetting idfwStandaloneHostsSwitchSetting,
com.vmware.vapi.bindings.client.AsyncCallback<IdfwStandaloneHostsSwitchSetting> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update Identity Firewall standalone hosts switch setting (true=enabled /
false=disabled).
|
IdfwStandaloneHostsSwitchSetting |
update(IdfwStandaloneHostsSwitchSetting idfwStandaloneHostsSwitchSetting,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update Identity Firewall standalone hosts switch setting (true=enabled /
false=disabled).
|
public StandaloneHostSwitchSettingStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public StandaloneHostSwitchSettingStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public IdfwStandaloneHostsSwitchSetting get()
StandaloneHostSwitchSetting
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface StandaloneHostSwitchSetting
public IdfwStandaloneHostsSwitchSetting get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StandaloneHostSwitchSetting
Synchronous 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 StandaloneHostSwitchSetting
invocationConfig
- Configuration for the method invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<IdfwStandaloneHostsSwitchSetting> asyncCallback)
StandaloneHostSwitchSetting
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IdfwStandaloneHostsSwitchSetting
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface StandaloneHostSwitchSetting
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<IdfwStandaloneHostsSwitchSetting> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StandaloneHostSwitchSetting
Asynchronous 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.IdfwStandaloneHostsSwitchSetting
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface StandaloneHostSwitchSetting
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public IdfwStandaloneHostsSwitchSetting update(IdfwStandaloneHostsSwitchSetting idfwStandaloneHostsSwitchSetting)
StandaloneHostSwitchSetting
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface StandaloneHostSwitchSetting
idfwStandaloneHostsSwitchSetting
- (required)public IdfwStandaloneHostsSwitchSetting update(IdfwStandaloneHostsSwitchSetting idfwStandaloneHostsSwitchSetting, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StandaloneHostSwitchSetting
Synchronous 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 StandaloneHostSwitchSetting
idfwStandaloneHostsSwitchSetting
- (required)invocationConfig
- Configuration for the method invocation.public void update(IdfwStandaloneHostsSwitchSetting idfwStandaloneHostsSwitchSetting, com.vmware.vapi.bindings.client.AsyncCallback<IdfwStandaloneHostsSwitchSetting> asyncCallback)
StandaloneHostSwitchSetting
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IdfwStandaloneHostsSwitchSetting
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface StandaloneHostSwitchSetting
idfwStandaloneHostsSwitchSetting
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(IdfwStandaloneHostsSwitchSetting idfwStandaloneHostsSwitchSetting, com.vmware.vapi.bindings.client.AsyncCallback<IdfwStandaloneHostsSwitchSetting> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StandaloneHostSwitchSetting
Asynchronous 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.IdfwStandaloneHostsSwitchSetting
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface StandaloneHostSwitchSetting
idfwStandaloneHostsSwitchSetting
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.