Views interface
Views を表すインターフェイス。
メソッド
create |
ビューを作成または更新する操作。 更新操作では、要求で最新の eTag を設定する必要があります。 get 操作を実行することで、最新の eTag を取得できます。 作成操作には eTag は必要ありません。 |
create |
ビューを作成または更新する操作。 更新操作では、要求で最新の eTag を設定する必要があります。 get 操作を実行することで、最新の eTag を取得できます。 作成操作には eTag は必要ありません。 |
delete(string, Views |
ビューを削除する操作。 |
delete |
ビューを削除する操作。 |
get(string, Views |
ビュー名でビューを取得します。 |
get |
ビュー名で定義されたスコープのビューを取得します。 |
list(Views |
テナントとオブジェクトごとにすべてのビューを一覧表示します。 |
list |
指定されたスコープ内のすべてのビューを一覧表示します。 |
メソッドの詳細
createOrUpdate(string, View, ViewsCreateOrUpdateOptionalParams)
ビューを作成または更新する操作。 更新操作では、要求で最新の eTag を設定する必要があります。 get 操作を実行することで、最新の eTag を取得できます。 作成操作には eTag は必要ありません。
function createOrUpdate(viewName: string, parameters: View, options?: ViewsCreateOrUpdateOptionalParams): Promise<View>
パラメーター
- viewName
-
string
ビューの名前
- parameters
- View
CreateOrUpdate View 操作に指定されたパラメーター。
options パラメーター。
戻り値
Promise<View>
createOrUpdateByScope(string, string, View, ViewsCreateOrUpdateByScopeOptionalParams)
ビューを作成または更新する操作。 更新操作では、要求で最新の eTag を設定する必要があります。 get 操作を実行することで、最新の eTag を取得できます。 作成操作には eTag は必要ありません。
function createOrUpdateByScope(scope: string, viewName: string, parameters: View, options?: ViewsCreateOrUpdateByScopeOptionalParams): Promise<View>
パラメーター
- scope
-
string
ビュー操作に関連付けられているスコープ。 これには、サブスクリプション スコープの 'subscriptions/{subscriptionId}' が含まれます。 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccount スコープの enrollmentAccountId}'、BillingProfile スコープの場合は 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' (外部課金アカウント スコープの場合)、外部サブスクリプション スコープの場合は 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' です。
- viewName
-
string
ビューの名前
- parameters
- View
CreateOrUpdate View 操作に指定されたパラメーター。
options パラメーター。
戻り値
Promise<View>
delete(string, ViewsDeleteOptionalParams)
ビューを削除する操作。
function delete(viewName: string, options?: ViewsDeleteOptionalParams): Promise<void>
パラメーター
- viewName
-
string
ビューの名前
- options
- ViewsDeleteOptionalParams
options パラメーター。
戻り値
Promise<void>
deleteByScope(string, string, ViewsDeleteByScopeOptionalParams)
ビューを削除する操作。
function deleteByScope(scope: string, viewName: string, options?: ViewsDeleteByScopeOptionalParams): Promise<void>
パラメーター
- scope
-
string
ビュー操作に関連付けられているスコープ。 これには、サブスクリプション スコープの 'subscriptions/{subscriptionId}' が含まれます。 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccount スコープの enrollmentAccountId}'、BillingProfile スコープの場合は 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' (外部課金アカウント スコープの場合)、外部サブスクリプション スコープの場合は 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' です。
- viewName
-
string
ビューの名前
- options
- ViewsDeleteByScopeOptionalParams
options パラメーター。
戻り値
Promise<void>
get(string, ViewsGetOptionalParams)
ビュー名でビューを取得します。
function get(viewName: string, options?: ViewsGetOptionalParams): Promise<View>
パラメーター
- viewName
-
string
ビューの名前
- options
- ViewsGetOptionalParams
options パラメーター。
戻り値
Promise<View>
getByScope(string, string, ViewsGetByScopeOptionalParams)
ビュー名で定義されたスコープのビューを取得します。
function getByScope(scope: string, viewName: string, options?: ViewsGetByScopeOptionalParams): Promise<View>
パラメーター
- scope
-
string
ビュー操作に関連付けられているスコープ。 これには、サブスクリプション スコープの 'subscriptions/{subscriptionId}' が含まれます。 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccount スコープの enrollmentAccountId}'、BillingProfile スコープの場合は 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' (外部課金アカウント スコープの場合)、外部サブスクリプション スコープの場合は 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' です。
- viewName
-
string
ビューの名前
- options
- ViewsGetByScopeOptionalParams
options パラメーター。
戻り値
Promise<View>
list(ViewsListOptionalParams)
テナントとオブジェクトごとにすべてのビューを一覧表示します。
function list(options?: ViewsListOptionalParams): PagedAsyncIterableIterator<View, View[], PageSettings>
パラメーター
- options
- ViewsListOptionalParams
options パラメーター。
戻り値
listByScope(string, ViewsListByScopeOptionalParams)
指定されたスコープ内のすべてのビューを一覧表示します。
function listByScope(scope: string, options?: ViewsListByScopeOptionalParams): PagedAsyncIterableIterator<View, View[], PageSettings>
パラメーター
- scope
-
string
ビュー操作に関連付けられているスコープ。 これには、サブスクリプション スコープの 'subscriptions/{subscriptionId}' が含まれます。 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccount スコープの enrollmentAccountId}'、BillingProfile スコープの場合は 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' (外部課金アカウント スコープの場合)、外部サブスクリプション スコープの場合は 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' です。
- options
- ViewsListByScopeOptionalParams
options パラメーター。
戻り値
Azure SDK for JavaScript