123456789101112131415161718192021222324 |
- def run_all_samples(self, account):
- table_service = account.create_table_service()
- print('Azure Storage Advanced Table samples - Starting.')
-
- print('\n\n* List tables *\n')
- self.list_tables(table_service)
-
- if not account.is_azure_cosmosdb_table():
- print('\n\n* Set service properties *\n')
- self.set_service_properties(table_service)
-
- print('\n\n* Set Cors rules *\n')
- self.set_cors_rules(table_service)
-
- print('\n\n* ACL operations *\n')
- self.table_acl_operations(table_service)
-
- if (config.IS_EMULATED):
- print('\n\n* Shared Access Signature is not supported in emulator *\n')
- else:
- print('\n\n* SAS operations *\n')
- self.table_operations_with_sas(account)
- print('\nAzure Storage Advanced Table samples - Completed.\n')
|