com.vmware.nsx_policy.infra.lb_services package¶
Submodules¶
com.vmware.nsx_policy.infra.lb_services.lb_pools_client module¶
-
class
com.vmware.nsx_policy.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 UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- lb_service_id (
-
-
class
com.vmware.nsx_policy.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 UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- lb_service_id (
-
-
class
com.vmware.nsx_policy.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.infra.lb_services.lb_virtual_servers_client module¶
-
class
com.vmware.nsx_policy.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 UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- lb_service_id (
-
-
class
com.vmware.nsx_policy.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 UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- lb_service_id (
-
-
class
com.vmware.nsx_policy.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