az cdn origin
CDN エンドポイントに関連する既存の配信元を一覧表示または表示します。
コマンド
名前 | 説明 | 型 | 状態 |
---|---|---|---|
az cdn origin create |
指定したエンドポイント内に新しい配信元を作成します。 |
Core | GA |
az cdn origin delete |
エンドポイント内の既存の配信元を削除します。 |
Core | GA |
az cdn origin list |
エンドポイント内のすべての既存の配信元を一覧表示します。 |
Core | GA |
az cdn origin show |
エンドポイント内の既存の配信元を取得します。 |
Core | GA |
az cdn origin update |
指定したエンドポイント内の新しい配信元を更新します。 |
Core | GA |
az cdn origin wait |
条件が満たされるまで CLI を待機状態にします。 |
Core | GA |
az cdn origin create
指定したエンドポイント内に新しい配信元を作成します。
az cdn origin create --endpoint-name
--name --origin-name
--profile-name
--resource-group
[--disabled {0, 1, f, false, n, no, t, true, y, yes}]
[--enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--host-name]
[--http-port]
[--https-port]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--origin-host-header]
[--priority]
[--private-link-alias]
[--private-link-approval-message]
[--private-link-location]
[--private-link-resource-id]
[--weight]
例
追加の配信元を作成する
az cdn origin create -g group --host-name example.contoso.com --profile-name profile --endpoint-name endpoint -n origin --host-name example.contoso.com --origin-host-header example.contoso.com --http-port 80 --https-port 443
プライベート配信元を作成する
az cdn origin create -g group --host-name example.contoso.com --profile-name profile --endpoint-name endpoint -n origin --http-port 80 --https-port 443 --private-link-resource-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group/providers/Microsoft.Network/privateLinkServices/pls --private-link-location EastUS --private-link-approval-message 'Please approve this request'
必須のパラメーター
グローバルに一意であるプロファイルの下のエンドポイントの名前。
エンドポイント内で一意である配信元の名前。
リソース グループ内で一意である CDN プロファイルの名前。
リソース グループの名前。
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.
負荷分散には配信元を使用しないでください。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
配信元が負荷分散に対して有効になっているかどうか。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
配信元のアドレス。 ドメイン名、IPv4 アドレス、および IPv6 アドレスがサポートされています。これは、エンドポイント内のすべての配信元で一意である必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
HTTP ポートの値。 1 から 65535 の間である必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
HTTPS ポートの値。 1 から 65535 の間である必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
各要求で配信元に送信されるホスト ヘッダー値。 この値を空白のままにすると、要求ホスト名によってこの値が決まります。 Web Apps、Blob Storage、Cloud Services などの Azure CDN 配信元では、このホスト ヘッダー値が既定で配信元のホスト名と一致する必要があります。 これにより、エンドポイントで定義されているホスト ヘッダーがオーバーライドされます。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
負荷分散のための、指定された配信元グループ内の配信元の優先順位。 優先順位の低い配信元が正常な場合は、優先順位が高いほど負荷分散には使用されません。1 から 5 の間である必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
Private Link リソースのエイリアス。 この省略可能なフィールドに値を設定すると、この配信元が "プライベート" であることを示します。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
Private Link に接続するための承認要求に含めるカスタム メッセージ。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
Private Link リソースの場所。 'privateLinkResourceId' が設定されている場合にのみ必要です。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
Private Link リソースのリソース ID。 この省略可能なフィールドに値を設定すると、このバックエンドが "プライベート" であることを示します。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
負荷分散のための、指定された配信元グループ内の原点の重み。 1 ~ 1000 の間である必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az cdn origin delete
エンドポイント内の既存の配信元を削除します。
az cdn origin delete [--endpoint-name]
[--ids]
[--name --origin-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--profile-name]
[--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.
グローバルに一意であるプロファイルの下のエンドポイントの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
エンドポイント内で一意である配信元の名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
リソース グループ内で一意である CDN プロファイルの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
確認を求めないでください。
プロパティ | 値 |
---|---|
規定値: | False |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az cdn origin list
エンドポイント内のすべての既存の配信元を一覧表示します。
az cdn origin list --endpoint-name
--profile-name
--resource-group
[--max-items]
[--next-token]
必須のパラメーター
グローバルに一意であるプロファイルの下のエンドポイントの名前。
リソース グループ内で一意である CDN プロファイルの名前。
リソース グループの名前。
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.
コマンドの出力で返される項目の合計数。 使用可能な項目の合計数が指定された値を超える場合は、コマンドの出力にトークンが提供されます。 改ページ位置の変更を再開するには、後続のコマンドの引数 --next-token
トークン値を指定します。
プロパティ | 値 |
---|---|
Parameter group: | Pagination Arguments |
ページ分割を開始する場所を指定するトークン。 これは、以前に切り捨てられた応答からのトークン値です。
プロパティ | 値 |
---|---|
Parameter group: | Pagination Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az cdn origin show
エンドポイント内の既存の配信元を取得します。
az cdn origin show [--endpoint-name]
[--ids]
[--name --origin-name]
[--profile-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.
グローバルに一意であるプロファイルの下のエンドポイントの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
エンドポイント内で一意である配信元の名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リソース グループ内で一意である CDN プロファイルの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az cdn origin update
指定したエンドポイント内の新しい配信元を更新します。
az cdn origin update [--add]
[--disabled {0, 1, f, false, n, no, t, true, y, yes}]
[--enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--endpoint-name]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--host-name]
[--http-port]
[--https-port]
[--ids]
[--name --origin-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--origin-host-header]
[--priority]
[--private-link-alias]
[--private-link-approval-message]
[--private-link-location]
[--private-link-resource-id]
[--profile-name]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--weight]
例
配信元を更新する
az cdn origin update -g group --profile-name profile --endpoint-name endpoint -n origin --http-port 80 --https-port 443 --priority 3 --weight 500 --host-name example.contoso.com
配信元を無効にする
az cdn origin update -g group --profile-name profile --endpoint-name endpoint -n origin --disabled
配信元をプライベート リンク サービスに接続する
az cdn origin update -g group --profile-name profile --endpoint-name endpoint -n origin --http-port 80 --https-port 443 --private-link-resource-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group/providers/Microsoft.Network/privateLinkServices/pls --private-link-location EastUS --private-link-approval-message 'Please approve this request'
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
パスとキー値のペアを指定して、オブジェクトの一覧にオブジェクトを追加します。 例: --add property.listProperty <key=value, string or JSON string>
。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
負荷分散には配信元を使用しないでください。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
配信元が負荷分散に対して有効になっているかどうか。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
グローバルに一意であるプロファイルの下のエンドポイントの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
'set' または 'add' を使用する場合は、JSON に変換するのではなく、文字列リテラルを保持します。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
配信元のアドレス。 ドメイン名、IPv4 アドレス、および IPv6 アドレスがサポートされています。これは、エンドポイント内のすべての配信元で一意である必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
HTTP ポートの値。 1 から 65535 の間である必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
HTTPS ポートの値。 1 から 65535 の間である必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
エンドポイント内で一意である配信元の名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
各要求で配信元に送信されるホスト ヘッダー値。 この値を空白のままにすると、要求ホスト名によってこの値が決まります。 Web Apps、Blob Storage、Cloud Services などの Azure CDN 配信元では、このホスト ヘッダー値が既定で配信元のホスト名と一致する必要があります。 これにより、エンドポイントで定義されているホスト ヘッダーがオーバーライドされます。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
負荷分散のための、指定された配信元グループ内の配信元の優先順位。 優先順位の低い配信元が正常な場合は、優先順位が高いほど負荷分散には使用されません。1 から 5 の間である必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
Private Link リソースのエイリアス。 この省略可能なフィールドに値を設定すると、この配信元が "プライベート" であることを示します。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
Private Link に接続するための承認要求に含めるカスタム メッセージ。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
Private Link リソースの場所。 'privateLinkResourceId' が設定されている場合にのみ必要です。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
Private Link リソースのリソース ID。 この省略可能なフィールドに値を設定すると、このバックエンドが "プライベート" であることを示します。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
リソース グループ内で一意である CDN プロファイルの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リストからプロパティまたは要素を削除します。 例: --remove property.list <indexToRemove>
OR --remove propertyToRemove
。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
設定するプロパティ パスと値を指定して、オブジェクトを更新します。 例: --set property1.property2=<value>
。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
負荷分散のための、指定された配信元グループ内の原点の重み。 1 ~ 1000 の間である必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az cdn origin wait
条件が満たされるまで CLI を待機状態にします。
az cdn origin wait [--created]
[--custom]
[--deleted]
[--endpoint-name]
[--exists]
[--ids]
[--interval]
[--name --origin-name]
[--profile-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.
'provisioningState' が 'Succeeded' で作成されるまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
条件がカスタム JMESPath クエリを満たすまで待ちます。 例: provisioningState!='InProgress'、instanceView.statuses[?code=='PowerState/running']。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
削除されるまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
グローバルに一意であるプロファイルの下のエンドポイントの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リソースが存在するまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ポーリング間隔 (秒単位)。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | 30 |
エンドポイント内で一意である配信元の名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リソース グループ内で一意である CDN プロファイルの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
最大待機時間 (秒単位)。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | 3600 |
provisioningState が 'Succeeded' で更新されるまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |