Skip to content

Commit

Permalink
fix(docs): correct the flow examples of azure
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutimantri committed Feb 17, 2024
1 parent 17bc489 commit 359a200
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions src/main/java/io/kestra/plugin/azure/cli/AzCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
title = "List Azure Active Directory users for the currently authenticated tenant.",
code = {
"username: \"<appId>\"",
"password: \"{{secret('AZURE_SERVICE_PRINCIPAL_PASSWORD')}}\"",
"tenant: \"{{secret('AZURE_TENANT_ID')}}\"",
"password: \"{{ secret('AZURE_SERVICE_PRINCIPAL_PASSWORD') }}\"",
"tenant: \"{{ secret('AZURE_TENANT_ID') }}\"",
"commands:",
" - az ad user list"
}
Expand All @@ -49,7 +49,7 @@
title = "List all successfully provisioned VMs using a Service Principal authentication.",
code = {
"username: \"<app-id>\"",
"password: \"secret('az-sp-pass-or-cert')\"",
"password: \"{{ secret('AZURE_SERVICE_PRINCIPAL_PASSWORD') }}\"",
"tenant: \"<tenant-id>\"",
"servicePrincipal: true",
"commands:",
Expand All @@ -72,9 +72,9 @@
tasks:
- id: list-locations
type: io.kestra.plugin.azure.cli.AzCLI
tenant: {{secret('AZURE_TENANT_ID')}}
username: {{secret('AZURE_SERVICE_PRINCIPAL_CLIENT_ID')}}
password: {{secret('AZURE_SERVICE_PRINCIPAL_PASSWORD')}}
tenant: {{ secret('AZURE_TENANT_ID') }}
username: {{ secret('AZURE_SERVICE_PRINCIPAL_CLIENT_ID') }}
password: {{ secret('AZURE_SERVICE_PRINCIPAL_PASSWORD') }}
servicePrincipal: true
commands:
- az account list-locations --query "[].{Region:name}" -o table"""
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/kestra/plugin/azure/storage/table/Bulk.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
examples = {
@Example(
code = {
"endpoint: \"https://yourblob.blob.core.windows.net\"",
"endpoint: \"https://yourstorageaccount.blob.core.windows.net\"",
"connectionString: \"DefaultEndpointsProtocol=...==\"",
"table: \"mydata\"",
"table: \"table_name\"",
"from:",
" - partitionKey: \"color\"",
" rowKey: \"green\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
examples = {
@Example(
code = {
"endpoint: \"https://yourblob.blob.core.windows.net\"",
"endpoint: \"https://yourstorageaccount.table.core.windows.net\"",
"connectionString: \"DefaultEndpointsProtocol=...==\"",
"table: \"mydata\"",
"table: \"table_name\"",
"partitionKey: \"color\"",
"rowKey: \"green\""
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/kestra/plugin/azure/storage/table/Get.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
examples = {
@Example(
code = {
"endpoint: \"https://yourblob.blob.core.windows.net\"",
"endpoint: \"https://yourstorageaccount.table.core.windows.net\"",
"connectionString: \"DefaultEndpointsProtocol=...==\"",
"table: \"mydata\"",
"table: \"table_name\"",
"partitionKey: \"color\"",
"rowKey: \"green\""
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/kestra/plugin/azure/storage/table/List.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
examples = {
@Example(
code = {
"endpoint: \"https://yourblob.blob.core.windows.net\"",
"endpoint: \"https://yourstorageaccount.table.core.windows.net\"",
"connectionString: \"DefaultEndpointsProtocol=...==\"",
"table: \"mydata\"",
"table: \"table_name\"",
}
)
}
Expand Down

0 comments on commit 359a200

Please sign in to comment.