com.vmware.nsx_policy.global_infra.service_references package¶
Submodules¶
com.vmware.nsx_policy.global_infra.service_references.service_profiles_client module¶
-
class
com.vmware.nsx_policy.global_infra.service_references.service_profiles_client.
GroupAssociations
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(service_reference_id, service_profile_id, enforcement_point_path=None)¶ List of Groups used in Redirection rules for a given Service Profile.
Parameters: - service_reference_id (
str
) – Service reference id (required) - service_profile_id (
str
) – Service profile id (required) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
Return type: Returns: com.vmware.nsx_policy.model.ServiceProfileGroups
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- service_reference_id (
-
-
class
com.vmware.nsx_policy.global_infra.service_references.service_profiles_client.
ServiceChainMappings
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(service_reference_id, service_profile_id, enforcement_point_path=None)¶ List all service chain mappings in the system for the given service profile. If no explicit enforcement point is provided in the request, will return for default. Else, will return for specified points.
Parameters: - service_reference_id (
str
) – Service reference id (required) - service_profile_id (
str
) – Service profile id (required) - enforcement_point_path (
str
orNone
) – String Path of the enforcement point (optional)
Return type: com.vmware.nsx_policy.model_client.ServiceChainMappingListResult
Returns: com.vmware.nsx_policy.model.ServiceChainMappingListResult
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- service_reference_id (
-
-
class
com.vmware.nsx_policy.global_infra.service_references.service_profiles_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance