共用方式為


az managedapp

管理獨立軟體供應商所提供的及維護範本解決方案(ISV)。

命令

名稱 Description 類型 狀態
az managedapp create

建立受控應用程式。

Core GA
az managedapp definition

管理 Azure 受控應用程式。

Core GA
az managedapp definition create

建立受控應用程式定義。

Core GA
az managedapp definition delete

刪除受控應用程式定義。

Core GA
az managedapp definition list

列出受控應用程式定義。

Core GA
az managedapp definition show

取得受控應用程式定義。

Core GA
az managedapp definition update

更新受控應用程式定義。

Core GA
az managedapp delete

刪除受控應用程式。

Core GA
az managedapp list

列出受控應用程式。

Core GA
az managedapp show

取得受控應用程式。

Core GA

az managedapp create

建立受控應用程式。

az managedapp create --kind
                     --managed-rg-id
                     --name
                     --resource-group
                     [--location]
                     [--managedapp-definition-id]
                     [--parameters]
                     [--plan-name]
                     [--plan-product]
                     [--plan-publisher]
                     [--plan-version]
                     [--tags]

範例

建立類型為 『ServiceCatalog』 的受控應用程式。 這需要有效的受控應用程式定義標識碼。

az managedapp create -g MyResourceGroup -n MyManagedApp -l westcentralus --kind ServiceCatalog \
    -m "/subscriptions/{SubID}/resourceGroups/{ManagedResourceGroup}" \
    -d "/subscriptions/{SubID}/resourceGroups/{ResourceGroup}/providers/Microsoft.Solutions/applianceDefinitions/{ApplianceDefinition}"

建立類型為 『MarketPlace』 的受控應用程式。 這需要有效的方案,其中包含現有市集套件的詳細數據,例如方案名稱、版本、發行者和產品。

az managedapp create -g MyResourceGroup -n MyManagedApp -l westcentralus --kind MarketPlace \
    -m "/subscriptions/{SubID}/resourceGroups/{ManagedResourceGroup}" \
    --plan-name ContosoAppliance --plan-version "1.0" --plan-product "contoso-appliance" --plan-publisher Contoso

必要參數

--kind

受控應用程式種類。 可以是 Marketplace 或服務catalog。

--managed-rg-id -m

受控應用程式所管理的資源群組。

--name -n

受控應用程式名稱。

--resource-group -g

受控應用程式的資源群組。

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--location -l

受控應用程式位置。

--managedapp-definition-id -d

完整受控應用程式定義標識碼。

--parameters

JSON 格式化字串或具有這類內容之檔案的路徑。

--plan-name

受控應用程式套件方案名稱。

--plan-product

受控應用程式套件方案產品。

--plan-publisher

受控應用程式套件方案發行者。

--plan-version

受控應用程式套件方案版本。

--tags

以空格分隔的標記:key[=value] [key[=value] ...]。使用 「清除現有的標記」。

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az managedapp delete

刪除受控應用程式。

az managedapp delete [--ids]
                     [--name]
                     [--resource-group]
                     [--subscription]

範例

刪除受控應用程式。 (autogenerated)

az managedapp delete --name MyManagedApplication --resource-group MyResourceGroup --subscription MySubscription

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
Parameter group: Resource Id Arguments
--name -n

受控應用程式的名稱。 Required.

屬性
Parameter group: Resource Id Arguments
--resource-group -g

受控應用程式的資源群組。

屬性
Parameter group: Resource Id Arguments
--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

屬性
Parameter group: Resource Id Arguments
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az managedapp list

列出受控應用程式。

az managedapp list [--resource-group]

範例

列出受控應用程式。 (autogenerated)

az managedapp list --resource-group MyResourceGroup

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--resource-group -g

受控應用程式的資源群組。

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az managedapp show

取得受控應用程式。

az managedapp show [--ids]
                   [--name]
                   [--resource-group]
                   [--subscription]

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
Parameter group: Resource Id Arguments
--name -n

受控應用程式名稱。

屬性
Parameter group: Resource Id Arguments
--resource-group -g

受控應用程式的資源群組。

屬性
Parameter group: Resource Id Arguments
--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

屬性
Parameter group: Resource Id Arguments
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False