sdk/python/pulumi_azure_nextgen/containerregistry/v20191201preview/list_registry_credentials.py
def list_registry_credentials(registry_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListRegistryCredentialsResult:
    """
    The response from the ListCredentials operation.


    :param str registry_name: The name of the container registry.
    :param str resource_group_name: The name of the resource group to which the container registry belongs.
    """
    __args__ = dict()
    __args__['registryName'] = registry_name
    __args__['resourceGroupName'] = resource_group_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:containerregistry/v20191201preview:listRegistryCredentials', __args__, opts=opts, typ=ListRegistryCredentialsResult).value

    return AwaitableListRegistryCredentialsResult(
        passwords=__ret__.passwords,
        username=__ret__.username)

    The response from the ListCredentials operation.


    :param str registry_name: The name of the container registry.
    :param str resource_group_name: The name of the resource group to which the container registry belongs.
    
The response from the ListCredentials operation.
The response from the ListCredentials operation .
def list_registry_credentials(registry_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListRegistryCredentialsResult:
    __args__ = dict()
    __args__['registryName'] = registry_name
    __args__['resourceGroupName'] = resource_group_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:containerregistry/v20191201preview:listRegistryCredentials', __args__, opts=opts, typ=ListRegistryCredentialsResult).value
    return AwaitableListRegistryCredentialsResult(
        passwords=__ret__.passwords,
        username=__ret__.username)
def list_registry_credentials ( registry_name : Optional [ str ] = None , resource_group_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListRegistryCredentialsResult : __args__ = dict ( ) __args__ [ 'registryName' ] = registry_name __args__ [ 'resourceGroupName' ] = resource_group_name if opts is None : opts = pulumi . InvokeOptions ( ) if opts . version is None : opts . version = _utilities . get_version ( ) __ret__ = pulumi . runtime . invoke ( 'azure-nextgen:containerregistry/v20191201preview:listRegistryCredentials' , __args__ , opts = opts , typ = ListRegistryCredentialsResult ) . value return AwaitableListRegistryCredentialsResult ( passwords = __ret__ . passwords , username = __ret__ . username )
The response from the ListCredentials operation.
The response from the ListCredentials operation .
"""
    The response from the ListCredentials operation.


    :param str registry_name: The name of the container registry.
    :param str resource_group_name: The name of the resource group to which the container registry belongs.
    """
registry_name
Optional[str]
The name of the container registry.
The name of the container registry .
resource_group_name
Optional[str]
The name of the resource group to which the container registry belongs.
The name of the resource group to which the container registry belongs .
opts
Optional[pulumi.InvokeOptions]