diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..f821222 --- /dev/null +++ b/404.html @@ -0,0 +1,22 @@ + + +
+ + +az login
az account set --subscription "<subscription id> or <subscription name>"
az configure --defaults group=<resource group> location=<location>
az account list
az login
az account set --subscription "<subscription id> or <subscription name>"
az configure --defaults group=<resource group> location=<location>
az account list
az cosmosdb create \\
+ --name msl-sigr-cosmos-$(openssl rand -hex 5) \\
+ --resource-group <resource group name>
az cosmosdb list \\
+ --resource-group <resource group name>
COSMOSDB_ACCOUNT_NAME=$(az cosmosdb list \\
+ --resource-group <resource group name> \\
+ --query [0].name -o tsv)
COSMOSDB_CONNECTION_STRING=$(az cosmosdb list-connection-strings \\
+ --name <cosmos db account name> \\
+ --resource-group <resource group name> \\
+ --query "connectionStrings[?description=='Primary SQL Connection String'].connectionString" -o tsv)
COSMOSDB_MASTER_KEY=$(az cosmosdb list-keys \\
+ --name <cosmos db account name> \\
+ --resource-group <resource group name> \\
+ --query primaryMasterKey -o tsv)
az cosmosdb create \\
+ --name msl-sigr-cosmos-$(openssl rand -hex 5) \\
+ --resource-group <resource group name>
az cosmosdb list \\
+ --resource-group <resource group name>
COSMOSDB_ACCOUNT_NAME=$(az cosmosdb list \\
+ --resource-group <resource group name> \\
+ --query [0].name -o tsv)
COSMOSDB_CONNECTION_STRING=$(az cosmosdb list-connection-strings \\
+ --name <cosmos db account name> \\
+ --resource-group <resource group name> \\
+ --query "connectionStrings[?description=='Primary SQL Connection String'].connectionString" -o tsv)
COSMOSDB_MASTER_KEY=$(az cosmosdb list-keys \\
+ --name <cosmos db account name> \\
+ --resource-group <resource group name> \\
+ --query primaryMasterKey -o tsv)
az eventhubs eventhub create --name <event hub name> --namespace-name <event hub namespace name>
az eventhubs namespace create \\
+ --name <eventhub namespace name>
+ --resource-group <resource group name>
+ --l <location>
+ --sku <basic/standard>
az eventhubs namespace authorization-rule keys list \\
+ --name RootManageSharedAccessKey \\
+ --resource-group <resource group name> \\
+ --namespace-name <eventhub namespace name>
az eventhubs eventhub create --name <event hub name> --namespace-name <event hub namespace name>
az eventhubs namespace create \\
+ --name <eventhub namespace name>
+ --resource-group <resource group name>
+ --l <location>
+ --sku <basic/standard>
az eventhubs namespace authorization-rule keys list \\
+ --name RootManageSharedAccessKey \\
+ --resource-group <resource group name> \\
+ --namespace-name <eventhub namespace name>
func init
Result
TIP
This result from version 3 of Azure Function Core Tools. Sometimes will different result, please find another reference for your installed CLI if have difference.
func new
Result
TIP
This result from version 3 of Azure Function Core Tools. Sometimes will different result, please find another reference for your installed CLI if have difference.
func start
Result
TIP
This result from version 3 of Azure Function Core Tools. Sometimes will different result, please find another reference for your installed CLI if have difference. Also keep in mind, this result maybe different for another language. The current project use dotnet.
func azure functionapp publish <app_name>
TIP
<app_name>
is the name of the target function app in Azure, not the name of your project folder, which can be different.
az functionapp create \\
+ --resource-group "$RESOURCEGROUP" \\
+ --name "$FUNCTIONAPP" \\
+ --storage-account "$STORAGEACCT" \\
+ --runtime node \\
+ --consumption-plan-location centralus \\
+ --functions-version 2
func init
Result
TIP
This result from version 3 of Azure Function Core Tools. Sometimes will different result, please find another reference for your installed CLI if have difference.
func new
Result
TIP
This result from version 3 of Azure Function Core Tools. Sometimes will different result, please find another reference for your installed CLI if have difference.
func start
Result
TIP
This result from version 3 of Azure Function Core Tools. Sometimes will different result, please find another reference for your installed CLI if have difference. Also keep in mind, this result maybe different for another language. The current project use dotnet.
func azure functionapp publish <app_name>
TIP
<app_name>
is the name of the target function app in Azure, not the name of your project folder, which can be different.
az functionapp create \\
+ --resource-group "$RESOURCEGROUP" \\
+ --name "$FUNCTIONAPP" \\
+ --storage-account "$STORAGEACCT" \\
+ --runtime node \\
+ --consumption-plan-location centralus \\
+ --functions-version 2
Preparation for AZ-204, collection of usefull command to have more knowledge and pass your certification!
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
',29)]))}const p=e(i,[["render",t]]);export{d as __pageData,p as default}; diff --git a/assets/index.md.BgkFRsss.lean.js b/assets/index.md.BgkFRsss.lean.js new file mode 100644 index 0000000..109b81a --- /dev/null +++ b/assets/index.md.BgkFRsss.lean.js @@ -0,0 +1 @@ +import{_ as e,c as o,a0 as l,o as r}from"./chunks/framework.CszLKGQh.js";const d=JSON.parse('{"title":"Azure CLI Glossary","description":"","frontmatter":{"sidebar":"auto","footer":"MIT Licensed and CC BY 4.0 | Copyright © 2020-present Bervianto Leo Pratama"},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),i={name:"index.md"};function t(s,a,n,u,c,h){return r(),o("div",null,a[0]||(a[0]=[l('Preparation for AZ-204, collection of usefull command to have more knowledge and pass your certification!
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
',29)]))}const p=e(i,[["render",t]]);export{d as __pageData,p as default}; diff --git a/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 b/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 new file mode 100644 index 0000000..b6b603d Binary files /dev/null and b/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 differ diff --git a/assets/inter-italic-cyrillic.By2_1cv3.woff2 b/assets/inter-italic-cyrillic.By2_1cv3.woff2 new file mode 100644 index 0000000..def40a4 Binary files /dev/null and b/assets/inter-italic-cyrillic.By2_1cv3.woff2 differ diff --git a/assets/inter-italic-greek-ext.1u6EdAuj.woff2 b/assets/inter-italic-greek-ext.1u6EdAuj.woff2 new file mode 100644 index 0000000..e070c3d Binary files /dev/null and b/assets/inter-italic-greek-ext.1u6EdAuj.woff2 differ diff --git a/assets/inter-italic-greek.DJ8dCoTZ.woff2 b/assets/inter-italic-greek.DJ8dCoTZ.woff2 new file mode 100644 index 0000000..a3c16ca Binary files /dev/null and b/assets/inter-italic-greek.DJ8dCoTZ.woff2 differ diff --git a/assets/inter-italic-latin-ext.CN1xVJS-.woff2 b/assets/inter-italic-latin-ext.CN1xVJS-.woff2 new file mode 100644 index 0000000..2210a89 Binary files /dev/null and b/assets/inter-italic-latin-ext.CN1xVJS-.woff2 differ diff --git a/assets/inter-italic-latin.C2AdPX0b.woff2 b/assets/inter-italic-latin.C2AdPX0b.woff2 new file mode 100644 index 0000000..790d62d Binary files /dev/null and b/assets/inter-italic-latin.C2AdPX0b.woff2 differ diff --git a/assets/inter-italic-vietnamese.BSbpV94h.woff2 b/assets/inter-italic-vietnamese.BSbpV94h.woff2 new file mode 100644 index 0000000..1eec077 Binary files /dev/null and b/assets/inter-italic-vietnamese.BSbpV94h.woff2 differ diff --git a/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 b/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 new file mode 100644 index 0000000..2cfe615 Binary files /dev/null and b/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 differ diff --git a/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 b/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 new file mode 100644 index 0000000..e3886dd Binary files /dev/null and b/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 differ diff --git a/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 b/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 new file mode 100644 index 0000000..36d6748 Binary files /dev/null and b/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 differ diff --git a/assets/inter-roman-greek.BBVDIX6e.woff2 b/assets/inter-roman-greek.BBVDIX6e.woff2 new file mode 100644 index 0000000..2bed1e8 Binary files /dev/null and b/assets/inter-roman-greek.BBVDIX6e.woff2 differ diff --git a/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 b/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 new file mode 100644 index 0000000..9a8d1e2 Binary files /dev/null and b/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 differ diff --git a/assets/inter-roman-latin.Di8DUHzh.woff2 b/assets/inter-roman-latin.Di8DUHzh.woff2 new file mode 100644 index 0000000..07d3c53 Binary files /dev/null and b/assets/inter-roman-latin.Di8DUHzh.woff2 differ diff --git a/assets/inter-roman-vietnamese.BjW4sHH5.woff2 b/assets/inter-roman-vietnamese.BjW4sHH5.woff2 new file mode 100644 index 0000000..57bdc22 Binary files /dev/null and b/assets/inter-roman-vietnamese.BjW4sHH5.woff2 differ diff --git a/assets/keyvault_index.md.d4x3OeL-.js b/assets/keyvault_index.md.d4x3OeL-.js new file mode 100644 index 0000000..8d700c0 --- /dev/null +++ b/assets/keyvault_index.md.d4x3OeL-.js @@ -0,0 +1,5 @@ +import{_ as a,c as i,a0 as t,o as e}from"./chunks/framework.CszLKGQh.js";const F=JSON.parse('{"title":"Key Vault","description":"","frontmatter":{"sidebar":"auto","footer":"MIT Licensed and CC BY 4.0 | Copyright © 2020-present Bervianto Leo Pratama"},"headers":[],"relativePath":"keyvault/index.md","filePath":"keyvault/index.md"}'),n={name:"keyvault/index.md"};function l(h,s,k,p,r,d){return e(),i("div",null,s[0]||(s[0]=[t(`az keyvault create \\
+ --resource-group <resource-group> \\
+ --name <your-unique-vault-name>
az keyvault show \\
+ --name <secret name> \\
+ --vault-name <key vault>
az keyvault create \\
+ --resource-group <resource-group> \\
+ --name <your-unique-vault-name>
az keyvault show \\
+ --name <secret name> \\
+ --vault-name <key vault>
az logic workflow create --definition <json file location> \\
+ --location <location> \\
+ --name <logic app name> \\
+ --resource-group <resource group name>
+ [--access-control]
+ [--endpoints-configuration]
+ [--integration-account]
+ [--integration-service-environment]
+ [--state {Completed, Deleted, Disabled, Enabled, NotSpecified, Suspended}]
+ [--tags]
az logic workflow delete --name
+ --resource-group
+ [--yes]
az logic workflow show --name
+ --resource-group
az logic workflow list [--filter]
+ [--resource-group]
+ [--top]
az logic workflow create --definition <json file location> \\
+ --location <location> \\
+ --name <logic app name> \\
+ --resource-group <resource group name>
+ [--access-control]
+ [--endpoints-configuration]
+ [--integration-account]
+ [--integration-service-environment]
+ [--state {Completed, Deleted, Disabled, Enabled, NotSpecified, Suspended}]
+ [--tags]
az logic workflow delete --name
+ --resource-group
+ [--yes]
az logic workflow show --name
+ --resource-group
az logic workflow list [--filter]
+ [--resource-group]
+ [--top]
az group create --name <name> --location <location>
az group list
az group delete --name <resource group name> --no-wait --yes
az group create --name <name> --location <location>
az group list
az group delete --name <resource group name> --no-wait --yes
az storage account create \\
+ --resource-group "$RESOURCEGROUP" \\
+ --name "$STORAGEACCT" \\
+ --kind StorageV2 \\
+ --location centralus \\
+ --sku Standard_LRS
TIP
More information click here
az storage account keys list \\
+ --account-name <storage name> \\
+ --resource-group <resource group name>
az storage account show-connection-string \\
+ --name <storage name> \\
+ --resource-group <resource group name>
STORAGE_CONNECTION_STRING=$(az storage account show-connection-string \\
+ --name $(az storage account list \\
+ --resource-group <resource group name> \\
+ --query [0].name -o tsv) \\
+ --resource-group <resource group name> \\
+ --query "connectionString" -o tsv)
az storage blob list \\
+ --account-name <storage name> \\
+ --container-name <container name> \\
+ --query '[].{Name:name}' \\
+ --output table
az storage queue delete --name <storage name> --connection-string <connection-string>
az storage account create \\
+ --resource-group "$RESOURCEGROUP" \\
+ --name "$STORAGEACCT" \\
+ --kind StorageV2 \\
+ --location centralus \\
+ --sku Standard_LRS
TIP
More information click here
az storage account keys list \\
+ --account-name <storage name> \\
+ --resource-group <resource group name>
az storage account show-connection-string \\
+ --name <storage name> \\
+ --resource-group <resource group name>
STORAGE_CONNECTION_STRING=$(az storage account show-connection-string \\
+ --name $(az storage account list \\
+ --resource-group <resource group name> \\
+ --query [0].name -o tsv) \\
+ --resource-group <resource group name> \\
+ --query "connectionString" -o tsv)
az storage blob list \\
+ --account-name <storage name> \\
+ --container-name <container name> \\
+ --query '[].{Name:name}' \\
+ --output table
az storage queue delete --name <storage name> --connection-string <connection-string>
az vm create \\
+ --resource-group <resource group> \\
+ --name <vm name> \\
+ --image <image name> \\
+ --admin-username <username> \\
+ --admin-password <password>
az vm open-port \\
+ --port <port> \\
+ --resource-group <resource group> \\
+ --name <vm name>
ipaddress=$(az vm show \\
+ --name <vm name> \\
+ --resource-group <resource group> \\
+ --show-details \\
+ --query [publicIps] \\
+ --output tsv)
az vm create \\
+ --resource-group <resource group> \\
+ --name <vm name> \\
+ --image <image name> \\
+ --admin-username <username> \\
+ --admin-password <password>
az vm open-port \\
+ --port <port> \\
+ --resource-group <resource group> \\
+ --name <vm name>
ipaddress=$(az vm show \\
+ --name <vm name> \\
+ --resource-group <resource group> \\
+ --show-details \\
+ --query [publicIps] \\
+ --output tsv)
az appservice plan create \\
+ --name <app service plan name> \\
+ --resource-group <resource group name> \\
+ --location <location> \\
+ --sku FREE
az webapp config appsettings set \\
+ --name <your-unique-app-name> \\
+ --resource-group <resource group name> \\
+ --settings '<key>=<value>' '<key>=<value>'
az webapp list --resource-group <resource-group-name>
az webapp list --resource-group <resource-group-name> --query "[?starts_with(name, 'api')]"
TIP
This search query not limited starts_with only
az webapp deployment source config \\
+ --name <web app name> \\
+ --resource-group <resource group> \\
+ --repo-url <url> \\
+ --branch <branch name> \\
+ --manual-integration
az webapp deployment source config-zip \\
+ --resource-group <resource-group-name> \\
+ --src <api location> \\
+ --name <name-of-your-api-app>
az appservice plan create \\
+ --name <app service plan name> \\
+ --resource-group <resource group name> \\
+ --location <location> \\
+ --sku FREE
az webapp config appsettings set \\
+ --name <your-unique-app-name> \\
+ --resource-group <resource group name> \\
+ --settings '<key>=<value>' '<key>=<value>'
az webapp list --resource-group <resource-group-name>
az webapp list --resource-group <resource-group-name> --query "[?starts_with(name, 'api')]"
TIP
This search query not limited starts_with only
az webapp deployment source config \\
+ --name <web app name> \\
+ --resource-group <resource group> \\
+ --repo-url <url> \\
+ --branch <branch name> \\
+ --manual-integration
az webapp deployment source config-zip \\
+ --resource-group <resource-group-name> \\
+ --src <api location> \\
+ --name <name-of-your-api-app>
az cosmosdb create \
+ --name msl-sigr-cosmos-$(openssl rand -hex 5) \
+ --resource-group <resource group name>
az cosmosdb list \
+ --resource-group <resource group name>
COSMOSDB_ACCOUNT_NAME=$(az cosmosdb list \
+ --resource-group <resource group name> \
+ --query [0].name -o tsv)
COSMOSDB_CONNECTION_STRING=$(az cosmosdb list-connection-strings \
+ --name <cosmos db account name> \
+ --resource-group <resource group name> \
+ --query "connectionStrings[?description=='Primary SQL Connection String'].connectionString" -o tsv)
COSMOSDB_MASTER_KEY=$(az cosmosdb list-keys \
+ --name <cosmos db account name> \
+ --resource-group <resource group name> \
+ --query primaryMasterKey -o tsv)
az eventhubs eventhub create --name <event hub name> --namespace-name <event hub namespace name>
az eventhubs namespace create \
+ --name <eventhub namespace name>
+ --resource-group <resource group name>
+ --l <location>
+ --sku <basic/standard>
az eventhubs namespace authorization-rule keys list \
+ --name RootManageSharedAccessKey \
+ --resource-group <resource group name> \
+ --namespace-name <eventhub namespace name>
func init
Result
TIP
This result from version 3 of Azure Function Core Tools. Sometimes will different result, please find another reference for your installed CLI if have difference.
func new
Result
TIP
This result from version 3 of Azure Function Core Tools. Sometimes will different result, please find another reference for your installed CLI if have difference.
func start
Result
TIP
This result from version 3 of Azure Function Core Tools. Sometimes will different result, please find another reference for your installed CLI if have difference. Also keep in mind, this result maybe different for another language. The current project use dotnet.
func azure functionapp publish <app_name>
TIP
<app_name>
is the name of the target function app in Azure, not the name of your project folder, which can be different.
az functionapp create \
+ --resource-group "$RESOURCEGROUP" \
+ --name "$FUNCTIONAPP" \
+ --storage-account "$STORAGEACCT" \
+ --runtime node \
+ --consumption-plan-location centralus \
+ --functions-version 2
Preparation for AZ-204, collection of usefull command to have more knowledge and pass your certification!
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
Please follow this link
az logic workflow create --definition <json file location> \
+ --location <location> \
+ --name <logic app name> \
+ --resource-group <resource group name>
+ [--access-control]
+ [--endpoints-configuration]
+ [--integration-account]
+ [--integration-service-environment]
+ [--state {Completed, Deleted, Disabled, Enabled, NotSpecified, Suspended}]
+ [--tags]
az logic workflow delete --name
+ --resource-group
+ [--yes]
az logic workflow show --name
+ --resource-group
az logic workflow list [--filter]
+ [--resource-group]
+ [--top]
az storage account create \
+ --resource-group "$RESOURCEGROUP" \
+ --name "$STORAGEACCT" \
+ --kind StorageV2 \
+ --location centralus \
+ --sku Standard_LRS
TIP
More information click here
az storage account keys list \
+ --account-name <storage name> \
+ --resource-group <resource group name>
az storage account show-connection-string \
+ --name <storage name> \
+ --resource-group <resource group name>
STORAGE_CONNECTION_STRING=$(az storage account show-connection-string \
+ --name $(az storage account list \
+ --resource-group <resource group name> \
+ --query [0].name -o tsv) \
+ --resource-group <resource group name> \
+ --query "connectionString" -o tsv)
az storage blob list \
+ --account-name <storage name> \
+ --container-name <container name> \
+ --query '[].{Name:name}' \
+ --output table
az storage queue delete --name <storage name> --connection-string <connection-string>
az vm create \
+ --resource-group <resource group> \
+ --name <vm name> \
+ --image <image name> \
+ --admin-username <username> \
+ --admin-password <password>
az vm open-port \
+ --port <port> \
+ --resource-group <resource group> \
+ --name <vm name>
ipaddress=$(az vm show \
+ --name <vm name> \
+ --resource-group <resource group> \
+ --show-details \
+ --query [publicIps] \
+ --output tsv)
az appservice plan create \
+ --name <app service plan name> \
+ --resource-group <resource group name> \
+ --location <location> \
+ --sku FREE
az webapp config appsettings set \
+ --name <your-unique-app-name> \
+ --resource-group <resource group name> \
+ --settings '<key>=<value>' '<key>=<value>'
az webapp list --resource-group <resource-group-name>
az webapp list --resource-group <resource-group-name> --query "[?starts_with(name, 'api')]"
TIP
This search query not limited starts_with only
az webapp deployment source config \
+ --name <web app name> \
+ --resource-group <resource group> \
+ --repo-url <url> \
+ --branch <branch name> \
+ --manual-integration
az webapp deployment source config-zip \
+ --resource-group <resource-group-name> \
+ --src <api location> \
+ --name <name-of-your-api-app>