Spark Configurations - List By Workspace
Çalışma alanında sparkConfigurations listesini oluşturun.
Çalışma alanında sparkConfigurations'ı listeleme.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sparkconfigurations?api-version=2021-06-01-preview
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir. |
subscription
|
path | True |
string |
Hedef aboneliğin kimliği. |
workspace
|
path | True |
string |
Çalışma alanının adı. |
api-version
|
query | True |
string |
Bu işlem için kullanılacak API sürümü. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Tamam ögesini seçin. |
|
Other Status Codes |
Azure Synapse hizmetinden alınan hata yanıtı. |
Örnekler
List sparkConfigurations in a workspace
Sample Request
Sample Response
Date: Wed, 23 Oct 2020 21:33:05 GMT
X-Content-Type-Options: nosniff
x-ms-ratelimit-remaining-subscription-reads: 14909
x-ms-request-id: f632df92-1140-4e19-9e19-0b1c8cbe393b
x-ms-correlation-request-id: f632df92-1140-4e19-9e19-0b1c8cbe393b
{
"value": [
{
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspace/sparkconfigurations/exampleSparkConfigurationName",
"name": "exampleSparkConfigurationName1",
"type": "Microsoft.Synapse/workspaces/sparkconfigurations",
"properties": {
"description": "test sparkconfiguration description1",
"configs": {
"prop1": "true",
"prop2": "true",
"prop3": "123"
},
"annotations": [
"testAnnotation1",
"testAnnotation2"
],
"notes": "testNotes",
"createdBy": "test@microsoft.com",
"created": "1970-01-01T00:00:00Z",
"configMergeRule": {
"currentOperation.spark.key1": "append",
"currentOperation.append.separator.spark.key1": "space",
"currentOperation.spark.key2": "append",
"currentOperation.append.separator.spark.key2": "comma",
"allowedNextOperations.spark.key1": "replace,delete",
"allowedNextOperations.spark.key2": "replace,delete,append"
}
},
"etag": "1500474f-0000-0200-0000-5cbe090d0000"
},
{
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspace/sparkconfigurations/exampleSparkConfigurationName2",
"name": "exampleSparkConfigurationName2",
"type": "Microsoft.Synapse/workspaces/sparkconfigurations",
"properties": {
"description": "test sparkconfiguration description2",
"configs": {
"prop1": "true",
"prop2": "true",
"prop3": "123"
},
"annotations": [
"testAnnotation1",
"testAnnotation2"
],
"notes": "testNotes",
"createdBy": "test@microsoft.com",
"created": "1970-01-01T00:00:00Z",
"configMergeRule": {
"currentOperation.spark.key1": "append",
"currentOperation.append.separator.spark.key1": "space",
"currentOperation.spark.key2": "append",
"currentOperation.append.separator.spark.key2": "comma",
"allowedNextOperations.spark.key1": "replace,delete",
"allowedNextOperations.spark.key2": "replace,delete,append"
}
},
"etag": "1500474f-0000-0200-0000-5cbe090d0000"
}
],
"nextLink": ""
}
Tanımlar
Name | Description |
---|---|
Error |
Kaynak yönetimi hatası ek bilgileri. |
Error |
Hata ayrıntısı. |
Error |
Hata yanıtı |
Spark |
SparkConfiguration kaynaklarının listesi. |
Spark |
SparkConfiguration yanıt ayrıntıları |
ErrorAdditionalInfo
Kaynak yönetimi hatası ek bilgileri.
Name | Tür | Description |
---|---|---|
info |
object |
Ek bilgiler. |
type |
string |
Ek bilgi türü. |
ErrorDetail
Hata ayrıntısı.
Name | Tür | Description |
---|---|---|
additionalInfo |
Hata ek bilgileri. |
|
code |
string |
Hata kodu. |
details |
Hata ayrıntıları. |
|
message |
string |
Hata iletisi. |
target |
string |
Hata hedefi. |
ErrorResponse
Hata yanıtı
Name | Tür | Description |
---|---|---|
error |
Hata nesnesi. |
SparkConfigurationListResponse
SparkConfiguration kaynaklarının listesi.
Name | Tür | Description |
---|---|---|
nextLink |
string |
Kalan sonuçlar varsa sonraki sonuç sayfasına bağlantı. |
value |
SparkConfiguration listesi. |
SparkConfigurationResource
SparkConfiguration yanıt ayrıntıları
Name | Tür | Description |
---|---|---|
etag |
string |
Kaynak Etag'i. |
id |
string |
Kaynağın tam kaynak kimliği. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
Kaynağın adı |
properties.annotations |
string[] |
SparkConfiguration için ek açıklamalar. |
properties.configMergeRule |
object |
SparkConfiguration birleştirme yapılandırmaları. |
properties.configs |
object |
SparkConfiguration yapılandırmaları. |
properties.created |
string |
Kaynak oluşturma zaman damgası. |
properties.createdBy |
string |
Kaynağı oluşturan kimlik. |
properties.description |
string |
SparkConfiguration hakkında açıklama. |
properties.notes |
string |
ek Notlar'a bakın. |
type |
string |
Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts" |