az ams streaming-locator

管理Azure 媒體服務帳戶的串流定位器。

命令

名稱 Description 類型 狀態
az ams streaming-locator create

建立串流定位器。

核心 GA
az ams streaming-locator delete

刪除串流定位器。

核心 GA
az ams streaming-locator get-paths

列出串流定位器支援的路徑。

核心 GA
az ams streaming-locator list

列出Azure 媒體服務帳戶內的所有串流定位器。

核心 GA
az ams streaming-locator list-content-keys

列出串流定位器所使用的內容金鑰。

核心 GA
az ams streaming-locator show

顯示串流定位器的詳細資料。

核心 GA

az ams streaming-locator create

建立串流定位器。

az ams streaming-locator create --account-name
                                --asset-name
                                --name
                                --resource-group
                                --streaming-policy-name
                                [--alternative-media-id]
                                [--content-key-policy-name]
                                [--content-keys]
                                [--end-time]
                                [--filters]
                                [--start-time]
                                [--streaming-locator-id]

必要參數

--account-name -a

Azure 媒體服務帳戶的名稱。

--asset-name

串流定位器所使用的資產名稱。

--name -n

串流定位器的名稱。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

--streaming-policy-name

串流定位器所使用的串流原則名稱。 您可以使用 或使用任何預先定義的原則來建立一個 az ams streaming policy create 原則:Predefined_DownloadOnly、Predefined_ClearStreamingOnly、Predefined_DownloadAndClearStreaming、Predefined_ClearKey、Predefined_MultiDrmCencStreaming、Predefined_MultiDrmStreaming。

選擇性參數

--alternative-media-id

與串流定位器相關聯的替代媒體識別碼。

--content-key-policy-name

串流定位器所使用的預設內容金鑰原則名稱。

--content-keys

JSON 字串,其中包含串流定位器要使用的內容索引鍵。 使用 @{file} 從檔案載入。 如需 JSON 結構的詳細資訊,請參閱 上的 https://docs.microsoft.com/rest/api/media/streaminglocators/create#streaminglocatorcontentkey Swagger 檔。

--end-time

串流定位器的 ISO 8601 DateTime 結束時間(Y-m-d'T'H:M:S'Z')。

--filters

資產篩選名稱和/或帳戶篩選名稱的空間分隔清單。

--start-time

串流定位器的 ISO 8601 DateTime 開始時間(Y-m-d'T'H:M:S'Z')。

--streaming-locator-id

串流定位器的識別碼。

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az ams streaming-locator delete

刪除串流定位器。

刪除媒體服務帳戶中的串流定位器。

az ams streaming-locator delete [--account-name]
                                [--ids]
                                [--name]
                                [--resource-group]
                                [--subscription]

選擇性參數

--account-name -a

Azure 媒體服務帳戶的名稱。

--ids

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

--name -n

串流定位器的名稱。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

--subscription

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

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az ams streaming-locator get-paths

列出串流定位器支援的路徑。

az ams streaming-locator get-paths [--account-name]
                                   [--ids]
                                   [--name]
                                   [--resource-group]
                                   [--subscription]

選擇性參數

--account-name -a

Azure 媒體服務帳戶的名稱。

--ids

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

--name -n

串流定位器的名稱。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

--subscription

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

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az ams streaming-locator list

列出Azure 媒體服務帳戶內的所有串流定位器。

az ams streaming-locator list --account-name
                              --resource-group
                              [--filter]
                              [--orderby]
                              [--top]

必要參數

--account-name -a

Azure 媒體服務帳戶的名稱。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

選擇性參數

--filter

限制傳回的專案集。

--orderby

指定應該排序結果集合的索引鍵。

--top

指定非負整數 n,限制從集合傳回的專案數。 服務會傳回最多但大於指定值 n 的可用專案數目。

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az ams streaming-locator list-content-keys

列出串流定位器所使用的內容金鑰。

az ams streaming-locator list-content-keys [--account-name]
                                           [--ids]
                                           [--name]
                                           [--resource-group]
                                           [--subscription]

選擇性參數

--account-name -a

Azure 媒體服務帳戶的名稱。

--ids

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

--name -n

串流定位器的名稱。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

--subscription

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

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az ams streaming-locator show

顯示串流定位器的詳細資料。

az ams streaming-locator show [--account-name]
                              [--ids]
                              [--name]
                              [--resource-group]
                              [--subscription]

選擇性參數

--account-name -a

Azure 媒體服務帳戶的名稱。

--ids

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

--name -n

串流定位器的名稱。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

--subscription

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

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。