次の方法で共有


az grafana

Note

This reference is part of the amg extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az grafana command. Learn more about extensions.

Azure Managed Grafana リソースを管理するためのコマンド。

エクスペリエンスを最適化するために、 https://grafana.com/docs/grafana/latest/http_api/に記載されているすべてのデータ プレーン API が公開されるわけではありません。 カバレッジギャップについては、 ad4g@microsoft.comにお問い合わせください。

コマンド

名前 説明 状態
az grafana api-key

API キーを管理するコマンド。

Extension Deprecated
az grafana api-key create

新しい API キーを作成します。

Extension Deprecated
az grafana api-key delete

API キーを削除します。

Extension Deprecated
az grafana api-key list

既存の API キーを一覧表示します。

Extension Deprecated
az grafana backup

Azure Managed Grafana インスタンスのコンテンツをアーカイブにバックアップします。

Extension Preview
az grafana create

Grafana リソースのワークスペースを作成します。 この API はべき等であるため、ユーザーは新しい grafana を作成するか、既存の grafana を更新できます。

Extension GA
az grafana dashboard

インスタンスのダッシュボードを管理するコマンド。

Extension GA
az grafana dashboard create

新しいダッシュボードを作成します。

Extension GA
az grafana dashboard delete

ダッシュボードを削除します。

Extension GA
az grafana dashboard import

ダッシュボードをインポートします。

Extension GA
az grafana dashboard list

インスタンスのすべてのダッシュボードを一覧表示します。

Extension GA
az grafana dashboard show

ダッシュボードの詳細を取得します。

Extension GA
az grafana dashboard sync

Azure Managed Grafana ダッシュボードを 1 つのインスタンスから別のインスタンスに同期します。 ダッシュボード内のライブラリ パネルは、同期に自動的に含まれます。読み取り専用であるため、"プロビジョニング済み" 状態のダッシュボードはスキップされることに注意してください。

Extension Preview
az grafana dashboard update

ダッシュボードを更新します。

Extension GA
az grafana data-source

インスタンスのデータ ソースを管理するコマンド。

Extension GA
az grafana data-source create

データ ソースを作成します。

Extension GA
az grafana data-source delete

データ ソースを削除します。

Extension GA
az grafana data-source list

インスタンスのすべてのデータ ソースを一覧表示します。

Extension GA
az grafana data-source query

バックエンド実装を持つデータ ソースに対してクエリを実行します。

Extension GA
az grafana data-source show

データ ソースの詳細を取得します。

Extension GA
az grafana data-source update

データ ソースを更新します。

Extension GA
az grafana delete

Grafana リソースのワークスペースを削除します。

Extension GA
az grafana folder

インスタンスのフォルダーを管理するコマンド。

Extension GA
az grafana folder create

新しいフォルダーを作成する。

Extension GA
az grafana folder delete

フォルダーを削除します。

Extension GA
az grafana folder list

インスタンスのすべてのフォルダーを一覧表示します。

Extension GA
az grafana folder show

フォルダーの詳細を取得します。

Extension GA
az grafana folder update

フォルダーを更新します。

Extension GA
az grafana integrations

Grafana インスタンスの統合を管理するコマンド。

Extension GA
az grafana integrations monitor

Grafana インスタンスの Azure Monitor ワークスペース統合を管理するためのコマンド。

Extension GA
az grafana integrations monitor add

Azure Monitor ワークスペースを Grafana インスタンスにリンクします。

Extension Preview
az grafana integrations monitor delete

Grafana インスタンスから Azure Monitor ワークスペースのリンクを解除します。

Extension Preview
az grafana integrations monitor list

Grafana インスタンスにリンクされているすべての Azure Monitor ワークスペースを一覧表示します。

Extension Preview
az grafana list

指定したサブスクリプションの下にある Grafana のワークスペースのすべてのリソースを一覧表示します。

Extension GA
az grafana list-available-plugin

使用可能なすべてのプラグインを一覧表示します。

Extension GA
az grafana migrate

既存の Grafana インスタンスを Azure Managed Grafana インスタンスに移行します。

Extension Preview
az grafana mpe

マネージド プライベート エンドポイントを管理するコマンド。

Extension GA
az grafana mpe create

マネージド プライベート エンドポイントを作成します。

Extension GA
az grafana mpe delete

マネージド プライベート エンドポイントを削除します。

Extension GA
az grafana mpe list

すべてのマネージド プライベート エンドポイントを一覧表示します。

Extension GA
az grafana mpe refresh

マネージド プライベート エンドポイントを最新の状態に更新して同期します。

Extension GA
az grafana mpe show

特定のマネージド プライベート エンドポイントを取得します。

Extension GA
az grafana mpe wait

条件が満たされるまで CLI を待機状態にします。

Extension GA
az grafana notification-channel

インスタンスの通知チャネルを管理するコマンド。

Extension Deprecated
az grafana notification-channel create

通知チャネルを作成します。

Extension Deprecated
az grafana notification-channel delete

通知チャネルを削除します。

Extension Deprecated
az grafana notification-channel list

インスタンスのすべての通知チャネルを一覧表示します。

Extension Deprecated
az grafana notification-channel show

通知チャネルの詳細を取得します。

Extension Deprecated
az grafana notification-channel test

通知チャネルをテストします。

Extension Deprecated
az grafana notification-channel update

通知チャネルを更新します。

Extension Deprecated
az grafana private-endpoint-connection

プライベート エンドポイント接続を管理するコマンド。

Extension GA
az grafana private-endpoint-connection delete

プライベート エンドポイント接続を削除します。

Extension GA
az grafana private-endpoint-connection list

すべてのプライベート エンドポイント接続を一覧表示します。

Extension GA
az grafana private-endpoint-connection show

特定のプライベート エンドポイント接続を取得します。

Extension GA
az grafana private-endpoint-connection update

プライベート エンドポイント接続を更新します。

Extension GA
az grafana private-endpoint-connection wait

条件が満たされるまで CLI を待機状態にします。

Extension GA
az grafana restore

アーカイブから Azure Managed Grafana インスタンスを復元します。

Extension Preview
az grafana service-account

サービス アカウントを管理するコマンド。

Extension GA
az grafana service-account create

新しいサービス アカウントを作成します。

Extension GA
az grafana service-account delete

サービス アカウントを削除します。

Extension GA
az grafana service-account list

既存のサービス アカウントを一覧表示します。

Extension GA
az grafana service-account show

サービス アカウントの詳細を取得します。

Extension GA
az grafana service-account token

サービス アカウント トークンを管理するコマンド。

Extension GA
az grafana service-account token create

新しいサービス アカウント トークンを作成します。

Extension GA
az grafana service-account token delete

サービス アカウント トークンを削除します。

Extension GA
az grafana service-account token list

既存のサービス アカウント トークンを一覧表示します。

Extension GA
az grafana service-account update

サービス アカウントを更新します。

Extension GA
az grafana show

Grafana リソースの特定のワークスペースのプロパティを取得します。

Extension GA
az grafana update

Grafana リソースのワークスペースを更新します。

Extension GA
az grafana user

インスタンスのユーザーを管理するコマンド。

Extension GA
az grafana user actual-user

現在のユーザーの詳細を取得します。

Extension GA
az grafana user list

List users.

Extension GA
az grafana user show

ユーザーの詳細を取得します。

Extension GA
az grafana wait

条件が満たされるまで CLI を待機状態にします。

Extension GA

az grafana backup

プレビュー

このコマンドはプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

Azure Managed Grafana インスタンスのコンテンツをアーカイブにバックアップします。

az grafana backup --name
                  [--components {annotations, dashboards, datasources, folders, snapshots}]
                  [--directory]
                  [--folders-to-exclude]
                  [--folders-to-include]
                  [--resource-group]
                  [--skip-folder-permissions {false, true}]

2 つのフォルダーの下にあるバックアップ ダッシュボード (別のワークスペースにダッシュボードを復元するときに名前の再マッピングを有効にするためにデータ ソースが含まれています)

az grafana backup -g MyResourceGroup -n MyGrafana -d c:\temp --folders-to-include "Prod" "Compute Gateway" --components datasources dashboards folders

ダッシュボードをバックアップし、いくつかのフォルダーをスキップする

az grafana backup -g MyResourceGroup -n MyGrafana -d c:\temp  --folders-to-exclude General "Azure Monitor" --components datasources dashboards folders

必須のパラメーター

--name -n

Azure Managed Grafana の名前。

省略可能のパラメーター

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

--components -c

バックアップする Grafana アーティファクトの種類。

プロパティ
指定可能な値: annotations, dashboards, datasources, folders, snapshots
--directory -d

Grafana アーティファクトをバックアップするディレクトリ。

--folders-to-exclude -e

バックアップまたは同期で除外するフォルダー。

--folders-to-include -i

バックアップまたは同期に含めるフォルダー。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

--skip-folder-permissions -s

Grafana フォルダーのアクセス許可のバックアップをスキップします。 Default: false.

プロパティ
規定値: 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 grafana create

Grafana リソースのワークスペースを作成します。 この API はべき等であるため、ユーザーは新しい grafana を作成するか、既存の grafana を更新できます。

az grafana create --name --workspace-name
                  --resource-group
                  [--api-key --service-account {Disabled, Enabled}]
                  [--deterministic-outbound-ip {Disabled, Enabled}]
                  [--grafana-major-version]
                  [--location]
                  [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                  [--principal-ids]
                  [--public-network-access {Disabled, Enabled}]
                  [--skip-identity --skip-system-assigned-identity {0, 1, f, false, n, no, t, true, y, yes}]
                  [--skip-role-assignments {0, 1, f, false, n, no, t, true, y, yes}]
                  [--sku-tier]
                  [--tags]
                  [--zone-redundancy {Disabled, Enabled}]

Standard SKU とパブリック ネットワーク アクセスを有効にして Azure Managed Grafana リソースを作成する

az grafana create --resource-group myResourceGroup --workspace-name myWorkspace --sku-tier Standard --public-network-access Enabled

必須のパラメーター

--name --workspace-name -n

Azure Managed Grafana のワークスペース名。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

省略可能のパラメーター

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

--api-key --service-account

Grafana インスタンスの API キー設定。

プロパティ
Parameter group: Properties Arguments
規定値: Disabled
指定可能な値: Disabled, Enabled
--deterministic-outbound-ip -i

Grafana インスタンスが決定論的送信 IP を使用するかどうか。

プロパティ
Parameter group: Properties Arguments
規定値: Disabled
指定可能な値: Disabled, Enabled
--grafana-major-version -v

ターゲットとなる主要な Grafana ソフトウェア バージョン。

プロパティ
Parameter group: Properties Arguments
--location -l

grafana リソースが存在する地理的な場所。

--no-wait

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

プロパティ
指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--principal-ids

Grafana 管理者として作成されるユーザー、グループなどの領域で区切られた Azure AD オブジェクト ID。 指定すると、CLI では、現在ログインしているユーザーが Grafana Admin Support の短縮構文、json-file、yaml-file として作成されることはありません。 詳細を表示するには、"??" を試してください。

--public-network-access -p

パブリック インターフェイス経由でトラフィックを有効または無効にする状態を示します。

プロパティ
Parameter group: Properties Arguments
規定値: Enabled
指定可能な値: Disabled, Enabled
--skip-identity --skip-system-assigned-identity

システム割り当て ID は有効にしないでください。 ID を自分で管理する場合は、このオプションを使用します。

プロパティ
規定値: False
指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--skip-role-assignments

Grafana インスタンスと現在の CLI アカウントのマネージド ID に対する既定のロール割り当ての作成をスキップします。 ロールの割り当てを自分で管理する場合は、このオプションを使用します。

プロパティ
規定値: False
指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--sku-tier

grafana リソースの SKU。

プロパティ
Parameter group: Properties Arguments
規定値: Standard
--tags

grafana リソースのタグ。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

--zone-redundancy

Grafana インスタンスのゾーン冗長設定。

プロパティ
Parameter group: Properties Arguments
規定値: Disabled
指定可能な値: Disabled, Enabled
グローバル パラメーター
--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 grafana delete

Grafana リソースのワークスペースを削除します。

az grafana delete [--ids]
                  [--name --workspace-name]
                  [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                  [--resource-group]
                  [--subscription]
                  [--yes]

省略可能のパラメーター

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

--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--name --workspace-name -n

Azure Managed Grafana のワークスペース名。

プロパティ
Parameter group: Resource Id Arguments
--no-wait

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

プロパティ
指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription

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

プロパティ
Parameter group: Resource Id Arguments
--yes -y

確認を求めないでください。

プロパティ
規定値: 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/ を参照してください。

--verbose

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

プロパティ
規定値: False

az grafana list

指定したサブスクリプションの下にある Grafana のワークスペースのすべてのリソースを一覧表示します。

az grafana list [--max-items]
                [--next-token]
                [--resource-group]

省略可能のパラメーター

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

--max-items

コマンドの出力で返される項目の合計数。 使用可能な項目の合計数が指定された値を超える場合は、コマンドの出力にトークンが提供されます。 改ページ位置の変更を再開するには、後続のコマンドの引数 --next-token トークン値を指定します。

プロパティ
Parameter group: Pagination Arguments
--next-token

ページ分割を開始する場所を指定するトークン。 これは、以前に切り捨てられた応答からのトークン値です。

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

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

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

使用可能なすべてのプラグインを一覧表示します。

az grafana list-available-plugin [--ids]
                                 [--name --workspace-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

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--name --workspace-name -n

Azure Managed Grafana のワークスペース名。

プロパティ
Parameter group: Resource Id Arguments
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription

サブスクリプションの名前または ID。 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 grafana migrate

プレビュー

このコマンドはプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

既存の Grafana インスタンスを Azure Managed Grafana インスタンスに移行します。

az grafana migrate --name
                   --src-endpoint
                   --src-token-or-key
                   [--dry-run {false, true}]
                   [--folders-to-exclude]
                   [--folders-to-include]
                   [--overwrite {false, true}]
                   [--resource-group]

ダッシュボードとフォルダーをローカルの Grafana インスタンスから Azure Managed Grafana インスタンスに移行します。

az grafana migrate -g MyResourceGroup -n MyGrafana -s http://localhost:3000 -t YourServiceTokenOrAPIKey

必須のパラメーター

--name -n

Azure Managed Grafana の名前。

--src-endpoint -s

移行元の Grafana インスタンス エンドポイント。

--src-token-or-key -t

移行元のアクセス権を取得する Grafana インスタンス サービス トークン (または API キー)。

省略可能のパラメーター

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

--dry-run -d

コミットせずに変更をプレビューします。 上書きよりも優先されます。

プロパティ
規定値: False
指定可能な値: false, true
--folders-to-exclude -e

バックアップまたは同期で除外するフォルダー。

--folders-to-include -i

バックアップまたは同期に含めるフォルダー。

--overwrite

以前のダッシュボード、ライブラリ パネル、およびフォルダーを同じ uid またはタイトルで上書きします。

プロパティ
規定値: False
指定可能な値: false, true
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

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

プレビュー

このコマンドはプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

アーカイブから Azure Managed Grafana インスタンスを復元します。

az grafana restore --archive-file
                   --name
                   [--components {annotations, dashboards, datasources, folders, snapshots}]
                   [--remap-data-sources {false, true}]
                   [--resource-group]

Restore dashboards. フォルダーの下にある場合は、コンポーネントの一覧に "folders" を含めます。"--remap-data-sources" を使用するため、CLI は、ターゲット ワークスペースで同じデータ ソースを指すダッシュボードを更新します

az grafana restore -g MyResourceGroup -n MyGrafana --archive-file backup\dashboards\ServiceHealth-202307051036.tar.gz --components dashboards folders --remap-data-sources

必須のパラメーター

--archive-file -a

Grafana アーティファクトの復元元のアーカイブ。

--name -n

Azure Managed Grafana の名前。

省略可能のパラメーター

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

--components -c

バックアップする Grafana アーティファクトの種類。

プロパティ
指定可能な値: annotations, dashboards, datasources, folders, snapshots
--remap-data-sources -r

復元中に、名前の一致を使用して、移行先ワークスペースで定義されたデータ ソースを参照するようにダッシュボードを更新します。

プロパティ
指定可能な値: false, true
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

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

Grafana リソースの特定のワークスペースのプロパティを取得します。

az grafana show [--ids]
                [--name --workspace-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

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--name --workspace-name -n

Azure Managed Grafana のワークスペース名。

プロパティ
Parameter group: Resource Id Arguments
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription

サブスクリプションの名前または ID。 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 grafana update

Grafana リソースのワークスペースを更新します。

az grafana update [--api-key --service-account {Disabled, Enabled}]
                  [--deterministic-outbound-ip {Disabled, Enabled}]
                  [--from-address]
                  [--from-name]
                  [--grafana-major-version --major-version]
                  [--host]
                  [--ids]
                  [--name --workspace-name]
                  [--password]
                  [--public-network-access {Disabled, Enabled}]
                  [--resource-group]
                  [--skip-verify {0, 1, f, false, n, no, t, true, y, yes}]
                  [--sku-tier]
                  [--smtp --smtp-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                  [--start-tls-policy {MandatoryStartTLS, NoStartTLS, OpportunisticStartTLS}]
                  [--subscription]
                  [--tags]
                  [--user]
                  [--zone-redundancy {Disabled, Enabled}]

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

az grafana update -g MyResourceGroup -n MyGrafana --public-network-access disabled

mailgun の SMTP リレー サービスを介してメール通知を有効にする

az grafana update -g MyResourceGroup -n MyGrafana --smtp enabled --from-address johndoe@outlook.com --from-name john --host "smtp.mailgun.org:587" --user "postmaster@sandbox12345.mailgun.org" --password "password" --start-tls-policy OpportunisticStartTLS --skip-verify true

省略可能のパラメーター

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

--api-key --service-account

Grafana インスタンスの API キー設定。

プロパティ
Parameter group: Properties Arguments
指定可能な値: Disabled, Enabled
--deterministic-outbound-ip -i

Grafana インスタンスが決定論的送信 IP を使用するかどうか。

プロパティ
Parameter group: Properties Arguments
指定可能な値: Disabled, Enabled
--from-address

https://pkg.go.dev/net/mail#Addressメールを送信するときに使用されるアドレス。

プロパティ
Parameter group: Smtp Arguments
--from-name

メールを送信するときに使用する名前。 既定値は "Azure Managed Grafana Notification" https://pkg.go.dev/net/mail#Addressです。

プロパティ
Parameter group: Smtp Arguments
--grafana-major-version --major-version -v

ターゲットとなる主要な Grafana ソフトウェア バージョン。

プロパティ
Parameter group: Properties Arguments
--host

ポートを持つ SMTP サーバーのホスト名 (例: test.email.net:587)。

プロパティ
Parameter group: Smtp Arguments
--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--name --workspace-name -n

Azure Managed Grafana のワークスペース名。

プロパティ
Parameter group: Resource Id Arguments
--password

SMTP 認証のパスワード。パスワードに # または ;が含まれている場合は、三重引用符で囲む必要があります。

プロパティ
Parameter group: Smtp Arguments
--public-network-access -p

パブリック インターフェイス経由でトラフィックを有効または無効にする状態を示します。

プロパティ
Parameter group: Properties Arguments
指定可能な値: Disabled, Enabled
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--skip-verify

SMTP サーバーの SSL を確認します。 既定値は false https://pkg.go.dev/crypto/tls#Configです。

プロパティ
Parameter group: Smtp Arguments
指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--sku-tier

grafana リソースの SKU。

--smtp --smtp-enabled

これを有効にして、Grafana が電子メールを送信できるようにします。

プロパティ
Parameter group: Smtp Arguments
指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--start-tls-policy

SMTP 構成 https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicyの StartTLSPolicy 設定。

プロパティ
Parameter group: Smtp Arguments
指定可能な値: MandatoryStartTLS, NoStartTLS, OpportunisticStartTLS
--subscription

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

プロパティ
Parameter group: Resource Id Arguments
--tags

grafana リソースのタグ。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

--user

SMTP 認証のユーザー。

プロパティ
Parameter group: Smtp Arguments
--zone-redundancy

Grafana インスタンスのゾーン冗長設定。

プロパティ
Parameter group: Properties Arguments
指定可能な値: Disabled, Enabled
グローバル パラメーター
--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 grafana wait

条件が満たされるまで CLI を待機状態にします。

az grafana wait [--created]
                [--custom]
                [--deleted]
                [--exists]
                [--ids]
                [--interval]
                [--name --workspace-name]
                [--resource-group]
                [--subscription]
                [--timeout]
                [--updated]

省略可能のパラメーター

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
--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--interval

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

プロパティ
Parameter group: Wait Condition Arguments
規定値: 30
--name --workspace-name -n

Azure Managed Grafana のワークスペース名。

プロパティ
Parameter group: Resource Id Arguments
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription

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

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

--verbose

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

プロパティ
規定値: False