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
resourceGroupName
path True

string

Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir.

subscriptionId
path True

string

Hedef aboneliğin kimliği.

workspaceName
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

SparkConfigurationListResponse

Tamam ögesini seçin.

Other Status Codes

ErrorResponse

Azure Synapse hizmetinden alınan hata yanıtı.

Örnekler

List sparkConfigurations in a workspace

Sample Request

GET https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspace/sparkconfigurations?api-version=2021-06-01-preview

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
ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

ErrorDetail

Hata ayrıntısı.

ErrorResponse

Hata yanıtı

SparkConfigurationListResponse

SparkConfiguration kaynaklarının listesi.

SparkConfigurationResource

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

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

ErrorDetail[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorResponse

Hata yanıtı

Name Tür Description
error

ErrorDetail

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

SparkConfigurationResource[]

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"