com.vmware.nsx_policy.global_infra.lb_services package¶
Submodules¶
com.vmware.nsx_policy.global_infra.lb_services.lb_pools_client module¶
-
class
com.vmware.nsx_policy.global_infra.lb_services.lb_pools_client.
DetailedStatus
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
GET_SOURCE_CACHED
= 'cached'¶ Possible value for
source
of methodDetailedStatus.get()
.
-
GET_SOURCE_REALTIME
= 'realtime'¶ Possible value for
source
of methodDetailedStatus.get()
.
-
get
(lb_service_id, lb_pool_id, enforcement_point_path=None, source=None)¶ Get LBPool detailed status information. - no enforcement point path specified: Information will be aggregated from each enforcement point. - {enforcement_point_path}: Information will be retrieved only from the given enforcement point.
- Parameters
lb_service_id (
str
) – LBService id (required)lb_pool_id (
str
) – LBPool id (required)enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)source (
str
orNone
) – Data source type. (optional)
- Return type
- Returns
com.vmware.nsx_policy.model.AggregateLBPoolStatus
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
class
com.vmware.nsx_policy.global_infra.lb_services.lb_pools_client.
Statistics
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
GET_SOURCE_CACHED
= 'cached'¶ Possible value for
source
of methodStatistics.get()
.
-
GET_SOURCE_REALTIME
= 'realtime'¶ Possible value for
source
of methodStatistics.get()
.
-
get
(lb_service_id, lb_pool_id, enforcement_point_path=None, source=None)¶ Get LBPoolStatistics information. - no enforcement point path specified: Information will be aggregated from each enforcement point. - {enforcement_point_path}: Information will be retrieved only from the given enforcement point.
- Parameters
lb_service_id (
str
) – LBService id (required)lb_pool_id (
str
) – LBPool id (required)enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)source (
str
orNone
) – Data source type. (optional)
- Return type
com.vmware.nsx_policy.model_client.AggregateLBPoolStatistics
- Returns
com.vmware.nsx_policy.model.AggregateLBPoolStatistics
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
class
com.vmware.nsx_policy.global_infra.lb_services.lb_pools_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.nsx_policy.global_infra.lb_services.lb_virtual_servers_client module¶
-
class
com.vmware.nsx_policy.global_infra.lb_services.lb_virtual_servers_client.
DetailedStatus
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
GET_SOURCE_CACHED
= 'cached'¶ Possible value for
source
of methodDetailedStatus.get()
.
-
GET_SOURCE_REALTIME
= 'realtime'¶ Possible value for
source
of methodDetailedStatus.get()
.
-
get
(lb_service_id, lb_virtual_server_id, enforcement_point_path=None, source=None)¶ Get LBVirtualServer detailed status information. - no enforcement point path specified: Information will be aggregated from each enforcement point. - {enforcement_point_path}: Information will be retrieved only from the given enforcement point.
- Parameters
lb_service_id (
str
) – LBService id (required)lb_virtual_server_id (
str
) – LBVirtualServer id (required)enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)source (
str
orNone
) – Data source type. (optional)
- Return type
com.vmware.nsx_policy.model_client.AggregateLBVirtualServerStatus
- Returns
com.vmware.nsx_policy.model.AggregateLBVirtualServerStatus
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
class
com.vmware.nsx_policy.global_infra.lb_services.lb_virtual_servers_client.
Statistics
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
- Parameters
config (
vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
-
GET_SOURCE_CACHED
= 'cached'¶ Possible value for
source
of methodStatistics.get()
.
-
GET_SOURCE_REALTIME
= 'realtime'¶ Possible value for
source
of methodStatistics.get()
.
-
get
(lb_service_id, lb_virtual_server_id, enforcement_point_path=None, source=None)¶ Get LBVirtualServerStatistics information. - no enforcement point path specified: Information will be aggregated from each enforcement point. - {enforcement_point_path}: Information will be retrieved only from the given enforcement point.
- Parameters
lb_service_id (
str
) – LBService id (required)lb_virtual_server_id (
str
) – LBVirtualServer id (required)enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)source (
str
orNone
) – Data source type. (optional)
- Return type
com.vmware.nsx_policy.model_client.AggregateLBVirtualServerStatistics
- Returns
com.vmware.nsx_policy.model.AggregateLBVirtualServerStatistics
- Raise
com.vmware.vapi.std.errors_client.ServiceUnavailable
Service Unavailable- Raise
com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition Failed- Raise
com.vmware.vapi.std.errors_client.InternalServerError
Internal Server Error- Raise
com.vmware.vapi.std.errors_client.Unauthorized
Forbidden- Raise
com.vmware.vapi.std.errors_client.NotFound
Not Found
-
class
com.vmware.nsx_policy.global_infra.lb_services.lb_virtual_servers_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance