![]() "client_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "tenant_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", Tenant_id: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXĬlient_id: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXĬlient_secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXįrom azure.ai.ml.entities import AzureDataLakeGen2Datastoreĭescription="Datastore pointing to an Azure Data Lake Storage Gen2.", "sas_token": "?xx=XXXX-XX-XX&xx=xxxx&xxx=xxx&xx=xxxxxxxxxxx&xx=XXXX-XX-XXXXX:XX:XXX&xx=XXXX-XX-XXXXX:XX:XXX&xxx=xxxxx&xxx=XXxXXXxxxxxXXXXXXXxXxxxXXXXXxxXXXXXxXXXXxXXXxXXxXX"Ĭreate the following YAML file (updating the values): # my_adls_datastore.ymlĭescription: Credential-less datastore pointing to an Azure Data Lake Storage Gen2.Ĭreate the Azure Machine Learning datastore in the CLI: az ml datastore create -file my_adls_datastore.ymlĭescription: Datastore pointing to an Azure Data Lake Storage Gen2. "account_key": "XXXxxxXXXxXXXXxxXXXXXxXXXXXxXxxXxXXXxXXXxXXxxxXXxxXXXxXxXXXxxXxxXXXXxxxxxXXxxxxxxXXXxXXX"ĭescription="Datastore pointing to a blob container using SAS token.", Sas_token: ?xx=XXXX-XX-XX&xx=xxxx&xxx=xxx&xx=xxxxxxxxxxx&xx=XXXX-XX-XXXXX:XX:XXX&xx=XXXX-XX-XXXXX:XX:XXX&xxx=xxxxx&xxx=XXxXXXxxxxxXXXXXXXxXxxxXXXXXxxXXXXXxXXXXxXXXxXXxXXįrom azure.ai.ml.entities import AzureBlobDatastoreĭescription="Datastore pointing to a blob container using wasbs protocol.", Name: my_blob_ds # add name of your datastore hereĭescription: here is a description # add a description of your datastore hereĪccount_name: my_account_name # add storage account name hereĬontainer_name: my_container_name # add storage container name hereĬreate the Azure Machine Learning datastore in the CLI: az ml datastore create -file my_blob_datastore.ymlĭescription: Datastore pointing to a blob container.Īccount_key: XXXxxxXXXxXXXXxxXXXXXxXXXXXxXxxXxXXXxXXXxXXxxxXXxxXXXxXxXXXxxXxxXXXXxxxxxXXxxxxxxXXXxXXXĭescription: Datastore pointing to a blob container using SAS token. Create the following YAML file (updating the values): # my_blob_datastore.yml
0 Comments
Leave a Reply. |