com.vmware.nsx_policy.infra.realized_state.enforcement_points.ops package¶
Submodules¶
com.vmware.nsx_policy.infra.realized_state.enforcement_points.ops.domains_client module¶
-
class
com.vmware.nsx_policy.infra.realized_state.enforcement_points.ops.domains_client.
DiscoverySessions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
-
GET_VIEW_GROUP_CONNECTION
= 'GROUP_CONNECTION'¶ Possible value for
view
of methodDiscoverySessions.get()
.
-
GET_VIEW_NETWORK_CONNECTION
= 'NETWORK_CONNECTION'¶ Possible value for
view
of methodDiscoverySessions.get()
.
-
GET_VIEW_PROCESS_CONNECTION
= 'PROCESS_CONNECTION'¶ Possible value for
view
of methodDiscoverySessions.get()
.
-
GET_VIEW_VM_CONNECTION
= 'VM_CONNECTION'¶ Possible value for
view
of methodDiscoverySessions.get()
.
-
get
(enforcement_point_id, domain_id, discovery_session_id, view=None)¶ Read discovered information for a selected domain/application on selected enforcement point. Response contains topology information based on the view option specified in the query parameter. An error is returned if an unknown view option is specified in the query parameter. The topology information will not be populated if the discovery session status is in STARTED, IN-PROGRESS or FAILED state.
Parameters: - enforcement_point_id (
str
) – Enforcement point ID (required) - domain_id (
str
) – Domain ID (required) - discovery_session_id (
str
) – Discovery session ID is Domain ID of the domain where discovery session was started (required) - view (
str
orNone
) – Option to specify specific view (optional)
Return type: Returns: com.vmware.nsx_policy.model.RealizedDiscoverySession
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- enforcement_point_id (
-
-
class
com.vmware.nsx_policy.infra.realized_state.enforcement_points.ops.domains_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase