次の方法で共有


az iot du account

Note

This reference is part of the azure-iot extension for the Azure CLI (version 2.59.0 or higher). 拡張機能は、az iot du account コマンドを初めて実行するときに自動的にインストールされます。 Learn more about extensions.

デバイス更新アカウントの管理。

コマンド

名前 説明 状態
az iot du account create

Device Update アカウントを作成します。

Extension GA
az iot du account delete

Device Update アカウントを削除します。

Extension GA
az iot du account list

サブスクリプションまたはリソース グループ内のすべての Device Update アカウントを一覧表示します。

Extension GA
az iot du account private-endpoint-connection

Device Update アカウントのプライベート エンドポイント接続管理。

Extension GA
az iot du account private-endpoint-connection delete

Device Update アカウントに関連付けられているプライベート エンドポイント接続を削除します。

Extension GA
az iot du account private-endpoint-connection list

Device Update アカウントに関連付けられているプライベート エンドポイント接続を一覧表示します。

Extension GA
az iot du account private-endpoint-connection set

Device Update アカウントに関連付けられているプライベート エンドポイント接続の状態を設定します。

Extension GA
az iot du account private-endpoint-connection show

Device Update アカウントに関連付けられているプライベート エンドポイント接続を表示します。

Extension GA
az iot du account private-link-resource

Device Update アカウントのプライベート リンク リソース管理。

Extension GA
az iot du account private-link-resource list

アカウントでサポートされているプライベート リンク リソースを一覧表示します。

Extension GA
az iot du account show

デバイス更新アカウントの詳細を表示します。

Extension GA
az iot du account update

Device Update アカウントを更新します。

Extension GA
az iot du account wait

目的のアカウント リソースの状態が満たされるまでブロックします。

Extension GA

az iot du account create

Device Update アカウントを作成します。

このコマンドは、既存のアカウントの状態を更新するためにも使用できます。

az iot du account create --account
                         --resource-group
                         [--assign-identity]
                         [--location]
                         [--no-wait]
                         [--pna --public-network-access {Disabled, Enabled}]
                         [--role]
                         [--scopes]
                         [--sku {Free, Standard}]
                         [--tags]

リソース グループの場所を使用して、ターゲット リソース グループに Device Update アカウントを作成します。

az iot du account create -n {account_name} -g {resouce_group}

ブロックせずに、指定した場所とタグを使用して、ターゲット リソース グループに無料の SKU Device Update アカウントを作成します。

az iot du account create -n {account_name} -g {resouce_group} -l westus --tags a=b c=d --sku Free --no-wait

システム マネージド ID を使用して、ターゲット リソース グループに Device Update アカウントを作成します。

az iot du account create -n {account_name} -g {resouce_group} --assign-identity [system]

システム マネージド ID を使用してターゲット リソース グループに Device Update アカウントを作成し、共同作成者の役割を持つ 1 つのスコープにシステム ID を割り当てます。

az iot du account create -n {account_name} -g {resouce_group} --assign-identity [system] --scopes /subscriptions/a12345ea-bb21-994d-2263-c716348e32a1/resourceGroups/ProResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount

システム割り当てマネージド ID とユーザー割り当てマネージド ID を使用してターゲット リソース グループに Device Update アカウントを作成し、カスタムで指定されたロールを持つ 1 つ以上のスコープ (スペース区切り) にシステム ID を割り当てます。

az iot du account create -n {account_name} -g {resouce_group} --assign-identity [system] /subscriptions/a12345ea-bb21-994d-2263-c716348e32a1/resourcegroups/ProResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity --scopes /subscriptions/a12345ea-bb21-994d-2263-c716348e32a1/resourceGroups/ProResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount1
  /subscriptions/a12345ea-bb21-994d-2263-c716348e32a1/resourceGroups/ProResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount2
--role "Storage Blob Data Contributor"

必須のパラメーター

--account -n

Device Update アカウント名。 az config set defaults.adu_account={name}を使用して、既定のアカウント名を構成できます。

プロパティ
Parameter group: Account Identifier Arguments
--resource-group -g

Device Update アカウントのリソース グループ名。 az config set defaults.adu_group={name}を使用して既定のグループを構成できます。

プロパティ
Parameter group: Account Identifier Arguments

省略可能のパラメーター

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

--assign-identity

スペースで区切られたシステム割り当て ID またはユーザー割り当て ID を受け入れます。 '[system]' を使用してシステム割り当て ID を参照するか、リソース ID を使用してユーザー割り当て ID を参照します。 例については、ヘルプを参照してください。

プロパティ
Parameter group: Managed Service Identity Arguments
--location -l

デバイス更新アカウントの場所。 場所が指定されていない場合は、リソース グループの場所が使用されます。 az configure --defaults location={name}を使用して、既定の場所を構成できます。

--no-wait

実行時間の長い操作が完了するまで待つ必要はありません。

プロパティ
規定値: False
--pna --public-network-access

Device Update アカウントにパブリック ネットワークからアクセスできるかどうかを示します。

プロパティ
Parameter group: Network Arguments
規定値: Enabled
指定可能な値: Disabled, Enabled
--role

システム割り当て ID が持つロール名または ID。

プロパティ
Parameter group: Managed Service Identity Arguments
規定値: Contributor
--scopes

システム割り当て ID がアクセスできるスペース区切りのスコープ。 --no-wait では使用できません。

プロパティ
Parameter group: Managed Service Identity Arguments
--sku

Device Update アカウント SKU。

プロパティ
規定値: Standard
指定可能な値: Free, Standard
--tags

Resource tags. 次の形式のキーと値のペアのプロパティ バッグ: a=b c=d。

グローバル パラメーター
--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

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az iot du account delete

Device Update アカウントを削除します。

az iot du account delete --account
                         [--no-wait]
                         [--resource-group]
                         [--yes {false, true}]

ターゲット アカウントを削除します。

az iot du account delete -n {account_name}

確認またはブロックせずにターゲット アカウントを削除します。

az iot du account delete -n {account_name} -y --no-wait

必須のパラメーター

--account -n

Device Update アカウント名。 az config set defaults.adu_account={name}を使用して、既定のアカウント名を構成できます。

プロパティ
Parameter group: Account Identifier Arguments

省略可能のパラメーター

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

--no-wait

実行時間の長い操作が完了するまで待つ必要はありません。

プロパティ
規定値: False
--resource-group -g

Device Update アカウントのリソース グループ名。 az config set defaults.adu_group={name}を使用して既定のグループを構成できます。

プロパティ
Parameter group: Account Identifier Arguments
--yes -y

ユーザー プロンプトをスキップします。 アクションの受け入れを示します。 主に自動化シナリオに使用されます。 Default: false.

プロパティ
指定可能な値: false, true
グローバル パラメーター
--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

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az iot du account list

サブスクリプションまたはリソース グループ内のすべての Device Update アカウントを一覧表示します。

az iot du account list [--resource-group]

サブスクリプション内のすべてのアカウントを一覧表示します。

az iot du account list

フィルター条件を満たすサブスクリプション内のアカウントを一覧表示します。

az iot du account list --query "[?tags.env == 'test']"

リソース グループ内のすべてのアカウントを一覧表示します。

az iot du account list -g {resource_group}

省略可能のパラメーター

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

Device Update アカウントのリソース グループ名。 az config set defaults.adu_group={name}を使用して既定のグループを構成できます。

プロパティ
Parameter group: Account Identifier 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/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az iot du account show

デバイス更新アカウントの詳細を表示します。

az iot du account show --account
                       [--resource-group]

ターゲット アカウントを表示します。

az iot du account show -n {account_name}

特定のプロパティに対するターゲット アカウントのフィルター処理を表示します。

az iot du account show -n {account_name} --query identity

必須のパラメーター

--account -n

Device Update アカウント名。 az config set defaults.adu_account={name}を使用して、既定のアカウント名を構成できます。

プロパティ
Parameter group: Account Identifier Arguments

省略可能のパラメーター

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

Device Update アカウントのリソース グループ名。 az config set defaults.adu_group={name}を使用して既定のグループを構成できます。

プロパティ
Parameter group: Account Identifier 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/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az iot du account update

Device Update アカウントを更新します。

現在、ID、publicNetworkAccess、タグなど、次のアカウント プロパティを更新できます。

az iot du account update --account
                         [--add]
                         [--force-string]
                         [--no-wait]
                         [--remove]
                         [--resource-group]
                         [--set]

特定のアカウント タグ属性を設定します。

az iot du account update -n {account_name} --set tags.env='test'

パブリック ネットワーク アクセスを無効にする

az iot du account update -n {account_name} --set publicNetworkAccess='Disabled'

必須のパラメーター

--account -n

Device Update アカウント名。 az config set defaults.adu_account={name}を使用して、既定のアカウント名を構成できます。

プロパティ
Parameter group: Account Identifier Arguments

省略可能のパラメーター

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

--add

パスとキー値のペアを指定して、オブジェクトの一覧にオブジェクトを追加します。 例: --add property.listProperty <key=value, string or JSON string>

プロパティ
Parameter group: Generic Update Arguments
規定値: []
--force-string

'set' または 'add' を使用する場合は、JSON に変換するのではなく、文字列リテラルを保持します。

プロパティ
Parameter group: Generic Update Arguments
規定値: False
--no-wait

実行時間の長い操作が完了するまで待つ必要はありません。

プロパティ
規定値: False
--remove

リストからプロパティまたは要素を削除します。 例: --remove property.list <indexToRemove> OR --remove propertyToRemove

プロパティ
Parameter group: Generic Update Arguments
規定値: []
--resource-group -g

Device Update アカウントのリソース グループ名。 az config set defaults.adu_group={name}を使用して既定のグループを構成できます。

プロパティ
Parameter group: Account Identifier Arguments
--set

設定するプロパティ パスと値を指定して、オブジェクトを更新します。 例: --set property1.property2=<value>

プロパティ
Parameter group: Generic Update 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/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az iot du account wait

目的のアカウント リソースの状態が満たされるまでブロックします。

az iot du account wait --account
                       [--created]
                       [--custom]
                       [--deleted]
                       [--exists]
                       [--interval]
                       [--resource-group]
                       [--timeout]
                       [--updated]

アカウント リソースの更新が完了するまでブロックします。

az iot du account wait -n {account_name} -g {resource_group} --updated

必須のパラメーター

--account -n

Device Update アカウント名。 az config set defaults.adu_account={name}を使用して、既定のアカウント名を構成できます。

プロパティ
Parameter group: Account Identifier Arguments

省略可能のパラメーター

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

--created

'provisioningState' が 'Succeeded' で作成されるまで待ちます。

プロパティ
Parameter group: Wait Condition Arguments
規定値: False
--custom

条件がカスタム JMESPath クエリを満たすまで待ちます。 例: provisioningState!='InProgress'、instanceView.statuses[?code=='PowerState/running']。

プロパティ
Parameter group: Wait Condition Arguments
--deleted

削除されるまで待ちます。

プロパティ
Parameter group: Wait Condition Arguments
規定値: False
--exists

リソースが存在するまで待ちます。

プロパティ
Parameter group: Wait Condition Arguments
規定値: False
--interval

ポーリング間隔 (秒単位)。

プロパティ
Parameter group: Wait Condition Arguments
規定値: 30
--resource-group -g

Device Update アカウントのリソース グループ名。 az config set defaults.adu_group={name}を使用して既定のグループを構成できます。

プロパティ
Parameter group: Account Identifier Arguments
--timeout

最大待機時間 (秒単位)。

プロパティ
Parameter group: Wait Condition Arguments
規定値: 3600
--updated

provisioningState が 'Succeeded' で更新されるまで待ちます。

プロパティ
Parameter group: Wait Condition Arguments
規定値: False
グローバル パラメーター
--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

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False