'Generate a container URL with SAS token.'

def _generate_container_sas_token(self):

    if self.live:
        import azure.storage.blob as storage
        permission = storage.ContainerPermissions(True, True, True, True)
        sas_token = self.storage_data_client.generate_container_shared_access_signature(OUTPUT_CONTAINER, permission=permission, expiry=(datetime.datetime.utcnow() + datetime.timedelta(hours=2)))
        url = '{}://{}/{}?{}'.format(self.storage_data_client.protocol, self.storage_data_client.primary_endpoint, OUTPUT_CONTAINER, sas_token)
    else:
        url = 'test_container_sas'
    return url
