Zosmf

class zosmf.zowe.zosmf_for_zowe_sdk.Zosmf(connection: dict[str, Any], log: bool = True)

Class used to represent the base z/OSMF API.

Parameters:
  • connection (dict[str, Any]) – The z/OSMF connection object (generated by the ZoweSDK object)

  • log (bool) – Flag to disable logger

get_info() ZosmfResponse

Return a JSON response from the GET request to z/OSMF info endpoint.

Returns:

A JSON containing the z/OSMF Info REST API data

Return type:

ZosmfResponse

list_systems() ZosmfResponse

Return a JSON response from the GET request to z/OSMF info endpoint.

Returns:

Return a list of the systems that are defined to a z/OSMF instance

Return type:

ZosmfResponse