def show_storage_container(kwargs=None, storage_conn=None, call=None):
    '''
    .. versionadded:: 2015.8.0

    Show a container associated with the storage account

    CLI Example:

    .. code-block:: bash

        salt-cloud -f show_storage_container my-azure name=myservice

    name:
        Name of container to show.
    '''
    if call != 'function':
        raise SaltCloudSystemExit(
            'The show_storage_container function must be called with -f or --function.'
        )

    if kwargs is None:
        kwargs = {}

    if 'name' not in kwargs:
        raise SaltCloudSystemExit('An storage container name must be specified as "name"')

    if not storage_conn:
        storage_conn = get_storage_conn(conn_kwargs=kwargs)

    data = storage_conn.get_container_properties(
        container_name=kwargs['name'],
        x_ms_lease_id=kwargs.get('lease_id', None),
    )
    return data
def show_storage_container ( kwargs = None , storage_conn = None , call = None ) : if call != 'function' : raise SaltCloudSystemExit ( 'The show_storage_container function must be called with -f or --function.' ) if kwargs is None : kwargs = { } if 'name' not in kwargs : raise SaltCloudSystemExit ( 'An storage container name must be specified as "name"' ) if not storage_conn : storage_conn = get_storage_conn ( conn_kwargs = kwargs ) data = storage_conn . get_container_properties ( container_name = kwargs [ 'name' ] , x_ms_lease_id = kwargs . get ( 'lease_id' , None ) , ) return data
.. versionadded:: 2015.8.0

    Show a container associated with the storage account

    CLI Example:

    .. code-block:: bash

        salt-cloud -f show_storage_container my-azure name=myservice

    name:
        Name of container to show.