ZosmfProfile

class core.zowe.core_for_zowe_sdk.ZosmfProfile(profile_name)

Class used to represent a Zowe z/OSMF profile.

Description

This class is only used when there is already a Zowe z/OSMF profile created and the user opted to use the profile instead of passing the credentials directly in the object constructor.

profile_name

Zowe z/OSMF profile name

Type:

str

load()

Load z/OSMF connection details from a z/OSMF profile.

Returns:

z/OSMF connection object

Return type:

zosmf_connection

property profiles_dir

Return the os path for the Zowe z/OSMF profiles.