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


    :param str name: Name of web app
    :param str resource_group_name: Name of resource group
    :param str slot: Name of web app slot. If not specified then will default to production slot.
    """
    __args__ = dict()
    __args__['name'] = name
    __args__['resourceGroupName'] = resource_group_name
    __args__['slot'] = slot
    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:listSitePublishingCredentialsSlot', __args__, opts=opts, typ=ListSitePublishingCredentialsSlotResult).value

    return AwaitableListSitePublishingCredentialsSlotResult(
        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
    :param str slot: Name of web app slot. If not specified then will default to production slot.
    
Represents user credentials used for publishing activity
Represents user credentials used for publishing activity
def list_site_publishing_credentials_slot(name: Optional[str] = None,
                                          resource_group_name: Optional[str] = None,
                                          slot: Optional[str] = None,
                                          opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListSitePublishingCredentialsSlotResult:
    __args__ = dict()
    __args__['name'] = name
    __args__['resourceGroupName'] = resource_group_name
    __args__['slot'] = slot
    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:listSitePublishingCredentialsSlot', __args__, opts=opts, typ=ListSitePublishingCredentialsSlotResult).value
    return AwaitableListSitePublishingCredentialsSlotResult(
        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_slot ( name : Optional [ str ] = None , resource_group_name : Optional [ str ] = None , slot : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListSitePublishingCredentialsSlotResult : __args__ = dict ( ) __args__ [ 'name' ] = name __args__ [ 'resourceGroupName' ] = resource_group_name __args__ [ 'slot' ] = slot 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:listSitePublishingCredentialsSlot' , __args__ , opts = opts , typ = ListSitePublishingCredentialsSlotResult ) . value return AwaitableListSitePublishingCredentialsSlotResult ( 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
    :param str slot: Name of web app slot. If not specified then will default to production slot.
    """
name
Optional[str]
Name of web app
Name of web app
resource_group_name
Optional[str]
Name of resource group
Name of resource group
slot
Optional[str]
Name of web app slot. If not specified then will default to production slot.
Name of web app slot . If not specified then will default to production slot .
opts
Optional[pulumi.InvokeOptions]