create_sandbox.py
def create_sandbox(piwebapi_url, asset_server, pi_server, user_name, user_password,
                   piwebapi_security_method, verify_ssl):
    """ Create the sandbox. Calls methods to create the structure needed by the other calls.
        @param piwebapi_url string: The URL of the PI Web API
        @param asset_server string: Name of the Asset Server
        @param pi_server string: Name of the PI Server
        @param user_name string: The user's credentials name
        @param user_password string: The user's credentials password
        @param piwebapi_security_method string: Security method: basic or kerberos
        @param verify_ssl: If certificate verification will be performed
    """
    create_database(piwebapi_url, asset_server, user_name,
                    user_password, piwebapi_security_method, verify_ssl)
    create_category(piwebapi_url, asset_server, user_name,
                    user_password, piwebapi_security_method, verify_ssl)
    create_template(piwebapi_url, asset_server, pi_server,
                    user_name, user_password, piwebapi_security_method, verify_ssl)
    create_element(piwebapi_url, asset_server, user_name,
                   user_password, piwebapi_security_method, verify_ssl)
    delete_element(piwebapi_url, asset_server, user_name,
                   user_password, piwebapi_security_method, verify_ssl)
    delete_template(piwebapi_url, asset_server, user_name,
                    user_password, piwebapi_security_method, verify_ssl)
    delete_category(piwebapi_url, asset_server, user_name,
                    user_password, piwebapi_security_method, verify_ssl)
    delete_database(piwebapi_url, asset_server, user_name,
                    user_password, piwebapi_security_method, verify_ssl)
 Create the sandbox. Calls methods to create the structure needed by the other calls.
        @param piwebapi_url string: The URL of the PI Web API
        @param asset_server string: Name of the Asset Server
        @param pi_server string: Name of the PI Server
        @param user_name string: The user's credentials name
        @param user_password string: The user's credentials password
        @param piwebapi_security_method string: Security method: basic or kerberos
        @param verify_ssl: If certificate verification will be performed
    
Create the sandbox. Calls methods to create the structure needed by the other calls.
Create the sandbox . Calls methods to create the structure needed by the other calls .
def create_sandbox(piwebapi_url, asset_server, pi_server, user_name, user_password,
                   piwebapi_security_method, verify_ssl):
    create_database(piwebapi_url, asset_server, user_name,
                    user_password, piwebapi_security_method, verify_ssl)
    create_category(piwebapi_url, asset_server, user_name,
                    user_password, piwebapi_security_method, verify_ssl)
    create_template(piwebapi_url, asset_server, pi_server,
                    user_name, user_password, piwebapi_security_method, verify_ssl)
    create_element(piwebapi_url, asset_server, user_name,
                   user_password, piwebapi_security_method, verify_ssl)
    delete_element(piwebapi_url, asset_server, user_name,
                   user_password, piwebapi_security_method, verify_ssl)
    delete_template(piwebapi_url, asset_server, user_name,
                    user_password, piwebapi_security_method, verify_ssl)
    delete_category(piwebapi_url, asset_server, user_name,
                    user_password, piwebapi_security_method, verify_ssl)
    delete_database(piwebapi_url, asset_server, user_name,
                    user_password, piwebapi_security_method, verify_ssl)
def create_sandbox ( piwebapi_url , asset_server , pi_server , user_name , user_password , piwebapi_security_method , verify_ssl ) : create_database ( piwebapi_url , asset_server , user_name , user_password , piwebapi_security_method , verify_ssl ) create_category ( piwebapi_url , asset_server , user_name , user_password , piwebapi_security_method , verify_ssl ) create_template ( piwebapi_url , asset_server , pi_server , user_name , user_password , piwebapi_security_method , verify_ssl ) create_element ( piwebapi_url , asset_server , user_name , user_password , piwebapi_security_method , verify_ssl ) delete_element ( piwebapi_url , asset_server , user_name , user_password , piwebapi_security_method , verify_ssl ) delete_template ( piwebapi_url , asset_server , user_name , user_password , piwebapi_security_method , verify_ssl ) delete_category ( piwebapi_url , asset_server , user_name , user_password , piwebapi_security_method , verify_ssl ) delete_database ( piwebapi_url , asset_server , user_name , user_password , piwebapi_security_method , verify_ssl )
Create the sandbox.
Create the sandbox .
""" Create the sandbox. Calls methods to create the structure needed by the other calls.
        @param piwebapi_url string: The URL of the PI Web API
        @param asset_server string: Name of the Asset Server
        @param pi_server string: Name of the PI Server
        @param user_name string: The user's credentials name
        @param user_password string: The user's credentials password
        @param piwebapi_security_method string: Security method: basic or kerberos
        @param verify_ssl: If certificate verification will be performed
    """
piwebapi_url
asset_server
pi_server
user_name
user_password
piwebapi_security_method
verify_ssl