Datasets - Update Dataset
Belirtilen veri kümesinin özelliklerini Çalışma alanımgüncelleştirir.
İzinler
Kullanıcının veri kümesi sahibi olması gerekir.
Gerekli Kapsam
Dataset.ReadWrite.All
PATCH https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}
URI Parametreleri
| Name | İçinde | Gerekli | Tür | Description |
|---|---|---|---|---|
|
dataset
|
path | True |
string |
Veri kümesi kimliği |
İstek Gövdesi
| Name | Tür | Description |
|---|---|---|
| queryScaleOutSettings |
Veri kümesinin ölçeği genişletme ayarlarını sorgulama |
|
| targetStorageMode |
string |
Veri kümesi depolama modu |
Yanıtlar
| Name | Tür | Description |
|---|---|---|
| 200 OK |
Tamam |
Örnekler
| 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
Örnek isteği
PATCH https://api.powerbi.com/v1.0/myorg/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229
{
"targetStorageMode": "PremiumFiles"
}
Örnek yanıt
Example of changing the dataset storage mode to support small datasets
Örnek isteği
PATCH https://api.powerbi.com/v1.0/myorg/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229
{
"targetStorageMode": "Abf"
}
Örnek yanıt
Example of updating scale-out settings of a dataset
Örnek isteği
PATCH https://api.powerbi.com/v1.0/myorg/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229
{
"queryScaleOutSettings": {
"autoSyncReadOnlyReplicas": false,
"maxReadOnlyReplicas": -1
}
}
Örnek yanıt
Tanımlar
| Name | Description |
|---|---|
|
Dataset |
Veri kümesinin ölçeği genişletme ayarlarını sorgulama |
|
Update |
Veri kümesi isteğini güncelleştirme |
DatasetQueryScaleOutSettings
Veri kümesinin ölçeği genişletme ayarlarını sorgulama
| Name | Tür | Description |
|---|---|---|
| autoSyncReadOnlyReplicas |
boolean |
Veri kümesinin salt okunur çoğaltmaları otomatik olarak eşitleyip eşitlemediği |
| maxReadOnlyReplicas |
integer minimum: -1maximum: 64 |
Veri kümesi için en fazla salt okunur çoğaltma sayısı (otomatik çoğaltma sayısı için -1 0-64) |
UpdateDatasetRequest
Veri kümesi isteğini güncelleştirme
| Name | Tür | Description |
|---|---|---|
| queryScaleOutSettings |
Veri kümesinin ölçeği genişletme ayarlarını sorgulama |
|
| targetStorageMode |
string |
Veri kümesi depolama modu |