@@ -124,10 +124,10 @@ account_name=os.getenv("FILE_SHARE_ACCOUNTNAME", "<my-account-name>") # Storage
124
124
account_key=os.getenv("FILE_SHARE_ACCOUNT_KEY", "<my-account-key>") # Storage account key
125
125
126
126
file_datastore = Datastore.register_azure_file_share(workspace=ws,
127
- datastore_name=file_datastore_name,
128
- file_share_name=file_share_name,
129
- account_name=account_name,
130
- account_key=account_key)
127
+ datastore_name=file_datastore_name,
128
+ file_share_name=file_share_name,
129
+ account_name=account_name,
130
+ account_key=account_key)
131
131
```
132
132
133
133
#### Azure Data Lake Storage Generation 2
@@ -147,13 +147,13 @@ tenant_id=os.getenv("ADLSGEN2_TENANT", "<my_tenant_id>") # tenant id of service
147
147
client_id=os.getenv("ADLSGEN2_CLIENTID", "<my_client_id>") # client id of service principal
148
148
client_secret=os.getenv("ADLSGEN2_CLIENT_SECRET", "<my_client_secret>") # the secret of service principal
149
149
150
- adlsgen2_datastore = Datastore.register_azure_data_lake_gen2( workspace=ws,
151
- datastore_name=adlsgen2_datastore_name,
152
- account_name=account_name, # ADLS Gen2 account name
153
- filesystem='test', # ADLS Gen2 filesystem
154
- tenant_id=tenant_id, # tenant id of service principal
155
- client_id=client_id, # client id of service principal
156
- client_secret=client_secret) # the secret of service principal
150
+ adlsgen2_datastore = Datastore.register_azure_data_lake_gen2(workspace=ws,
151
+ datastore_name=adlsgen2_datastore_name,
152
+ account_name=account_name, # ADLS Gen2 account name
153
+ filesystem='test', # ADLS Gen2 filesystem
154
+ tenant_id=tenant_id, # tenant id of service principal
155
+ client_id=client_id, # client id of service principal
156
+ client_secret=client_secret) # the secret of service principal
157
157
```
158
158
159
159
### Azure Machine Learning studio
0 commit comments