Service Citrix TCP#
This class is used to manage Service Citrix TCP
- class ServiceCitrixTCP#
- add(name, application=None, tags=None, **kw)#
Create new object.
- Parameters
- Keyword Arguments
**color (Color, optional) – Color of the object. Should be one of existing colors.
**comments (str, optional) – Comments string.
**details-level (str, optional) – The level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object.
**groups (Union(str,List[str]), optional) – Collection of group identifiers.
**ignore-warnings (bool, optional) – Apply changes ignoring warnings. Defaults to False
**ignore-errors (bool, optional) – Apply changes ignoring errors. You won’t be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. Defaults to False
- Returns
The response from the server
- Return type
Box
Examples
>>> firewallManagement.service_applications.service_citrix_tcp.add( ... name="mycitrixtcp", ... application="My Citrix Application", ... tags=["t1"])
- delete(uid=None, name=None, **kw)#
Delete existing object using object name or uid.
- Parameters
- Keyword Arguments
**details-level (str, optional) – The level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object.
**ignore-warnings (bool, optional) – Apply changes ignoring warnings. Defaults to False
**ignore-errors (bool, optional) – Apply changes ignoring errors. You won’t be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. Defaults to False
- Returns
The response from the server
- Return type
Box
Examples
>>> FirewallManagement.service_applications.service_citrix_tcp.delete( uid="ed997ff8-6709-4d71-a713-99bf01711cd5")
- set(uid=None, name=None, application=None, new_name=None, tags=None, **kw)#
Edit existing object using object name or uid.
- Parameters
- Keyword Arguments
**color (Color, optional) – Color of the object. Should be one of existing colors.
**comments (str, optional) – Comments string.
**details-level (str, optional) – The level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object.
**groups (Union(str,List[str]), optional) – Collection of group identifiers.
**ignore-warnings (bool, optional) – Apply changes ignoring warnings. Defaults to False
**ignore-errors (bool, optional) – Apply changes ignoring errors. You won’t be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored. Defaults to False
- Returns
The response from the server
- Return type
Box
Examples
>>> firewallManagement.service_applications.service_citrix_tcp.set( ... uid="3464de87-7e4c-4dde-8b67-89cf2f46c32c", ... new_name="mycitrixtcp", ... application="My Citrix Application", ... tags=["t1"])
- show(uid=None, name=None, **kw)#
Retrieve existing object using object name or uid.
- Parameters
- Keyword Arguments
**details-level (str, optional) – The level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object.
- Returns
The response from the server
- Return type
Box
Examples
>>> FirewallManagement.service_applications.service_citrix_tcp.show(uid="ed997ff8-6709-4d71-a713-99bf01711cd5")
- show_services_citrix_tcp(filter_results=None, limit=50, offset=0, order=None, **kw)#
Retrieve all objects.
- Parameters
filter_results (str, optional) – Search expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The logical operators in the expression (‘AND’, ‘OR’) should be provided in capital letters. he search involves both a IP search and a textual search in name, comment, tags etc.
limit (int, optional) – The maximal number of returned results. Defaults to 50 (between 1 and 500)
offset (int, optional) – Number of the results to initially skip. Defaults to 0
order (List[dict], optional) – Sorts results by the given field. By default the results are sorted in the descending order by the session publish time.
- Returns
The response from the server
- Return type
Box
Examples
>>> FirewallManagement.service_applications.service_citrix_tcp.show_services_citrix_tcp()