Spark Configurations - List By Workspace
Visa en lista över sparkConfigurations på en arbetsyta.
Lista sparkConfigurations i en arbetsyta.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sparkconfigurations?api-version=2021-06-01-preview
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Namnet på resursgruppen. Namnet är skiftlägesokänsligt. |
subscription
|
path | True |
string |
ID för målprenumerationen. |
workspace
|
path | True |
string |
Namnet på arbetsytan. |
api-version
|
query | True |
string |
Den API-version som ska användas för den här åtgärden. |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
OK. |
|
Other Status Codes |
Ett felsvar som tagits emot från Azure Synapse-tjänsten. |
Exempel
List sparkConfigurations in a workspace
Exempelbegäran
Exempelsvar
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": ""
}
Definitioner
Name | Description |
---|---|
Error |
Ytterligare information om resurshanteringsfelet. |
Error |
Felinformationen. |
Error |
Felsvar |
Spark |
En lista över SparkConfiguration-resurser. |
Spark |
Svarsinformation om SparkConfiguration |
ErrorAdditionalInfo
Ytterligare information om resurshanteringsfelet.
Name | Typ | Description |
---|---|---|
info |
object |
Den ytterligare informationen. |
type |
string |
Ytterligare informationstyp. |
ErrorDetail
Felinformationen.
Name | Typ | Description |
---|---|---|
additionalInfo |
Ytterligare information om felet. |
|
code |
string |
Felkoden. |
details |
Felinformationen. |
|
message |
string |
Felmeddelandet. |
target |
string |
Felmålet. |
ErrorResponse
Felsvar
Name | Typ | Description |
---|---|---|
error |
Felobjektet. |
SparkConfigurationListResponse
En lista över SparkConfiguration-resurser.
Name | Typ | Description |
---|---|---|
nextLink |
string |
Länken till nästa sida med resultat, om det finns några återstående resultat. |
value |
Lista över SparkConfiguration. |
SparkConfigurationResource
Svarsinformation om SparkConfiguration
Name | Typ | Description |
---|---|---|
etag |
string |
Resurs-Etag. |
id |
string |
Fullständigt kvalificerat resurs-ID för resursen. Exempel – /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
Namnet på resursen |
properties.annotations |
string[] |
Anteckningar för SparkConfiguration. |
properties.configMergeRule |
object |
Sammanslagningskonfigurationer för SparkConfiguration. |
properties.configs |
object |
SparkConfiguration-konfigurationer. |
properties.created |
string |
Tidsstämpeln för resursskapande. |
properties.createdBy |
string |
Identiteten som skapade resursen. |
properties.description |
string |
Beskrivning av SparkConfiguration. |
properties.notes |
string |
ytterligare anteckningar. |
type |
string |
Resurstypen. Till exempel "Microsoft.Compute/virtualMachines" eller "Microsoft.Storage/storageAccounts" |