def get_storage_conn(storage_account=None, storage_key=None, conn_kwargs=None):
    '''
    .. versionadded:: 2015.8.0

    Return a storage_conn object for the storage account
    '''
    if conn_kwargs is None:
        conn_kwargs = {}

    if not storage_account:
        storage_account = config.get_cloud_config_value(
            'storage_account',
            get_configured_provider(), __opts__, search_global=False,
            default=conn_kwargs.get('storage_account', None)
        )
    if not storage_key:
        storage_key = config.get_cloud_config_value(
            'storage_key',
            get_configured_provider(), __opts__, search_global=False,
            default=conn_kwargs.get('storage_key', None)
        )
    return azure.storage.BlobService(storage_account, storage_key)
def get_storage_conn ( storage_account = None , storage_key = None , conn_kwargs = None ) : if conn_kwargs is None : conn_kwargs = { } if not storage_account : storage_account = config . get_cloud_config_value ( 'storage_account' , get_configured_provider ( ) , __opts__ , search_global = False , default = conn_kwargs . get ( 'storage_account' , None ) ) if not storage_key : storage_key = config . get_cloud_config_value ( 'storage_key' , get_configured_provider ( ) , __opts__ , search_global = False , default = conn_kwargs . get ( 'storage_key' , None ) ) return azure . storage . BlobService ( storage_account , storage_key )
.. versionadded:: 2015.8.0

    Return a storage_conn object for the storage account