ZosmfProfile

class core.zowe.core_for_zowe_sdk.ZosmfProfile(profile_name: str)

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.

param profile_name:

Zowe z/OSMF profile name

type profile_name:

str

load() ApiConnection

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

Returns:

z/OSMF connection object

Return type:

ApiConnection

property profiles_dir: str

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

Returns:

the os path for the Zowe z/OSMF profiles

Return type:

str