Purpose
The config_azure command configures the Microsoft Azure Server in the DSA repository based on parameter files.
Syntax
config_azure -f|-file FILE
Example
config_azure -f file1.xml
Parameters
- f|file filename
- The full path and name of the file containing the necessary configuration parameters.
- u|user_authentication User
- Required when security management is enabled. Supplies the command with the Viewpoint user, and triggers a password prompt for authentication.
Usage Notes
You will need to enter an access_key for the Azure storage account. See https://docs.microsoft.com/en-us/azure/storage/storage-create-storage-account
XML File Example
A representative XML file is shown below. Note that the prefix_name should be followed by "/" to be used as a folder.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<dscConfigAzureBlobStorage xmlns="http://schemas.teradata.com/v2012/DSC">
<config_azure_blob_storage>
<!-- 'Storage account' - Required, max length 24, lowercase -->
<storage_account>azurerbuda</storage_account>
<!-- 'Storage account enumeration ' - Required, valid values: cool, hot -->
<storage_type>cool</storage_type>
<blobs>
<!--'Blob container name' - Required, max length 63, lowercase, at least one -->
<blob_container>udaesblob01</blob_container>
<prefix_list>
<!-- 'Prefix name' - Required, max length 256, at least one -->
<prefix_name>br186001-1</prefix_name>
<storage_devices>2</storage_devices>
</prefix_list>
</blobs>
<blobs>
<blob_container>udaesblob02</blob_container>
<prefix_list>
<prefix_name>br186001-2</prefix_name>
<storage_devices>2</storage_devices>
</prefix_list>
</blobs>
</config_azure_blob_storage>
</dscConfigAzureBlobStorage>