sdk/python/pulumi_azure_nextgen/web/v20150801/list_site_publishing_credentials.py
def list_site_publishing_credentials(name: Optional[str] = None,
                                     resource_group_name: Optional[str] = None,
                                     opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListSitePublishingCredentialsResult:
    """
    Represents user credentials used for publishing activity


    :param str name: Name of web app
    :param str resource_group_name: Name of resource group
    """
    __args__ = dict()
    __args__['name'] = 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:web/v20150801:listSitePublishingCredentials', __args__, opts=opts, typ=ListSitePublishingCredentialsResult).value

    return AwaitableListSitePublishingCredentialsResult(
        id=__ret__.id,
        kind=__ret__.kind,
        location=__ret__.location,
        name=__ret__.name,
        publishing_password=__ret__.publishing_password,
        publishing_user_name=__ret__.publishing_user_name,
        scm_uri=__ret__.scm_uri,
        tags=__ret__.tags,
        type=__ret__.type)

    Represents user credentials used for publishing activity


    :param str name: Name of web app
    :param str resource_group_name: Name of resource group
    
Represents user credentials used for publishing activity
Represents user credentials used for publishing activity
def list_site_publishing_credentials(name: Optional[str] = None,
                                     resource_group_name: Optional[str] = None,
                                     opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListSitePublishingCredentialsResult:
    __args__ = dict()
    __args__['name'] = 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:web/v20150801:listSitePublishingCredentials', __args__, opts=opts, typ=ListSitePublishingCredentialsResult).value
    return AwaitableListSitePublishingCredentialsResult(
        id=__ret__.id,
        kind=__ret__.kind,
        location=__ret__.location,
        name=__ret__.name,
        publishing_password=__ret__.publishing_password,
        publishing_user_name=__ret__.publishing_user_name,
        scm_uri=__ret__.scm_uri,
        tags=__ret__.tags,
        type=__ret__.type)
def list_site_publishing_credentials ( name : Optional [ str ] = None , resource_group_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListSitePublishingCredentialsResult : __args__ = dict ( ) __args__ [ 'name' ] = 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:web/v20150801:listSitePublishingCredentials' , __args__ , opts = opts , typ = ListSitePublishingCredentialsResult ) . value return AwaitableListSitePublishingCredentialsResult ( id = __ret__ . id , kind = __ret__ . kind , location = __ret__ . location , name = __ret__ . name , publishing_password = __ret__ . publishing_password , publishing_user_name = __ret__ . publishing_user_name , scm_uri = __ret__ . scm_uri , tags = __ret__ . tags , type = __ret__ . type )
Represents user credentials used for publishing activity
Represents user credentials used for publishing activity
"""
    Represents user credentials used for publishing activity


    :param str name: Name of web app
    :param str resource_group_name: Name of resource group
    """
name
Optional[str]
Name of web app
Name of web app
resource_group_name
Optional[str]
Name of resource group
Name of resource group
opts
Optional[pulumi.InvokeOptions]