次の方法で共有


Datasets - Update Dataset

[マイ ワークスペース] から、指定したデータセットのプロパティを更新します。

アクセス許可

ユーザーはデータセット所有者である必要があります。

必要なスコープ

Dataset.ReadWrite.All

PATCH https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}

URI パラメーター

名前 / 必須 説明
datasetId
path True

string

データセット ID

要求本文

名前 説明
queryScaleOutSettings

DatasetQueryScaleOutSettings

データセットのスケールアウト設定のクエリ

targetStorageMode

string

データセットストレージモード

応答

名前 説明
200 OK

OK

Example of changing the dataset storage mode to support large datasets
Example of changing the dataset storage mode to support small datasets
Example of updating scale-out settings of a dataset

Example of changing the dataset storage mode to support large datasets

要求のサンプル

PATCH https://api.powerbi.com/v1.0/myorg/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229
{
  "targetStorageMode": "PremiumFiles"
}

応答のサンプル

Example of changing the dataset storage mode to support small datasets

要求のサンプル

PATCH https://api.powerbi.com/v1.0/myorg/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229
{
  "targetStorageMode": "Abf"
}

応答のサンプル

Example of updating scale-out settings of a dataset

要求のサンプル

PATCH https://api.powerbi.com/v1.0/myorg/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229
{
  "queryScaleOutSettings": {
    "autoSyncReadOnlyReplicas": false,
    "maxReadOnlyReplicas": -1
  }
}

応答のサンプル

定義

名前 説明
DatasetQueryScaleOutSettings

データセットのスケールアウト設定のクエリ

UpdateDatasetRequest

データセット要求を更新する

DatasetQueryScaleOutSettings

データセットのスケールアウト設定のクエリ

名前 説明
autoSyncReadOnlyReplicas

boolean

データセットが読み取り専用レプリカを自動的に同期するかどうか

maxReadOnlyReplicas

integer

データセットの読み取り専用レプリカの最大数 (レプリカの自動数の場合は 0 から 64、-1)

UpdateDatasetRequest

データセット要求を更新する

名前 説明
queryScaleOutSettings

DatasetQueryScaleOutSettings

データセットのスケールアウト設定のクエリ

targetStorageMode

string

データセットストレージモード