sdk/python/pulumi_azure_nextgen/redhatopenshift/latest/list_open_shift_cluster_credentials.py
def list_open_shift_cluster_credentials(resource_group_name: Optional[str] = None,
                                        resource_name: Optional[str] = None,
                                        opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListOpenShiftClusterCredentialsResult:
    """
    OpenShiftClusterCredentials represents an OpenShift cluster's credentials
    Latest API Version: 2020-04-30.


    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str resource_name: The name of the OpenShift cluster resource.
    """
    pulumi.log.warn("list_open_shift_cluster_credentials is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:redhatopenshift:listOpenShiftClusterCredentials'.")
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['resourceName'] = resource_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:redhatopenshift/latest:listOpenShiftClusterCredentials', __args__, opts=opts, typ=ListOpenShiftClusterCredentialsResult).value

    return AwaitableListOpenShiftClusterCredentialsResult(
        kubeadmin_password=__ret__.kubeadmin_password,
        kubeadmin_username=__ret__.kubeadmin_username)

    OpenShiftClusterCredentials represents an OpenShift cluster's credentials
    Latest API Version: 2020-04-30.


    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str resource_name: The name of the OpenShift cluster resource.
    
OpenShiftClusterCredentials represents an OpenShift cluster's credentials
Latest API Version: 2020-04-30.
OpenShiftClusterCredentials represents an OpenShift cluster ' s credentials Latest API Version : 2020 - 04 - 30 .
def list_open_shift_cluster_credentials(resource_group_name: Optional[str] = None,
                                        resource_name: Optional[str] = None,
                                        opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListOpenShiftClusterCredentialsResult:
    pulumi.log.warn("list_open_shift_cluster_credentials is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:redhatopenshift:listOpenShiftClusterCredentials'.")
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['resourceName'] = resource_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:redhatopenshift/latest:listOpenShiftClusterCredentials', __args__, opts=opts, typ=ListOpenShiftClusterCredentialsResult).value
    return AwaitableListOpenShiftClusterCredentialsResult(
        kubeadmin_password=__ret__.kubeadmin_password,
        kubeadmin_username=__ret__.kubeadmin_username)
def list_open_shift_cluster_credentials ( resource_group_name : Optional [ str ] = None , resource_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListOpenShiftClusterCredentialsResult : pulumi . log . warn ( "list_open_shift_cluster_credentials is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:redhatopenshift:listOpenShiftClusterCredentials'." ) __args__ = dict ( ) __args__ [ 'resourceGroupName' ] = resource_group_name __args__ [ 'resourceName' ] = resource_name if opts is None : opts = pulumi . InvokeOptions ( ) if opts . version is None : opts . version = _utilities . get_version ( ) __ret__ = pulumi . runtime . invoke ( 'azure-nextgen:redhatopenshift/latest:listOpenShiftClusterCredentials' , __args__ , opts = opts , typ = ListOpenShiftClusterCredentialsResult ) . value return AwaitableListOpenShiftClusterCredentialsResult ( kubeadmin_password = __ret__ . kubeadmin_password , kubeadmin_username = __ret__ . kubeadmin_username )
OpenShiftClusterCredentials represents an OpenShift cluster's credentials
Latest API Version: 2020-04-30.
OpenShiftClusterCredentials represents an OpenShift cluster ' s credentials Latest API Version : 2020 - 04 - 30 .
"""
    OpenShiftClusterCredentials represents an OpenShift cluster's credentials
    Latest API Version: 2020-04-30.


    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str resource_name: The name of the OpenShift cluster resource.
    """
resource_group_name
Optional[str]
The name of the resource group. The name is case insensitive.
The name of the resource group . The name is case insensitive .
resource_name
Optional[str]
The name of the OpenShift cluster resource.
The name of the OpenShift cluster resource .
opts
Optional[pulumi.InvokeOptions]