ServiceProviderSessionAdmissionControlGetRequest
Bases: OCIRequest
Get the session admission control capacity for the service provider. The response is either a ServiceProviderSessionAdmissionControlGetResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
Source code in src/mercury_ocip/commands/commands.py
Responses
Bases: OCIDataResponse
Response to the ServiceProviderSessionAdmissionControlGetRequest. The response contains the session admission control capacity allocated for the service provider.
Attributes:
restrict_aggregate_sessions (bool):
max_sessions (Optional[int]):
max_user_originating_sessions (Optional[int]):
max_user_terminating_sessions (Optional[int]):
count_intra_service_provider_sessions (bool):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import ServiceProviderSessionAdmissionControlGetRequest
client = Client()
command = ServiceProviderSessionAdmissionControlGetRequest(
service_provider_id=...,
)
response = client.command(command)
print(response)