diff --git a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/tsp-location.yaml b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/tsp-location.yaml
index d42f5de7a940..e5c23549c652 100644
--- a/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/tsp-location.yaml
+++ b/sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/tsp-location.yaml
@@ -1,3 +1,4 @@
-directory: specification/agricultureplatform
-commit: eeb0e92b55f6c56827df9e7d57f5e08bc633e077
-repo: Azure/azure-rest-api-specs
\ No newline at end of file
+directory: specification/agricultureplatform/AgriculturePlatform.Management
+commit: 1f578543d267d08febc1bebf4e33ffe14363ddfc
+repo: Azure/azure-rest-api-specs
+additionalDirectories:
diff --git a/sdk/apicenter/azure.ApiCenter/Configuration.json b/sdk/apicenter/azure.ApiCenter/Configuration.json
new file mode 100644
index 000000000000..485b7a85641c
--- /dev/null
+++ b/sdk/apicenter/azure.ApiCenter/Configuration.json
@@ -0,0 +1,12 @@
+{
+ "output-folder": ".",
+ "namespace": "azure.ApiCenter",
+ "library-name": "azure.ApiCenter",
+ "flavor": "azure",
+ "use-model-reader-writer": true,
+ "shared-source-folders": [
+ "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Generator.Shared",
+ "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Azure.Core.Shared"
+ ],
+ "model-namespace": false
+}
diff --git a/sdk/apicenter/azure.ApiCenter/tsp-location.yaml b/sdk/apicenter/azure.ApiCenter/tsp-location.yaml
new file mode 100644
index 000000000000..fc1660908748
--- /dev/null
+++ b/sdk/apicenter/azure.ApiCenter/tsp-location.yaml
@@ -0,0 +1,4 @@
+directory: specification/apicenter/ApiCenter.DataApi
+commit: 1f578543d267d08febc1bebf4e33ffe14363ddfc
+repo: Azure/azure-rest-api-specs
+additionalDirectories:
diff --git a/sdk/apicenter/azure.ApiCenter/tspCodeModel.json b/sdk/apicenter/azure.ApiCenter/tspCodeModel.json
new file mode 100644
index 000000000000..d0460d99a559
--- /dev/null
+++ b/sdk/apicenter/azure.ApiCenter/tspCodeModel.json
@@ -0,0 +1,9921 @@
+{
+ "$id": "1",
+ "name": "ApiCenter.DataApi",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "enums": [
+ {
+ "$id": "2",
+ "kind": "enum",
+ "name": "ApiKind",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiKind",
+ "valueType": {
+ "$id": "3",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "4",
+ "kind": "enumvalue",
+ "name": "Rest",
+ "value": "rest",
+ "valueType": {
+ "$id": "5",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "REST API",
+ "decorators": []
+ },
+ {
+ "$id": "6",
+ "kind": "enumvalue",
+ "name": "Graphql",
+ "value": "graphql",
+ "valueType": {
+ "$id": "7",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "GraphQL API",
+ "decorators": []
+ },
+ {
+ "$id": "8",
+ "kind": "enumvalue",
+ "name": "Grpc",
+ "value": "grpc",
+ "valueType": {
+ "$id": "9",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "GRPC API",
+ "decorators": []
+ },
+ {
+ "$id": "10",
+ "kind": "enumvalue",
+ "name": "Soap",
+ "value": "soap",
+ "valueType": {
+ "$id": "11",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "SOAP API",
+ "decorators": []
+ },
+ {
+ "$id": "12",
+ "kind": "enumvalue",
+ "name": "Webhook",
+ "value": "webhook",
+ "valueType": {
+ "$id": "13",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Webhook API",
+ "decorators": []
+ },
+ {
+ "$id": "14",
+ "kind": "enumvalue",
+ "name": "Websocket",
+ "value": "websocket",
+ "valueType": {
+ "$id": "15",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "doc": "Websocket API",
+ "decorators": []
+ }
+ ],
+ "namespace": "azure.ApiCenter",
+ "doc": "API kind",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "16",
+ "kind": "enum",
+ "name": "LifecycleStage",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.LifecycleStage",
+ "valueType": {
+ "$id": "17",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "18",
+ "kind": "enumvalue",
+ "name": "Design",
+ "value": "design",
+ "valueType": {
+ "$id": "19",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "16"
+ },
+ "doc": "API is in the design stage",
+ "decorators": []
+ },
+ {
+ "$id": "20",
+ "kind": "enumvalue",
+ "name": "Development",
+ "value": "development",
+ "valueType": {
+ "$id": "21",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "16"
+ },
+ "doc": "API is in the development stage",
+ "decorators": []
+ },
+ {
+ "$id": "22",
+ "kind": "enumvalue",
+ "name": "Testing",
+ "value": "testing",
+ "valueType": {
+ "$id": "23",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "16"
+ },
+ "doc": "API is in the testing stage",
+ "decorators": []
+ },
+ {
+ "$id": "24",
+ "kind": "enumvalue",
+ "name": "Preview",
+ "value": "preview",
+ "valueType": {
+ "$id": "25",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "16"
+ },
+ "doc": "API is in the preview stage",
+ "decorators": []
+ },
+ {
+ "$id": "26",
+ "kind": "enumvalue",
+ "name": "Production",
+ "value": "production",
+ "valueType": {
+ "$id": "27",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "16"
+ },
+ "doc": "API is in the production stage",
+ "decorators": []
+ },
+ {
+ "$id": "28",
+ "kind": "enumvalue",
+ "name": "Deprecated",
+ "value": "deprecated",
+ "valueType": {
+ "$id": "29",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "16"
+ },
+ "doc": "API is in the deprecated stage",
+ "decorators": []
+ },
+ {
+ "$id": "30",
+ "kind": "enumvalue",
+ "name": "Retired",
+ "value": "retired",
+ "valueType": {
+ "$id": "31",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "16"
+ },
+ "doc": "API is in the retired stage",
+ "decorators": []
+ }
+ ],
+ "namespace": "azure.ApiCenter",
+ "doc": "API Lifecycle Stage",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "32",
+ "kind": "enum",
+ "name": "ApiSpecExportResultFormat",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecExportResultFormat",
+ "valueType": {
+ "$id": "33",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "34",
+ "kind": "enumvalue",
+ "name": "Link",
+ "value": "link",
+ "valueType": {
+ "$id": "35",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "32"
+ },
+ "doc": "Link format",
+ "decorators": []
+ }
+ ],
+ "namespace": "azure.ApiCenter",
+ "doc": "Export specification result format",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "36",
+ "kind": "enum",
+ "name": "EnvironmentKind",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentKind",
+ "valueType": {
+ "$id": "37",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "38",
+ "kind": "enumvalue",
+ "name": "Development",
+ "value": "development",
+ "valueType": {
+ "$id": "39",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "36"
+ },
+ "doc": "Environment is in the development stage",
+ "decorators": []
+ },
+ {
+ "$id": "40",
+ "kind": "enumvalue",
+ "name": "Testing",
+ "value": "testing",
+ "valueType": {
+ "$id": "41",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "36"
+ },
+ "doc": "Environment is in the testing stage",
+ "decorators": []
+ },
+ {
+ "$id": "42",
+ "kind": "enumvalue",
+ "name": "Staging",
+ "value": "staging",
+ "valueType": {
+ "$id": "43",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "36"
+ },
+ "doc": "Environment is in the staging stage",
+ "decorators": []
+ },
+ {
+ "$id": "44",
+ "kind": "enumvalue",
+ "name": "Production",
+ "value": "production",
+ "valueType": {
+ "$id": "45",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "36"
+ },
+ "doc": "Environment is in the production stage",
+ "decorators": []
+ }
+ ],
+ "namespace": "azure.ApiCenter",
+ "doc": "Environment kind",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "46",
+ "kind": "enum",
+ "name": "Versions",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Versions",
+ "valueType": {
+ "$id": "47",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "48",
+ "kind": "enumvalue",
+ "name": "v2024_02_01_preview",
+ "value": "2024-02-01-preview",
+ "valueType": {
+ "$id": "49",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "46"
+ },
+ "doc": "Preview release version 2024-02-01-preview",
+ "decorators": []
+ }
+ ],
+ "namespace": "azure.ApiCenter",
+ "doc": "API versions",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "ApiVersionEnum",
+ "decorators": []
+ },
+ {
+ "$id": "50",
+ "kind": "enum",
+ "name": "OperationState",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationState",
+ "valueType": {
+ "$id": "51",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "52",
+ "kind": "enumvalue",
+ "name": "NotStarted",
+ "value": "NotStarted",
+ "valueType": {
+ "$id": "53",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "50"
+ },
+ "doc": "The operation has not started.",
+ "decorators": []
+ },
+ {
+ "$id": "54",
+ "kind": "enumvalue",
+ "name": "Running",
+ "value": "Running",
+ "valueType": {
+ "$id": "55",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "50"
+ },
+ "doc": "The operation is in progress.",
+ "decorators": []
+ },
+ {
+ "$id": "56",
+ "kind": "enumvalue",
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "valueType": {
+ "$id": "57",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "50"
+ },
+ "doc": "The operation has completed successfully.",
+ "decorators": []
+ },
+ {
+ "$id": "58",
+ "kind": "enumvalue",
+ "name": "Failed",
+ "value": "Failed",
+ "valueType": {
+ "$id": "59",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "50"
+ },
+ "doc": "The operation has failed.",
+ "decorators": []
+ },
+ {
+ "$id": "60",
+ "kind": "enumvalue",
+ "name": "Canceled",
+ "value": "Canceled",
+ "valueType": {
+ "$id": "61",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "50"
+ },
+ "doc": "The operation has been canceled by the user.",
+ "decorators": []
+ }
+ ],
+ "namespace": "azure.ApiCenter",
+ "doc": "Enum describing allowed operation states.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope",
+ "decorators": []
+ }
+ ],
+ "models": [
+ {
+ "$id": "62",
+ "kind": "model",
+ "name": "Api",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api",
+ "usage": "Output,Json",
+ "doc": "API resource model.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "63",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "64",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.name",
+ "serializationOptions": {
+ "$id": "65",
+ "json": {
+ "$id": "66",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "67",
+ "kind": "property",
+ "name": "title",
+ "serializedName": "title",
+ "doc": "The name of the API.",
+ "type": {
+ "$id": "68",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.title",
+ "serializationOptions": {
+ "$id": "69",
+ "json": {
+ "$id": "70",
+ "name": "title"
+ }
+ }
+ },
+ {
+ "$id": "71",
+ "kind": "property",
+ "name": "summary",
+ "serializedName": "summary",
+ "doc": "Short description of the API.",
+ "type": {
+ "$id": "72",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.summary",
+ "serializationOptions": {
+ "$id": "73",
+ "json": {
+ "$id": "74",
+ "name": "summary"
+ }
+ }
+ },
+ {
+ "$id": "75",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The description of the API",
+ "type": {
+ "$id": "76",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.description",
+ "serializationOptions": {
+ "$id": "77",
+ "json": {
+ "$id": "78",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "79",
+ "kind": "property",
+ "name": "kind",
+ "serializedName": "kind",
+ "doc": "Kind of API. For example, REST or GraphQL.",
+ "type": {
+ "$ref": "2"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.kind",
+ "serializationOptions": {
+ "$id": "80",
+ "json": {
+ "$id": "81",
+ "name": "kind"
+ }
+ }
+ },
+ {
+ "$id": "82",
+ "kind": "property",
+ "name": "lifecycleStage",
+ "serializedName": "lifecycleStage",
+ "doc": "Current lifecycle stage of the API.",
+ "type": {
+ "$ref": "16"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.lifecycleStage",
+ "serializationOptions": {
+ "$id": "83",
+ "json": {
+ "$id": "84",
+ "name": "lifecycleStage"
+ }
+ }
+ },
+ {
+ "$id": "85",
+ "kind": "property",
+ "name": "termsOfService",
+ "serializedName": "termsOfService",
+ "doc": "Terms of service for the API.",
+ "type": {
+ "$id": "86",
+ "kind": "model",
+ "name": "TermsOfService",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.TermsOfService",
+ "usage": "Output,Json",
+ "doc": "API Terms of Service",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "87",
+ "kind": "property",
+ "name": "url",
+ "serializedName": "url",
+ "doc": "URL pointing to the terms of service.",
+ "type": {
+ "$id": "88",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.TermsOfService.url",
+ "serializationOptions": {
+ "$id": "89",
+ "json": {
+ "$id": "90",
+ "name": "url"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.termsOfService",
+ "serializationOptions": {
+ "$id": "91",
+ "json": {
+ "$id": "92",
+ "name": "termsOfService"
+ }
+ }
+ },
+ {
+ "$id": "93",
+ "kind": "property",
+ "name": "license",
+ "serializedName": "license",
+ "doc": "The license information for the API.",
+ "type": {
+ "$id": "94",
+ "kind": "model",
+ "name": "License",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.License",
+ "usage": "Output,Json",
+ "doc": "API License Model",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "95",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "Name of the license.",
+ "type": {
+ "$id": "96",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.License.name",
+ "serializationOptions": {
+ "$id": "97",
+ "json": {
+ "$id": "98",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "99",
+ "kind": "property",
+ "name": "url",
+ "serializedName": "url",
+ "doc": "URL pointing to the license details. The URL field is mutually exclusive of the identifier field.",
+ "type": {
+ "$id": "100",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.License.url",
+ "serializationOptions": {
+ "$id": "101",
+ "json": {
+ "$id": "102",
+ "name": "url"
+ }
+ }
+ },
+ {
+ "$id": "103",
+ "kind": "property",
+ "name": "identifier",
+ "serializedName": "identifier",
+ "doc": "SPDX license information for the API. The identifier field is mutually exclusive of the URL field.",
+ "type": {
+ "$id": "104",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.License.identifier",
+ "serializationOptions": {
+ "$id": "105",
+ "json": {
+ "$id": "106",
+ "name": "identifier"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.license",
+ "serializationOptions": {
+ "$id": "107",
+ "json": {
+ "$id": "108",
+ "name": "license"
+ }
+ }
+ },
+ {
+ "$id": "109",
+ "kind": "property",
+ "name": "externalDocumentation",
+ "serializedName": "externalDocumentation",
+ "doc": "External documentation",
+ "type": {
+ "$id": "110",
+ "kind": "array",
+ "name": "ArrayExternalDocumentation",
+ "valueType": {
+ "$id": "111",
+ "kind": "model",
+ "name": "ExternalDocumentation",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ExternalDocumentation",
+ "usage": "Output,Json",
+ "doc": "Api External Documentation Model",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "112",
+ "kind": "property",
+ "name": "title",
+ "serializedName": "title",
+ "doc": "Title of the documentation.",
+ "type": {
+ "$id": "113",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ExternalDocumentation.title",
+ "serializationOptions": {
+ "$id": "114",
+ "json": {
+ "$id": "115",
+ "name": "title"
+ }
+ }
+ },
+ {
+ "$id": "116",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "Description of the documentation.",
+ "type": {
+ "$id": "117",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ExternalDocumentation.description",
+ "serializationOptions": {
+ "$id": "118",
+ "json": {
+ "$id": "119",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "120",
+ "kind": "property",
+ "name": "url",
+ "serializedName": "url",
+ "doc": "URL pointing to the documentation.",
+ "type": {
+ "$id": "121",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ExternalDocumentation.url",
+ "serializationOptions": {
+ "$id": "122",
+ "json": {
+ "$id": "123",
+ "name": "url"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.externalDocumentation",
+ "serializationOptions": {
+ "$id": "124",
+ "json": {
+ "$id": "125",
+ "name": "externalDocumentation"
+ }
+ }
+ },
+ {
+ "$id": "126",
+ "kind": "property",
+ "name": "contacts",
+ "serializedName": "contacts",
+ "doc": "Points of contact for the API.",
+ "type": {
+ "$id": "127",
+ "kind": "array",
+ "name": "ArrayContact",
+ "valueType": {
+ "$id": "128",
+ "kind": "model",
+ "name": "Contact",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Contact",
+ "usage": "Output,Json",
+ "doc": "API contact information",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "129",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "Name of the contact.",
+ "type": {
+ "$id": "130",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Contact.name",
+ "serializationOptions": {
+ "$id": "131",
+ "json": {
+ "$id": "132",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "133",
+ "kind": "property",
+ "name": "url",
+ "serializedName": "url",
+ "doc": "URL for the contact.",
+ "type": {
+ "$id": "134",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Contact.url",
+ "serializationOptions": {
+ "$id": "135",
+ "json": {
+ "$id": "136",
+ "name": "url"
+ }
+ }
+ },
+ {
+ "$id": "137",
+ "kind": "property",
+ "name": "email",
+ "serializedName": "email",
+ "doc": "Email address for the contact.",
+ "type": {
+ "$id": "138",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Contact.email",
+ "serializationOptions": {
+ "$id": "139",
+ "json": {
+ "$id": "140",
+ "name": "email"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.contacts",
+ "serializationOptions": {
+ "$id": "141",
+ "json": {
+ "$id": "142",
+ "name": "contacts"
+ }
+ }
+ },
+ {
+ "$id": "143",
+ "kind": "property",
+ "name": "customProperties",
+ "serializedName": "customProperties",
+ "doc": "The custom metadata defined for API entities.",
+ "type": {
+ "$id": "144",
+ "kind": "model",
+ "name": "ApiCustomProperties",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.customProperties.anonymous",
+ "usage": "Output,Json",
+ "decorators": [],
+ "properties": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.customProperties",
+ "serializationOptions": {
+ "$id": "145",
+ "json": {
+ "$id": "146",
+ "name": "customProperties"
+ }
+ }
+ },
+ {
+ "$id": "147",
+ "kind": "property",
+ "name": "lastUpdated",
+ "serializedName": "lastUpdated",
+ "doc": "Last updated date and time.",
+ "type": {
+ "$id": "148",
+ "kind": "utcDateTime",
+ "name": "utcDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "149",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.utcDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Api.lastUpdated",
+ "serializationOptions": {
+ "$id": "150",
+ "json": {
+ "$id": "151",
+ "name": "lastUpdated"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "86"
+ },
+ {
+ "$ref": "94"
+ },
+ {
+ "$ref": "111"
+ },
+ {
+ "$ref": "128"
+ },
+ {
+ "$ref": "144"
+ },
+ {
+ "$id": "152",
+ "kind": "model",
+ "name": "PagedApiAll",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedApiAll",
+ "usage": "Output,Json",
+ "doc": "Paged collection of API items across workspaces.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "153",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The Api items on this page",
+ "type": {
+ "$id": "154",
+ "kind": "array",
+ "name": "ArrayApi",
+ "valueType": {
+ "$ref": "62"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedApiAll.value",
+ "serializationOptions": {
+ "$id": "155",
+ "json": {
+ "$id": "156",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "157",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "158",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "159",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedApiAll.nextLink",
+ "serializationOptions": {
+ "$id": "160",
+ "json": {
+ "$id": "161",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "162",
+ "kind": "model",
+ "name": "ApiDefinition",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinition",
+ "usage": "Output,Json",
+ "doc": "API definition resource model.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "163",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "Definition identifier.",
+ "type": {
+ "$id": "164",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinition.name",
+ "serializationOptions": {
+ "$id": "165",
+ "json": {
+ "$id": "166",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "167",
+ "kind": "property",
+ "name": "title",
+ "serializedName": "title",
+ "doc": "The name of the API definition.",
+ "type": {
+ "$id": "168",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinition.title",
+ "serializationOptions": {
+ "$id": "169",
+ "json": {
+ "$id": "170",
+ "name": "title"
+ }
+ }
+ },
+ {
+ "$id": "171",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The description of the API definition.",
+ "type": {
+ "$id": "172",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinition.description",
+ "serializationOptions": {
+ "$id": "173",
+ "json": {
+ "$id": "174",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "175",
+ "kind": "property",
+ "name": "specification",
+ "serializedName": "specification",
+ "doc": "The API specification details.",
+ "type": {
+ "$id": "176",
+ "kind": "model",
+ "name": "ApiSpecification",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecification",
+ "usage": "Output,Json",
+ "doc": "API specification",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "177",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "API specification name, e.g. 'swagger' or 'openapi'.",
+ "type": {
+ "$id": "178",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecification.name",
+ "serializationOptions": {
+ "$id": "179",
+ "json": {
+ "$id": "180",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "181",
+ "kind": "property",
+ "name": "version",
+ "serializedName": "version",
+ "doc": "API specification version, e.g. '3.0.1'.",
+ "type": {
+ "$id": "182",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecification.version",
+ "serializationOptions": {
+ "$id": "183",
+ "json": {
+ "$id": "184",
+ "name": "version"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinition.specification",
+ "serializationOptions": {
+ "$id": "185",
+ "json": {
+ "$id": "186",
+ "name": "specification"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "176"
+ },
+ {
+ "$id": "187",
+ "kind": "model",
+ "name": "ApiSpecExportResult",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecExportResult",
+ "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope",
+ "doc": "Export specification result model.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "188",
+ "kind": "property",
+ "name": "definitionName",
+ "serializedName": "definitionName",
+ "doc": "API definition identifier.",
+ "type": {
+ "$id": "189",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecExportResult.definitionName",
+ "serializationOptions": {
+ "$id": "190",
+ "json": {
+ "$id": "191",
+ "name": "definitionName"
+ }
+ }
+ },
+ {
+ "$id": "192",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The result of the specification export.",
+ "type": {
+ "$id": "193",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecExportResult.value",
+ "serializationOptions": {
+ "$id": "194",
+ "json": {
+ "$id": "195",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "196",
+ "kind": "property",
+ "name": "format",
+ "serializedName": "format",
+ "doc": "The format of the specification export result.",
+ "type": {
+ "$ref": "32"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiSpecExportResult.format",
+ "serializationOptions": {
+ "$id": "197",
+ "json": {
+ "$id": "198",
+ "name": "format"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "199",
+ "kind": "model",
+ "name": "ApiDeployment",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment",
+ "usage": "Output,Json",
+ "doc": "API deployment resource model.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "200",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "Deployment identifier.",
+ "type": {
+ "$id": "201",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.name",
+ "serializationOptions": {
+ "$id": "202",
+ "json": {
+ "$id": "203",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "204",
+ "kind": "property",
+ "name": "title",
+ "serializedName": "title",
+ "doc": "The name of the deployment.",
+ "type": {
+ "$id": "205",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.title",
+ "serializationOptions": {
+ "$id": "206",
+ "json": {
+ "$id": "207",
+ "name": "title"
+ }
+ }
+ },
+ {
+ "$id": "208",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "The description of the deployment.",
+ "type": {
+ "$id": "209",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.description",
+ "serializationOptions": {
+ "$id": "210",
+ "json": {
+ "$id": "211",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "212",
+ "kind": "property",
+ "name": "environment",
+ "serializedName": "environment",
+ "doc": "The name of the deployment environment.",
+ "type": {
+ "$id": "213",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.environment",
+ "serializationOptions": {
+ "$id": "214",
+ "json": {
+ "$id": "215",
+ "name": "environment"
+ }
+ }
+ },
+ {
+ "$id": "216",
+ "kind": "property",
+ "name": "server",
+ "serializedName": "server",
+ "doc": "The server information of the API deployment.",
+ "type": {
+ "$id": "217",
+ "kind": "model",
+ "name": "ApiDeploymentServer",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeploymentServer",
+ "usage": "Output,Json",
+ "doc": "Api Deployment Server",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "218",
+ "kind": "property",
+ "name": "runtimeUris",
+ "serializedName": "runtimeUris",
+ "doc": "Base runtime URIs for this deployment.",
+ "type": {
+ "$id": "219",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "220",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeploymentServer.runtimeUris",
+ "serializationOptions": {
+ "$id": "221",
+ "json": {
+ "$id": "222",
+ "name": "runtimeUris"
+ }
+ }
+ }
+ ]
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.server",
+ "serializationOptions": {
+ "$id": "223",
+ "json": {
+ "$id": "224",
+ "name": "server"
+ }
+ }
+ },
+ {
+ "$id": "225",
+ "kind": "property",
+ "name": "customProperties",
+ "serializedName": "customProperties",
+ "doc": "The custom metadata defined for API deployment entities.",
+ "type": {
+ "$id": "226",
+ "kind": "model",
+ "name": "ApiDeploymentCustomProperties",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.customProperties.anonymous",
+ "usage": "Output,Json",
+ "decorators": [],
+ "properties": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.customProperties",
+ "serializationOptions": {
+ "$id": "227",
+ "json": {
+ "$id": "228",
+ "name": "customProperties"
+ }
+ }
+ },
+ {
+ "$id": "229",
+ "kind": "property",
+ "name": "recommended",
+ "serializedName": "recommended",
+ "doc": "Indicates if this is currently recommended deployment.",
+ "type": {
+ "$id": "230",
+ "kind": "boolean",
+ "name": "boolean",
+ "crossLanguageDefinitionId": "TypeSpec.boolean",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployment.recommended",
+ "serializationOptions": {
+ "$id": "231",
+ "json": {
+ "$id": "232",
+ "name": "recommended"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "217"
+ },
+ {
+ "$ref": "226"
+ },
+ {
+ "$id": "233",
+ "kind": "model",
+ "name": "Environment",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment",
+ "usage": "Output,Json",
+ "doc": "Environment resource model.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "234",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "Environment identifier.",
+ "type": {
+ "$id": "235",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.name",
+ "serializationOptions": {
+ "$id": "236",
+ "json": {
+ "$id": "237",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "238",
+ "kind": "property",
+ "name": "title",
+ "serializedName": "title",
+ "doc": "The name of the environment.",
+ "type": {
+ "$id": "239",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.title",
+ "serializationOptions": {
+ "$id": "240",
+ "json": {
+ "$id": "241",
+ "name": "title"
+ }
+ }
+ },
+ {
+ "$id": "242",
+ "kind": "property",
+ "name": "kind",
+ "serializedName": "kind",
+ "doc": "Kind of deployment environment.",
+ "type": {
+ "$ref": "36"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.kind",
+ "serializationOptions": {
+ "$id": "243",
+ "json": {
+ "$id": "244",
+ "name": "kind"
+ }
+ }
+ },
+ {
+ "$id": "245",
+ "kind": "property",
+ "name": "description",
+ "serializedName": "description",
+ "doc": "Description of the environment.",
+ "type": {
+ "$id": "246",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.description",
+ "serializationOptions": {
+ "$id": "247",
+ "json": {
+ "$id": "248",
+ "name": "description"
+ }
+ }
+ },
+ {
+ "$id": "249",
+ "kind": "property",
+ "name": "server",
+ "serializedName": "server",
+ "doc": "Server information of the environment.",
+ "type": {
+ "$id": "250",
+ "kind": "model",
+ "name": "EnvironmentServer",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentServer",
+ "usage": "Output,Json",
+ "doc": "Environment Server",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "251",
+ "kind": "property",
+ "name": "type",
+ "serializedName": "type",
+ "doc": "Type of the server that represents the environment.",
+ "type": {
+ "$id": "252",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentServer.type",
+ "serializationOptions": {
+ "$id": "253",
+ "json": {
+ "$id": "254",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "255",
+ "kind": "property",
+ "name": "managementPortalUris",
+ "serializedName": "managementPortalUris",
+ "doc": "URIs of the server's management portal.",
+ "type": {
+ "$id": "256",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "257",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentServer.managementPortalUris",
+ "serializationOptions": {
+ "$id": "258",
+ "json": {
+ "$id": "259",
+ "name": "managementPortalUris"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.server",
+ "serializationOptions": {
+ "$id": "260",
+ "json": {
+ "$id": "261",
+ "name": "server"
+ }
+ }
+ },
+ {
+ "$id": "262",
+ "kind": "property",
+ "name": "onboarding",
+ "serializedName": "onboarding",
+ "doc": "Onboarding information for this environment.",
+ "type": {
+ "$id": "263",
+ "kind": "model",
+ "name": "EnvironmentOnboardingModel",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentOnboardingModel",
+ "usage": "Output,Json",
+ "doc": "Environment Onboarding Model",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "264",
+ "kind": "property",
+ "name": "instructions",
+ "serializedName": "instructions",
+ "doc": "Instructions how to onboard to the environment.",
+ "type": {
+ "$id": "265",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentOnboardingModel.instructions",
+ "serializationOptions": {
+ "$id": "266",
+ "json": {
+ "$id": "267",
+ "name": "instructions"
+ }
+ }
+ },
+ {
+ "$id": "268",
+ "kind": "property",
+ "name": "developerPortalUris",
+ "serializedName": "developerPortalUris",
+ "doc": "Developer portal URIs of the environment.",
+ "type": {
+ "$id": "269",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "270",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.EnvironmentOnboardingModel.developerPortalUris",
+ "serializationOptions": {
+ "$id": "271",
+ "json": {
+ "$id": "272",
+ "name": "developerPortalUris"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.onboarding",
+ "serializationOptions": {
+ "$id": "273",
+ "json": {
+ "$id": "274",
+ "name": "onboarding"
+ }
+ }
+ },
+ {
+ "$id": "275",
+ "kind": "property",
+ "name": "customProperties",
+ "serializedName": "customProperties",
+ "doc": "The custom metadata defined for environment entities.",
+ "type": {
+ "$id": "276",
+ "kind": "model",
+ "name": "EnvironmentCustomProperties",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.customProperties.anonymous",
+ "usage": "Output,Json",
+ "decorators": [],
+ "properties": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environment.customProperties",
+ "serializationOptions": {
+ "$id": "277",
+ "json": {
+ "$id": "278",
+ "name": "customProperties"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "250"
+ },
+ {
+ "$ref": "263"
+ },
+ {
+ "$ref": "276"
+ },
+ {
+ "$id": "279",
+ "kind": "model",
+ "name": "PagedEnvironmentAll",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedEnvironmentAll",
+ "usage": "Output,Json",
+ "doc": "Paged collection of Environment items across workspaces",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "280",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The Environment items on this page",
+ "type": {
+ "$id": "281",
+ "kind": "array",
+ "name": "ArrayEnvironment",
+ "valueType": {
+ "$ref": "233"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedEnvironmentAll.value",
+ "serializationOptions": {
+ "$id": "282",
+ "json": {
+ "$id": "283",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "284",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "285",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "286",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.PagedEnvironmentAll.nextLink",
+ "serializationOptions": {
+ "$id": "287",
+ "json": {
+ "$id": "288",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "289",
+ "kind": "model",
+ "name": "ApiVersion",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersion",
+ "usage": "Output,Json",
+ "doc": "API version resource model.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "290",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "Version identifier.",
+ "type": {
+ "$id": "291",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersion.name",
+ "serializationOptions": {
+ "$id": "292",
+ "json": {
+ "$id": "293",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "294",
+ "kind": "property",
+ "name": "title",
+ "serializedName": "title",
+ "doc": "Version title.",
+ "type": {
+ "$id": "295",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersion.title",
+ "serializationOptions": {
+ "$id": "296",
+ "json": {
+ "$id": "297",
+ "name": "title"
+ }
+ }
+ },
+ {
+ "$id": "298",
+ "kind": "property",
+ "name": "lifecycleStage",
+ "serializedName": "lifecycleStage",
+ "doc": "Current lifecycle stage of the API version.",
+ "type": {
+ "$ref": "16"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersion.lifecycleStage",
+ "serializationOptions": {
+ "$id": "299",
+ "json": {
+ "$id": "300",
+ "name": "lifecycleStage"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "301",
+ "kind": "model",
+ "name": "PagedApi",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage",
+ "usage": "Output,Json",
+ "doc": "Paged collection of Api items",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "302",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The Api items on this page",
+ "type": {
+ "$id": "303",
+ "kind": "array",
+ "name": "ArrayApi",
+ "valueType": {
+ "$ref": "62"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value",
+ "serializationOptions": {
+ "$id": "304",
+ "json": {
+ "$id": "305",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "306",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "307",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "308",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink",
+ "serializationOptions": {
+ "$id": "309",
+ "json": {
+ "$id": "310",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "311",
+ "kind": "model",
+ "name": "PagedApiDefinition",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage",
+ "usage": "Output,Json",
+ "doc": "Paged collection of ApiDefinition items",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "312",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The ApiDefinition items on this page",
+ "type": {
+ "$id": "313",
+ "kind": "array",
+ "name": "ArrayApiDefinition",
+ "valueType": {
+ "$ref": "162"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value",
+ "serializationOptions": {
+ "$id": "314",
+ "json": {
+ "$id": "315",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "316",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "317",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "318",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink",
+ "serializationOptions": {
+ "$id": "319",
+ "json": {
+ "$id": "320",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "321",
+ "kind": "model",
+ "name": "ResourceOperationStatusApiSpecExportResultApiSpecExportResultError",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus",
+ "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope",
+ "doc": "Provides status details for long running operations.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "322",
+ "kind": "property",
+ "name": "id",
+ "serializedName": "id",
+ "doc": "The unique ID of the operation.",
+ "type": {
+ "$id": "323",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.id",
+ "serializationOptions": {
+ "$id": "324",
+ "json": {
+ "$id": "325",
+ "name": "id"
+ }
+ }
+ },
+ {
+ "$id": "326",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "doc": "The status of the operation",
+ "type": {
+ "$ref": "50"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.status",
+ "serializationOptions": {
+ "$id": "327",
+ "json": {
+ "$id": "328",
+ "name": "status"
+ }
+ }
+ },
+ {
+ "$id": "329",
+ "kind": "property",
+ "name": "error",
+ "serializedName": "error",
+ "doc": "Error object that describes the error when status is \"Failed\".",
+ "type": {
+ "$id": "330",
+ "kind": "model",
+ "name": "Error",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error",
+ "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope",
+ "doc": "The error object.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "331",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "doc": "One of a server-defined set of error codes.",
+ "type": {
+ "$id": "332",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.code",
+ "serializationOptions": {
+ "$id": "333",
+ "json": {
+ "$id": "334",
+ "name": "code"
+ }
+ }
+ },
+ {
+ "$id": "335",
+ "kind": "property",
+ "name": "message",
+ "serializedName": "message",
+ "doc": "A human-readable representation of the error.",
+ "type": {
+ "$id": "336",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.message",
+ "serializationOptions": {
+ "$id": "337",
+ "json": {
+ "$id": "338",
+ "name": "message"
+ }
+ }
+ },
+ {
+ "$id": "339",
+ "kind": "property",
+ "name": "target",
+ "serializedName": "target",
+ "doc": "The target of the error.",
+ "type": {
+ "$id": "340",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.target",
+ "serializationOptions": {
+ "$id": "341",
+ "json": {
+ "$id": "342",
+ "name": "target"
+ }
+ }
+ },
+ {
+ "$id": "343",
+ "kind": "property",
+ "name": "details",
+ "serializedName": "details",
+ "doc": "An array of details about specific errors that led to this reported error.",
+ "type": {
+ "$id": "344",
+ "kind": "array",
+ "name": "ArrayError",
+ "valueType": {
+ "$ref": "330"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.details",
+ "serializationOptions": {
+ "$id": "345",
+ "json": {
+ "$id": "346",
+ "name": "details"
+ }
+ }
+ },
+ {
+ "$id": "347",
+ "kind": "property",
+ "name": "innererror",
+ "serializedName": "innererror",
+ "doc": "An object containing more specific information than the current object about the error.",
+ "type": {
+ "$id": "348",
+ "kind": "model",
+ "name": "InnerError",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError",
+ "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope",
+ "doc": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "349",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "doc": "One of a server-defined set of error codes.",
+ "type": {
+ "$id": "350",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.code",
+ "serializationOptions": {
+ "$id": "351",
+ "json": {
+ "$id": "352",
+ "name": "code"
+ }
+ }
+ },
+ {
+ "$id": "353",
+ "kind": "property",
+ "name": "innererror",
+ "serializedName": "innererror",
+ "doc": "Inner error.",
+ "type": {
+ "$ref": "348"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.innererror",
+ "serializationOptions": {
+ "$id": "354",
+ "json": {
+ "$id": "355",
+ "name": "innererror"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.innererror",
+ "serializationOptions": {
+ "$id": "356",
+ "json": {
+ "$id": "357",
+ "name": "innererror"
+ }
+ }
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.error",
+ "serializationOptions": {
+ "$id": "358",
+ "json": {
+ "$id": "359",
+ "name": "error"
+ }
+ }
+ },
+ {
+ "$id": "360",
+ "kind": "property",
+ "name": "result",
+ "serializedName": "result",
+ "doc": "The result of the operation.",
+ "type": {
+ "$ref": "187"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus.result",
+ "serializationOptions": {
+ "$id": "361",
+ "json": {
+ "$id": "362",
+ "name": "result"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "330"
+ },
+ {
+ "$ref": "348"
+ },
+ {
+ "$id": "363",
+ "kind": "model",
+ "name": "PagedApiDeployment",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage",
+ "usage": "Output,Json",
+ "doc": "Paged collection of ApiDeployment items",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "364",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The ApiDeployment items on this page",
+ "type": {
+ "$id": "365",
+ "kind": "array",
+ "name": "ArrayApiDeployment",
+ "valueType": {
+ "$ref": "199"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value",
+ "serializationOptions": {
+ "$id": "366",
+ "json": {
+ "$id": "367",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "368",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "369",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "370",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink",
+ "serializationOptions": {
+ "$id": "371",
+ "json": {
+ "$id": "372",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "373",
+ "kind": "model",
+ "name": "PagedEnvironment",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage",
+ "usage": "Output,Json",
+ "doc": "Paged collection of Environment items",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "374",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The Environment items on this page",
+ "type": {
+ "$id": "375",
+ "kind": "array",
+ "name": "ArrayEnvironment",
+ "valueType": {
+ "$ref": "233"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value",
+ "serializationOptions": {
+ "$id": "376",
+ "json": {
+ "$id": "377",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "378",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "379",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "380",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink",
+ "serializationOptions": {
+ "$id": "381",
+ "json": {
+ "$id": "382",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "383",
+ "kind": "model",
+ "name": "PagedApiVersion",
+ "namespace": "azure.ApiCenter",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage",
+ "usage": "Output,Json",
+ "doc": "Paged collection of ApiVersion items",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "384",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The ApiVersion items on this page",
+ "type": {
+ "$id": "385",
+ "kind": "array",
+ "name": "ArrayApiVersion",
+ "valueType": {
+ "$ref": "289"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.value",
+ "serializationOptions": {
+ "$id": "386",
+ "json": {
+ "$id": "387",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "388",
+ "kind": "property",
+ "name": "nextLink",
+ "serializedName": "nextLink",
+ "doc": "The link to the next page of items",
+ "type": {
+ "$id": "389",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "390",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage.nextLink",
+ "serializationOptions": {
+ "$id": "391",
+ "json": {
+ "$id": "392",
+ "name": "nextLink"
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "clients": [
+ {
+ "$id": "393",
+ "kind": "client",
+ "name": "DataApiClient",
+ "namespace": "azure.ApiCenter",
+ "doc": "Data API introduces endpoints to manage your API Center resources.",
+ "methods": [],
+ "parameters": [],
+ "decorators": [
+ {
+ "$id": "394",
+ "name": "TypeSpec.@service",
+ "arguments": {
+ "$id": "395",
+ "options": {
+ "$id": "396",
+ "title": "Azure API Center Data API"
+ }
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "children": [
+ {
+ "$id": "397",
+ "kind": "client",
+ "name": "Apis",
+ "namespace": "azure.ApiCenter",
+ "methods": [
+ {
+ "$id": "398",
+ "kind": "paging",
+ "name": "list",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "List a collection of APIs.",
+ "operation": {
+ "$id": "399",
+ "name": "list",
+ "resourceName": "Api",
+ "doc": "List a collection of APIs.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "400",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "401",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "402",
+ "type": {
+ "$id": "403",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "404",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "405",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "406",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "407",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "408",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "409",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "410",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "411",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "412",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "413",
+ "kind": "constant",
+ "valueType": {
+ "$id": "414",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "415",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "301"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/apis",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Apis.list",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "416",
+ "kind": "http",
+ "name": "Apis_List",
+ "description": "Apis_List",
+ "filePath": "2024-02-01-preview/Apis_List.json",
+ "parameters": [
+ {
+ "$id": "417",
+ "parameter": {
+ "$ref": "400"
+ },
+ "value": {
+ "$id": "418",
+ "kind": "string",
+ "type": {
+ "$ref": "401"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "419",
+ "parameter": {
+ "$ref": "404"
+ },
+ "value": {
+ "$id": "420",
+ "kind": "string",
+ "type": {
+ "$ref": "405"
+ },
+ "value": "default"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "421",
+ "response": {
+ "$ref": "415"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "422",
+ "kind": "model",
+ "type": {
+ "$ref": "301"
+ },
+ "value": {
+ "$id": "423",
+ "value": {
+ "$id": "424",
+ "kind": "array",
+ "type": {
+ "$ref": "303"
+ },
+ "value": [
+ {
+ "$id": "425",
+ "kind": "model",
+ "type": {
+ "$ref": "62"
+ },
+ "value": {
+ "$id": "426",
+ "name": {
+ "$id": "427",
+ "kind": "string",
+ "type": {
+ "$ref": "64"
+ },
+ "value": "echo-api"
+ },
+ "title": {
+ "$id": "428",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Echo API"
+ },
+ "kind": {
+ "$id": "429",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "rest"
+ },
+ "lastUpdated": {
+ "$id": "430",
+ "kind": "string",
+ "type": {
+ "$ref": "148"
+ },
+ "value": "2023-12-18T18:49:11.878Z"
+ },
+ "description": {
+ "$id": "431",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "A simple HTTP request/response service."
+ },
+ "lifecycleStage": {
+ "$id": "432",
+ "kind": "string",
+ "type": {
+ "$ref": "16"
+ },
+ "value": "design"
+ },
+ "termsOfService": {
+ "$id": "433",
+ "kind": "model",
+ "type": {
+ "$ref": "86"
+ },
+ "value": {
+ "$id": "434",
+ "url": {
+ "$id": "435",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "https://contoso.com/terms-of-service"
+ }
+ }
+ },
+ "license": {
+ "$id": "436",
+ "kind": "model",
+ "type": {
+ "$ref": "94"
+ },
+ "value": {
+ "$id": "437",
+ "name": {
+ "$id": "438",
+ "kind": "string",
+ "type": {
+ "$ref": "96"
+ },
+ "value": "default"
+ },
+ "url": {
+ "$id": "439",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "https://contoso.com/license"
+ }
+ }
+ },
+ "externalDocumentation": {
+ "$id": "440",
+ "kind": "array",
+ "type": {
+ "$ref": "110"
+ },
+ "value": [
+ {
+ "$id": "441",
+ "kind": "model",
+ "type": {
+ "$ref": "111"
+ },
+ "value": {
+ "$id": "442",
+ "title": {
+ "$id": "443",
+ "kind": "string",
+ "type": {
+ "$ref": "113"
+ },
+ "value": "Onboarding docs"
+ },
+ "description": {
+ "$id": "444",
+ "kind": "string",
+ "type": {
+ "$ref": "117"
+ },
+ "value": "Learn how to onboard to the Echo API."
+ },
+ "url": {
+ "$id": "445",
+ "kind": "string",
+ "type": {
+ "$ref": "121"
+ },
+ "value": "https://docs.contoso.com"
+ }
+ }
+ }
+ ]
+ },
+ "contacts": {
+ "$id": "446",
+ "kind": "array",
+ "type": {
+ "$ref": "127"
+ },
+ "value": [
+ {
+ "$id": "447",
+ "kind": "model",
+ "type": {
+ "$ref": "128"
+ },
+ "value": {
+ "$id": "448",
+ "name": {
+ "$id": "449",
+ "kind": "string",
+ "type": {
+ "$ref": "130"
+ },
+ "value": "Contoso support"
+ },
+ "url": {
+ "$id": "450",
+ "kind": "string",
+ "type": {
+ "$ref": "134"
+ },
+ "value": "https://support.contoso.com"
+ },
+ "email": {
+ "$id": "451",
+ "kind": "string",
+ "type": {
+ "$ref": "138"
+ },
+ "value": "support@contoso.com"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "nextLink": {
+ "$id": "452",
+ "kind": "string",
+ "type": {
+ "$ref": "307"
+ },
+ "value": "https://..."
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "453",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "454",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "455",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "456",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "457",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "458",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "459",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "460",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "461",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "413"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "462",
+ "type": {
+ "$id": "463",
+ "kind": "array",
+ "name": "ArrayApi",
+ "valueType": {
+ "$ref": "62"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "resultSegments": [
+ "value"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Apis.list",
+ "pagingMetadata": {
+ "$id": "464",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "465",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ }
+ },
+ {
+ "$id": "466",
+ "kind": "basic",
+ "name": "listAll",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "List a collection of APIs across workspaces.",
+ "operation": {
+ "$id": "467",
+ "name": "listAll",
+ "resourceName": "Apis",
+ "doc": "List a collection of APIs across workspaces.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "468",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "469",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "470",
+ "type": {
+ "$id": "471",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "472",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "473",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "474",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "475",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "476",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "477",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "478",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "479",
+ "kind": "constant",
+ "valueType": {
+ "$id": "480",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "481",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "152"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/apis",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Apis.listAll",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "482",
+ "kind": "http",
+ "name": "Apis_ListAll",
+ "description": "Apis_ListAll",
+ "filePath": "2024-02-01-preview/Apis_ListAll.json",
+ "parameters": [
+ {
+ "$id": "483",
+ "parameter": {
+ "$ref": "468"
+ },
+ "value": {
+ "$id": "484",
+ "kind": "string",
+ "type": {
+ "$ref": "469"
+ },
+ "value": "2024-02-01-preview"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "485",
+ "response": {
+ "$ref": "481"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "486",
+ "kind": "model",
+ "type": {
+ "$ref": "152"
+ },
+ "value": {
+ "$id": "487",
+ "value": {
+ "$id": "488",
+ "kind": "array",
+ "type": {
+ "$ref": "154"
+ },
+ "value": [
+ {
+ "$id": "489",
+ "kind": "model",
+ "type": {
+ "$ref": "62"
+ },
+ "value": {
+ "$id": "490",
+ "name": {
+ "$id": "491",
+ "kind": "string",
+ "type": {
+ "$ref": "64"
+ },
+ "value": "echo-api"
+ },
+ "title": {
+ "$id": "492",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Echo API"
+ },
+ "kind": {
+ "$id": "493",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "rest"
+ },
+ "lastUpdated": {
+ "$id": "494",
+ "kind": "string",
+ "type": {
+ "$ref": "148"
+ },
+ "value": "2023-12-18T18:49:11.878Z"
+ },
+ "description": {
+ "$id": "495",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "A simple HTTP request/response service."
+ },
+ "lifecycleStage": {
+ "$id": "496",
+ "kind": "string",
+ "type": {
+ "$ref": "16"
+ },
+ "value": "design"
+ },
+ "termsOfService": {
+ "$id": "497",
+ "kind": "model",
+ "type": {
+ "$ref": "86"
+ },
+ "value": {
+ "$id": "498",
+ "url": {
+ "$id": "499",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "https://contoso.com/terms-of-service"
+ }
+ }
+ },
+ "license": {
+ "$id": "500",
+ "kind": "model",
+ "type": {
+ "$ref": "94"
+ },
+ "value": {
+ "$id": "501",
+ "name": {
+ "$id": "502",
+ "kind": "string",
+ "type": {
+ "$ref": "96"
+ },
+ "value": "default"
+ },
+ "url": {
+ "$id": "503",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "https://contoso.com/license"
+ }
+ }
+ },
+ "externalDocumentation": {
+ "$id": "504",
+ "kind": "array",
+ "type": {
+ "$ref": "110"
+ },
+ "value": [
+ {
+ "$id": "505",
+ "kind": "model",
+ "type": {
+ "$ref": "111"
+ },
+ "value": {
+ "$id": "506",
+ "title": {
+ "$id": "507",
+ "kind": "string",
+ "type": {
+ "$ref": "113"
+ },
+ "value": "Onboarding docs"
+ },
+ "description": {
+ "$id": "508",
+ "kind": "string",
+ "type": {
+ "$ref": "117"
+ },
+ "value": "Learn how to onboard to the Echo API."
+ },
+ "url": {
+ "$id": "509",
+ "kind": "string",
+ "type": {
+ "$ref": "121"
+ },
+ "value": "https://docs.contoso.com"
+ }
+ }
+ }
+ ]
+ },
+ "contacts": {
+ "$id": "510",
+ "kind": "array",
+ "type": {
+ "$ref": "127"
+ },
+ "value": [
+ {
+ "$id": "511",
+ "kind": "model",
+ "type": {
+ "$ref": "128"
+ },
+ "value": {
+ "$id": "512",
+ "name": {
+ "$id": "513",
+ "kind": "string",
+ "type": {
+ "$ref": "130"
+ },
+ "value": "Contoso support"
+ },
+ "url": {
+ "$id": "514",
+ "kind": "string",
+ "type": {
+ "$ref": "134"
+ },
+ "value": "https://support.contoso.com"
+ },
+ "email": {
+ "$id": "515",
+ "kind": "string",
+ "type": {
+ "$ref": "138"
+ },
+ "value": "support@contoso.com"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "nextLink": {
+ "$id": "516",
+ "kind": "string",
+ "type": {
+ "$ref": "158"
+ },
+ "value": "https://microsoft.com/a"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "517",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "518",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "519",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "520",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "521",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "522",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "523",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "479"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "524",
+ "type": {
+ "$ref": "152"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Apis.listAll"
+ },
+ {
+ "$id": "525",
+ "kind": "basic",
+ "name": "get",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "Get an API.",
+ "operation": {
+ "$id": "526",
+ "name": "get",
+ "resourceName": "Api",
+ "doc": "Get an API.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "527",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "528",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "529",
+ "type": {
+ "$id": "530",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "531",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "532",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "533",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "534",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "535",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "536",
+ "kind": "constant",
+ "valueType": {
+ "$id": "537",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "538",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "62"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/apis/{apiName}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Apis.get",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "539",
+ "kind": "http",
+ "name": "Apis_Get",
+ "description": "Apis_Get",
+ "filePath": "2024-02-01-preview/Apis_Get.json",
+ "parameters": [
+ {
+ "$id": "540",
+ "parameter": {
+ "$ref": "527"
+ },
+ "value": {
+ "$id": "541",
+ "kind": "string",
+ "type": {
+ "$ref": "528"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "542",
+ "parameter": {
+ "$ref": "531"
+ },
+ "value": {
+ "$id": "543",
+ "kind": "string",
+ "type": {
+ "$ref": "532"
+ },
+ "value": "default"
+ }
+ },
+ {
+ "$id": "544",
+ "parameter": {
+ "$ref": "533"
+ },
+ "value": {
+ "$id": "545",
+ "kind": "string",
+ "type": {
+ "$ref": "534"
+ },
+ "value": "echo-api"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "546",
+ "response": {
+ "$ref": "538"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "547",
+ "kind": "model",
+ "type": {
+ "$ref": "62"
+ },
+ "value": {
+ "$id": "548",
+ "name": {
+ "$id": "549",
+ "kind": "string",
+ "type": {
+ "$ref": "64"
+ },
+ "value": "echo-api"
+ },
+ "title": {
+ "$id": "550",
+ "kind": "string",
+ "type": {
+ "$ref": "68"
+ },
+ "value": "Echo API"
+ },
+ "kind": {
+ "$id": "551",
+ "kind": "string",
+ "type": {
+ "$ref": "2"
+ },
+ "value": "rest"
+ },
+ "lastUpdated": {
+ "$id": "552",
+ "kind": "string",
+ "type": {
+ "$ref": "148"
+ },
+ "value": "2023-12-18T18:49:11.878Z"
+ },
+ "description": {
+ "$id": "553",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "A simple HTTP request/response service."
+ },
+ "lifecycleStage": {
+ "$id": "554",
+ "kind": "string",
+ "type": {
+ "$ref": "16"
+ },
+ "value": "design"
+ },
+ "termsOfService": {
+ "$id": "555",
+ "kind": "model",
+ "type": {
+ "$ref": "86"
+ },
+ "value": {
+ "$id": "556",
+ "url": {
+ "$id": "557",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "https://contoso.com/terms-of-service"
+ }
+ }
+ },
+ "license": {
+ "$id": "558",
+ "kind": "model",
+ "type": {
+ "$ref": "94"
+ },
+ "value": {
+ "$id": "559",
+ "name": {
+ "$id": "560",
+ "kind": "string",
+ "type": {
+ "$ref": "96"
+ },
+ "value": "default"
+ },
+ "url": {
+ "$id": "561",
+ "kind": "string",
+ "type": {
+ "$ref": "100"
+ },
+ "value": "https://contoso.com/license"
+ }
+ }
+ },
+ "externalDocumentation": {
+ "$id": "562",
+ "kind": "array",
+ "type": {
+ "$ref": "110"
+ },
+ "value": [
+ {
+ "$id": "563",
+ "kind": "model",
+ "type": {
+ "$ref": "111"
+ },
+ "value": {
+ "$id": "564",
+ "title": {
+ "$id": "565",
+ "kind": "string",
+ "type": {
+ "$ref": "113"
+ },
+ "value": "Onboarding docs"
+ },
+ "description": {
+ "$id": "566",
+ "kind": "string",
+ "type": {
+ "$ref": "117"
+ },
+ "value": "Learn how to onboard to the Echo API."
+ },
+ "url": {
+ "$id": "567",
+ "kind": "string",
+ "type": {
+ "$ref": "121"
+ },
+ "value": "https://docs.contoso.com"
+ }
+ }
+ }
+ ]
+ },
+ "contacts": {
+ "$id": "568",
+ "kind": "array",
+ "type": {
+ "$ref": "127"
+ },
+ "value": [
+ {
+ "$id": "569",
+ "kind": "model",
+ "type": {
+ "$ref": "128"
+ },
+ "value": {
+ "$id": "570",
+ "name": {
+ "$id": "571",
+ "kind": "string",
+ "type": {
+ "$ref": "130"
+ },
+ "value": "Contoso support"
+ },
+ "url": {
+ "$id": "572",
+ "kind": "string",
+ "type": {
+ "$ref": "134"
+ },
+ "value": "https://support.contoso.com"
+ },
+ "email": {
+ "$id": "573",
+ "kind": "string",
+ "type": {
+ "$ref": "138"
+ },
+ "value": "support@contoso.com"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "574",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "575",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "576",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "577",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "578",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "536"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "579",
+ "type": {
+ "$ref": "62"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Apis.get"
+ }
+ ],
+ "parameters": [],
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Apis",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "parent": {
+ "$ref": "393"
+ }
+ },
+ {
+ "$id": "580",
+ "kind": "client",
+ "name": "ApiDefinitions",
+ "namespace": "azure.ApiCenter",
+ "methods": [
+ {
+ "$id": "581",
+ "kind": "paging",
+ "name": "listDefinitions",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "List a collection of API definitions.",
+ "operation": {
+ "$id": "582",
+ "name": "listDefinitions",
+ "resourceName": "ApiDefinition",
+ "doc": "List a collection of API definitions.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "583",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "584",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "585",
+ "type": {
+ "$id": "586",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "587",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "588",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "589",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "590",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "591",
+ "name": "versionName",
+ "nameInRequest": "versionName",
+ "doc": "Version identifier.",
+ "type": {
+ "$id": "592",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "593",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "594",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "595",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "596",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "597",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "598",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "599",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "600",
+ "kind": "constant",
+ "valueType": {
+ "$id": "601",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "602",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "311"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.listDefinitions",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "603",
+ "kind": "http",
+ "name": "ApiDefinitions_ListDefinitions",
+ "description": "ApiDefinitions_ListDefinitions",
+ "filePath": "2024-02-01-preview/ApiDefinitions_ListDefinitions.json",
+ "parameters": [
+ {
+ "$id": "604",
+ "parameter": {
+ "$ref": "583"
+ },
+ "value": {
+ "$id": "605",
+ "kind": "string",
+ "type": {
+ "$ref": "584"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "606",
+ "parameter": {
+ "$ref": "587"
+ },
+ "value": {
+ "$id": "607",
+ "kind": "string",
+ "type": {
+ "$ref": "588"
+ },
+ "value": "default"
+ }
+ },
+ {
+ "$id": "608",
+ "parameter": {
+ "$ref": "589"
+ },
+ "value": {
+ "$id": "609",
+ "kind": "string",
+ "type": {
+ "$ref": "590"
+ },
+ "value": "echo-api"
+ }
+ },
+ {
+ "$id": "610",
+ "parameter": {
+ "$ref": "591"
+ },
+ "value": {
+ "$id": "611",
+ "kind": "string",
+ "type": {
+ "$ref": "592"
+ },
+ "value": "2023-01-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "612",
+ "response": {
+ "$ref": "602"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "613",
+ "kind": "model",
+ "type": {
+ "$ref": "311"
+ },
+ "value": {
+ "$id": "614",
+ "value": {
+ "$id": "615",
+ "kind": "array",
+ "type": {
+ "$ref": "313"
+ },
+ "value": [
+ {
+ "$id": "616",
+ "kind": "model",
+ "type": {
+ "$ref": "162"
+ },
+ "value": {
+ "$id": "617",
+ "name": {
+ "$id": "618",
+ "kind": "string",
+ "type": {
+ "$ref": "164"
+ },
+ "value": "default"
+ },
+ "title": {
+ "$id": "619",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "Default"
+ },
+ "specification": {
+ "$id": "620",
+ "kind": "model",
+ "type": {
+ "$ref": "176"
+ },
+ "value": {
+ "$id": "621",
+ "name": {
+ "$id": "622",
+ "kind": "string",
+ "type": {
+ "$ref": "178"
+ },
+ "value": "openapi"
+ },
+ "version": {
+ "$id": "623",
+ "kind": "string",
+ "type": {
+ "$ref": "182"
+ },
+ "value": "3.0.1"
+ }
+ }
+ },
+ "description": {
+ "$id": "624",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Default API definition."
+ }
+ }
+ }
+ ]
+ },
+ "nextLink": {
+ "$id": "625",
+ "kind": "string",
+ "type": {
+ "$ref": "317"
+ },
+ "value": "https://..."
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "626",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "627",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "628",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "629",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "630",
+ "name": "versionName",
+ "nameInRequest": "versionName",
+ "doc": "Version identifier.",
+ "type": {
+ "$id": "631",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "632",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "633",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "634",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "635",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "636",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "637",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "638",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "600"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "639",
+ "type": {
+ "$id": "640",
+ "kind": "array",
+ "name": "ArrayApiDefinition",
+ "valueType": {
+ "$ref": "162"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "resultSegments": [
+ "value"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.listDefinitions",
+ "pagingMetadata": {
+ "$id": "641",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "642",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ }
+ },
+ {
+ "$id": "643",
+ "kind": "basic",
+ "name": "getDefinition",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "Get an API definition.",
+ "operation": {
+ "$id": "644",
+ "name": "getDefinition",
+ "resourceName": "ApiDefinition",
+ "doc": "Get an API definition.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "645",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "646",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "647",
+ "type": {
+ "$id": "648",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "649",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "650",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "651",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "652",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "653",
+ "name": "versionName",
+ "nameInRequest": "versionName",
+ "doc": "Version identifier.",
+ "type": {
+ "$id": "654",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "655",
+ "name": "definitionName",
+ "nameInRequest": "definitionName",
+ "doc": "Definition identifier.",
+ "type": {
+ "$id": "656",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "657",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "658",
+ "kind": "constant",
+ "valueType": {
+ "$id": "659",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "660",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "162"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.getDefinition",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "661",
+ "kind": "http",
+ "name": "ApiDefinitions_GetDefinition",
+ "description": "ApiDefinitions_GetDefinition",
+ "filePath": "2024-02-01-preview/ApiDefinitions_GetDefinition.json",
+ "parameters": [
+ {
+ "$id": "662",
+ "parameter": {
+ "$ref": "645"
+ },
+ "value": {
+ "$id": "663",
+ "kind": "string",
+ "type": {
+ "$ref": "646"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "664",
+ "parameter": {
+ "$ref": "649"
+ },
+ "value": {
+ "$id": "665",
+ "kind": "string",
+ "type": {
+ "$ref": "650"
+ },
+ "value": "default"
+ }
+ },
+ {
+ "$id": "666",
+ "parameter": {
+ "$ref": "651"
+ },
+ "value": {
+ "$id": "667",
+ "kind": "string",
+ "type": {
+ "$ref": "652"
+ },
+ "value": "echo-api"
+ }
+ },
+ {
+ "$id": "668",
+ "parameter": {
+ "$ref": "653"
+ },
+ "value": {
+ "$id": "669",
+ "kind": "string",
+ "type": {
+ "$ref": "654"
+ },
+ "value": "2023-01-01"
+ }
+ },
+ {
+ "$id": "670",
+ "parameter": {
+ "$ref": "655"
+ },
+ "value": {
+ "$id": "671",
+ "kind": "string",
+ "type": {
+ "$ref": "656"
+ },
+ "value": "default"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "672",
+ "response": {
+ "$ref": "660"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "673",
+ "kind": "model",
+ "type": {
+ "$ref": "162"
+ },
+ "value": {
+ "$id": "674",
+ "name": {
+ "$id": "675",
+ "kind": "string",
+ "type": {
+ "$ref": "164"
+ },
+ "value": "default"
+ },
+ "title": {
+ "$id": "676",
+ "kind": "string",
+ "type": {
+ "$ref": "168"
+ },
+ "value": "Default"
+ },
+ "specification": {
+ "$id": "677",
+ "kind": "model",
+ "type": {
+ "$ref": "176"
+ },
+ "value": {
+ "$id": "678",
+ "name": {
+ "$id": "679",
+ "kind": "string",
+ "type": {
+ "$ref": "178"
+ },
+ "value": "openapi"
+ },
+ "version": {
+ "$id": "680",
+ "kind": "string",
+ "type": {
+ "$ref": "182"
+ },
+ "value": "3.0.1"
+ }
+ }
+ },
+ "description": {
+ "$id": "681",
+ "kind": "string",
+ "type": {
+ "$ref": "172"
+ },
+ "value": "Default API definition."
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "682",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "683",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "684",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "685",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "686",
+ "name": "versionName",
+ "nameInRequest": "versionName",
+ "doc": "Version identifier.",
+ "type": {
+ "$id": "687",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "688",
+ "name": "definitionName",
+ "nameInRequest": "definitionName",
+ "doc": "Definition identifier.",
+ "type": {
+ "$id": "689",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "690",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "658"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "691",
+ "type": {
+ "$ref": "162"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.getDefinition"
+ },
+ {
+ "$id": "692",
+ "kind": "basic",
+ "name": "getExportSpecificationOperationStatus",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "Gets status of a an API specification export operation.",
+ "operation": {
+ "$id": "693",
+ "name": "getExportSpecificationOperationStatus",
+ "resourceName": "ResourceOperationStatus",
+ "doc": "Gets status of a an API specification export operation.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "694",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "695",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "696",
+ "type": {
+ "$id": "697",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "698",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "699",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "700",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "701",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "702",
+ "name": "versionName",
+ "nameInRequest": "versionName",
+ "doc": "Version identifier.",
+ "type": {
+ "$id": "703",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "704",
+ "name": "definitionName",
+ "nameInRequest": "definitionName",
+ "doc": "API definition identifier.",
+ "type": {
+ "$id": "705",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "706",
+ "name": "operationId",
+ "nameInRequest": "operationId",
+ "doc": "The unique ID of the operation.",
+ "type": {
+ "$id": "707",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "708",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "709",
+ "kind": "constant",
+ "valueType": {
+ "$id": "710",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "711",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "321"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}/operations/{operationId}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.getExportSpecificationOperationStatus",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "712",
+ "kind": "http",
+ "name": "ApiDefinitions_GetExportSpecificationOperationStatus",
+ "description": "ApiDefinitions_GetExportSpecificationOperationStatus",
+ "filePath": "2024-02-01-preview/ApiDefinitions_GetExportSpecificationOperationStatus.json",
+ "parameters": [
+ {
+ "$id": "713",
+ "parameter": {
+ "$ref": "694"
+ },
+ "value": {
+ "$id": "714",
+ "kind": "string",
+ "type": {
+ "$ref": "695"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "715",
+ "parameter": {
+ "$ref": "698"
+ },
+ "value": {
+ "$id": "716",
+ "kind": "string",
+ "type": {
+ "$ref": "699"
+ },
+ "value": "default"
+ }
+ },
+ {
+ "$id": "717",
+ "parameter": {
+ "$ref": "700"
+ },
+ "value": {
+ "$id": "718",
+ "kind": "string",
+ "type": {
+ "$ref": "701"
+ },
+ "value": "echo-api"
+ }
+ },
+ {
+ "$id": "719",
+ "parameter": {
+ "$ref": "702"
+ },
+ "value": {
+ "$id": "720",
+ "kind": "string",
+ "type": {
+ "$ref": "703"
+ },
+ "value": "2023-01-01"
+ }
+ },
+ {
+ "$id": "721",
+ "parameter": {
+ "$ref": "704"
+ },
+ "value": {
+ "$id": "722",
+ "kind": "string",
+ "type": {
+ "$ref": "705"
+ },
+ "value": "default"
+ }
+ },
+ {
+ "$id": "723",
+ "parameter": {
+ "$ref": "706"
+ },
+ "value": {
+ "$id": "724",
+ "kind": "string",
+ "type": {
+ "$ref": "707"
+ },
+ "value": "00000000-0000-0000-0000-000000000001"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "725",
+ "response": {
+ "$ref": "711"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "726",
+ "kind": "model",
+ "type": {
+ "$ref": "321"
+ },
+ "value": {
+ "$id": "727",
+ "status": {
+ "$id": "728",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Succeeded"
+ },
+ "result": {
+ "$id": "729",
+ "kind": "model",
+ "type": {
+ "$ref": "187"
+ },
+ "value": {
+ "$id": "730",
+ "value": {
+ "$id": "731",
+ "kind": "string",
+ "type": {
+ "$ref": "193"
+ },
+ "value": "{ ... }"
+ },
+ "format": {
+ "$id": "732",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "link"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "733",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "734",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "735",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "736",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "737",
+ "name": "versionName",
+ "nameInRequest": "versionName",
+ "doc": "Version identifier.",
+ "type": {
+ "$id": "738",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "739",
+ "name": "definitionName",
+ "nameInRequest": "definitionName",
+ "doc": "API definition identifier.",
+ "type": {
+ "$id": "740",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "741",
+ "name": "operationId",
+ "nameInRequest": "operationId",
+ "doc": "The unique ID of the operation.",
+ "type": {
+ "$id": "742",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "743",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "709"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "744",
+ "type": {
+ "$ref": "321"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.getExportSpecificationOperationStatus"
+ },
+ {
+ "$id": "745",
+ "kind": "lro",
+ "name": "exportSpecification",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "Export an API specification asynchronously.",
+ "operation": {
+ "$id": "746",
+ "name": "exportSpecification",
+ "resourceName": "ApiDefinitions",
+ "doc": "Export an API specification asynchronously.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "747",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "748",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "749",
+ "type": {
+ "$id": "750",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "751",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "752",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "753",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "754",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "755",
+ "name": "versionName",
+ "nameInRequest": "versionName",
+ "doc": "Version identifier.",
+ "type": {
+ "$id": "756",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "757",
+ "name": "definitionName",
+ "nameInRequest": "definitionName",
+ "doc": "API definition identifier.",
+ "type": {
+ "$id": "758",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "759",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "760",
+ "kind": "constant",
+ "valueType": {
+ "$id": "761",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "762",
+ "statusCodes": [
+ 202
+ ],
+ "bodyType": {
+ "$ref": "321"
+ },
+ "headers": [
+ {
+ "$id": "763",
+ "name": "operationLocation",
+ "nameInResponse": "Operation-Location",
+ "doc": "The location for monitoring the operation state.",
+ "type": {
+ "$id": "764",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "765",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "POST",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}/definitions/{definitionName}:exportSpecification",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.exportSpecification",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "766",
+ "kind": "http",
+ "name": "ApiDefinitions_ExportSpecification",
+ "description": "ApiDefinitions_ExportSpecification",
+ "filePath": "2024-02-01-preview/ApiDefinitions_ExportSpecification.json",
+ "parameters": [
+ {
+ "$id": "767",
+ "parameter": {
+ "$ref": "747"
+ },
+ "value": {
+ "$id": "768",
+ "kind": "string",
+ "type": {
+ "$ref": "748"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "769",
+ "parameter": {
+ "$ref": "751"
+ },
+ "value": {
+ "$id": "770",
+ "kind": "string",
+ "type": {
+ "$ref": "752"
+ },
+ "value": "default"
+ }
+ },
+ {
+ "$id": "771",
+ "parameter": {
+ "$ref": "753"
+ },
+ "value": {
+ "$id": "772",
+ "kind": "string",
+ "type": {
+ "$ref": "754"
+ },
+ "value": "echo-api"
+ }
+ },
+ {
+ "$id": "773",
+ "parameter": {
+ "$ref": "755"
+ },
+ "value": {
+ "$id": "774",
+ "kind": "string",
+ "type": {
+ "$ref": "756"
+ },
+ "value": "2023-01-01"
+ }
+ },
+ {
+ "$id": "775",
+ "parameter": {
+ "$ref": "757"
+ },
+ "value": {
+ "$id": "776",
+ "kind": "string",
+ "type": {
+ "$ref": "758"
+ },
+ "value": "default"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "777",
+ "response": {
+ "$ref": "762"
+ },
+ "statusCode": 202,
+ "bodyValue": {
+ "$id": "778",
+ "kind": "model",
+ "type": {
+ "$ref": "321"
+ },
+ "value": {
+ "$id": "779",
+ "status": {
+ "$id": "780",
+ "kind": "string",
+ "type": {
+ "$ref": "50"
+ },
+ "value": "Succeeded"
+ },
+ "result": {
+ "$id": "781",
+ "kind": "model",
+ "type": {
+ "$ref": "187"
+ },
+ "value": {
+ "$id": "782",
+ "value": {
+ "$id": "783",
+ "kind": "string",
+ "type": {
+ "$ref": "193"
+ },
+ "value": "{ ... }"
+ },
+ "format": {
+ "$id": "784",
+ "kind": "string",
+ "type": {
+ "$ref": "32"
+ },
+ "value": "link"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "785",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "786",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "787",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "788",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "789",
+ "name": "versionName",
+ "nameInRequest": "versionName",
+ "doc": "Version identifier.",
+ "type": {
+ "$id": "790",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "791",
+ "name": "definitionName",
+ "nameInRequest": "definitionName",
+ "doc": "API definition identifier.",
+ "type": {
+ "$id": "792",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "793",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$id": "794",
+ "kind": "constant",
+ "valueType": {
+ "$id": "795",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "796",
+ "type": {
+ "$ref": "187"
+ },
+ "resultSegments": [
+ "result"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions.exportSpecification",
+ "lroMetadata": {
+ "$id": "797",
+ "finalStateVia": 3,
+ "finalResponse": {
+ "$id": "798",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "321"
+ }
+ },
+ "resultPath": "result"
+ }
+ }
+ ],
+ "parameters": [],
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDefinitions",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "parent": {
+ "$ref": "393"
+ }
+ },
+ {
+ "$id": "799",
+ "kind": "client",
+ "name": "ApiDeployments",
+ "namespace": "azure.ApiCenter",
+ "methods": [
+ {
+ "$id": "800",
+ "kind": "paging",
+ "name": "listDeployments",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "List a collection of API deployments.",
+ "operation": {
+ "$id": "801",
+ "name": "listDeployments",
+ "resourceName": "ApiDeployment",
+ "doc": "List a collection of API deployments.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "802",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "803",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "804",
+ "type": {
+ "$id": "805",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "806",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "807",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "808",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "809",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "810",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "811",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "812",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "813",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "814",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "815",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "816",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "817",
+ "kind": "constant",
+ "valueType": {
+ "$id": "818",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "819",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "363"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/apis/{apiName}/deployments",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployments.listDeployments",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "820",
+ "kind": "http",
+ "name": "ApiDeployments_ListDeployments",
+ "description": "ApiDeployments_ListDeployments",
+ "filePath": "2024-02-01-preview/ApiDeployments_ListDeployments.json",
+ "parameters": [
+ {
+ "$id": "821",
+ "parameter": {
+ "$ref": "802"
+ },
+ "value": {
+ "$id": "822",
+ "kind": "string",
+ "type": {
+ "$ref": "803"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "823",
+ "parameter": {
+ "$ref": "806"
+ },
+ "value": {
+ "$id": "824",
+ "kind": "string",
+ "type": {
+ "$ref": "807"
+ },
+ "value": "default"
+ }
+ },
+ {
+ "$id": "825",
+ "parameter": {
+ "$ref": "808"
+ },
+ "value": {
+ "$id": "826",
+ "kind": "string",
+ "type": {
+ "$ref": "809"
+ },
+ "value": "echo-api"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "827",
+ "response": {
+ "$ref": "819"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "828",
+ "kind": "model",
+ "type": {
+ "$ref": "363"
+ },
+ "value": {
+ "$id": "829",
+ "value": {
+ "$id": "830",
+ "kind": "array",
+ "type": {
+ "$ref": "365"
+ },
+ "value": [
+ {
+ "$id": "831",
+ "kind": "model",
+ "type": {
+ "$ref": "199"
+ },
+ "value": {
+ "$id": "832",
+ "name": {
+ "$id": "833",
+ "kind": "string",
+ "type": {
+ "$ref": "201"
+ },
+ "value": "production"
+ },
+ "title": {
+ "$id": "834",
+ "kind": "string",
+ "type": {
+ "$ref": "205"
+ },
+ "value": "Production"
+ },
+ "description": {
+ "$id": "835",
+ "kind": "string",
+ "type": {
+ "$ref": "209"
+ },
+ "value": "Production deployment (Public Cloud)"
+ },
+ "environment": {
+ "$id": "836",
+ "kind": "string",
+ "type": {
+ "$ref": "213"
+ },
+ "value": "public"
+ },
+ "server": {
+ "$id": "837",
+ "kind": "model",
+ "type": {
+ "$ref": "217"
+ },
+ "value": {
+ "$id": "838",
+ "runtimeUris": {
+ "$id": "839",
+ "kind": "array",
+ "type": {
+ "$ref": "219"
+ },
+ "value": [
+ {
+ "$id": "840",
+ "kind": "string",
+ "type": {
+ "$ref": "220"
+ },
+ "value": "https://contoso.azure-api.net"
+ }
+ ]
+ }
+ }
+ },
+ "recommended": {
+ "$id": "841",
+ "kind": "boolean",
+ "type": {
+ "$ref": "230"
+ },
+ "value": true
+ }
+ }
+ }
+ ]
+ },
+ "nextLink": {
+ "$id": "842",
+ "kind": "string",
+ "type": {
+ "$ref": "369"
+ },
+ "value": "https://microsoft.com/aiofpisa"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "843",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "844",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "845",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "846",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "847",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "848",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "849",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "850",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "851",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "852",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "853",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "817"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "854",
+ "type": {
+ "$id": "855",
+ "kind": "array",
+ "name": "ArrayApiDeployment",
+ "valueType": {
+ "$ref": "199"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "resultSegments": [
+ "value"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployments.listDeployments",
+ "pagingMetadata": {
+ "$id": "856",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "857",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ }
+ },
+ {
+ "$id": "858",
+ "kind": "basic",
+ "name": "getDeployment",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "Get an API deployment.",
+ "operation": {
+ "$id": "859",
+ "name": "getDeployment",
+ "resourceName": "ApiDeployment",
+ "doc": "Get an API deployment.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "860",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "861",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "862",
+ "type": {
+ "$id": "863",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "864",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "865",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "866",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "867",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "868",
+ "name": "deploymentName",
+ "nameInRequest": "deploymentName",
+ "doc": "Deployment identifier.",
+ "type": {
+ "$id": "869",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "870",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "871",
+ "kind": "constant",
+ "valueType": {
+ "$id": "872",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "873",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "199"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployments.getDeployment",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "874",
+ "kind": "http",
+ "name": "ApiDeployments_GetDeployment",
+ "description": "ApiDeployments_GetDeployment",
+ "filePath": "2024-02-01-preview/ApiDeployments_GetDeployment.json",
+ "parameters": [
+ {
+ "$id": "875",
+ "parameter": {
+ "$ref": "860"
+ },
+ "value": {
+ "$id": "876",
+ "kind": "string",
+ "type": {
+ "$ref": "861"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "877",
+ "parameter": {
+ "$ref": "864"
+ },
+ "value": {
+ "$id": "878",
+ "kind": "string",
+ "type": {
+ "$ref": "865"
+ },
+ "value": "eeoezynpqqgtykbukjcelrwvomtccvbjwntxfqh"
+ }
+ },
+ {
+ "$id": "879",
+ "parameter": {
+ "$ref": "866"
+ },
+ "value": {
+ "$id": "880",
+ "kind": "string",
+ "type": {
+ "$ref": "867"
+ },
+ "value": "lauuo"
+ }
+ },
+ {
+ "$id": "881",
+ "parameter": {
+ "$ref": "868"
+ },
+ "value": {
+ "$id": "882",
+ "kind": "string",
+ "type": {
+ "$ref": "869"
+ },
+ "value": "ffc"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "883",
+ "response": {
+ "$ref": "873"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "884",
+ "kind": "model",
+ "type": {
+ "$ref": "199"
+ },
+ "value": {
+ "$id": "885",
+ "name": {
+ "$id": "886",
+ "kind": "string",
+ "type": {
+ "$ref": "201"
+ },
+ "value": "production"
+ },
+ "title": {
+ "$id": "887",
+ "kind": "string",
+ "type": {
+ "$ref": "205"
+ },
+ "value": "Production"
+ },
+ "description": {
+ "$id": "888",
+ "kind": "string",
+ "type": {
+ "$ref": "209"
+ },
+ "value": "Production deployment (Public Cloud)"
+ },
+ "environment": {
+ "$id": "889",
+ "kind": "string",
+ "type": {
+ "$ref": "213"
+ },
+ "value": "public"
+ },
+ "server": {
+ "$id": "890",
+ "kind": "model",
+ "type": {
+ "$ref": "217"
+ },
+ "value": {
+ "$id": "891",
+ "runtimeUris": {
+ "$id": "892",
+ "kind": "array",
+ "type": {
+ "$ref": "219"
+ },
+ "value": [
+ {
+ "$id": "893",
+ "kind": "string",
+ "type": {
+ "$ref": "220"
+ },
+ "value": "https://contoso.azure-api.net"
+ }
+ ]
+ }
+ }
+ },
+ "recommended": {
+ "$id": "894",
+ "kind": "boolean",
+ "type": {
+ "$ref": "230"
+ },
+ "value": true
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "895",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "896",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "897",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "898",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "899",
+ "name": "deploymentName",
+ "nameInRequest": "deploymentName",
+ "doc": "Deployment identifier.",
+ "type": {
+ "$id": "900",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "901",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "871"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "902",
+ "type": {
+ "$ref": "199"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployments.getDeployment"
+ }
+ ],
+ "parameters": [],
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiDeployments",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "parent": {
+ "$ref": "393"
+ }
+ },
+ {
+ "$id": "903",
+ "kind": "client",
+ "name": "Environments",
+ "namespace": "azure.ApiCenter",
+ "methods": [
+ {
+ "$id": "904",
+ "kind": "paging",
+ "name": "list",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "List a collection of environments.",
+ "operation": {
+ "$id": "905",
+ "name": "list",
+ "resourceName": "Environment",
+ "doc": "List a collection of environments.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "906",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "907",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "908",
+ "type": {
+ "$id": "909",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "910",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "911",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "912",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "913",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "914",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "915",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "916",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "917",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "918",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "919",
+ "kind": "constant",
+ "valueType": {
+ "$id": "920",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "921",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "373"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/environments",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environments.list",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "922",
+ "kind": "http",
+ "name": "Environments_List",
+ "description": "Environments_List",
+ "filePath": "2024-02-01-preview/Environments_List.json",
+ "parameters": [
+ {
+ "$id": "923",
+ "parameter": {
+ "$ref": "906"
+ },
+ "value": {
+ "$id": "924",
+ "kind": "string",
+ "type": {
+ "$ref": "907"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "925",
+ "parameter": {
+ "$ref": "910"
+ },
+ "value": {
+ "$id": "926",
+ "kind": "string",
+ "type": {
+ "$ref": "911"
+ },
+ "value": "default"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "927",
+ "response": {
+ "$ref": "921"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "928",
+ "kind": "model",
+ "type": {
+ "$ref": "373"
+ },
+ "value": {
+ "$id": "929",
+ "value": {
+ "$id": "930",
+ "kind": "array",
+ "type": {
+ "$ref": "375"
+ },
+ "value": [
+ {
+ "$id": "931",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "932",
+ "name": {
+ "$id": "933",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "public"
+ },
+ "title": {
+ "$id": "934",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "Public"
+ },
+ "description": {
+ "$id": "935",
+ "kind": "string",
+ "type": {
+ "$ref": "246"
+ },
+ "value": "Public Cloud environment."
+ },
+ "kind": {
+ "$id": "936",
+ "kind": "string",
+ "type": {
+ "$ref": "36"
+ },
+ "value": "production"
+ },
+ "server": {
+ "$id": "937",
+ "kind": "model",
+ "type": {
+ "$ref": "250"
+ },
+ "value": {
+ "$id": "938",
+ "type": {
+ "$id": "939",
+ "kind": "string",
+ "type": {
+ "$ref": "252"
+ },
+ "value": "Azure API Management"
+ },
+ "managementPortalUris": {
+ "$id": "940",
+ "kind": "array",
+ "type": {
+ "$ref": "256"
+ },
+ "value": [
+ {
+ "$id": "941",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "https://portal.azure.com"
+ }
+ ]
+ }
+ }
+ },
+ "onboarding": {
+ "$id": "942",
+ "kind": "model",
+ "type": {
+ "$ref": "263"
+ },
+ "value": {
+ "$id": "943",
+ "instructions": {
+ "$id": "944",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "https://aka.ms/apim-devportal"
+ },
+ "developerPortalUris": {
+ "$id": "945",
+ "kind": "array",
+ "type": {
+ "$ref": "269"
+ },
+ "value": [
+ {
+ "$id": "946",
+ "kind": "string",
+ "type": {
+ "$ref": "270"
+ },
+ "value": "https://contoso.developer.azure-api.net"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "nextLink": {
+ "$id": "947",
+ "kind": "string",
+ "type": {
+ "$ref": "379"
+ },
+ "value": "https://..."
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "948",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "949",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "950",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "951",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "952",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "953",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "954",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "955",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "956",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "919"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "957",
+ "type": {
+ "$id": "958",
+ "kind": "array",
+ "name": "ArrayEnvironment",
+ "valueType": {
+ "$ref": "233"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "resultSegments": [
+ "value"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environments.list",
+ "pagingMetadata": {
+ "$id": "959",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "960",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ }
+ },
+ {
+ "$id": "961",
+ "kind": "basic",
+ "name": "listAll",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "List a collection of environments across workspaces.",
+ "operation": {
+ "$id": "962",
+ "name": "listAll",
+ "resourceName": "Environments",
+ "doc": "List a collection of environments across workspaces.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "963",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "964",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "965",
+ "type": {
+ "$id": "966",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "967",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "968",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "969",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "970",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "971",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "972",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "973",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "974",
+ "kind": "constant",
+ "valueType": {
+ "$id": "975",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "976",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "279"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/environments",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environments.listAll",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "977",
+ "kind": "http",
+ "name": "Environments_ListAll",
+ "description": "Environments_ListAll",
+ "filePath": "2024-02-01-preview/Environments_ListAll.json",
+ "parameters": [
+ {
+ "$id": "978",
+ "parameter": {
+ "$ref": "963"
+ },
+ "value": {
+ "$id": "979",
+ "kind": "string",
+ "type": {
+ "$ref": "964"
+ },
+ "value": "2024-02-01-preview"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "980",
+ "response": {
+ "$ref": "976"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "981",
+ "kind": "model",
+ "type": {
+ "$ref": "279"
+ },
+ "value": {
+ "$id": "982",
+ "value": {
+ "$id": "983",
+ "kind": "array",
+ "type": {
+ "$ref": "281"
+ },
+ "value": [
+ {
+ "$id": "984",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "985",
+ "name": {
+ "$id": "986",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "public"
+ },
+ "title": {
+ "$id": "987",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "Public"
+ },
+ "description": {
+ "$id": "988",
+ "kind": "string",
+ "type": {
+ "$ref": "246"
+ },
+ "value": "Public Cloud environment."
+ },
+ "kind": {
+ "$id": "989",
+ "kind": "string",
+ "type": {
+ "$ref": "36"
+ },
+ "value": "production"
+ },
+ "server": {
+ "$id": "990",
+ "kind": "model",
+ "type": {
+ "$ref": "250"
+ },
+ "value": {
+ "$id": "991",
+ "type": {
+ "$id": "992",
+ "kind": "string",
+ "type": {
+ "$ref": "252"
+ },
+ "value": "Azure API Management"
+ },
+ "managementPortalUris": {
+ "$id": "993",
+ "kind": "array",
+ "type": {
+ "$ref": "256"
+ },
+ "value": [
+ {
+ "$id": "994",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "https://portal.azure.com"
+ }
+ ]
+ }
+ }
+ },
+ "onboarding": {
+ "$id": "995",
+ "kind": "model",
+ "type": {
+ "$ref": "263"
+ },
+ "value": {
+ "$id": "996",
+ "instructions": {
+ "$id": "997",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "https://aka.ms/apim-devportal"
+ },
+ "developerPortalUris": {
+ "$id": "998",
+ "kind": "array",
+ "type": {
+ "$ref": "269"
+ },
+ "value": [
+ {
+ "$id": "999",
+ "kind": "string",
+ "type": {
+ "$ref": "270"
+ },
+ "value": "https://contoso.developer.azure-api.net"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "nextLink": {
+ "$id": "1000",
+ "kind": "string",
+ "type": {
+ "$ref": "285"
+ },
+ "value": "https://..."
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1001",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "1002",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1003",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "1004",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1005",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "1006",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1007",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "974"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1008",
+ "type": {
+ "$ref": "279"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environments.listAll"
+ },
+ {
+ "$id": "1009",
+ "kind": "basic",
+ "name": "get",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "Get an environment.",
+ "operation": {
+ "$id": "1010",
+ "name": "get",
+ "resourceName": "Environment",
+ "doc": "Get an environment.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1011",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1012",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1013",
+ "type": {
+ "$id": "1014",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1015",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "1016",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1017",
+ "name": "environmentName",
+ "nameInRequest": "environmentName",
+ "doc": "Environment identifier.",
+ "type": {
+ "$id": "1018",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1019",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1020",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1021",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1022",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "233"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/environments/{environmentName}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environments.get",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1023",
+ "kind": "http",
+ "name": "Environments_Get",
+ "description": "Environments_Get",
+ "filePath": "2024-02-01-preview/Environments_Get.json",
+ "parameters": [
+ {
+ "$id": "1024",
+ "parameter": {
+ "$ref": "1011"
+ },
+ "value": {
+ "$id": "1025",
+ "kind": "string",
+ "type": {
+ "$ref": "1012"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "1026",
+ "parameter": {
+ "$ref": "1015"
+ },
+ "value": {
+ "$id": "1027",
+ "kind": "string",
+ "type": {
+ "$ref": "1016"
+ },
+ "value": "default"
+ }
+ },
+ {
+ "$id": "1028",
+ "parameter": {
+ "$ref": "1017"
+ },
+ "value": {
+ "$id": "1029",
+ "kind": "string",
+ "type": {
+ "$ref": "1018"
+ },
+ "value": "production"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1030",
+ "response": {
+ "$ref": "1022"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1031",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "1032",
+ "name": {
+ "$id": "1033",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "public"
+ },
+ "title": {
+ "$id": "1034",
+ "kind": "string",
+ "type": {
+ "$ref": "239"
+ },
+ "value": "Public"
+ },
+ "description": {
+ "$id": "1035",
+ "kind": "string",
+ "type": {
+ "$ref": "246"
+ },
+ "value": "Public Cloud environment."
+ },
+ "kind": {
+ "$id": "1036",
+ "kind": "string",
+ "type": {
+ "$ref": "36"
+ },
+ "value": "production"
+ },
+ "server": {
+ "$id": "1037",
+ "kind": "model",
+ "type": {
+ "$ref": "250"
+ },
+ "value": {
+ "$id": "1038",
+ "type": {
+ "$id": "1039",
+ "kind": "string",
+ "type": {
+ "$ref": "252"
+ },
+ "value": "Azure API Management"
+ },
+ "managementPortalUris": {
+ "$id": "1040",
+ "kind": "array",
+ "type": {
+ "$ref": "256"
+ },
+ "value": [
+ {
+ "$id": "1041",
+ "kind": "string",
+ "type": {
+ "$ref": "257"
+ },
+ "value": "https://portal.azure.com"
+ }
+ ]
+ }
+ }
+ },
+ "onboarding": {
+ "$id": "1042",
+ "kind": "model",
+ "type": {
+ "$ref": "263"
+ },
+ "value": {
+ "$id": "1043",
+ "instructions": {
+ "$id": "1044",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "https://aka.ms/apim-devportal"
+ },
+ "developerPortalUris": {
+ "$id": "1045",
+ "kind": "array",
+ "type": {
+ "$ref": "269"
+ },
+ "value": [
+ {
+ "$id": "1046",
+ "kind": "string",
+ "type": {
+ "$ref": "270"
+ },
+ "value": "https://contoso.developer.azure-api.net"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1047",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "1048",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1049",
+ "name": "environmentName",
+ "nameInRequest": "environmentName",
+ "doc": "Environment identifier.",
+ "type": {
+ "$id": "1050",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1051",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1020"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1052",
+ "type": {
+ "$ref": "233"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environments.get"
+ }
+ ],
+ "parameters": [],
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.Environments",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "parent": {
+ "$ref": "393"
+ }
+ },
+ {
+ "$id": "1053",
+ "kind": "client",
+ "name": "ApiVersions",
+ "namespace": "azure.ApiCenter",
+ "methods": [
+ {
+ "$id": "1054",
+ "kind": "paging",
+ "name": "listVersions",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "List a collection of API versions.",
+ "operation": {
+ "$id": "1055",
+ "name": "listVersions",
+ "resourceName": "ApiVersion",
+ "doc": "List a collection of API versions.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1056",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1057",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1058",
+ "type": {
+ "$id": "1059",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1060",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "1061",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1062",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "1063",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1064",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "1065",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1066",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "1067",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1068",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "1069",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1070",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1071",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1072",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1073",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "383"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/apis/{apiName}/versions",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersions.listVersions",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1074",
+ "kind": "http",
+ "name": "ApiVersions_ListVersions",
+ "description": "ApiVersions_ListVersions",
+ "filePath": "2024-02-01-preview/ApiVersions_ListVersions.json",
+ "parameters": [
+ {
+ "$id": "1075",
+ "parameter": {
+ "$ref": "1056"
+ },
+ "value": {
+ "$id": "1076",
+ "kind": "string",
+ "type": {
+ "$ref": "1057"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "1077",
+ "parameter": {
+ "$ref": "1060"
+ },
+ "value": {
+ "$id": "1078",
+ "kind": "string",
+ "type": {
+ "$ref": "1061"
+ },
+ "value": "default"
+ }
+ },
+ {
+ "$id": "1079",
+ "parameter": {
+ "$ref": "1062"
+ },
+ "value": {
+ "$id": "1080",
+ "kind": "string",
+ "type": {
+ "$ref": "1063"
+ },
+ "value": "echo-api"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1081",
+ "response": {
+ "$ref": "1073"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1082",
+ "kind": "model",
+ "type": {
+ "$ref": "383"
+ },
+ "value": {
+ "$id": "1083",
+ "value": {
+ "$id": "1084",
+ "kind": "array",
+ "type": {
+ "$ref": "385"
+ },
+ "value": [
+ {
+ "$id": "1085",
+ "kind": "model",
+ "type": {
+ "$ref": "289"
+ },
+ "value": {
+ "$id": "1086",
+ "name": {
+ "$id": "1087",
+ "kind": "string",
+ "type": {
+ "$ref": "291"
+ },
+ "value": "2023-01-01"
+ },
+ "title": {
+ "$id": "1088",
+ "kind": "string",
+ "type": {
+ "$ref": "295"
+ },
+ "value": "2023-01-01"
+ },
+ "lifecycleStage": {
+ "$id": "1089",
+ "kind": "string",
+ "type": {
+ "$ref": "16"
+ },
+ "value": "design"
+ }
+ }
+ }
+ ]
+ },
+ "nextLink": {
+ "$id": "1090",
+ "kind": "string",
+ "type": {
+ "$ref": "389"
+ },
+ "value": "https://..."
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1091",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "1092",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1093",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "1094",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1095",
+ "name": "top",
+ "nameInRequest": "top",
+ "doc": "The number of result items to return.",
+ "type": {
+ "$id": "1096",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1097",
+ "name": "skip",
+ "nameInRequest": "skip",
+ "doc": "The number of result items to skip.",
+ "type": {
+ "$id": "1098",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1099",
+ "name": "maxpagesize",
+ "nameInRequest": "maxpagesize",
+ "doc": "The maximum number of result items per page.",
+ "type": {
+ "$id": "1100",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1101",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1071"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1102",
+ "type": {
+ "$id": "1103",
+ "kind": "array",
+ "name": "ArrayApiVersion",
+ "valueType": {
+ "$ref": "289"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "resultSegments": [
+ "value"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersions.listVersions",
+ "pagingMetadata": {
+ "$id": "1104",
+ "itemPropertySegments": [
+ "value"
+ ],
+ "nextLink": {
+ "$id": "1105",
+ "responseSegments": [
+ "nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ }
+ },
+ {
+ "$id": "1106",
+ "kind": "basic",
+ "name": "getVersion",
+ "accessibility": "public",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "doc": "Get an API version.",
+ "operation": {
+ "$id": "1107",
+ "name": "getVersion",
+ "resourceName": "ApiVersion",
+ "doc": "Get an API version.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1108",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1109",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1110",
+ "type": {
+ "$id": "1111",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-02-01-preview"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1112",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "1113",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1114",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "1115",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1116",
+ "name": "versionName",
+ "nameInRequest": "versionName",
+ "doc": "Version identifier.",
+ "type": {
+ "$id": "1117",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1118",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1119",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1120",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1121",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "289"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "https://{serviceName}.data.{region}.azure-apicenter.ms",
+ "path": "/workspaces/{workspaceName}/apis/{apiName}/versions/{versionName}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersions.getVersion",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1122",
+ "kind": "http",
+ "name": "ApiVersions_GetVersion",
+ "description": "ApiVersions_GetVersion",
+ "filePath": "2024-02-01-preview/ApiVersions_GetVersion.json",
+ "parameters": [
+ {
+ "$id": "1123",
+ "parameter": {
+ "$ref": "1108"
+ },
+ "value": {
+ "$id": "1124",
+ "kind": "string",
+ "type": {
+ "$ref": "1109"
+ },
+ "value": "2024-02-01-preview"
+ }
+ },
+ {
+ "$id": "1125",
+ "parameter": {
+ "$ref": "1112"
+ },
+ "value": {
+ "$id": "1126",
+ "kind": "string",
+ "type": {
+ "$ref": "1113"
+ },
+ "value": "default"
+ }
+ },
+ {
+ "$id": "1127",
+ "parameter": {
+ "$ref": "1114"
+ },
+ "value": {
+ "$id": "1128",
+ "kind": "string",
+ "type": {
+ "$ref": "1115"
+ },
+ "value": "echo-api"
+ }
+ },
+ {
+ "$id": "1129",
+ "parameter": {
+ "$ref": "1116"
+ },
+ "value": {
+ "$id": "1130",
+ "kind": "string",
+ "type": {
+ "$ref": "1117"
+ },
+ "value": "2023-01-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1131",
+ "response": {
+ "$ref": "1121"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1132",
+ "kind": "model",
+ "type": {
+ "$ref": "289"
+ },
+ "value": {
+ "$id": "1133",
+ "name": {
+ "$id": "1134",
+ "kind": "string",
+ "type": {
+ "$ref": "291"
+ },
+ "value": "2023-01-01"
+ },
+ "title": {
+ "$id": "1135",
+ "kind": "string",
+ "type": {
+ "$ref": "295"
+ },
+ "value": "2023-01-01"
+ },
+ "lifecycleStage": {
+ "$id": "1136",
+ "kind": "string",
+ "type": {
+ "$ref": "16"
+ },
+ "value": "design"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1137",
+ "name": "workspaceName",
+ "nameInRequest": "workspaceName",
+ "doc": "Workspace identifier.",
+ "type": {
+ "$id": "1138",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1139",
+ "name": "apiName",
+ "nameInRequest": "apiName",
+ "doc": "Api identifier.",
+ "type": {
+ "$id": "1140",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1141",
+ "name": "versionName",
+ "nameInRequest": "versionName",
+ "doc": "Version identifier.",
+ "type": {
+ "$id": "1142",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1143",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1119"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1144",
+ "type": {
+ "$ref": "289"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersions.getVersion"
+ }
+ ],
+ "parameters": [],
+ "decorators": [],
+ "crossLanguageDefinitionId": "ApiCenter.DataApi.ApiVersions",
+ "apiVersions": [
+ "2024-02-01-preview"
+ ],
+ "parent": {
+ "$ref": "393"
+ }
+ }
+ ]
+ }
+ ],
+ "auth": {
+ "$id": "1145",
+ "oAuth2": {
+ "$id": "1146",
+ "scopes": [
+ "https://azure-apicenter.net/user_impersonation"
+ ]
+ }
+ }
+}
diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json
new file mode 100644
index 000000000000..ede625681568
--- /dev/null
+++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json
@@ -0,0 +1,12 @@
+{
+ "output-folder": ".",
+ "namespace": "Azure.Data.AppConfiguration",
+ "library-name": "Azure.Data.AppConfiguration",
+ "flavor": "azure",
+ "use-model-reader-writer": true,
+ "shared-source-folders": [
+ "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Generator.Shared",
+ "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Azure.Core.Shared"
+ ],
+ "model-namespace": false
+}
diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/autorest.md b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/autorest.md
deleted file mode 100644
index af1f2ccf84c9..000000000000
--- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/autorest.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# Azure SDK Code Generation for Data Plane
-
-Run `dotnet build /t:GenerateCode` to generate code.
-
-### AutoRest Configuration
-> see https://aka.ms/autorest
-``` yaml
-input-file:
-- https://github.com/Azure/azure-rest-api-specs/blob/c1af3ab8e803da2f40fc90217a6d023bc13b677f/specification/appconfiguration/data-plane/Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json
-namespace: Azure.Data.AppConfiguration
-title: ConfigurationClient
-```
-
-### Change Endpoint type to Uri
-``` yaml
-directive:
- from: swagger-document
- where: $.parameters.Endpoint
- transform: $.format = "url"
- ```
-
-### Modify operation names
-``` yaml
-directive:
-- rename-operation:
- from: PutKeyValue
- to: SetConfigurationSetting
-- rename-operation:
- from: DeleteKeyValue
- to: DeleteConfigurationSetting
-- rename-operation:
- from: GetKeyValue
- to: GetConfigurationSetting
-- rename-operation:
- from: GetKeyValues
- to: GetConfigurationSettings
-- rename-operation:
- from: PutLock
- to: CreateReadOnlyLock
-- rename-operation:
- from: DeleteLock
- to: DeleteReadOnlyLock
-- rename-operation:
- from: UpdateSnapshot
- to: UpdateSnapshotStatus
-```
-
-### Internalize protocol methods
-``` yaml
-directive:
- from: swagger-document
- where: $.paths.*.*
- transform: >
- $["x-accessibility"] = "internal"
-```
diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tsp-location.yaml b/sdk/appconfiguration/Azure.Data.AppConfiguration/tsp-location.yaml
new file mode 100644
index 000000000000..d9a6e3e2e8fa
--- /dev/null
+++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tsp-location.yaml
@@ -0,0 +1,4 @@
+directory: specification/appconfiguration/AppConfiguration
+commit: 1f578543d267d08febc1bebf4e33ffe14363ddfc
+repo: Azure/azure-rest-api-specs
+additionalDirectories:
diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json
new file mode 100644
index 000000000000..ff79d7b04ff9
--- /dev/null
+++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json
@@ -0,0 +1,17360 @@
+{
+ "$id": "1",
+ "name": "AzureAppConfiguration",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "enums": [
+ {
+ "$id": "2",
+ "kind": "enum",
+ "name": "GetKeysResponseContentType",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getKeys.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "3",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "4",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.keyset+json",
+ "value": "application/vnd.microsoft.appconfig.keyset+json",
+ "valueType": {
+ "$id": "5",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "6",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "7",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "8",
+ "kind": "enum",
+ "name": "KeyValueFields",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFields",
+ "valueType": {
+ "$id": "9",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "10",
+ "kind": "enumvalue",
+ "name": "key",
+ "value": "key",
+ "valueType": {
+ "$id": "11",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "doc": "Key field.",
+ "decorators": []
+ },
+ {
+ "$id": "12",
+ "kind": "enumvalue",
+ "name": "label",
+ "value": "label",
+ "valueType": {
+ "$id": "13",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "doc": "Label field.",
+ "decorators": []
+ },
+ {
+ "$id": "14",
+ "kind": "enumvalue",
+ "name": "content_type",
+ "value": "content_type",
+ "valueType": {
+ "$id": "15",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "doc": "Content type field.",
+ "decorators": []
+ },
+ {
+ "$id": "16",
+ "kind": "enumvalue",
+ "name": "value",
+ "value": "value",
+ "valueType": {
+ "$id": "17",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "doc": "Value field.",
+ "decorators": []
+ },
+ {
+ "$id": "18",
+ "kind": "enumvalue",
+ "name": "last_modified",
+ "value": "last_modified",
+ "valueType": {
+ "$id": "19",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "doc": "Last modified field.",
+ "decorators": []
+ },
+ {
+ "$id": "20",
+ "kind": "enumvalue",
+ "name": "tags",
+ "value": "tags",
+ "valueType": {
+ "$id": "21",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "doc": "Tags field.",
+ "decorators": []
+ },
+ {
+ "$id": "22",
+ "kind": "enumvalue",
+ "name": "locked",
+ "value": "locked",
+ "valueType": {
+ "$id": "23",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "doc": "Locked field.",
+ "decorators": []
+ },
+ {
+ "$id": "24",
+ "kind": "enumvalue",
+ "name": "etag",
+ "value": "etag",
+ "valueType": {
+ "$id": "25",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "doc": "Etag field.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "doc": "Key-value fields.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "26",
+ "kind": "enum",
+ "name": "GetKeyValuesResponseContentType",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValues.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "27",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "28",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kvset+json",
+ "value": "application/vnd.microsoft.appconfig.kvset+json",
+ "valueType": {
+ "$id": "29",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "26"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "30",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "31",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "26"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "32",
+ "kind": "enum",
+ "name": "GetKeyValueResponseContentType",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValue.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "33",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "34",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kv+json",
+ "value": "application/vnd.microsoft.appconfig.kv+json",
+ "valueType": {
+ "$id": "35",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "32"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "36",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "37",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "32"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "38",
+ "kind": "enum",
+ "name": "PutKeyValueRequestContentType",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.putKeyValue.RequestContentType.anonymous",
+ "valueType": {
+ "$id": "39",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "40",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kv+json",
+ "value": "application/vnd.microsoft.appconfig.kv+json",
+ "valueType": {
+ "$id": "41",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "42",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kvset+json",
+ "value": "application/vnd.microsoft.appconfig.kvset+json",
+ "valueType": {
+ "$id": "43",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "44",
+ "kind": "enumvalue",
+ "name": "application/json",
+ "value": "application/json",
+ "valueType": {
+ "$id": "45",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "46",
+ "kind": "enumvalue",
+ "name": "text/json",
+ "value": "text/json",
+ "valueType": {
+ "$id": "47",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "48",
+ "kind": "enumvalue",
+ "name": "application/*+json",
+ "value": "application/*+json",
+ "valueType": {
+ "$id": "49",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "50",
+ "kind": "enumvalue",
+ "name": "application/json-patch+json",
+ "value": "application/json-patch+json",
+ "valueType": {
+ "$id": "51",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "52",
+ "kind": "enum",
+ "name": "SnapshotFields",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotFields",
+ "valueType": {
+ "$id": "53",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "54",
+ "kind": "enumvalue",
+ "name": "name",
+ "value": "name",
+ "valueType": {
+ "$id": "55",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "doc": "Name field.",
+ "decorators": []
+ },
+ {
+ "$id": "56",
+ "kind": "enumvalue",
+ "name": "status",
+ "value": "status",
+ "valueType": {
+ "$id": "57",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "doc": "Status field.",
+ "decorators": []
+ },
+ {
+ "$id": "58",
+ "kind": "enumvalue",
+ "name": "filters",
+ "value": "filters",
+ "valueType": {
+ "$id": "59",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "doc": "Filters field.",
+ "decorators": []
+ },
+ {
+ "$id": "60",
+ "kind": "enumvalue",
+ "name": "composition_type",
+ "value": "composition_type",
+ "valueType": {
+ "$id": "61",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "doc": "Composition type field.",
+ "decorators": []
+ },
+ {
+ "$id": "62",
+ "kind": "enumvalue",
+ "name": "created",
+ "value": "created",
+ "valueType": {
+ "$id": "63",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "doc": "Created field.",
+ "decorators": []
+ },
+ {
+ "$id": "64",
+ "kind": "enumvalue",
+ "name": "expires",
+ "value": "expires",
+ "valueType": {
+ "$id": "65",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "doc": "Expires field.",
+ "decorators": []
+ },
+ {
+ "$id": "66",
+ "kind": "enumvalue",
+ "name": "retention_period",
+ "value": "retention_period",
+ "valueType": {
+ "$id": "67",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "doc": "Retention period field.",
+ "decorators": []
+ },
+ {
+ "$id": "68",
+ "kind": "enumvalue",
+ "name": "size",
+ "value": "size",
+ "valueType": {
+ "$id": "69",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "doc": "Size field.",
+ "decorators": []
+ },
+ {
+ "$id": "70",
+ "kind": "enumvalue",
+ "name": "items_count",
+ "value": "items_count",
+ "valueType": {
+ "$id": "71",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "doc": "Items count field.",
+ "decorators": []
+ },
+ {
+ "$id": "72",
+ "kind": "enumvalue",
+ "name": "tags",
+ "value": "tags",
+ "valueType": {
+ "$id": "73",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "doc": "Tags field.",
+ "decorators": []
+ },
+ {
+ "$id": "74",
+ "kind": "enumvalue",
+ "name": "etag",
+ "value": "etag",
+ "valueType": {
+ "$id": "75",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "doc": "Etag field.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "doc": "Snapshot fields.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "76",
+ "kind": "enum",
+ "name": "SnapshotStatus",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotStatus",
+ "valueType": {
+ "$id": "77",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "78",
+ "kind": "enumvalue",
+ "name": "provisioning",
+ "value": "provisioning",
+ "valueType": {
+ "$id": "79",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "76"
+ },
+ "doc": "Provisioning",
+ "decorators": []
+ },
+ {
+ "$id": "80",
+ "kind": "enumvalue",
+ "name": "ready",
+ "value": "ready",
+ "valueType": {
+ "$id": "81",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "76"
+ },
+ "doc": "Ready",
+ "decorators": []
+ },
+ {
+ "$id": "82",
+ "kind": "enumvalue",
+ "name": "archived",
+ "value": "archived",
+ "valueType": {
+ "$id": "83",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "76"
+ },
+ "doc": "Archived",
+ "decorators": []
+ },
+ {
+ "$id": "84",
+ "kind": "enumvalue",
+ "name": "failed",
+ "value": "failed",
+ "valueType": {
+ "$id": "85",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "76"
+ },
+ "doc": "Failed",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "doc": "Snapshot status.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,JsonMergePatch,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "86",
+ "kind": "enum",
+ "name": "CompositionType",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.CompositionType",
+ "valueType": {
+ "$id": "87",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "88",
+ "kind": "enumvalue",
+ "name": "key",
+ "value": "key",
+ "valueType": {
+ "$id": "89",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "86"
+ },
+ "doc": "The 'key' composition type.",
+ "decorators": []
+ },
+ {
+ "$id": "90",
+ "kind": "enumvalue",
+ "name": "key_label",
+ "value": "key_label",
+ "valueType": {
+ "$id": "91",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "86"
+ },
+ "doc": "The 'key_label' composition type.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "doc": "Composition types.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "decorators": []
+ },
+ {
+ "$id": "92",
+ "kind": "enum",
+ "name": "GetSnapshotsResponseContentType",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshots.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "93",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "94",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.snapshotset+json",
+ "value": "application/vnd.microsoft.appconfig.snapshotset+json",
+ "valueType": {
+ "$id": "95",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "92"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "96",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "97",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "92"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "98",
+ "kind": "enum",
+ "name": "GetSnapshotResponseContentType",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshot.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "99",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "100",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.snapshot+json",
+ "value": "application/vnd.microsoft.appconfig.snapshot+json",
+ "valueType": {
+ "$id": "101",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "98"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "102",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "103",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "98"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "104",
+ "kind": "enum",
+ "name": "OperationState",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationState",
+ "valueType": {
+ "$id": "105",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "106",
+ "kind": "enumvalue",
+ "name": "NotStarted",
+ "value": "NotStarted",
+ "valueType": {
+ "$id": "107",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "104"
+ },
+ "doc": "The operation has not started.",
+ "decorators": []
+ },
+ {
+ "$id": "108",
+ "kind": "enumvalue",
+ "name": "Running",
+ "value": "Running",
+ "valueType": {
+ "$id": "109",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "104"
+ },
+ "doc": "The operation is in progress.",
+ "decorators": []
+ },
+ {
+ "$id": "110",
+ "kind": "enumvalue",
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "valueType": {
+ "$id": "111",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "104"
+ },
+ "doc": "The operation has completed successfully.",
+ "decorators": []
+ },
+ {
+ "$id": "112",
+ "kind": "enumvalue",
+ "name": "Failed",
+ "value": "Failed",
+ "valueType": {
+ "$id": "113",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "104"
+ },
+ "doc": "The operation has failed.",
+ "decorators": []
+ },
+ {
+ "$id": "114",
+ "kind": "enumvalue",
+ "name": "Canceled",
+ "value": "Canceled",
+ "valueType": {
+ "$id": "115",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "104"
+ },
+ "doc": "The operation has been canceled by the user.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "doc": "Enum describing allowed operation states.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json,LroPolling",
+ "decorators": []
+ },
+ {
+ "$id": "116",
+ "kind": "enum",
+ "name": "CreateSnapshotRequestContentType",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.createSnapshot.RequestContentType.anonymous",
+ "valueType": {
+ "$id": "117",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "118",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.snapshot+json",
+ "value": "application/vnd.microsoft.appconfig.snapshot+json",
+ "valueType": {
+ "$id": "119",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "116"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "120",
+ "kind": "enumvalue",
+ "name": "application/json",
+ "value": "application/json",
+ "valueType": {
+ "$id": "121",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "116"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "122",
+ "kind": "enum",
+ "name": "UpdateSnapshotRequestContentType",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.updateSnapshot.RequestContentType.anonymous",
+ "valueType": {
+ "$id": "123",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "124",
+ "kind": "enumvalue",
+ "name": "application/merge-patch+json",
+ "value": "application/merge-patch+json",
+ "valueType": {
+ "$id": "125",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "122"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "126",
+ "kind": "enumvalue",
+ "name": "application/json",
+ "value": "application/json",
+ "valueType": {
+ "$id": "127",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "122"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "128",
+ "kind": "enum",
+ "name": "LabelFields",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.LabelFields",
+ "valueType": {
+ "$id": "129",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "130",
+ "kind": "enumvalue",
+ "name": "name",
+ "value": "name",
+ "valueType": {
+ "$id": "131",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "128"
+ },
+ "doc": "Name field.",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "doc": "Label fields.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "132",
+ "kind": "enum",
+ "name": "GetLabelsResponseContentType",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getLabels.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "133",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "134",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.labelset+json",
+ "value": "application/vnd.microsoft.appconfig.labelset+json",
+ "valueType": {
+ "$id": "135",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "132"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "136",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "137",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "132"
+ },
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "138",
+ "kind": "enum",
+ "name": "Versions",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Versions",
+ "valueType": {
+ "$id": "139",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "140",
+ "kind": "enumvalue",
+ "name": "v2023_11_01",
+ "value": "2023-11-01",
+ "valueType": {
+ "$id": "141",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "138"
+ },
+ "doc": "The 2023-11-01 API version",
+ "decorators": []
+ },
+ {
+ "$id": "142",
+ "kind": "enumvalue",
+ "name": "v2024_09_01",
+ "value": "2024-09-01",
+ "valueType": {
+ "$id": "143",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "138"
+ },
+ "doc": "The 2024-09-01 API version",
+ "decorators": []
+ }
+ ],
+ "namespace": "Azure.Data.AppConfiguration",
+ "doc": "Service API versions",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "ApiVersionEnum",
+ "decorators": []
+ }
+ ],
+ "models": [
+ {
+ "$id": "144",
+ "kind": "model",
+ "name": "KeyListResult",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult",
+ "usage": "Output,Json",
+ "doc": "The result of a list request.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "145",
+ "kind": "property",
+ "name": "items",
+ "serializedName": "items",
+ "doc": "The collection value.",
+ "type": {
+ "$id": "146",
+ "kind": "array",
+ "name": "ArrayKey",
+ "valueType": {
+ "$id": "147",
+ "kind": "model",
+ "name": "Key",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Key",
+ "usage": "Output,Json",
+ "doc": "Keys serve as identifiers for key-values and are used to store and retrieve corresponding values.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "148",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the key.",
+ "type": {
+ "$id": "149",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Key.name",
+ "serializationOptions": {
+ "$id": "150",
+ "json": {
+ "$id": "151",
+ "name": "name"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult.items",
+ "serializationOptions": {
+ "$id": "152",
+ "json": {
+ "$id": "153",
+ "name": "items"
+ }
+ }
+ },
+ {
+ "$id": "154",
+ "kind": "property",
+ "name": "@nextLink",
+ "serializedName": "@nextLink",
+ "doc": "The URI that can be used to request the next set of paged results.",
+ "type": {
+ "$id": "155",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult.@nextLink",
+ "serializationOptions": {
+ "$id": "156",
+ "json": {
+ "$id": "157",
+ "name": "@nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "147"
+ },
+ {
+ "$id": "158",
+ "kind": "model",
+ "name": "Error",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error",
+ "usage": "Json,Exception",
+ "doc": "Azure App Configuration error object.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "159",
+ "kind": "property",
+ "name": "type",
+ "serializedName": "type",
+ "doc": "The type of the error.",
+ "type": {
+ "$id": "160",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error.type",
+ "serializationOptions": {
+ "$id": "161",
+ "json": {
+ "$id": "162",
+ "name": "type"
+ }
+ }
+ },
+ {
+ "$id": "163",
+ "kind": "property",
+ "name": "title",
+ "serializedName": "title",
+ "doc": "A brief summary of the error.",
+ "type": {
+ "$id": "164",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error.title",
+ "serializationOptions": {
+ "$id": "165",
+ "json": {
+ "$id": "166",
+ "name": "title"
+ }
+ }
+ },
+ {
+ "$id": "167",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the parameter that resulted in the error.",
+ "type": {
+ "$id": "168",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error.name",
+ "serializationOptions": {
+ "$id": "169",
+ "json": {
+ "$id": "170",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "171",
+ "kind": "property",
+ "name": "detail",
+ "serializedName": "detail",
+ "doc": "A detailed description of the error.",
+ "type": {
+ "$id": "172",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error.detail",
+ "serializationOptions": {
+ "$id": "173",
+ "json": {
+ "$id": "174",
+ "name": "detail"
+ }
+ }
+ },
+ {
+ "$id": "175",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "doc": "The HTTP status code that the error maps to.",
+ "type": {
+ "$id": "176",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error.status",
+ "serializationOptions": {
+ "$id": "177",
+ "json": {
+ "$id": "178",
+ "name": "status"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "179",
+ "kind": "model",
+ "name": "KeyValueListResult",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult",
+ "usage": "Output,Json",
+ "doc": "The result of a list request.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "180",
+ "kind": "property",
+ "name": "items",
+ "serializedName": "items",
+ "doc": "The collection value.",
+ "type": {
+ "$id": "181",
+ "kind": "array",
+ "name": "ArrayKeyValue",
+ "valueType": {
+ "$id": "182",
+ "kind": "model",
+ "name": "KeyValue",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue",
+ "usage": "Input,Output,Json",
+ "doc": "A key-value pair representing application settings.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "183",
+ "kind": "property",
+ "name": "key",
+ "serializedName": "key",
+ "doc": "The key of the key-value.",
+ "type": {
+ "$id": "184",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.key",
+ "serializationOptions": {
+ "$id": "185",
+ "json": {
+ "$id": "186",
+ "name": "key"
+ }
+ }
+ },
+ {
+ "$id": "187",
+ "kind": "property",
+ "name": "label",
+ "serializedName": "label",
+ "doc": "The label the key-value belongs to.",
+ "type": {
+ "$id": "188",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.label",
+ "serializationOptions": {
+ "$id": "189",
+ "json": {
+ "$id": "190",
+ "name": "label"
+ }
+ }
+ },
+ {
+ "$id": "191",
+ "kind": "property",
+ "name": "contentType",
+ "serializedName": "content_type",
+ "doc": "The content type of the value stored within the key-value.",
+ "type": {
+ "$id": "192",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.contentType",
+ "serializationOptions": {
+ "$id": "193",
+ "json": {
+ "$id": "194",
+ "name": "content_type"
+ }
+ }
+ },
+ {
+ "$id": "195",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "doc": "The value of the key-value.",
+ "type": {
+ "$id": "196",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.value",
+ "serializationOptions": {
+ "$id": "197",
+ "json": {
+ "$id": "198",
+ "name": "value"
+ }
+ }
+ },
+ {
+ "$id": "199",
+ "kind": "property",
+ "name": "lastModified",
+ "serializedName": "last_modified",
+ "doc": "A date representing the last time the key-value was modified.",
+ "type": {
+ "$id": "200",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "201",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.lastModified",
+ "serializationOptions": {
+ "$id": "202",
+ "json": {
+ "$id": "203",
+ "name": "last_modified"
+ }
+ }
+ },
+ {
+ "$id": "204",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "doc": "The tags of the key-value",
+ "type": {
+ "$id": "205",
+ "kind": "dict",
+ "keyType": {
+ "$id": "206",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "207",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.tags",
+ "serializationOptions": {
+ "$id": "208",
+ "json": {
+ "$id": "209",
+ "name": "tags"
+ }
+ }
+ },
+ {
+ "$id": "210",
+ "kind": "property",
+ "name": "locked",
+ "serializedName": "locked",
+ "doc": "Indicates whether the key-value is locked.",
+ "type": {
+ "$id": "211",
+ "kind": "boolean",
+ "name": "boolean",
+ "crossLanguageDefinitionId": "TypeSpec.boolean",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.locked",
+ "serializationOptions": {
+ "$id": "212",
+ "json": {
+ "$id": "213",
+ "name": "locked"
+ }
+ }
+ },
+ {
+ "$id": "214",
+ "kind": "property",
+ "name": "etag",
+ "serializedName": "etag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "215",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.etag",
+ "serializationOptions": {
+ "$id": "216",
+ "json": {
+ "$id": "217",
+ "name": "etag"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.items",
+ "serializationOptions": {
+ "$id": "218",
+ "json": {
+ "$id": "219",
+ "name": "items"
+ }
+ }
+ },
+ {
+ "$id": "220",
+ "kind": "property",
+ "name": "etag",
+ "serializedName": "etag",
+ "doc": "An identifier representing the returned state of the resource.",
+ "type": {
+ "$id": "221",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.etag",
+ "serializationOptions": {
+ "$id": "222",
+ "json": {
+ "$id": "223",
+ "name": "etag"
+ }
+ }
+ },
+ {
+ "$id": "224",
+ "kind": "property",
+ "name": "@nextLink",
+ "serializedName": "@nextLink",
+ "doc": "The URI that can be used to request the next set of paged results.",
+ "type": {
+ "$id": "225",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.@nextLink",
+ "serializationOptions": {
+ "$id": "226",
+ "json": {
+ "$id": "227",
+ "name": "@nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "182"
+ },
+ {
+ "$id": "228",
+ "kind": "model",
+ "name": "SnapshotListResult",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult",
+ "usage": "Output,Json",
+ "doc": "The result of a snapshot list request.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "229",
+ "kind": "property",
+ "name": "items",
+ "serializedName": "items",
+ "doc": "The collection value.",
+ "type": {
+ "$id": "230",
+ "kind": "array",
+ "name": "ArraySnapshot",
+ "valueType": {
+ "$id": "231",
+ "kind": "model",
+ "name": "Snapshot",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "A snapshot is a named, immutable subset of an App Configuration store's key-values.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "232",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the snapshot.",
+ "type": {
+ "$id": "233",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.name",
+ "serializationOptions": {
+ "$id": "234",
+ "json": {
+ "$id": "235",
+ "name": "name"
+ }
+ }
+ },
+ {
+ "$id": "236",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "doc": "The current status of the snapshot.",
+ "type": {
+ "$ref": "76"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.status",
+ "serializationOptions": {
+ "$id": "237",
+ "json": {
+ "$id": "238",
+ "name": "status"
+ }
+ }
+ },
+ {
+ "$id": "239",
+ "kind": "property",
+ "name": "filters",
+ "serializedName": "filters",
+ "doc": "A list of filters used to filter the key-values included in the snapshot.",
+ "type": {
+ "$id": "240",
+ "kind": "array",
+ "name": "ArrayKeyValueFilter",
+ "valueType": {
+ "$id": "241",
+ "kind": "model",
+ "name": "KeyValueFilter",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter",
+ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
+ "doc": "Enables filtering of key-values. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapisnapshots",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "242",
+ "kind": "property",
+ "name": "key",
+ "serializedName": "key",
+ "doc": "Filters key-values by their key field.",
+ "type": {
+ "$id": "243",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.key",
+ "serializationOptions": {
+ "$id": "244",
+ "json": {
+ "$id": "245",
+ "name": "key"
+ }
+ }
+ },
+ {
+ "$id": "246",
+ "kind": "property",
+ "name": "label",
+ "serializedName": "label",
+ "doc": "Filters key-values by their label field.",
+ "type": {
+ "$id": "247",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.label",
+ "serializationOptions": {
+ "$id": "248",
+ "json": {
+ "$id": "249",
+ "name": "label"
+ }
+ }
+ },
+ {
+ "$id": "250",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "doc": "Filters key-values by their tags field.",
+ "type": {
+ "$id": "251",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "252",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.tags",
+ "serializationOptions": {
+ "$id": "253",
+ "json": {
+ "$id": "254",
+ "name": "tags"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.filters",
+ "serializationOptions": {
+ "$id": "255",
+ "json": {
+ "$id": "256",
+ "name": "filters"
+ }
+ }
+ },
+ {
+ "$id": "257",
+ "kind": "property",
+ "name": "compositionType",
+ "serializedName": "composition_type",
+ "doc": "The composition type describes how the key-values within the snapshot are\ncomposed. The 'key' composition type ensures there are no two key-values\ncontaining the same key. The 'key_label' composition type ensures there are no\ntwo key-values containing the same key and label.",
+ "type": {
+ "$ref": "86"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.compositionType",
+ "serializationOptions": {
+ "$id": "258",
+ "json": {
+ "$id": "259",
+ "name": "composition_type"
+ }
+ }
+ },
+ {
+ "$id": "260",
+ "kind": "property",
+ "name": "created",
+ "serializedName": "created",
+ "doc": "The time that the snapshot was created.",
+ "type": {
+ "$id": "261",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "262",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.created",
+ "serializationOptions": {
+ "$id": "263",
+ "json": {
+ "$id": "264",
+ "name": "created"
+ }
+ }
+ },
+ {
+ "$id": "265",
+ "kind": "property",
+ "name": "expires",
+ "serializedName": "expires",
+ "doc": "The time that the snapshot will expire.",
+ "type": {
+ "$id": "266",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "267",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.expires",
+ "serializationOptions": {
+ "$id": "268",
+ "json": {
+ "$id": "269",
+ "name": "expires"
+ }
+ }
+ },
+ {
+ "$id": "270",
+ "kind": "property",
+ "name": "retentionPeriod",
+ "serializedName": "retention_period",
+ "doc": "The amount of time, in seconds, that a snapshot will remain in the archived\nstate before expiring. This property is only writable during the creation of a\nsnapshot. If not specified, the default lifetime of key-value revisions will be\nused.",
+ "type": {
+ "$id": "271",
+ "kind": "int64",
+ "name": "int64",
+ "crossLanguageDefinitionId": "TypeSpec.int64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.retentionPeriod",
+ "serializationOptions": {
+ "$id": "272",
+ "json": {
+ "$id": "273",
+ "name": "retention_period"
+ }
+ }
+ },
+ {
+ "$id": "274",
+ "kind": "property",
+ "name": "size",
+ "serializedName": "size",
+ "doc": "The size in bytes of the snapshot.",
+ "type": {
+ "$id": "275",
+ "kind": "int64",
+ "name": "int64",
+ "crossLanguageDefinitionId": "TypeSpec.int64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.size",
+ "serializationOptions": {
+ "$id": "276",
+ "json": {
+ "$id": "277",
+ "name": "size"
+ }
+ }
+ },
+ {
+ "$id": "278",
+ "kind": "property",
+ "name": "itemsCount",
+ "serializedName": "items_count",
+ "doc": "The amount of key-values in the snapshot.",
+ "type": {
+ "$id": "279",
+ "kind": "int64",
+ "name": "int64",
+ "crossLanguageDefinitionId": "TypeSpec.int64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.itemsCount",
+ "serializationOptions": {
+ "$id": "280",
+ "json": {
+ "$id": "281",
+ "name": "items_count"
+ }
+ }
+ },
+ {
+ "$id": "282",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "doc": "The tags of the snapshot.",
+ "type": {
+ "$id": "283",
+ "kind": "dict",
+ "keyType": {
+ "$id": "284",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "285",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.tags",
+ "serializationOptions": {
+ "$id": "286",
+ "json": {
+ "$id": "287",
+ "name": "tags"
+ }
+ }
+ },
+ {
+ "$id": "288",
+ "kind": "property",
+ "name": "etag",
+ "serializedName": "etag",
+ "doc": "A value representing the current state of the snapshot.",
+ "type": {
+ "$id": "289",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.etag",
+ "serializationOptions": {
+ "$id": "290",
+ "json": {
+ "$id": "291",
+ "name": "etag"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult.items",
+ "serializationOptions": {
+ "$id": "292",
+ "json": {
+ "$id": "293",
+ "name": "items"
+ }
+ }
+ },
+ {
+ "$id": "294",
+ "kind": "property",
+ "name": "@nextLink",
+ "serializedName": "@nextLink",
+ "doc": "The URI that can be used to request the next set of paged results.",
+ "type": {
+ "$id": "295",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult.@nextLink",
+ "serializationOptions": {
+ "$id": "296",
+ "json": {
+ "$id": "297",
+ "name": "@nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "231"
+ },
+ {
+ "$ref": "241"
+ },
+ {
+ "$id": "298",
+ "kind": "model",
+ "name": "OperationDetails",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails",
+ "usage": "Output,Json,LroPolling",
+ "doc": "Details of a long running operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "299",
+ "kind": "property",
+ "name": "id",
+ "serializedName": "id",
+ "doc": "The unique id of the operation.",
+ "type": {
+ "$id": "300",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.id",
+ "serializationOptions": {
+ "$id": "301",
+ "json": {
+ "$id": "302",
+ "name": "id"
+ }
+ }
+ },
+ {
+ "$id": "303",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "doc": "The current status of the operation",
+ "type": {
+ "$ref": "104"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.status",
+ "serializationOptions": {
+ "$id": "304",
+ "json": {
+ "$id": "305",
+ "name": "status"
+ }
+ }
+ },
+ {
+ "$id": "306",
+ "kind": "property",
+ "name": "error",
+ "serializedName": "error",
+ "doc": "An error, available when the status is `Failed`, describing why the operation\nfailed.",
+ "type": {
+ "$ref": "158"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.error",
+ "serializationOptions": {
+ "$id": "307",
+ "json": {
+ "$id": "308",
+ "name": "error"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "309",
+ "kind": "model",
+ "name": "SnapshotUpdateParameters",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotUpdateParameters",
+ "usage": "Input,JsonMergePatch,Json",
+ "doc": "Parameters used to update a snapshot.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "310",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "doc": "The desired status of the snapshot.",
+ "type": {
+ "$ref": "76"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotUpdateParameters.status",
+ "serializationOptions": {
+ "$id": "311",
+ "json": {
+ "$id": "312",
+ "name": "status"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "313",
+ "kind": "model",
+ "name": "LabelListResult",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult",
+ "usage": "Output,Json",
+ "doc": "The result of a list request.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "314",
+ "kind": "property",
+ "name": "items",
+ "serializedName": "items",
+ "doc": "The collection value.",
+ "type": {
+ "$id": "315",
+ "kind": "array",
+ "name": "ArrayLabel",
+ "valueType": {
+ "$id": "316",
+ "kind": "model",
+ "name": "Label",
+ "namespace": "Azure.Data.AppConfiguration",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Label",
+ "usage": "Output,Json",
+ "doc": "Labels are used to group key-values.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "317",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "doc": "The name of the label.",
+ "type": {
+ "$id": "318",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Label.name",
+ "serializationOptions": {
+ "$id": "319",
+ "json": {
+ "$id": "320",
+ "name": "name"
+ }
+ }
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult.items",
+ "serializationOptions": {
+ "$id": "321",
+ "json": {
+ "$id": "322",
+ "name": "items"
+ }
+ }
+ },
+ {
+ "$id": "323",
+ "kind": "property",
+ "name": "@nextLink",
+ "serializedName": "@nextLink",
+ "doc": "The URI that can be used to request the next set of paged results.",
+ "type": {
+ "$id": "324",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult.@nextLink",
+ "serializationOptions": {
+ "$id": "325",
+ "json": {
+ "$id": "326",
+ "name": "@nextLink"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$ref": "316"
+ }
+ ],
+ "clients": [
+ {
+ "$id": "327",
+ "kind": "client",
+ "name": "AzureAppConfigurationClient",
+ "namespace": "Azure.Data.AppConfiguration",
+ "doc": "Azure App Configuration REST API",
+ "methods": [
+ {
+ "$id": "328",
+ "kind": "paging",
+ "name": "getKeys",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Gets a list of keys.",
+ "summary": "Gets a list of keys.",
+ "operation": {
+ "$id": "329",
+ "name": "getKeys",
+ "resourceName": "Key",
+ "summary": "Gets a list of keys.",
+ "doc": "Gets a list of keys.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "330",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "331",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "332",
+ "type": {
+ "$id": "333",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "334",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "A filter for the name of the returned keys.",
+ "type": {
+ "$id": "335",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "336",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "337",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "338",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "339",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "340",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "341",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "342",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "343",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "344",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "144"
+ },
+ "headers": [
+ {
+ "$id": "345",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "346",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "347",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "2"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.keyset+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/keys",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getKeys",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "348",
+ "kind": "http",
+ "name": "Gets a list of keys.",
+ "description": "Gets a list of keys.",
+ "filePath": "2024-09-01/GetKeys.json",
+ "parameters": [
+ {
+ "$id": "349",
+ "parameter": {
+ "$ref": "330"
+ },
+ "value": {
+ "$id": "350",
+ "kind": "string",
+ "type": {
+ "$ref": "331"
+ },
+ "value": "2024-09-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "351",
+ "response": {
+ "$ref": "344"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "352",
+ "kind": "model",
+ "type": {
+ "$ref": "144"
+ },
+ "value": {
+ "$id": "353",
+ "items": {
+ "$id": "354",
+ "kind": "array",
+ "type": {
+ "$ref": "146"
+ },
+ "value": [
+ {
+ "$id": "355",
+ "kind": "model",
+ "type": {
+ "$ref": "147"
+ },
+ "value": {
+ "$id": "356",
+ "name": {
+ "$id": "357",
+ "kind": "string",
+ "type": {
+ "$ref": "149"
+ },
+ "value": "MaxRequests"
+ }
+ }
+ },
+ {
+ "$id": "358",
+ "kind": "model",
+ "type": {
+ "$ref": "147"
+ },
+ "value": {
+ "$id": "359",
+ "name": {
+ "$id": "360",
+ "kind": "string",
+ "type": {
+ "$ref": "149"
+ },
+ "value": "RequestTimeout"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "361",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "A filter for the name of the returned keys.",
+ "type": {
+ "$id": "362",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "363",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "364",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "365",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "366",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "367",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "368",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "369",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "343"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "370",
+ "type": {
+ "$id": "371",
+ "kind": "array",
+ "name": "ArrayKey",
+ "valueType": {
+ "$ref": "147"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "resultSegments": [
+ "items"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getKeys",
+ "pagingMetadata": {
+ "$id": "372",
+ "itemPropertySegments": [
+ "items"
+ ],
+ "nextLink": {
+ "$id": "373",
+ "responseSegments": [
+ "@nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ }
+ },
+ {
+ "$id": "374",
+ "kind": "basic",
+ "name": "checkKeys",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Requests the headers and status of the given resource.",
+ "summary": "Requests the headers and status of the given resource.",
+ "operation": {
+ "$id": "375",
+ "name": "checkKeys",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Requests the headers and status of the given resource.",
+ "doc": "Requests the headers and status of the given resource.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "376",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "377",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "378",
+ "type": {
+ "$id": "379",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "380",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "A filter for the name of the returned keys.",
+ "type": {
+ "$id": "381",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "382",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "383",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "384",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "385",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "386",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "387",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "388",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "389",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "390",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "391",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "392",
+ "kind": "constant",
+ "valueType": {
+ "$id": "393",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "394",
+ "statusCodes": [
+ 200
+ ],
+ "headers": [
+ {
+ "$id": "395",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "396",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "HEAD",
+ "uri": "{endpoint}",
+ "path": "/keys",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeys",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "397",
+ "kind": "http",
+ "name": "Check keys",
+ "description": "Check keys",
+ "filePath": "2024-09-01/CheckKeys.json",
+ "parameters": [
+ {
+ "$id": "398",
+ "parameter": {
+ "$ref": "376"
+ },
+ "value": {
+ "$id": "399",
+ "kind": "string",
+ "type": {
+ "$ref": "377"
+ },
+ "value": "2024-09-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "400",
+ "response": {
+ "$ref": "394"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "401",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "A filter for the name of the returned keys.",
+ "type": {
+ "$id": "402",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "403",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "404",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "405",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "406",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "407",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "408",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "409",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "410",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "411",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "412",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "392"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "413"
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeys"
+ },
+ {
+ "$id": "414",
+ "kind": "paging",
+ "name": "getKeyValues",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Gets a list of key-values.",
+ "summary": "Gets a list of key-values.",
+ "operation": {
+ "$id": "415",
+ "name": "getKeyValues",
+ "resourceName": "KeyValue",
+ "summary": "Gets a list of key-values.",
+ "doc": "Gets a list of key-values.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "416",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "417",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "418",
+ "type": {
+ "$id": "419",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "420",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "421",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "422",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "423",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "424",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "425",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "426",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "427",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "428",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "429",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "430",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "431",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "arraySerializationDelimiter": ",",
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "432",
+ "name": "snapshot",
+ "nameInRequest": "snapshot",
+ "doc": "A filter used get key-values for a snapshot. The value should be the name of\nthe snapshot. Not valid when used with 'key' and 'label' filters.",
+ "type": {
+ "$id": "433",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "434",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "435",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "436",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "437",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "438",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "439",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "440",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": true,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "441",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "442",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "443",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "179"
+ },
+ "headers": [
+ {
+ "$id": "444",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "445",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "446",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "447",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "448",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "26"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.kvset+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/kv",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValues",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "449",
+ "kind": "http",
+ "name": "Gets a list of key-values.",
+ "description": "Gets a list of key-values.",
+ "filePath": "2024-09-01/GetKeyValues.json",
+ "parameters": [
+ {
+ "$id": "450",
+ "parameter": {
+ "$ref": "416"
+ },
+ "value": {
+ "$id": "451",
+ "kind": "string",
+ "type": {
+ "$ref": "417"
+ },
+ "value": "2024-09-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "452",
+ "response": {
+ "$ref": "443"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "453",
+ "kind": "model",
+ "type": {
+ "$ref": "179"
+ },
+ "value": {
+ "$id": "454",
+ "items": {
+ "$id": "455",
+ "kind": "array",
+ "type": {
+ "$ref": "181"
+ },
+ "value": [
+ {
+ "$id": "456",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "457",
+ "etag": {
+ "$id": "458",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv"
+ },
+ "key": {
+ "$id": "459",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Background"
+ },
+ "label": {
+ "$id": "460",
+ "kind": "string",
+ "type": {
+ "$ref": "188"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "461",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "462",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "463"
+ }
+ },
+ "locked": {
+ "$id": "464",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "465",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "466",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "467",
+ "etag": {
+ "$id": "468",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "UTSN1zePHbBQ0npbRB6elGRRuH7"
+ },
+ "key": {
+ "$id": "469",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "MaxLogFiles"
+ },
+ "label": {
+ "$id": "470",
+ "kind": "string",
+ "type": {
+ "$ref": "188"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "471",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "50"
+ },
+ "tags": {
+ "$id": "472",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "473"
+ }
+ },
+ "locked": {
+ "$id": "474",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "475",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "476",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "477",
+ "etag": {
+ "$id": "478",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "479",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "480",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World"
+ },
+ "tags": {
+ "$id": "481",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "482"
+ }
+ },
+ "locked": {
+ "$id": "483",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "484",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-06-20T16:52:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "485",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "486",
+ "etag": {
+ "$id": "487",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY"
+ },
+ "key": {
+ "$id": "488",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "WebDemo:Settings:BackgroundColor"
+ },
+ "value": {
+ "$id": "489",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "490",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "491"
+ }
+ },
+ "locked": {
+ "$id": "492",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "493",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-06-20T15:48:01+00:00"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "494",
+ "kind": "http",
+ "name": "Gets a list of key-values using the If-Match header.",
+ "description": "Gets a list of key-values using the If-Match header.",
+ "filePath": "2024-09-01/GetKeyValues_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "495",
+ "parameter": {
+ "$ref": "416"
+ },
+ "value": {
+ "$id": "496",
+ "kind": "string",
+ "type": {
+ "$ref": "417"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "497",
+ "parameter": {
+ "$ref": "434"
+ },
+ "value": {
+ "$id": "498",
+ "kind": "string",
+ "type": {
+ "$ref": "435"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "499",
+ "response": {
+ "$ref": "443"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "500",
+ "kind": "model",
+ "type": {
+ "$ref": "179"
+ },
+ "value": {
+ "$id": "501",
+ "items": {
+ "$id": "502",
+ "kind": "array",
+ "type": {
+ "$ref": "181"
+ },
+ "value": [
+ {
+ "$id": "503",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "504",
+ "etag": {
+ "$id": "505",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv"
+ },
+ "key": {
+ "$id": "506",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Background"
+ },
+ "label": {
+ "$id": "507",
+ "kind": "string",
+ "type": {
+ "$ref": "188"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "508",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "509",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "510"
+ }
+ },
+ "locked": {
+ "$id": "511",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "512",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "513",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "514",
+ "etag": {
+ "$id": "515",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "UTSN1zePHbBQ0npbRB6elGRRuH7"
+ },
+ "key": {
+ "$id": "516",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "MaxLogFiles"
+ },
+ "label": {
+ "$id": "517",
+ "kind": "string",
+ "type": {
+ "$ref": "188"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "518",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "50"
+ },
+ "tags": {
+ "$id": "519",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "520"
+ }
+ },
+ "locked": {
+ "$id": "521",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "522",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "523",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "524",
+ "etag": {
+ "$id": "525",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "526",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "527",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World"
+ },
+ "tags": {
+ "$id": "528",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "529"
+ }
+ },
+ "locked": {
+ "$id": "530",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "531",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-06-20T16:52:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "532",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "533",
+ "etag": {
+ "$id": "534",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY"
+ },
+ "key": {
+ "$id": "535",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "WebDemo:Settings:BackgroundColor"
+ },
+ "value": {
+ "$id": "536",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "537",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "538"
+ }
+ },
+ "locked": {
+ "$id": "539",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "540",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-06-20T15:48:01+00:00"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "541",
+ "kind": "http",
+ "name": "Gets a list of key-values using the If-None-Match header.",
+ "description": "Gets a list of key-values using the If-None-Match header.",
+ "filePath": "2024-09-01/GetKeyValues_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "542",
+ "parameter": {
+ "$ref": "416"
+ },
+ "value": {
+ "$id": "543",
+ "kind": "string",
+ "type": {
+ "$ref": "417"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "544",
+ "parameter": {
+ "$ref": "436"
+ },
+ "value": {
+ "$id": "545",
+ "kind": "string",
+ "type": {
+ "$ref": "437"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "546",
+ "response": {
+ "$ref": "443"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "547",
+ "kind": "model",
+ "type": {
+ "$ref": "179"
+ },
+ "value": {
+ "$id": "548",
+ "items": {
+ "$id": "549",
+ "kind": "array",
+ "type": {
+ "$ref": "181"
+ },
+ "value": [
+ {
+ "$id": "550",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "551",
+ "etag": {
+ "$id": "552",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv"
+ },
+ "key": {
+ "$id": "553",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Background"
+ },
+ "label": {
+ "$id": "554",
+ "kind": "string",
+ "type": {
+ "$ref": "188"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "555",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "556",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "557"
+ }
+ },
+ "locked": {
+ "$id": "558",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "559",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "560",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "561",
+ "etag": {
+ "$id": "562",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "UTSN1zePHbBQ0npbRB6elGRRuH7"
+ },
+ "key": {
+ "$id": "563",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "MaxLogFiles"
+ },
+ "label": {
+ "$id": "564",
+ "kind": "string",
+ "type": {
+ "$ref": "188"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "565",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "50"
+ },
+ "tags": {
+ "$id": "566",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "567"
+ }
+ },
+ "locked": {
+ "$id": "568",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "569",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "570",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "571",
+ "etag": {
+ "$id": "572",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "573",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "574",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World"
+ },
+ "tags": {
+ "$id": "575",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "576"
+ }
+ },
+ "locked": {
+ "$id": "577",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "578",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-06-20T16:52:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "579",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "580",
+ "etag": {
+ "$id": "581",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY"
+ },
+ "key": {
+ "$id": "582",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "WebDemo:Settings:BackgroundColor"
+ },
+ "value": {
+ "$id": "583",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "584",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "585"
+ }
+ },
+ "locked": {
+ "$id": "586",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "587",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-06-20T15:48:01+00:00"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "588",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "589",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "590",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "591",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "592",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "593",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "594",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "595",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "596",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "597",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "598",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "599",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "600",
+ "name": "snapshot",
+ "nameInRequest": "snapshot",
+ "doc": "A filter used get key-values for a snapshot. The value should be the name of\nthe snapshot. Not valid when used with 'key' and 'label' filters.",
+ "type": {
+ "$id": "601",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "602",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "603",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "604",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "605",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "606",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "607",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "608",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "609",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "442"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "610",
+ "type": {
+ "$id": "611",
+ "kind": "array",
+ "name": "ArrayKeyValue",
+ "valueType": {
+ "$ref": "182"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "resultSegments": [
+ "items"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValues",
+ "pagingMetadata": {
+ "$id": "612",
+ "itemPropertySegments": [
+ "items"
+ ],
+ "nextLink": {
+ "$id": "613",
+ "responseSegments": [
+ "@nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ }
+ },
+ {
+ "$id": "614",
+ "kind": "basic",
+ "name": "checkKeyValues",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Requests the headers and status of the given resource.",
+ "summary": "Requests the headers and status of the given resource.",
+ "operation": {
+ "$id": "615",
+ "name": "checkKeyValues",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Requests the headers and status of the given resource.",
+ "doc": "Requests the headers and status of the given resource.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "616",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "617",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "618",
+ "type": {
+ "$id": "619",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "620",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "621",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "622",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "623",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "624",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "625",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "626",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "627",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "628",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "629",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "630",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "631",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "arraySerializationDelimiter": ",",
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "632",
+ "name": "snapshot",
+ "nameInRequest": "snapshot",
+ "doc": "A filter used get key-values for a snapshot. The value should be the name of\nthe snapshot. Not valid when used with 'key' and 'label' filters.",
+ "type": {
+ "$id": "633",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "634",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "635",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "636",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "637",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "638",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "639",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "640",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": true,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "641",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "642",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "643",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "644",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "645",
+ "kind": "constant",
+ "valueType": {
+ "$id": "646",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "647",
+ "statusCodes": [
+ 200
+ ],
+ "headers": [
+ {
+ "$id": "648",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "649",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "650",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "651",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "HEAD",
+ "uri": "{endpoint}",
+ "path": "/kv",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValues",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "652",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2024-09-01/CheckKeyValues.json",
+ "parameters": [
+ {
+ "$id": "653",
+ "parameter": {
+ "$ref": "616"
+ },
+ "value": {
+ "$id": "654",
+ "kind": "string",
+ "type": {
+ "$ref": "617"
+ },
+ "value": "2024-09-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "655",
+ "response": {
+ "$ref": "647"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "656",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using the If-Match header.",
+ "description": "Requests the headers and status of the given resource using the If-Match header.",
+ "filePath": "2024-09-01/CheckKeyValues_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "657",
+ "parameter": {
+ "$ref": "616"
+ },
+ "value": {
+ "$id": "658",
+ "kind": "string",
+ "type": {
+ "$ref": "617"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "659",
+ "parameter": {
+ "$ref": "634"
+ },
+ "value": {
+ "$id": "660",
+ "kind": "string",
+ "type": {
+ "$ref": "635"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "661",
+ "response": {
+ "$ref": "647"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "662",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using the If-None-Match header.",
+ "description": "Requests the headers and status of the given resource using the If-None-Match header.",
+ "filePath": "2024-09-01/CheckKeyValues_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "663",
+ "parameter": {
+ "$ref": "616"
+ },
+ "value": {
+ "$id": "664",
+ "kind": "string",
+ "type": {
+ "$ref": "617"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "665",
+ "parameter": {
+ "$ref": "636"
+ },
+ "value": {
+ "$id": "666",
+ "kind": "string",
+ "type": {
+ "$ref": "637"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "667",
+ "response": {
+ "$ref": "647"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "668",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "669",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "670",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "671",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "672",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "673",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "674",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "675",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "676",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "677",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "678",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "679",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "680",
+ "name": "snapshot",
+ "nameInRequest": "snapshot",
+ "doc": "A filter used get key-values for a snapshot. The value should be the name of\nthe snapshot. Not valid when used with 'key' and 'label' filters.",
+ "type": {
+ "$id": "681",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "682",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "683",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "684",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "685",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "686",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "687",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "688",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "689",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "690",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "691",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "692",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "645"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "693"
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValues"
+ },
+ {
+ "$id": "694",
+ "kind": "basic",
+ "name": "getKeyValue",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Gets a single key-value.",
+ "summary": "Gets a single key-value.",
+ "operation": {
+ "$id": "695",
+ "name": "getKeyValue",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Gets a single key-value.",
+ "doc": "Gets a single key-value.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "696",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "697",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "698",
+ "type": {
+ "$id": "699",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "700",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value.",
+ "type": {
+ "$id": "701",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "702",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label of the key-value to retrieve.",
+ "type": {
+ "$id": "703",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "704",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "705",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "arraySerializationDelimiter": ",",
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "706",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "707",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "708",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "709",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "710",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "711",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "712",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "713",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "714",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "715",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "716",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "717",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "718",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "719",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": true,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "720",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "721",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "722",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "182"
+ },
+ "headers": [
+ {
+ "$id": "723",
+ "name": "requestId",
+ "nameInResponse": "x-ms-request-id",
+ "doc": "An opaque, globally-unique, server-generated string identifier for the request.",
+ "type": {
+ "$id": "724",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "725",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ }
+ },
+ {
+ "$id": "726",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "727",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "728",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "729",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "730",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "32"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/kv/{key}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValue",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "731",
+ "kind": "http",
+ "name": "Gets a single key-value.",
+ "description": "Gets a single key-value.",
+ "filePath": "2024-09-01/GetKeyValue.json",
+ "parameters": [
+ {
+ "$id": "732",
+ "parameter": {
+ "$ref": "696"
+ },
+ "value": {
+ "$id": "733",
+ "kind": "string",
+ "type": {
+ "$ref": "697"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "734",
+ "parameter": {
+ "$ref": "700"
+ },
+ "value": {
+ "$id": "735",
+ "kind": "string",
+ "type": {
+ "$ref": "701"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "736",
+ "response": {
+ "$ref": "722"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "737",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "738",
+ "etag": {
+ "$id": "739",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "740",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "741",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "742",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "743"
+ }
+ },
+ "locked": {
+ "$id": "744",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "745",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "746",
+ "kind": "http",
+ "name": "Gets a single key-value using the If-Match header.",
+ "description": "Gets a single key-value using the If-Match header.",
+ "filePath": "2024-09-01/GetKeyValue_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "747",
+ "parameter": {
+ "$ref": "696"
+ },
+ "value": {
+ "$id": "748",
+ "kind": "string",
+ "type": {
+ "$ref": "697"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "749",
+ "parameter": {
+ "$ref": "700"
+ },
+ "value": {
+ "$id": "750",
+ "kind": "string",
+ "type": {
+ "$ref": "701"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "751",
+ "parameter": {
+ "$ref": "710"
+ },
+ "value": {
+ "$id": "752",
+ "kind": "string",
+ "type": {
+ "$ref": "711"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "753",
+ "response": {
+ "$ref": "722"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "754",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "755",
+ "etag": {
+ "$id": "756",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ },
+ "key": {
+ "$id": "757",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "758",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "759",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "760"
+ }
+ },
+ "locked": {
+ "$id": "761",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "762",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "763",
+ "kind": "http",
+ "name": "Gets a single key-value using the If-None-Match header.",
+ "description": "Gets a single key-value using the If-None-Match header.",
+ "filePath": "2024-09-01/GetKeyValue_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "764",
+ "parameter": {
+ "$ref": "696"
+ },
+ "value": {
+ "$id": "765",
+ "kind": "string",
+ "type": {
+ "$ref": "697"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "766",
+ "parameter": {
+ "$ref": "700"
+ },
+ "value": {
+ "$id": "767",
+ "kind": "string",
+ "type": {
+ "$ref": "701"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "768",
+ "parameter": {
+ "$ref": "712"
+ },
+ "value": {
+ "$id": "769",
+ "kind": "string",
+ "type": {
+ "$ref": "713"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "770",
+ "response": {
+ "$ref": "722"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "771",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "772",
+ "etag": {
+ "$id": "773",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "774",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "775",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "776",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "777"
+ }
+ },
+ "locked": {
+ "$id": "778",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "779",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "780",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value.",
+ "type": {
+ "$id": "781",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "782",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label of the key-value to retrieve.",
+ "type": {
+ "$id": "783",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "784",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "785",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "786",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "787",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "788",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "789",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "790",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "791",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "792",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "793",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "794",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "795",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "796",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "797",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "798",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "799",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "800",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "721"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "801",
+ "type": {
+ "$ref": "182"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValue"
+ },
+ {
+ "$id": "802",
+ "kind": "basic",
+ "name": "putKeyValue",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Creates a key-value.",
+ "summary": "Creates a key-value.",
+ "operation": {
+ "$id": "803",
+ "name": "putKeyValue",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Creates a key-value.",
+ "doc": "Creates a key-value.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "804",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "805",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "806",
+ "type": {
+ "$id": "807",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "808",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "38"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": true,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "809",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value to create.",
+ "type": {
+ "$id": "810",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "811",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label of the key-value to create.",
+ "type": {
+ "$id": "812",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "813",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "814",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "815",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "816",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "817",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "818",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "819",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "820",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "821",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "822",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "823",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "824",
+ "name": "entity",
+ "nameInRequest": "entity",
+ "doc": "The key-value to create.",
+ "type": {
+ "$ref": "182"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "825",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "182"
+ },
+ "headers": [
+ {
+ "$id": "826",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "827",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "828",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "829",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "830",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "32"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "PUT",
+ "uri": "{endpoint}",
+ "path": "/kv/{key}",
+ "requestMediaTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/vnd.microsoft.appconfig.kvset+json",
+ "application/json",
+ "text/json",
+ "application/*+json",
+ "application/json-patch+json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.putKeyValue",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "831",
+ "kind": "http",
+ "name": "Creates a key-value.",
+ "description": "Creates a key-value.",
+ "filePath": "2024-09-01/PutKeyValue.json",
+ "parameters": [
+ {
+ "$id": "832",
+ "parameter": {
+ "$ref": "804"
+ },
+ "value": {
+ "$id": "833",
+ "kind": "string",
+ "type": {
+ "$ref": "805"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "834",
+ "parameter": {
+ "$ref": "809"
+ },
+ "value": {
+ "$id": "835",
+ "kind": "string",
+ "type": {
+ "$ref": "810"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "836",
+ "response": {
+ "$ref": "825"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "837",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "838",
+ "etag": {
+ "$id": "839",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "tnIHBkDYQwtdNMLoWtr5aybkKwL"
+ },
+ "key": {
+ "$id": "840",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "841",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "842",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "843"
+ }
+ },
+ "locked": {
+ "$id": "844",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "845",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "846",
+ "kind": "http",
+ "name": "Creates a key-value with the If-Match header.",
+ "description": "Creates a key-value with the If-Match header.",
+ "filePath": "2024-09-01/PutKeyValue_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "847",
+ "parameter": {
+ "$ref": "804"
+ },
+ "value": {
+ "$id": "848",
+ "kind": "string",
+ "type": {
+ "$ref": "805"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "849",
+ "parameter": {
+ "$ref": "809"
+ },
+ "value": {
+ "$id": "850",
+ "kind": "string",
+ "type": {
+ "$ref": "810"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "851",
+ "parameter": {
+ "$ref": "815"
+ },
+ "value": {
+ "$id": "852",
+ "kind": "string",
+ "type": {
+ "$ref": "816"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "853",
+ "response": {
+ "$ref": "825"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "854",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "855",
+ "etag": {
+ "$id": "856",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ },
+ "key": {
+ "$id": "857",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "858",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "859",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "860"
+ }
+ },
+ "locked": {
+ "$id": "861",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "862",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "863",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "38"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "864",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value to create.",
+ "type": {
+ "$id": "865",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "866",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label of the key-value to create.",
+ "type": {
+ "$id": "867",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "868",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "869",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "870",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "871",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "872",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "873",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "874",
+ "name": "entity",
+ "nameInRequest": "entity",
+ "doc": "The key-value to create.",
+ "type": {
+ "$ref": "182"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "875",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "876",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "877",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "878",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "823"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "879",
+ "type": {
+ "$ref": "182"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.putKeyValue"
+ },
+ {
+ "$id": "880",
+ "kind": "basic",
+ "name": "deleteKeyValue",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Deletes a key-value.",
+ "summary": "Deletes a key-value.",
+ "operation": {
+ "$id": "881",
+ "name": "deleteKeyValue",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Deletes a key-value.",
+ "doc": "Deletes a key-value.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "882",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "883",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "884",
+ "type": {
+ "$id": "885",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "886",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value to delete.",
+ "type": {
+ "$id": "887",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "888",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label of the key-value to delete.",
+ "type": {
+ "$id": "889",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "890",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "891",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "892",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "893",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "894",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "895",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "896",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "897",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "898",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "899",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "182"
+ },
+ "headers": [
+ {
+ "$id": "900",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "901",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "902",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "903",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "904",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "32"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/problem+json"
+ ]
+ },
+ {
+ "$id": "905",
+ "statusCodes": [
+ 204
+ ],
+ "headers": [
+ {
+ "$id": "906",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "907",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "DELETE",
+ "uri": "{endpoint}",
+ "path": "/kv/{key}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.deleteKeyValue",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "908",
+ "kind": "http",
+ "name": "Deletes a key-value.",
+ "description": "Deletes a key-value.",
+ "filePath": "2024-09-01/DeleteKeyValue.json",
+ "parameters": [
+ {
+ "$id": "909",
+ "parameter": {
+ "$ref": "882"
+ },
+ "value": {
+ "$id": "910",
+ "kind": "string",
+ "type": {
+ "$ref": "883"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "911",
+ "parameter": {
+ "$ref": "886"
+ },
+ "value": {
+ "$id": "912",
+ "kind": "string",
+ "type": {
+ "$ref": "887"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "913",
+ "response": {
+ "$ref": "899"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "914",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "915",
+ "etag": {
+ "$id": "916",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "917",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "918",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "919",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "920"
+ }
+ },
+ "locked": {
+ "$id": "921",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "922",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ },
+ {
+ "$id": "923",
+ "response": {
+ "$ref": "905"
+ },
+ "statusCode": 204
+ }
+ ]
+ },
+ {
+ "$id": "924",
+ "kind": "http",
+ "name": "Deletes a key-value using If-Match header",
+ "description": "Deletes a key-value using If-Match header",
+ "filePath": "2024-09-01/DeleteKeyValue_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "925",
+ "parameter": {
+ "$ref": "882"
+ },
+ "value": {
+ "$id": "926",
+ "kind": "string",
+ "type": {
+ "$ref": "883"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "927",
+ "parameter": {
+ "$ref": "886"
+ },
+ "value": {
+ "$id": "928",
+ "kind": "string",
+ "type": {
+ "$ref": "887"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "929",
+ "parameter": {
+ "$ref": "892"
+ },
+ "value": {
+ "$id": "930",
+ "kind": "string",
+ "type": {
+ "$ref": "893"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "931",
+ "response": {
+ "$ref": "899"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "932",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "933",
+ "etag": {
+ "$id": "934",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ },
+ "key": {
+ "$id": "935",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "936",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "937",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "938"
+ }
+ },
+ "locked": {
+ "$id": "939",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "940",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ },
+ {
+ "$id": "941",
+ "response": {
+ "$ref": "905"
+ },
+ "statusCode": 204
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "942",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value to delete.",
+ "type": {
+ "$id": "943",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "944",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label of the key-value to delete.",
+ "type": {
+ "$id": "945",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "946",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "947",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "948",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "949",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "950",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "951",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "952",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "953",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "898"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "954",
+ "type": {
+ "$id": "955",
+ "kind": "nullable",
+ "type": {
+ "$ref": "182"
+ },
+ "namespace": "Azure.Data.AppConfiguration"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.deleteKeyValue"
+ },
+ {
+ "$id": "956",
+ "kind": "basic",
+ "name": "checkKeyValue",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Requests the headers and status of the given resource.",
+ "summary": "Requests the headers and status of the given resource.",
+ "operation": {
+ "$id": "957",
+ "name": "checkKeyValue",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Requests the headers and status of the given resource.",
+ "doc": "Requests the headers and status of the given resource.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "958",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "959",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "960",
+ "type": {
+ "$id": "961",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "962",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value to retrieve.",
+ "type": {
+ "$id": "963",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "964",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label of the key-value to retrieve.",
+ "type": {
+ "$id": "965",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "966",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "967",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "968",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "969",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "970",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "971",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "972",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "973",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "974",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "975",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "arraySerializationDelimiter": ",",
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "976",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "977",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "978",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": true,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "979",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "980",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "981",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "982",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "983",
+ "kind": "constant",
+ "valueType": {
+ "$id": "984",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "985",
+ "statusCodes": [
+ 200
+ ],
+ "headers": [
+ {
+ "$id": "986",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "987",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "988",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "989",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "HEAD",
+ "uri": "{endpoint}",
+ "path": "/kv/{key}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValue",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "990",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2024-09-01/CheckKeyValue.json",
+ "parameters": [
+ {
+ "$id": "991",
+ "parameter": {
+ "$ref": "958"
+ },
+ "value": {
+ "$id": "992",
+ "kind": "string",
+ "type": {
+ "$ref": "959"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "993",
+ "parameter": {
+ "$ref": "962"
+ },
+ "value": {
+ "$id": "994",
+ "kind": "string",
+ "type": {
+ "$ref": "963"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "995",
+ "response": {
+ "$ref": "985"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "996",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using the If-Match header.",
+ "description": "Requests the headers and status of the given resource using the If-Match header.",
+ "filePath": "2024-09-01/CheckKeyValue_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "997",
+ "parameter": {
+ "$ref": "958"
+ },
+ "value": {
+ "$id": "998",
+ "kind": "string",
+ "type": {
+ "$ref": "959"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "999",
+ "parameter": {
+ "$ref": "962"
+ },
+ "value": {
+ "$id": "1000",
+ "kind": "string",
+ "type": {
+ "$ref": "963"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "1001",
+ "parameter": {
+ "$ref": "970"
+ },
+ "value": {
+ "$id": "1002",
+ "kind": "string",
+ "type": {
+ "$ref": "971"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1003",
+ "response": {
+ "$ref": "985"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "1004",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using the If-None-Match header.",
+ "description": "Requests the headers and status of the given resource using the If-None-Match header.",
+ "filePath": "2024-09-01/CheckKeyValue_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "1005",
+ "parameter": {
+ "$ref": "958"
+ },
+ "value": {
+ "$id": "1006",
+ "kind": "string",
+ "type": {
+ "$ref": "959"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1007",
+ "parameter": {
+ "$ref": "962"
+ },
+ "value": {
+ "$id": "1008",
+ "kind": "string",
+ "type": {
+ "$ref": "963"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "1009",
+ "parameter": {
+ "$ref": "972"
+ },
+ "value": {
+ "$id": "1010",
+ "kind": "string",
+ "type": {
+ "$ref": "973"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1011",
+ "response": {
+ "$ref": "985"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1012",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value to retrieve.",
+ "type": {
+ "$id": "1013",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1014",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label of the key-value to retrieve.",
+ "type": {
+ "$id": "1015",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1016",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1017",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1018",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "1019",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1020",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "1021",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1022",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "1023",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1024",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1025",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1026",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "type": {
+ "$id": "1027",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "1028",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1029",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1030",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1031",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1032",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "983"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1033"
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValue"
+ },
+ {
+ "$id": "1034",
+ "kind": "paging",
+ "name": "getSnapshots",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Gets a list of key-value snapshots.",
+ "summary": "Gets a list of key-value snapshots.",
+ "operation": {
+ "$id": "1035",
+ "name": "getSnapshots",
+ "resourceName": "Snapshot",
+ "summary": "Gets a list of key-value snapshots.",
+ "doc": "Gets a list of key-value snapshots.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1036",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1037",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1038",
+ "type": {
+ "$id": "1039",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1040",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "A filter for the name of the returned snapshots.",
+ "type": {
+ "$id": "1041",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1042",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1043",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1044",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1045",
+ "kind": "array",
+ "name": "ArraySnapshotFields",
+ "valueType": {
+ "$ref": "52"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "arraySerializationDelimiter": ",",
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1046",
+ "name": "status",
+ "nameInRequest": "status",
+ "doc": "Used to filter returned snapshots by their status property.",
+ "type": {
+ "$id": "1047",
+ "kind": "array",
+ "name": "ArraySnapshotStatus",
+ "valueType": {
+ "$ref": "76"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "arraySerializationDelimiter": ",",
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1048",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1049",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1050",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1051",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1052",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "228"
+ },
+ "headers": [
+ {
+ "$id": "1053",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1054",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1055",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "92"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.snapshotset+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/snapshots",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshots",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1056",
+ "kind": "http",
+ "name": "Gets a list of key-value snapshots.",
+ "description": "Gets a list of key-value snapshots.",
+ "filePath": "2024-09-01/GetSnapshots.json",
+ "parameters": [
+ {
+ "$id": "1057",
+ "parameter": {
+ "$ref": "1036"
+ },
+ "value": {
+ "$id": "1058",
+ "kind": "string",
+ "type": {
+ "$ref": "1037"
+ },
+ "value": "2024-09-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1059",
+ "response": {
+ "$ref": "1052"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1060",
+ "kind": "model",
+ "type": {
+ "$ref": "228"
+ },
+ "value": {
+ "$id": "1061",
+ "items": {
+ "$id": "1062",
+ "kind": "array",
+ "type": {
+ "$ref": "230"
+ },
+ "value": [
+ {
+ "$id": "1063",
+ "kind": "model",
+ "type": {
+ "$ref": "231"
+ },
+ "value": {
+ "$id": "1064",
+ "etag": {
+ "$id": "1065",
+ "kind": "string",
+ "type": {
+ "$ref": "289"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1066",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1067",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "ready"
+ },
+ "filters": {
+ "$id": "1068",
+ "kind": "array",
+ "type": {
+ "$ref": "240"
+ },
+ "value": [
+ {
+ "$id": "1069",
+ "kind": "model",
+ "type": {
+ "$ref": "241"
+ },
+ "value": {
+ "$id": "1070",
+ "key": {
+ "$id": "1071",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1072",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "composition_type": {
+ "$id": "1073",
+ "kind": "string",
+ "type": {
+ "$ref": "86"
+ },
+ "value": "all"
+ },
+ "created": {
+ "$id": "1074",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1075",
+ "kind": "number",
+ "type": {
+ "$ref": "275"
+ },
+ "value": 100000
+ },
+ "items_count": {
+ "$id": "1076",
+ "kind": "number",
+ "type": {
+ "$ref": "279"
+ },
+ "value": 71
+ },
+ "retention_period": {
+ "$id": "1077",
+ "kind": "number",
+ "type": {
+ "$ref": "271"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "1078",
+ "kind": "dict",
+ "type": {
+ "$ref": "283"
+ },
+ "value": {
+ "$id": "1079",
+ "release": {
+ "$id": "1080",
+ "kind": "string",
+ "type": {
+ "$ref": "285"
+ },
+ "value": "{link/id}"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1081",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "A filter for the name of the returned snapshots.",
+ "type": {
+ "$id": "1082",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1083",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1084",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1085",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1086",
+ "kind": "array",
+ "name": "ArraySnapshotFields",
+ "valueType": {
+ "$ref": "52"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1087",
+ "name": "status",
+ "nameInRequest": "status",
+ "doc": "Used to filter returned snapshots by their status property.",
+ "type": {
+ "$id": "1088",
+ "kind": "array",
+ "name": "ArraySnapshotStatus",
+ "valueType": {
+ "$ref": "76"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1089",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1090",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1091",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1051"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1092",
+ "type": {
+ "$id": "1093",
+ "kind": "array",
+ "name": "ArraySnapshot",
+ "valueType": {
+ "$ref": "231"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "resultSegments": [
+ "items"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshots",
+ "pagingMetadata": {
+ "$id": "1094",
+ "itemPropertySegments": [
+ "items"
+ ],
+ "nextLink": {
+ "$id": "1095",
+ "responseSegments": [
+ "@nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ }
+ },
+ {
+ "$id": "1096",
+ "kind": "basic",
+ "name": "checkSnapshots",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Requests the headers and status of the given resource.",
+ "summary": "Requests the headers and status of the given resource.",
+ "operation": {
+ "$id": "1097",
+ "name": "checkSnapshots",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Requests the headers and status of the given resource.",
+ "doc": "Requests the headers and status of the given resource.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1098",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1099",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1100",
+ "type": {
+ "$id": "1101",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1102",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1103",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1104",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1105",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1106",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1107",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1108",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1109",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1110",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1111",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1112",
+ "statusCodes": [
+ 200
+ ],
+ "headers": [
+ {
+ "$id": "1113",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1114",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "HEAD",
+ "uri": "{endpoint}",
+ "path": "/snapshots",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshots",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1115",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2024-09-01/CheckSnapshots.json",
+ "parameters": [
+ {
+ "$id": "1116",
+ "parameter": {
+ "$ref": "1098"
+ },
+ "value": {
+ "$id": "1117",
+ "kind": "string",
+ "type": {
+ "$ref": "1099"
+ },
+ "value": "2024-09-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1118",
+ "response": {
+ "$ref": "1112"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1119",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1120",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1121",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1122",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1123",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1124",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1125",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1126",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1110"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1127"
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshots"
+ },
+ {
+ "$id": "1128",
+ "kind": "basic",
+ "name": "getSnapshot",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Gets a single key-value snapshot.",
+ "summary": "Gets a single key-value snapshot.",
+ "operation": {
+ "$id": "1129",
+ "name": "getSnapshot",
+ "resourceName": "Snapshot",
+ "summary": "Gets a single key-value snapshot.",
+ "doc": "Gets a single key-value snapshot.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1130",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1131",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1132",
+ "type": {
+ "$id": "1133",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1134",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "The name of the snapshot.",
+ "type": {
+ "$id": "1135",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1136",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1137",
+ "kind": "array",
+ "name": "ArraySnapshotFields",
+ "valueType": {
+ "$ref": "52"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "arraySerializationDelimiter": ",",
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1138",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1139",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1140",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "1141",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1142",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "1143",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1144",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1145",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1146",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1147",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1148",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1149",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "231"
+ },
+ "headers": [
+ {
+ "$id": "1150",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1151",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1152",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "1153",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1154",
+ "name": "link",
+ "nameInResponse": "Link",
+ "doc": "Includes links to related resources.",
+ "type": {
+ "$id": "1155",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1156",
+ "name": "requestId",
+ "nameInResponse": "x-ms-request-id",
+ "doc": "An opaque, globally-unique, server-generated string identifier for the request.",
+ "type": {
+ "$id": "1157",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1158",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1159",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "98"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.snapshot+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/snapshots/{name}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshot",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1160",
+ "kind": "http",
+ "name": "Gets a single key-value snapshot.",
+ "description": "Gets a single key-value snapshot.",
+ "filePath": "2024-09-01/GetSnapshot.json",
+ "parameters": [
+ {
+ "$id": "1161",
+ "parameter": {
+ "$ref": "1130"
+ },
+ "value": {
+ "$id": "1162",
+ "kind": "string",
+ "type": {
+ "$ref": "1131"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1163",
+ "parameter": {
+ "$ref": "1134"
+ },
+ "value": {
+ "$id": "1164",
+ "kind": "string",
+ "type": {
+ "$ref": "1135"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1165",
+ "response": {
+ "$ref": "1149"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1166",
+ "kind": "model",
+ "type": {
+ "$ref": "231"
+ },
+ "value": {
+ "$id": "1167",
+ "etag": {
+ "$id": "1168",
+ "kind": "string",
+ "type": {
+ "$ref": "289"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1169",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1170",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "ready"
+ },
+ "filters": {
+ "$id": "1171",
+ "kind": "array",
+ "type": {
+ "$ref": "240"
+ },
+ "value": [
+ {
+ "$id": "1172",
+ "kind": "model",
+ "type": {
+ "$ref": "241"
+ },
+ "value": {
+ "$id": "1173",
+ "key": {
+ "$id": "1174",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1175",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "composition_type": {
+ "$id": "1176",
+ "kind": "string",
+ "type": {
+ "$ref": "86"
+ },
+ "value": "all"
+ },
+ "created": {
+ "$id": "1177",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1178",
+ "kind": "number",
+ "type": {
+ "$ref": "275"
+ },
+ "value": 100000
+ },
+ "items_count": {
+ "$id": "1179",
+ "kind": "number",
+ "type": {
+ "$ref": "279"
+ },
+ "value": 71
+ },
+ "retention_period": {
+ "$id": "1180",
+ "kind": "number",
+ "type": {
+ "$ref": "271"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "1181",
+ "kind": "dict",
+ "type": {
+ "$ref": "283"
+ },
+ "value": {
+ "$id": "1182",
+ "release": {
+ "$id": "1183",
+ "kind": "string",
+ "type": {
+ "$ref": "285"
+ },
+ "value": "{link/id}"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1184",
+ "kind": "http",
+ "name": "Gets a single key-value snapshot failed.",
+ "description": "Gets a single key-value snapshot failed.",
+ "filePath": "2024-09-01/GetSnapshot_Failed.json",
+ "parameters": [
+ {
+ "$id": "1185",
+ "parameter": {
+ "$ref": "1130"
+ },
+ "value": {
+ "$id": "1186",
+ "kind": "string",
+ "type": {
+ "$ref": "1131"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1187",
+ "parameter": {
+ "$ref": "1134"
+ },
+ "value": {
+ "$id": "1188",
+ "kind": "string",
+ "type": {
+ "$ref": "1135"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1189",
+ "parameter": {
+ "$ref": "1140"
+ },
+ "value": {
+ "$id": "1190",
+ "kind": "string",
+ "type": {
+ "$ref": "1141"
+ },
+ "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1191",
+ "response": {
+ "$ref": "1149"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1192",
+ "kind": "model",
+ "type": {
+ "$ref": "231"
+ },
+ "value": {
+ "$id": "1193",
+ "etag": {
+ "$id": "1194",
+ "kind": "string",
+ "type": {
+ "$ref": "289"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1195",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1196",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "failed"
+ },
+ "filters": {
+ "$id": "1197",
+ "kind": "array",
+ "type": {
+ "$ref": "240"
+ },
+ "value": [
+ {
+ "$id": "1198",
+ "kind": "model",
+ "type": {
+ "$ref": "241"
+ },
+ "value": {
+ "$id": "1199",
+ "key": {
+ "$id": "1200",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1201",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "composition_type": {
+ "$id": "1202",
+ "kind": "string",
+ "type": {
+ "$ref": "86"
+ },
+ "value": "all"
+ },
+ "created": {
+ "$id": "1203",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1204",
+ "kind": "number",
+ "type": {
+ "$ref": "275"
+ },
+ "value": 0
+ },
+ "items_count": {
+ "$id": "1205",
+ "kind": "number",
+ "type": {
+ "$ref": "279"
+ },
+ "value": 0
+ },
+ "retention_period": {
+ "$id": "1206",
+ "kind": "number",
+ "type": {
+ "$ref": "271"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "1207",
+ "kind": "dict",
+ "type": {
+ "$ref": "283"
+ },
+ "value": {
+ "$id": "1208",
+ "release": {
+ "$id": "1209",
+ "kind": "string",
+ "type": {
+ "$ref": "285"
+ },
+ "value": "{link/id}"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1210",
+ "kind": "http",
+ "name": "Gets a single key-value snapshot using If-Match header.",
+ "description": "Gets a single key-value snapshot using If-Match header.",
+ "filePath": "2024-09-01/GetSnapshot_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "1211",
+ "parameter": {
+ "$ref": "1130"
+ },
+ "value": {
+ "$id": "1212",
+ "kind": "string",
+ "type": {
+ "$ref": "1131"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1213",
+ "parameter": {
+ "$ref": "1134"
+ },
+ "value": {
+ "$id": "1214",
+ "kind": "string",
+ "type": {
+ "$ref": "1135"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1215",
+ "parameter": {
+ "$ref": "1140"
+ },
+ "value": {
+ "$id": "1216",
+ "kind": "string",
+ "type": {
+ "$ref": "1141"
+ },
+ "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1217",
+ "response": {
+ "$ref": "1149"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1218",
+ "kind": "model",
+ "type": {
+ "$ref": "231"
+ },
+ "value": {
+ "$id": "1219",
+ "etag": {
+ "$id": "1220",
+ "kind": "string",
+ "type": {
+ "$ref": "289"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1221",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1222",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "ready"
+ },
+ "filters": {
+ "$id": "1223",
+ "kind": "array",
+ "type": {
+ "$ref": "240"
+ },
+ "value": [
+ {
+ "$id": "1224",
+ "kind": "model",
+ "type": {
+ "$ref": "241"
+ },
+ "value": {
+ "$id": "1225",
+ "key": {
+ "$id": "1226",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1227",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "composition_type": {
+ "$id": "1228",
+ "kind": "string",
+ "type": {
+ "$ref": "86"
+ },
+ "value": "all"
+ },
+ "created": {
+ "$id": "1229",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1230",
+ "kind": "number",
+ "type": {
+ "$ref": "275"
+ },
+ "value": 100000
+ },
+ "items_count": {
+ "$id": "1231",
+ "kind": "number",
+ "type": {
+ "$ref": "279"
+ },
+ "value": 71
+ },
+ "retention_period": {
+ "$id": "1232",
+ "kind": "number",
+ "type": {
+ "$ref": "271"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "1233",
+ "kind": "dict",
+ "type": {
+ "$ref": "283"
+ },
+ "value": {
+ "$id": "1234",
+ "release": {
+ "$id": "1235",
+ "kind": "string",
+ "type": {
+ "$ref": "285"
+ },
+ "value": "{link/id}"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1236",
+ "kind": "http",
+ "name": "Gets a single key-value snapshot using If-None-Match header.",
+ "description": "Gets a single key-value snapshot using If-None-Match header.",
+ "filePath": "2024-09-01/GetSnapshot_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "1237",
+ "parameter": {
+ "$ref": "1130"
+ },
+ "value": {
+ "$id": "1238",
+ "kind": "string",
+ "type": {
+ "$ref": "1131"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1239",
+ "parameter": {
+ "$ref": "1134"
+ },
+ "value": {
+ "$id": "1240",
+ "kind": "string",
+ "type": {
+ "$ref": "1135"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1241",
+ "parameter": {
+ "$ref": "1142"
+ },
+ "value": {
+ "$id": "1242",
+ "kind": "string",
+ "type": {
+ "$ref": "1143"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1243",
+ "response": {
+ "$ref": "1149"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1244",
+ "kind": "model",
+ "type": {
+ "$ref": "231"
+ },
+ "value": {
+ "$id": "1245",
+ "etag": {
+ "$id": "1246",
+ "kind": "string",
+ "type": {
+ "$ref": "289"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1247",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1248",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "ready"
+ },
+ "filters": {
+ "$id": "1249",
+ "kind": "array",
+ "type": {
+ "$ref": "240"
+ },
+ "value": [
+ {
+ "$id": "1250",
+ "kind": "model",
+ "type": {
+ "$ref": "241"
+ },
+ "value": {
+ "$id": "1251",
+ "key": {
+ "$id": "1252",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1253",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "composition_type": {
+ "$id": "1254",
+ "kind": "string",
+ "type": {
+ "$ref": "86"
+ },
+ "value": "all"
+ },
+ "created": {
+ "$id": "1255",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1256",
+ "kind": "number",
+ "type": {
+ "$ref": "275"
+ },
+ "value": 100000
+ },
+ "items_count": {
+ "$id": "1257",
+ "kind": "number",
+ "type": {
+ "$ref": "279"
+ },
+ "value": 71
+ },
+ "retention_period": {
+ "$id": "1258",
+ "kind": "number",
+ "type": {
+ "$ref": "271"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "1259",
+ "kind": "dict",
+ "type": {
+ "$ref": "283"
+ },
+ "value": {
+ "$id": "1260",
+ "release": {
+ "$id": "1261",
+ "kind": "string",
+ "type": {
+ "$ref": "285"
+ },
+ "value": "{link/id}"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1262",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "The name of the snapshot.",
+ "type": {
+ "$id": "1263",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1264",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1265",
+ "kind": "array",
+ "name": "ArraySnapshotFields",
+ "valueType": {
+ "$ref": "52"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1266",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1267",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1268",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "1269",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1270",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "1271",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1272",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1273",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1274",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1275",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1148"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1276",
+ "type": {
+ "$ref": "231"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshot"
+ },
+ {
+ "$id": "1277",
+ "kind": "basic",
+ "name": "getOperationDetails",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Gets the state of a long running operation.",
+ "summary": "Gets the state of a long running operation.",
+ "operation": {
+ "$id": "1278",
+ "name": "getOperationDetails",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Gets the state of a long running operation.",
+ "doc": "Gets the state of a long running operation.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1279",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1280",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1281",
+ "type": {
+ "$id": "1282",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1283",
+ "name": "snapshot",
+ "nameInRequest": "snapshot",
+ "doc": "Snapshot identifier for the long running operation.",
+ "type": {
+ "$id": "1284",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1285",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1286",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1287",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1288",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1289",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1290",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1291",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "298"
+ },
+ "headers": [],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/operations",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getOperationDetails",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1292",
+ "kind": "http",
+ "name": "Gets the state of a long running operation.",
+ "description": "Gets the state of a long running operation.",
+ "filePath": "2024-09-01/GetOperationStatus.json",
+ "parameters": [
+ {
+ "$id": "1293",
+ "parameter": {
+ "$ref": "1279"
+ },
+ "value": {
+ "$id": "1294",
+ "kind": "string",
+ "type": {
+ "$ref": "1280"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1295",
+ "parameter": {
+ "$ref": "1283"
+ },
+ "value": {
+ "$id": "1296",
+ "kind": "string",
+ "type": {
+ "$ref": "1284"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1297",
+ "response": {
+ "$ref": "1291"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1298",
+ "kind": "model",
+ "type": {
+ "$ref": "298"
+ },
+ "value": {
+ "$id": "1299",
+ "id": {
+ "$id": "1300",
+ "kind": "string",
+ "type": {
+ "$ref": "300"
+ },
+ "value": "4yghgV_8lJJ5t7_kxhMpsyNCyjmZE5Q6zU0pXOp7Jvs"
+ },
+ "status": {
+ "$id": "1301",
+ "kind": "string",
+ "type": {
+ "$ref": "104"
+ },
+ "value": "Running"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1302",
+ "name": "snapshot",
+ "nameInRequest": "snapshot",
+ "doc": "Snapshot identifier for the long running operation.",
+ "type": {
+ "$id": "1303",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1304",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1305",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1306",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1307",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1289"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1308",
+ "type": {
+ "$ref": "298"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getOperationDetails"
+ },
+ {
+ "$id": "1309",
+ "kind": "lro",
+ "name": "createSnapshot",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Creates a key-value snapshot.",
+ "summary": "Creates a key-value snapshot.",
+ "operation": {
+ "$id": "1310",
+ "name": "createSnapshot",
+ "resourceName": "Snapshot",
+ "summary": "Creates a key-value snapshot.",
+ "doc": "Creates a key-value snapshot.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1311",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1312",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1313",
+ "type": {
+ "$id": "1314",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1315",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "116"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": true,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1316",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "The name of the key-value snapshot to create.",
+ "type": {
+ "$id": "1317",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1318",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1319",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1320",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1321",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1322",
+ "name": "entity",
+ "nameInRequest": "entity",
+ "doc": "The key-value snapshot to create.",
+ "type": {
+ "$ref": "231"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1323",
+ "statusCodes": [
+ 201
+ ],
+ "bodyType": {
+ "$ref": "231"
+ },
+ "headers": [
+ {
+ "$id": "1324",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1325",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1326",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "1327",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1328",
+ "name": "link",
+ "nameInResponse": "Link",
+ "doc": "Includes links to related resources.",
+ "type": {
+ "$id": "1329",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1330",
+ "name": "operationLocation",
+ "nameInResponse": "Operation-Location",
+ "doc": "The location for monitoring the operation state.",
+ "type": {
+ "$id": "1331",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "1332",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1333",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "98"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.snapshot+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "PUT",
+ "uri": "{endpoint}",
+ "path": "/snapshots/{name}",
+ "requestMediaTypes": [
+ "application/vnd.microsoft.appconfig.snapshot+json",
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.createSnapshot",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1334",
+ "kind": "http",
+ "name": "Creates a key-value snapshot.",
+ "description": "Creates a key-value snapshot.",
+ "filePath": "2024-09-01/CreateSnapshot.json",
+ "parameters": [
+ {
+ "$id": "1335",
+ "parameter": {
+ "$ref": "1311"
+ },
+ "value": {
+ "$id": "1336",
+ "kind": "string",
+ "type": {
+ "$ref": "1312"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1337",
+ "parameter": {
+ "$ref": "1316"
+ },
+ "value": {
+ "$id": "1338",
+ "kind": "string",
+ "type": {
+ "$ref": "1317"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1339",
+ "parameter": {
+ "$ref": "1322"
+ },
+ "value": {
+ "$id": "1340",
+ "kind": "model",
+ "type": {
+ "$ref": "231"
+ },
+ "value": {
+ "$id": "1341",
+ "filters": {
+ "$id": "1342",
+ "kind": "array",
+ "type": {
+ "$ref": "240"
+ },
+ "value": [
+ {
+ "$id": "1343",
+ "kind": "model",
+ "type": {
+ "$ref": "241"
+ },
+ "value": {
+ "$id": "1344",
+ "key": {
+ "$id": "1345",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1346",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "retention_period": {
+ "$id": "1347",
+ "kind": "number",
+ "type": {
+ "$ref": "271"
+ },
+ "value": 3600
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1348",
+ "response": {
+ "$ref": "1323"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "1349",
+ "kind": "model",
+ "type": {
+ "$ref": "231"
+ },
+ "value": {
+ "$id": "1350",
+ "etag": {
+ "$id": "1351",
+ "kind": "string",
+ "type": {
+ "$ref": "289"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1352",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1353",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "provisioning"
+ },
+ "filters": {
+ "$id": "1354",
+ "kind": "array",
+ "type": {
+ "$ref": "240"
+ },
+ "value": [
+ {
+ "$id": "1355",
+ "kind": "model",
+ "type": {
+ "$ref": "241"
+ },
+ "value": {
+ "$id": "1356",
+ "key": {
+ "$id": "1357",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1358",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "composition_type": {
+ "$id": "1359",
+ "kind": "string",
+ "type": {
+ "$ref": "86"
+ },
+ "value": "all"
+ },
+ "created": {
+ "$id": "1360",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1361",
+ "kind": "number",
+ "type": {
+ "$ref": "275"
+ },
+ "value": 0
+ },
+ "items_count": {
+ "$id": "1362",
+ "kind": "number",
+ "type": {
+ "$ref": "279"
+ },
+ "value": 0
+ },
+ "retention_period": {
+ "$id": "1363",
+ "kind": "number",
+ "type": {
+ "$ref": "271"
+ },
+ "value": 3600
+ },
+ "tags": {
+ "$id": "1364",
+ "kind": "dict",
+ "type": {
+ "$ref": "283"
+ },
+ "value": {
+ "$id": "1365"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1366",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "116"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1367",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "The name of the key-value snapshot to create.",
+ "type": {
+ "$id": "1368",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1369",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1370",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1371",
+ "name": "entity",
+ "nameInRequest": "entity",
+ "doc": "The key-value snapshot to create.",
+ "type": {
+ "$ref": "231"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1372",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$id": "1373",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1374",
+ "type": {
+ "$ref": "231"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.createSnapshot",
+ "lroMetadata": {
+ "$id": "1375",
+ "finalStateVia": 2,
+ "finalResponse": {
+ "$id": "1376",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "231"
+ }
+ }
+ }
+ },
+ {
+ "$id": "1377",
+ "kind": "basic",
+ "name": "updateSnapshot",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Updates the state of a key-value snapshot.",
+ "summary": "Updates the state of a key-value snapshot.",
+ "operation": {
+ "$id": "1378",
+ "name": "updateSnapshot",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Updates the state of a key-value snapshot.",
+ "doc": "Updates the state of a key-value snapshot.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1379",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1380",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1381",
+ "type": {
+ "$id": "1382",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1383",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "122"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": true,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1384",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "The name of the key-value snapshot to update.",
+ "type": {
+ "$id": "1385",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1386",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1387",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1388",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "1389",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1390",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "1391",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1392",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1393",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1394",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1395",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1396",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1397",
+ "name": "entity",
+ "nameInRequest": "entity",
+ "doc": "The parameters used to update the snapshot.",
+ "type": {
+ "$ref": "309"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1398",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "231"
+ },
+ "headers": [
+ {
+ "$id": "1399",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1400",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1401",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "1402",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1403",
+ "name": "link",
+ "nameInResponse": "Link",
+ "doc": "Includes links to related resources.",
+ "type": {
+ "$id": "1404",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1405",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "98"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.snapshot+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "PATCH",
+ "uri": "{endpoint}",
+ "path": "/snapshots/{name}",
+ "requestMediaTypes": [
+ "application/merge-patch+json",
+ "application/json"
+ ],
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": false,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.updateSnapshot",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1406",
+ "kind": "http",
+ "name": "Updates the state of a key-value snapshot.",
+ "description": "Updates the state of a key-value snapshot.",
+ "filePath": "2024-09-01/UpdateSnapshot.json",
+ "parameters": [
+ {
+ "$id": "1407",
+ "parameter": {
+ "$ref": "1379"
+ },
+ "value": {
+ "$id": "1408",
+ "kind": "string",
+ "type": {
+ "$ref": "1380"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1409",
+ "parameter": {
+ "$ref": "1384"
+ },
+ "value": {
+ "$id": "1410",
+ "kind": "string",
+ "type": {
+ "$ref": "1385"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1411",
+ "parameter": {
+ "$ref": "1397"
+ },
+ "value": {
+ "$id": "1412",
+ "kind": "model",
+ "type": {
+ "$ref": "309"
+ },
+ "value": {
+ "$id": "1413",
+ "status": {
+ "$id": "1414",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "archived"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1415",
+ "response": {
+ "$ref": "1398"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1416",
+ "kind": "model",
+ "type": {
+ "$ref": "231"
+ },
+ "value": {
+ "$id": "1417",
+ "etag": {
+ "$id": "1418",
+ "kind": "string",
+ "type": {
+ "$ref": "289"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1419",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1420",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "archived"
+ },
+ "filters": {
+ "$id": "1421",
+ "kind": "array",
+ "type": {
+ "$ref": "240"
+ },
+ "value": [
+ {
+ "$id": "1422",
+ "kind": "model",
+ "type": {
+ "$ref": "241"
+ },
+ "value": {
+ "$id": "1423",
+ "key": {
+ "$id": "1424",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1425",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "composition_type": {
+ "$id": "1426",
+ "kind": "string",
+ "type": {
+ "$ref": "86"
+ },
+ "value": "all"
+ },
+ "created": {
+ "$id": "1427",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "expires": {
+ "$id": "1428",
+ "kind": "string",
+ "type": {
+ "$ref": "266"
+ },
+ "value": "2022-09-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1429",
+ "kind": "number",
+ "type": {
+ "$ref": "275"
+ },
+ "value": 10000
+ },
+ "items_count": {
+ "$id": "1430",
+ "kind": "number",
+ "type": {
+ "$ref": "279"
+ },
+ "value": 70
+ },
+ "retention_period": {
+ "$id": "1431",
+ "kind": "number",
+ "type": {
+ "$ref": "271"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "1432",
+ "kind": "dict",
+ "type": {
+ "$ref": "283"
+ },
+ "value": {
+ "$id": "1433"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1434",
+ "kind": "http",
+ "name": "Updates the state of a key-value snapshot using the If-Match header.",
+ "description": "Updates the state of a key-value snapshot using the If-Match header.",
+ "filePath": "2024-09-01/UpdateSnapshot_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "1435",
+ "parameter": {
+ "$ref": "1379"
+ },
+ "value": {
+ "$id": "1436",
+ "kind": "string",
+ "type": {
+ "$ref": "1380"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1437",
+ "parameter": {
+ "$ref": "1384"
+ },
+ "value": {
+ "$id": "1438",
+ "kind": "string",
+ "type": {
+ "$ref": "1385"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1439",
+ "parameter": {
+ "$ref": "1397"
+ },
+ "value": {
+ "$id": "1440",
+ "kind": "model",
+ "type": {
+ "$ref": "309"
+ },
+ "value": {
+ "$id": "1441",
+ "status": {
+ "$id": "1442",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "archived"
+ }
+ }
+ }
+ },
+ {
+ "$id": "1443",
+ "parameter": {
+ "$ref": "1388"
+ },
+ "value": {
+ "$id": "1444",
+ "kind": "string",
+ "type": {
+ "$ref": "1389"
+ },
+ "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1445",
+ "response": {
+ "$ref": "1398"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1446",
+ "kind": "model",
+ "type": {
+ "$ref": "231"
+ },
+ "value": {
+ "$id": "1447",
+ "etag": {
+ "$id": "1448",
+ "kind": "string",
+ "type": {
+ "$ref": "289"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1449",
+ "kind": "string",
+ "type": {
+ "$ref": "233"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1450",
+ "kind": "string",
+ "type": {
+ "$ref": "76"
+ },
+ "value": "archived"
+ },
+ "filters": {
+ "$id": "1451",
+ "kind": "array",
+ "type": {
+ "$ref": "240"
+ },
+ "value": [
+ {
+ "$id": "1452",
+ "kind": "model",
+ "type": {
+ "$ref": "241"
+ },
+ "value": {
+ "$id": "1453",
+ "key": {
+ "$id": "1454",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1455",
+ "kind": "string",
+ "type": {
+ "$ref": "247"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "composition_type": {
+ "$id": "1456",
+ "kind": "string",
+ "type": {
+ "$ref": "86"
+ },
+ "value": "all"
+ },
+ "created": {
+ "$id": "1457",
+ "kind": "string",
+ "type": {
+ "$ref": "261"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "expires": {
+ "$id": "1458",
+ "kind": "string",
+ "type": {
+ "$ref": "266"
+ },
+ "value": "2022-09-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1459",
+ "kind": "number",
+ "type": {
+ "$ref": "275"
+ },
+ "value": 10000
+ },
+ "items_count": {
+ "$id": "1460",
+ "kind": "number",
+ "type": {
+ "$ref": "279"
+ },
+ "value": 70
+ },
+ "retention_period": {
+ "$id": "1461",
+ "kind": "number",
+ "type": {
+ "$ref": "271"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "1462",
+ "kind": "dict",
+ "type": {
+ "$ref": "283"
+ },
+ "value": {
+ "$id": "1463"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1464",
+ "name": "contentType",
+ "nameInRequest": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "122"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1465",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "The name of the key-value snapshot to update.",
+ "type": {
+ "$id": "1466",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1467",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1468",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1469",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "1470",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1471",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "1472",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1473",
+ "name": "entity",
+ "nameInRequest": "entity",
+ "doc": "The parameters used to update the snapshot.",
+ "type": {
+ "$ref": "309"
+ },
+ "location": "Body",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1474",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1475",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1476",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1477",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1396"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1478",
+ "type": {
+ "$ref": "231"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.updateSnapshot"
+ },
+ {
+ "$id": "1479",
+ "kind": "basic",
+ "name": "checkSnapshot",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Requests the headers and status of the given resource.",
+ "summary": "Requests the headers and status of the given resource.",
+ "operation": {
+ "$id": "1480",
+ "name": "checkSnapshot",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Requests the headers and status of the given resource.",
+ "doc": "Requests the headers and status of the given resource.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1481",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1482",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1483",
+ "type": {
+ "$id": "1484",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1485",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "The name of the key-value snapshot to check.",
+ "type": {
+ "$id": "1486",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1487",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1488",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1489",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "1490",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1491",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "1492",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1493",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1494",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1495",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1496",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1497",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1498",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1499",
+ "statusCodes": [
+ 200
+ ],
+ "headers": [
+ {
+ "$id": "1500",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1501",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1502",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "1503",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1504",
+ "name": "link",
+ "nameInResponse": "Link",
+ "doc": "Includes links to related resources.",
+ "type": {
+ "$id": "1505",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "HEAD",
+ "uri": "{endpoint}",
+ "path": "/snapshots/{name}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshot",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1506",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2024-09-01/CheckSnapshot.json",
+ "parameters": [
+ {
+ "$id": "1507",
+ "parameter": {
+ "$ref": "1481"
+ },
+ "value": {
+ "$id": "1508",
+ "kind": "string",
+ "type": {
+ "$ref": "1482"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1509",
+ "parameter": {
+ "$ref": "1485"
+ },
+ "value": {
+ "$id": "1510",
+ "kind": "string",
+ "type": {
+ "$ref": "1486"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1511",
+ "response": {
+ "$ref": "1499"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "1512",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using If-Match header.",
+ "description": "Requests the headers and status of the given resource using If-Match header.",
+ "filePath": "2024-09-01/CheckSnapshot_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "1513",
+ "parameter": {
+ "$ref": "1481"
+ },
+ "value": {
+ "$id": "1514",
+ "kind": "string",
+ "type": {
+ "$ref": "1482"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1515",
+ "parameter": {
+ "$ref": "1485"
+ },
+ "value": {
+ "$id": "1516",
+ "kind": "string",
+ "type": {
+ "$ref": "1486"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1517",
+ "parameter": {
+ "$ref": "1489"
+ },
+ "value": {
+ "$id": "1518",
+ "kind": "string",
+ "type": {
+ "$ref": "1490"
+ },
+ "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1519",
+ "response": {
+ "$ref": "1499"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "1520",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using If-None-Match header",
+ "description": "Requests the headers and status of the given resource using If-None-Match header",
+ "filePath": "2024-09-01/CheckSnapshot_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "1521",
+ "parameter": {
+ "$ref": "1481"
+ },
+ "value": {
+ "$id": "1522",
+ "kind": "string",
+ "type": {
+ "$ref": "1482"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1523",
+ "parameter": {
+ "$ref": "1485"
+ },
+ "value": {
+ "$id": "1524",
+ "kind": "string",
+ "type": {
+ "$ref": "1486"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1525",
+ "parameter": {
+ "$ref": "1491"
+ },
+ "value": {
+ "$id": "1526",
+ "kind": "string",
+ "type": {
+ "$ref": "1492"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1527",
+ "response": {
+ "$ref": "1499"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1528",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "The name of the key-value snapshot to check.",
+ "type": {
+ "$id": "1529",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1530",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1531",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1532",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "1533",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1534",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "1535",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1536",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1537",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1538",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1539",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1497"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1540"
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshot"
+ },
+ {
+ "$id": "1541",
+ "kind": "paging",
+ "name": "getLabels",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Gets a list of labels.",
+ "summary": "Gets a list of labels.",
+ "operation": {
+ "$id": "1542",
+ "name": "getLabels",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Gets a list of labels.",
+ "doc": "Gets a list of labels.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1543",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1544",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1545",
+ "type": {
+ "$id": "1546",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1547",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "A filter for the name of the returned labels.",
+ "type": {
+ "$id": "1548",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1549",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1550",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1551",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1552",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1553",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "1554",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1555",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1556",
+ "kind": "array",
+ "name": "ArrayLabelFields",
+ "valueType": {
+ "$ref": "128"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "arraySerializationDelimiter": ",",
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1557",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1558",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1559",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1560",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1561",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1562",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "313"
+ },
+ "headers": [
+ {
+ "$id": "1563",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1564",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1565",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "132"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.labelset+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/labels",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getLabels",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1566",
+ "kind": "http",
+ "name": "Gets a list of labels.",
+ "description": "Gets a list of labels.",
+ "filePath": "2024-09-01/GetLabels.json",
+ "parameters": [
+ {
+ "$id": "1567",
+ "parameter": {
+ "$ref": "1543"
+ },
+ "value": {
+ "$id": "1568",
+ "kind": "string",
+ "type": {
+ "$ref": "1544"
+ },
+ "value": "2024-09-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1569",
+ "response": {
+ "$ref": "1562"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1570",
+ "kind": "model",
+ "type": {
+ "$ref": "313"
+ },
+ "value": {
+ "$id": "1571",
+ "items": {
+ "$id": "1572",
+ "kind": "array",
+ "type": {
+ "$ref": "315"
+ },
+ "value": [
+ {
+ "$id": "1573",
+ "kind": "model",
+ "type": {
+ "$ref": "316"
+ },
+ "value": {
+ "$id": "1574"
+ }
+ },
+ {
+ "$id": "1575",
+ "kind": "model",
+ "type": {
+ "$ref": "316"
+ },
+ "value": {
+ "$id": "1576",
+ "name": {
+ "$id": "1577",
+ "kind": "string",
+ "type": {
+ "$ref": "318"
+ },
+ "value": "Asset1"
+ }
+ }
+ },
+ {
+ "$id": "1578",
+ "kind": "model",
+ "type": {
+ "$ref": "316"
+ },
+ "value": {
+ "$id": "1579",
+ "name": {
+ "$id": "1580",
+ "kind": "string",
+ "type": {
+ "$ref": "318"
+ },
+ "value": "Asset1/devCi"
+ }
+ }
+ },
+ {
+ "$id": "1581",
+ "kind": "model",
+ "type": {
+ "$ref": "316"
+ },
+ "value": {
+ "$id": "1582",
+ "name": {
+ "$id": "1583",
+ "kind": "string",
+ "type": {
+ "$ref": "318"
+ },
+ "value": "Asset1/devCi/branch1"
+ }
+ }
+ },
+ {
+ "$id": "1584",
+ "kind": "model",
+ "type": {
+ "$ref": "316"
+ },
+ "value": {
+ "$id": "1585",
+ "name": {
+ "$id": "1586",
+ "kind": "string",
+ "type": {
+ "$ref": "318"
+ },
+ "value": "WestUs"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1587",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "A filter for the name of the returned labels.",
+ "type": {
+ "$id": "1588",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1589",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1590",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1591",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1592",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1593",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "1594",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1595",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1596",
+ "kind": "array",
+ "name": "ArrayLabelFields",
+ "valueType": {
+ "$ref": "128"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1597",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1598",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1599",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1600",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1561"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1601",
+ "type": {
+ "$id": "1602",
+ "kind": "array",
+ "name": "ArrayLabel",
+ "valueType": {
+ "$ref": "316"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "resultSegments": [
+ "items"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getLabels",
+ "pagingMetadata": {
+ "$id": "1603",
+ "itemPropertySegments": [
+ "items"
+ ],
+ "nextLink": {
+ "$id": "1604",
+ "responseSegments": [
+ "@nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ }
+ },
+ {
+ "$id": "1605",
+ "kind": "basic",
+ "name": "checkLabels",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Requests the headers and status of the given resource.",
+ "summary": "Requests the headers and status of the given resource.",
+ "operation": {
+ "$id": "1606",
+ "name": "checkLabels",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Requests the headers and status of the given resource.",
+ "doc": "Requests the headers and status of the given resource.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1607",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1608",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1609",
+ "type": {
+ "$id": "1610",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1611",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "A filter for the name of the returned labels.",
+ "type": {
+ "$id": "1612",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1613",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1614",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1615",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1616",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1617",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "1618",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1619",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1620",
+ "kind": "array",
+ "name": "ArrayLabelFields",
+ "valueType": {
+ "$ref": "128"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "arraySerializationDelimiter": ",",
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1621",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1622",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1623",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1624",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1625",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1626",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1627",
+ "statusCodes": [
+ 200
+ ],
+ "headers": [
+ {
+ "$id": "1628",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1629",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "HEAD",
+ "uri": "{endpoint}",
+ "path": "/labels",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkLabels",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1630",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2024-09-01/CheckLabels.json",
+ "parameters": [
+ {
+ "$id": "1631",
+ "parameter": {
+ "$ref": "1607"
+ },
+ "value": {
+ "$id": "1632",
+ "kind": "string",
+ "type": {
+ "$ref": "1608"
+ },
+ "value": "2024-09-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1633",
+ "response": {
+ "$ref": "1627"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1634",
+ "name": "name",
+ "nameInRequest": "name",
+ "doc": "A filter for the name of the returned labels.",
+ "type": {
+ "$id": "1635",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1636",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1637",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1638",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1639",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1640",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "1641",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1642",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1643",
+ "kind": "array",
+ "name": "ArrayLabelFields",
+ "valueType": {
+ "$ref": "128"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1644",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1645",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1646",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1647",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1625"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1648"
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkLabels"
+ },
+ {
+ "$id": "1649",
+ "kind": "basic",
+ "name": "putLock",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Locks a key-value.",
+ "summary": "Locks a key-value.",
+ "operation": {
+ "$id": "1650",
+ "name": "putLock",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Locks a key-value.",
+ "doc": "Locks a key-value.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1651",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1652",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1653",
+ "type": {
+ "$id": "1654",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1655",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value to lock.",
+ "type": {
+ "$id": "1656",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1657",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label, if any, of the key-value to lock.",
+ "type": {
+ "$id": "1658",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1659",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1660",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1661",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "1662",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1663",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "1664",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1665",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1666",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1667",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1668",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1669",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1670",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "182"
+ },
+ "headers": [
+ {
+ "$id": "1671",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1672",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1673",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "1674",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1675",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "32"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "PUT",
+ "uri": "{endpoint}",
+ "path": "/locks/{key}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.putLock",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1676",
+ "kind": "http",
+ "name": "Locks a key-value.",
+ "description": "Locks a key-value.",
+ "filePath": "2024-09-01/PutLock.json",
+ "parameters": [
+ {
+ "$id": "1677",
+ "parameter": {
+ "$ref": "1651"
+ },
+ "value": {
+ "$id": "1678",
+ "kind": "string",
+ "type": {
+ "$ref": "1652"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1679",
+ "parameter": {
+ "$ref": "1655"
+ },
+ "value": {
+ "$id": "1680",
+ "kind": "string",
+ "type": {
+ "$ref": "1656"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1681",
+ "response": {
+ "$ref": "1670"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1682",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "1683",
+ "etag": {
+ "$id": "1684",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV4"
+ },
+ "key": {
+ "$id": "1685",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1686",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1687",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1688"
+ }
+ },
+ "locked": {
+ "$id": "1689",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": true
+ },
+ "last_modified": {
+ "$id": "1690",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1691",
+ "kind": "http",
+ "name": "Locks a key-value using If-Match header.",
+ "description": "Locks a key-value using If-Match header.",
+ "filePath": "2024-09-01/PutLock_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "1692",
+ "parameter": {
+ "$ref": "1651"
+ },
+ "value": {
+ "$id": "1693",
+ "kind": "string",
+ "type": {
+ "$ref": "1652"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1694",
+ "parameter": {
+ "$ref": "1655"
+ },
+ "value": {
+ "$id": "1695",
+ "kind": "string",
+ "type": {
+ "$ref": "1656"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "1696",
+ "parameter": {
+ "$ref": "1661"
+ },
+ "value": {
+ "$id": "1697",
+ "kind": "string",
+ "type": {
+ "$ref": "1662"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1698",
+ "response": {
+ "$ref": "1670"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1699",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "1700",
+ "etag": {
+ "$id": "1701",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ },
+ "key": {
+ "$id": "1702",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1703",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1704",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1705"
+ }
+ },
+ "locked": {
+ "$id": "1706",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": true
+ },
+ "last_modified": {
+ "$id": "1707",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1708",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value to lock.",
+ "type": {
+ "$id": "1709",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1710",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label, if any, of the key-value to lock.",
+ "type": {
+ "$id": "1711",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1712",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1713",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1714",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "1715",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1716",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "1717",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1718",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1719",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1720",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1721",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1669"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1722",
+ "type": {
+ "$ref": "182"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.putLock"
+ },
+ {
+ "$id": "1723",
+ "kind": "basic",
+ "name": "deleteLock",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Unlocks a key-value.",
+ "summary": "Unlocks a key-value.",
+ "operation": {
+ "$id": "1724",
+ "name": "deleteLock",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Unlocks a key-value.",
+ "doc": "Unlocks a key-value.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1725",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1726",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1727",
+ "type": {
+ "$id": "1728",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1729",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value to unlock.",
+ "type": {
+ "$id": "1730",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1731",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label, if any, of the key-value to unlock.",
+ "type": {
+ "$id": "1732",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1733",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1734",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1735",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "1736",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1737",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "1738",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1739",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1740",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1741",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1742",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1743",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1744",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "182"
+ },
+ "headers": [
+ {
+ "$id": "1745",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1746",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1747",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "1748",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1749",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "32"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "DELETE",
+ "uri": "{endpoint}",
+ "path": "/locks/{key}",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.deleteLock",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1750",
+ "kind": "http",
+ "name": "Unlocks a key-value.",
+ "description": "Unlocks a key-value.",
+ "filePath": "2024-09-01/DeleteLock.json",
+ "parameters": [
+ {
+ "$id": "1751",
+ "parameter": {
+ "$ref": "1725"
+ },
+ "value": {
+ "$id": "1752",
+ "kind": "string",
+ "type": {
+ "$ref": "1726"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1753",
+ "parameter": {
+ "$ref": "1729"
+ },
+ "value": {
+ "$id": "1754",
+ "kind": "string",
+ "type": {
+ "$ref": "1730"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1755",
+ "response": {
+ "$ref": "1744"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1756",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "1757",
+ "etag": {
+ "$id": "1758",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "0BGYCoQ6iNdp5NtQ7N8shrobo6s"
+ },
+ "key": {
+ "$id": "1759",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1760",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1761",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1762"
+ }
+ },
+ "locked": {
+ "$id": "1763",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "1764",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1765",
+ "kind": "http",
+ "name": "Unlocks a key-value using If-Match header.",
+ "description": "Unlocks a key-value using If-Match header.",
+ "filePath": "2024-09-01/DeleteLock_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "1766",
+ "parameter": {
+ "$ref": "1725"
+ },
+ "value": {
+ "$id": "1767",
+ "kind": "string",
+ "type": {
+ "$ref": "1726"
+ },
+ "value": "2024-09-01"
+ }
+ },
+ {
+ "$id": "1768",
+ "parameter": {
+ "$ref": "1729"
+ },
+ "value": {
+ "$id": "1769",
+ "kind": "string",
+ "type": {
+ "$ref": "1730"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "1770",
+ "parameter": {
+ "$ref": "1735"
+ },
+ "value": {
+ "$id": "1771",
+ "kind": "string",
+ "type": {
+ "$ref": "1736"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1772",
+ "response": {
+ "$ref": "1744"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1773",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "1774",
+ "etag": {
+ "$id": "1775",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ },
+ "key": {
+ "$id": "1776",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1777",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1778",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1779"
+ }
+ },
+ "locked": {
+ "$id": "1780",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "1781",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1782",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "The key of the key-value to unlock.",
+ "type": {
+ "$id": "1783",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Path",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1784",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "The label, if any, of the key-value to unlock.",
+ "type": {
+ "$id": "1785",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1786",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1787",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1788",
+ "name": "ifMatch",
+ "nameInRequest": "If-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "type": {
+ "$id": "1789",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1790",
+ "name": "ifNoneMatch",
+ "nameInRequest": "If-None-Match",
+ "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "type": {
+ "$id": "1791",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1792",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1793",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1794",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1795",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1743"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1796",
+ "type": {
+ "$ref": "182"
+ }
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.deleteLock"
+ },
+ {
+ "$id": "1797",
+ "kind": "paging",
+ "name": "getRevisions",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Gets a list of key-value revisions.",
+ "summary": "Gets a list of key-value revisions.",
+ "operation": {
+ "$id": "1798",
+ "name": "getRevisions",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Gets a list of key-value revisions.",
+ "doc": "Gets a list of key-value revisions.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1799",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1800",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1801",
+ "type": {
+ "$id": "1802",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1803",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1804",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1805",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1806",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1807",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1808",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1809",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1810",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1811",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "1812",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1813",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1814",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "arraySerializationDelimiter": ",",
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1815",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1816",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "1817",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": true,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1818",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1819",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1820",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1821",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1822",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1823",
+ "statusCodes": [
+ 200
+ ],
+ "bodyType": {
+ "$ref": "179"
+ },
+ "headers": [
+ {
+ "$id": "1824",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1825",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1826",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "1827",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1828",
+ "name": "contentType",
+ "nameInResponse": "Content-Type",
+ "doc": "Content-Type header",
+ "type": {
+ "$ref": "26"
+ }
+ }
+ ],
+ "isErrorResponse": false,
+ "contentTypes": [
+ "application/vnd.microsoft.appconfig.kvset+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "httpMethod": "GET",
+ "uri": "{endpoint}",
+ "path": "/revisions",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getRevisions",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1829",
+ "kind": "http",
+ "name": "Gets a list of key-value revisions.",
+ "description": "Gets a list of key-value revisions.",
+ "filePath": "2024-09-01/GetRevisions.json",
+ "parameters": [
+ {
+ "$id": "1830",
+ "parameter": {
+ "$ref": "1799"
+ },
+ "value": {
+ "$id": "1831",
+ "kind": "string",
+ "type": {
+ "$ref": "1800"
+ },
+ "value": "2024-09-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1832",
+ "response": {
+ "$ref": "1823"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1833",
+ "kind": "model",
+ "type": {
+ "$ref": "179"
+ },
+ "value": {
+ "$id": "1834",
+ "items": {
+ "$id": "1835",
+ "kind": "array",
+ "type": {
+ "$ref": "181"
+ },
+ "value": [
+ {
+ "$id": "1836",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "1837",
+ "etag": {
+ "$id": "1838",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "0BGYCoQ6iNdp5NtQ7N8shrobo6s"
+ },
+ "key": {
+ "$id": "1839",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1840",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1841",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1842"
+ }
+ },
+ "locked": {
+ "$id": "1843",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "1844",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ },
+ {
+ "$id": "1845",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "1846",
+ "etag": {
+ "$id": "1847",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV4"
+ },
+ "key": {
+ "$id": "1848",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1849",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "A new message."
+ },
+ "tags": {
+ "$id": "1850",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1851"
+ }
+ },
+ "locked": {
+ "$id": "1852",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "1853",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:52:20+00:00"
+ }
+ }
+ },
+ {
+ "$id": "1854",
+ "kind": "model",
+ "type": {
+ "$ref": "182"
+ },
+ "value": {
+ "$id": "1855",
+ "etag": {
+ "$id": "1856",
+ "kind": "string",
+ "type": {
+ "$ref": "215"
+ },
+ "value": "tnIHBkDYQwtdNMLoWtr5aybkKwL"
+ },
+ "key": {
+ "$id": "1857",
+ "kind": "string",
+ "type": {
+ "$ref": "184"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1858",
+ "kind": "string",
+ "type": {
+ "$ref": "196"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1859",
+ "kind": "dict",
+ "type": {
+ "$ref": "205"
+ },
+ "value": {
+ "$id": "1860"
+ }
+ },
+ "locked": {
+ "$id": "1861",
+ "kind": "boolean",
+ "type": {
+ "$ref": "211"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "1862",
+ "kind": "string",
+ "type": {
+ "$ref": "200"
+ },
+ "value": "2019-08-27T16:50:47+00:00"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1863",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1864",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1865",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1866",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1867",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1868",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1869",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1870",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1871",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "1872",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1873",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1874",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1875",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1876",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "1877",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1878",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1879",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1880",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1881",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1822"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1882",
+ "type": {
+ "$id": "1883",
+ "kind": "array",
+ "name": "ArrayKeyValue",
+ "valueType": {
+ "$ref": "182"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "resultSegments": [
+ "items"
+ ]
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.getRevisions",
+ "pagingMetadata": {
+ "$id": "1884",
+ "itemPropertySegments": [
+ "items"
+ ],
+ "nextLink": {
+ "$id": "1885",
+ "responseSegments": [
+ "@nextLink"
+ ],
+ "responseLocation": "Body"
+ }
+ }
+ },
+ {
+ "$id": "1886",
+ "kind": "basic",
+ "name": "checkRevisions",
+ "accessibility": "public",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ],
+ "doc": "Requests the headers and status of the given resource.",
+ "summary": "Requests the headers and status of the given resource.",
+ "operation": {
+ "$id": "1887",
+ "name": "checkRevisions",
+ "resourceName": "AzureAppConfiguration",
+ "summary": "Requests the headers and status of the given resource.",
+ "doc": "Requests the headers and status of the given resource.",
+ "accessibility": "public",
+ "parameters": [
+ {
+ "$id": "1888",
+ "name": "apiVersion",
+ "nameInRequest": "api-version",
+ "doc": "The API version to use for this operation.",
+ "type": {
+ "$id": "1889",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": true,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Client",
+ "defaultValue": {
+ "$id": "1890",
+ "type": {
+ "$id": "1891",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "value": "2024-09-01"
+ },
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1892",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1893",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1894",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1895",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1896",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1897",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1898",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1899",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1900",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "1901",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1902",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1903",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "arraySerializationDelimiter": ",",
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1904",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1905",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "1906",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": true,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1907",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1908",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1909",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1910",
+ "name": "accept",
+ "nameInRequest": "Accept",
+ "type": {
+ "$id": "1911",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1912",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1913",
+ "statusCodes": [
+ 200
+ ],
+ "headers": [
+ {
+ "$id": "1914",
+ "name": "syncToken",
+ "nameInResponse": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1915",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1916",
+ "name": "etagHeader",
+ "nameInResponse": "ETag",
+ "doc": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "1917",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "isErrorResponse": false
+ }
+ ],
+ "httpMethod": "HEAD",
+ "uri": "{endpoint}",
+ "path": "/revisions",
+ "bufferResponse": true,
+ "generateProtocolMethod": true,
+ "generateConvenienceMethod": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkRevisions",
+ "decorators": [],
+ "examples": [
+ {
+ "$id": "1918",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2024-09-01/CheckRevisions.json",
+ "parameters": [
+ {
+ "$id": "1919",
+ "parameter": {
+ "$ref": "1888"
+ },
+ "value": {
+ "$id": "1920",
+ "kind": "string",
+ "type": {
+ "$ref": "1889"
+ },
+ "value": "2024-09-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1921",
+ "response": {
+ "$ref": "1913"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "$id": "1922",
+ "name": "key",
+ "nameInRequest": "key",
+ "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1923",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1924",
+ "name": "label",
+ "nameInRequest": "label",
+ "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1925",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1926",
+ "name": "syncToken",
+ "nameInRequest": "Sync-Token",
+ "doc": "Used to guarantee real-time consistency between requests.",
+ "type": {
+ "$id": "1927",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1928",
+ "name": "after",
+ "nameInRequest": "After",
+ "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "type": {
+ "$id": "1929",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1930",
+ "name": "acceptDatetime",
+ "nameInRequest": "Accept-Datetime",
+ "doc": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "type": {
+ "$id": "1931",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1932",
+ "name": "select",
+ "nameInRequest": "$Select",
+ "doc": "Used to select what fields are present in the returned resource(s).",
+ "type": {
+ "$id": "1933",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1934",
+ "name": "tags",
+ "nameInRequest": "tags",
+ "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "type": {
+ "$id": "1935",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "1936",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "location": "Query",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1937",
+ "name": "clientRequestId",
+ "nameInRequest": "x-ms-client-request-id",
+ "doc": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "type": {
+ "$id": "1938",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1939",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": false,
+ "kind": "Method",
+ "decorators": [],
+ "skipUrlEncoding": false
+ },
+ {
+ "$id": "1940",
+ "name": "accept",
+ "nameInRequest": "accept",
+ "type": {
+ "$ref": "1911"
+ },
+ "location": "Header",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isEndpoint": false,
+ "explode": false,
+ "isRequired": true,
+ "kind": "Constant",
+ "decorators": [],
+ "skipUrlEncoding": false
+ }
+ ],
+ "response": {
+ "$id": "1941"
+ },
+ "isOverride": false,
+ "generateConvenient": true,
+ "generateProtocol": true,
+ "crossLanguageDefinitionId": "AzureAppConfiguration.checkRevisions"
+ }
+ ],
+ "parameters": [
+ {
+ "$id": "1942",
+ "name": "endpoint",
+ "nameInRequest": "endpoint",
+ "type": {
+ "$id": "1943",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url"
+ },
+ "location": "Uri",
+ "isApiVersion": false,
+ "isContentType": false,
+ "isRequired": true,
+ "isEndpoint": true,
+ "skipUrlEncoding": false,
+ "explode": false,
+ "kind": "Client"
+ }
+ ],
+ "decorators": [
+ {
+ "$id": "1944",
+ "name": "TypeSpec.@service",
+ "arguments": {
+ "$id": "1945",
+ "options": {
+ "$id": "1946",
+ "title": "Azure App Configuration"
+ }
+ }
+ }
+ ],
+ "crossLanguageDefinitionId": "AzureAppConfiguration",
+ "apiVersions": [
+ "2023-11-01",
+ "2024-09-01"
+ ]
+ }
+ ],
+ "auth": {
+ "$id": "1947",
+ "apiKey": {
+ "$id": "1948",
+ "name": "Connection String",
+ "in": "header"
+ },
+ "oAuth2": {
+ "$id": "1949",
+ "scopes": [
+ "https://azconfig.io/.default"
+ ]
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/LiveMetrics.sln b/sdk/applicationinsights/LiveMetrics/LiveMetrics.sln
new file mode 100644
index 000000000000..202d00182aa1
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/LiveMetrics.sln
@@ -0,0 +1,50 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29709.97
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LiveMetrics", "src\LiveMetrics.csproj", "{28FF4005-4467-4E36-92E7-DEA27DEB1519}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LiveMetrics.Tests", "tests\LiveMetrics.Tests.csproj", "{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE}
+ EndGlobalSection
+EndGlobal
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/AggregationType.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/AggregationType.cs
new file mode 100644
index 000000000000..f785f0dec7ee
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/AggregationType.cs
@@ -0,0 +1,57 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+
+namespace LiveMetrics
+{
+ /// Aggregation type.
+ public readonly partial struct AggregationType : IEquatable
+ {
+ private readonly string _value;
+
+ /// Initializes a new instance of .
+ /// is null.
+ public AggregationType(string value)
+ {
+ _value = value ?? throw new ArgumentNullException(nameof(value));
+ }
+
+ private const string AvgValue = "Avg";
+ private const string SumValue = "Sum";
+ private const string MinValue = "Min";
+ private const string MaxValue = "Max";
+
+ /// Average.
+ public static AggregationType Avg { get; } = new AggregationType(AvgValue);
+ /// Sum.
+ public static AggregationType Sum { get; } = new AggregationType(SumValue);
+ /// Minimum.
+ public static AggregationType Min { get; } = new AggregationType(MinValue);
+ /// Maximum.
+ public static AggregationType Max { get; } = new AggregationType(MaxValue);
+ /// Determines if two values are the same.
+ public static bool operator ==(AggregationType left, AggregationType right) => left.Equals(right);
+ /// Determines if two values are not the same.
+ public static bool operator !=(AggregationType left, AggregationType right) => !left.Equals(right);
+ /// Converts a to a .
+ public static implicit operator AggregationType(string value) => new AggregationType(value);
+
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is AggregationType other && Equals(other);
+ ///
+ public bool Equals(AggregationType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+ ///
+ public override string ToString() => _value;
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationError.Serialization.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationError.Serialization.cs
new file mode 100644
index 000000000000..981f6569019f
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationError.Serialization.cs
@@ -0,0 +1,177 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace LiveMetrics
+{
+ public partial class CollectionConfigurationError : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(CollectionConfigurationError)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("CollectionConfigurationErrorType"u8);
+ writer.WriteStringValue(CollectionConfigurationErrorType.ToString());
+ writer.WritePropertyName("Message"u8);
+ writer.WriteStringValue(Message);
+ writer.WritePropertyName("FullException"u8);
+ writer.WriteStringValue(FullException);
+ writer.WritePropertyName("Data"u8);
+ writer.WriteStartArray();
+ foreach (var item in Data)
+ {
+ writer.WriteObjectValue(item, options);
+ }
+ writer.WriteEndArray();
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ CollectionConfigurationError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(CollectionConfigurationError)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeCollectionConfigurationError(document.RootElement, options);
+ }
+
+ internal static CollectionConfigurationError DeserializeCollectionConfigurationError(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ CollectionConfigurationErrorType collectionConfigurationErrorType = default;
+ string message = default;
+ string fullException = default;
+ IList data = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("CollectionConfigurationErrorType"u8))
+ {
+ collectionConfigurationErrorType = new CollectionConfigurationErrorType(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("Message"u8))
+ {
+ message = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("FullException"u8))
+ {
+ fullException = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("Data"u8))
+ {
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(KeyValuePairStringString.DeserializeKeyValuePairStringString(item, options));
+ }
+ data = array;
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new CollectionConfigurationError(collectionConfigurationErrorType, message, fullException, data, serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(CollectionConfigurationError)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ CollectionConfigurationError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeCollectionConfigurationError(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(CollectionConfigurationError)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static CollectionConfigurationError FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeCollectionConfigurationError(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationError.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationError.cs
new file mode 100644
index 000000000000..2c827786fc4b
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationError.cs
@@ -0,0 +1,96 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace LiveMetrics
+{
+ /// Represents an error while SDK parses and applies an instance of CollectionConfigurationInfo.
+ public partial class CollectionConfigurationError
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// Error type.
+ /// Error message.
+ /// Exception that led to the creation of the configuration error.
+ /// Custom properties to add more information to the error.
+ /// , or is null.
+ public CollectionConfigurationError(CollectionConfigurationErrorType collectionConfigurationErrorType, string message, string fullException, IEnumerable data)
+ {
+ Argument.AssertNotNull(message, nameof(message));
+ Argument.AssertNotNull(fullException, nameof(fullException));
+ Argument.AssertNotNull(data, nameof(data));
+
+ CollectionConfigurationErrorType = collectionConfigurationErrorType;
+ Message = message;
+ FullException = fullException;
+ Data = data.ToList();
+ }
+
+ /// Initializes a new instance of .
+ /// Error type.
+ /// Error message.
+ /// Exception that led to the creation of the configuration error.
+ /// Custom properties to add more information to the error.
+ /// Keeps track of any properties unknown to the library.
+ internal CollectionConfigurationError(CollectionConfigurationErrorType collectionConfigurationErrorType, string message, string fullException, IList data, IDictionary serializedAdditionalRawData)
+ {
+ CollectionConfigurationErrorType = collectionConfigurationErrorType;
+ Message = message;
+ FullException = fullException;
+ Data = data;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal CollectionConfigurationError()
+ {
+ }
+
+ /// Error type.
+ public CollectionConfigurationErrorType CollectionConfigurationErrorType { get; }
+ /// Error message.
+ public string Message { get; }
+ /// Exception that led to the creation of the configuration error.
+ public string FullException { get; }
+ /// Custom properties to add more information to the error.
+ public IList Data { get; }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationErrorType.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationErrorType.cs
new file mode 100644
index 000000000000..9e116938866b
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationErrorType.cs
@@ -0,0 +1,84 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+
+namespace LiveMetrics
+{
+ /// Collection configuration error type reported by the client SDK.
+ public readonly partial struct CollectionConfigurationErrorType : IEquatable
+ {
+ private readonly string _value;
+
+ /// Initializes a new instance of .
+ /// is null.
+ public CollectionConfigurationErrorType(string value)
+ {
+ _value = value ?? throw new ArgumentNullException(nameof(value));
+ }
+
+ private const string UnknownValue = "Unknown";
+ private const string PerformanceCounterParsingValue = "PerformanceCounterParsing";
+ private const string PerformanceCounterUnexpectedValue = "PerformanceCounterUnexpected";
+ private const string PerformanceCounterDuplicateIdsValue = "PerformanceCounterDuplicateIds";
+ private const string DocumentStreamDuplicateIdsValue = "DocumentStreamDuplicateIds";
+ private const string DocumentStreamFailureToCreateValue = "DocumentStreamFailureToCreate";
+ private const string DocumentStreamFailureToCreateFilterUnexpectedValue = "DocumentStreamFailureToCreateFilterUnexpected";
+ private const string MetricDuplicateIdsValue = "MetricDuplicateIds";
+ private const string MetricTelemetryTypeUnsupportedValue = "MetricTelemetryTypeUnsupported";
+ private const string MetricFailureToCreateValue = "MetricFailureToCreate";
+ private const string MetricFailureToCreateFilterUnexpectedValue = "MetricFailureToCreateFilterUnexpected";
+ private const string FilterFailureToCreateUnexpectedValue = "FilterFailureToCreateUnexpected";
+ private const string CollectionConfigurationFailureToCreateUnexpectedValue = "CollectionConfigurationFailureToCreateUnexpected";
+
+ /// Unknown error type.
+ public static CollectionConfigurationErrorType Unknown { get; } = new CollectionConfigurationErrorType(UnknownValue);
+ /// Performance counter parsing error.
+ public static CollectionConfigurationErrorType PerformanceCounterParsing { get; } = new CollectionConfigurationErrorType(PerformanceCounterParsingValue);
+ /// Performance counter unexpected error.
+ public static CollectionConfigurationErrorType PerformanceCounterUnexpected { get; } = new CollectionConfigurationErrorType(PerformanceCounterUnexpectedValue);
+ /// Performance counter duplicate ids.
+ public static CollectionConfigurationErrorType PerformanceCounterDuplicateIds { get; } = new CollectionConfigurationErrorType(PerformanceCounterDuplicateIdsValue);
+ /// Document stream duplication ids.
+ public static CollectionConfigurationErrorType DocumentStreamDuplicateIds { get; } = new CollectionConfigurationErrorType(DocumentStreamDuplicateIdsValue);
+ /// Document stream failed to create.
+ public static CollectionConfigurationErrorType DocumentStreamFailureToCreate { get; } = new CollectionConfigurationErrorType(DocumentStreamFailureToCreateValue);
+ /// Document stream failed to create filter unexpectedly.
+ public static CollectionConfigurationErrorType DocumentStreamFailureToCreateFilterUnexpected { get; } = new CollectionConfigurationErrorType(DocumentStreamFailureToCreateFilterUnexpectedValue);
+ /// Metric duplicate ids.
+ public static CollectionConfigurationErrorType MetricDuplicateIds { get; } = new CollectionConfigurationErrorType(MetricDuplicateIdsValue);
+ /// Metric telemetry type unsupported.
+ public static CollectionConfigurationErrorType MetricTelemetryTypeUnsupported { get; } = new CollectionConfigurationErrorType(MetricTelemetryTypeUnsupportedValue);
+ /// Metric failed to create.
+ public static CollectionConfigurationErrorType MetricFailureToCreate { get; } = new CollectionConfigurationErrorType(MetricFailureToCreateValue);
+ /// Metric failed to create filter unexpectedly.
+ public static CollectionConfigurationErrorType MetricFailureToCreateFilterUnexpected { get; } = new CollectionConfigurationErrorType(MetricFailureToCreateFilterUnexpectedValue);
+ /// Filter failed to create unexpectedly.
+ public static CollectionConfigurationErrorType FilterFailureToCreateUnexpected { get; } = new CollectionConfigurationErrorType(FilterFailureToCreateUnexpectedValue);
+ /// Collection configuration failed to create unexpectedly.
+ public static CollectionConfigurationErrorType CollectionConfigurationFailureToCreateUnexpected { get; } = new CollectionConfigurationErrorType(CollectionConfigurationFailureToCreateUnexpectedValue);
+ /// Determines if two values are the same.
+ public static bool operator ==(CollectionConfigurationErrorType left, CollectionConfigurationErrorType right) => left.Equals(right);
+ /// Determines if two values are not the same.
+ public static bool operator !=(CollectionConfigurationErrorType left, CollectionConfigurationErrorType right) => !left.Equals(right);
+ /// Converts a to a .
+ public static implicit operator CollectionConfigurationErrorType(string value) => new CollectionConfigurationErrorType(value);
+
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is CollectionConfigurationErrorType other && Equals(other);
+ ///
+ public bool Equals(CollectionConfigurationErrorType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+ ///
+ public override string ToString() => _value;
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationInfo.Serialization.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationInfo.Serialization.cs
new file mode 100644
index 000000000000..a2cccb1e0ee5
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationInfo.Serialization.cs
@@ -0,0 +1,194 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace LiveMetrics
+{
+ public partial class CollectionConfigurationInfo : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(CollectionConfigurationInfo)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("ETag"u8);
+ writer.WriteStringValue(ETag);
+ writer.WritePropertyName("Metrics"u8);
+ writer.WriteStartArray();
+ foreach (var item in Metrics)
+ {
+ writer.WriteObjectValue(item, options);
+ }
+ writer.WriteEndArray();
+ writer.WritePropertyName("DocumentStreams"u8);
+ writer.WriteStartArray();
+ foreach (var item in DocumentStreams)
+ {
+ writer.WriteObjectValue(item, options);
+ }
+ writer.WriteEndArray();
+ if (Optional.IsDefined(QuotaInfo))
+ {
+ writer.WritePropertyName("QuotaInfo"u8);
+ writer.WriteObjectValue(QuotaInfo, options);
+ }
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ CollectionConfigurationInfo IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(CollectionConfigurationInfo)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeCollectionConfigurationInfo(document.RootElement, options);
+ }
+
+ internal static CollectionConfigurationInfo DeserializeCollectionConfigurationInfo(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ string eTag = default;
+ IReadOnlyList metrics = default;
+ IReadOnlyList documentStreams = default;
+ QuotaConfigurationInfo quotaInfo = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("ETag"u8))
+ {
+ eTag = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("Metrics"u8))
+ {
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(DerivedMetricInfo.DeserializeDerivedMetricInfo(item, options));
+ }
+ metrics = array;
+ continue;
+ }
+ if (property.NameEquals("DocumentStreams"u8))
+ {
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(DocumentStreamInfo.DeserializeDocumentStreamInfo(item, options));
+ }
+ documentStreams = array;
+ continue;
+ }
+ if (property.NameEquals("QuotaInfo"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ quotaInfo = QuotaConfigurationInfo.DeserializeQuotaConfigurationInfo(property.Value, options);
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new CollectionConfigurationInfo(eTag, metrics, documentStreams, quotaInfo, serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(CollectionConfigurationInfo)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ CollectionConfigurationInfo IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeCollectionConfigurationInfo(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(CollectionConfigurationInfo)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static CollectionConfigurationInfo FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeCollectionConfigurationInfo(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationInfo.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationInfo.cs
new file mode 100644
index 000000000000..2202b8fcc18b
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/CollectionConfigurationInfo.cs
@@ -0,0 +1,94 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace LiveMetrics
+{
+ /// Represents the collection configuration - a customizable description of performance counters, metrics, and full telemetry documents to be collected by the client SDK.
+ public partial class CollectionConfigurationInfo
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// An encoded string that indicates whether the collection configuration is changed.
+ /// An array of metric configuration info.
+ /// An array of document stream configuration info.
+ /// , or is null.
+ internal CollectionConfigurationInfo(string eTag, IEnumerable metrics, IEnumerable documentStreams)
+ {
+ Argument.AssertNotNull(eTag, nameof(eTag));
+ Argument.AssertNotNull(metrics, nameof(metrics));
+ Argument.AssertNotNull(documentStreams, nameof(documentStreams));
+
+ ETag = eTag;
+ Metrics = metrics.ToList();
+ DocumentStreams = documentStreams.ToList();
+ }
+
+ /// Initializes a new instance of .
+ /// An encoded string that indicates whether the collection configuration is changed.
+ /// An array of metric configuration info.
+ /// An array of document stream configuration info.
+ /// Controls document quotas to be sent to Live Metrics.
+ /// Keeps track of any properties unknown to the library.
+ internal CollectionConfigurationInfo(string eTag, IReadOnlyList metrics, IReadOnlyList documentStreams, QuotaConfigurationInfo quotaInfo, IDictionary serializedAdditionalRawData)
+ {
+ ETag = eTag;
+ Metrics = metrics;
+ DocumentStreams = documentStreams;
+ QuotaInfo = quotaInfo;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal CollectionConfigurationInfo()
+ {
+ }
+
+ /// An encoded string that indicates whether the collection configuration is changed.
+ public string ETag { get; }
+ /// An array of metric configuration info.
+ public IReadOnlyList Metrics { get; }
+ /// An array of document stream configuration info.
+ public IReadOnlyList DocumentStreams { get; }
+ /// Controls document quotas to be sent to Live Metrics.
+ public QuotaConfigurationInfo QuotaInfo { get; }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/DerivedMetricInfo.Serialization.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/DerivedMetricInfo.Serialization.cs
new file mode 100644
index 000000000000..33f866d682b4
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/DerivedMetricInfo.Serialization.cs
@@ -0,0 +1,200 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace LiveMetrics
+{
+ public partial class DerivedMetricInfo : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(DerivedMetricInfo)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("Id"u8);
+ writer.WriteStringValue(Id);
+ writer.WritePropertyName("TelemetryType"u8);
+ writer.WriteStringValue(TelemetryType);
+ writer.WritePropertyName("FilterGroups"u8);
+ writer.WriteStartArray();
+ foreach (var item in FilterGroups)
+ {
+ writer.WriteObjectValue(item, options);
+ }
+ writer.WriteEndArray();
+ writer.WritePropertyName("Projection"u8);
+ writer.WriteStringValue(Projection);
+ writer.WritePropertyName("Aggregation"u8);
+ writer.WriteStringValue(Aggregation.ToString());
+ writer.WritePropertyName("BackEndAggregation"u8);
+ writer.WriteStringValue(BackEndAggregation.ToString());
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ DerivedMetricInfo IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(DerivedMetricInfo)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeDerivedMetricInfo(document.RootElement, options);
+ }
+
+ internal static DerivedMetricInfo DeserializeDerivedMetricInfo(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ string id = default;
+ string telemetryType = default;
+ IReadOnlyList filterGroups = default;
+ string projection = default;
+ AggregationType aggregation = default;
+ AggregationType backEndAggregation = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("Id"u8))
+ {
+ id = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("TelemetryType"u8))
+ {
+ telemetryType = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("FilterGroups"u8))
+ {
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(FilterConjunctionGroupInfo.DeserializeFilterConjunctionGroupInfo(item, options));
+ }
+ filterGroups = array;
+ continue;
+ }
+ if (property.NameEquals("Projection"u8))
+ {
+ projection = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("Aggregation"u8))
+ {
+ aggregation = new AggregationType(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("BackEndAggregation"u8))
+ {
+ backEndAggregation = new AggregationType(property.Value.GetString());
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new DerivedMetricInfo(
+ id,
+ telemetryType,
+ filterGroups,
+ projection,
+ aggregation,
+ backEndAggregation,
+ serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(DerivedMetricInfo)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ DerivedMetricInfo IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeDerivedMetricInfo(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(DerivedMetricInfo)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static DerivedMetricInfo FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeDerivedMetricInfo(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/DerivedMetricInfo.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/DerivedMetricInfo.cs
new file mode 100644
index 000000000000..bf65e8969c59
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/DerivedMetricInfo.cs
@@ -0,0 +1,109 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace LiveMetrics
+{
+ /// A metric configuration set by UX to scope the metrics it's interested in.
+ public partial class DerivedMetricInfo
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// metric configuration identifier.
+ /// Telemetry type.
+ /// A collection of filters to scope metrics that UX needs.
+ /// Telemetry's metric dimension whose value is to be aggregated. Example values: Duration, Count(),...
+ /// Aggregation type. This is the aggregation done from everything within a single server.
+ /// Aggregation type. This Aggregation is done across the values for all the servers taken together.
+ /// , , or is null.
+ internal DerivedMetricInfo(string id, string telemetryType, IEnumerable filterGroups, string projection, AggregationType aggregation, AggregationType backEndAggregation)
+ {
+ Argument.AssertNotNull(id, nameof(id));
+ Argument.AssertNotNull(telemetryType, nameof(telemetryType));
+ Argument.AssertNotNull(filterGroups, nameof(filterGroups));
+ Argument.AssertNotNull(projection, nameof(projection));
+
+ Id = id;
+ TelemetryType = telemetryType;
+ FilterGroups = filterGroups.ToList();
+ Projection = projection;
+ Aggregation = aggregation;
+ BackEndAggregation = backEndAggregation;
+ }
+
+ /// Initializes a new instance of .
+ /// metric configuration identifier.
+ /// Telemetry type.
+ /// A collection of filters to scope metrics that UX needs.
+ /// Telemetry's metric dimension whose value is to be aggregated. Example values: Duration, Count(),...
+ /// Aggregation type. This is the aggregation done from everything within a single server.
+ /// Aggregation type. This Aggregation is done across the values for all the servers taken together.
+ /// Keeps track of any properties unknown to the library.
+ internal DerivedMetricInfo(string id, string telemetryType, IReadOnlyList filterGroups, string projection, AggregationType aggregation, AggregationType backEndAggregation, IDictionary serializedAdditionalRawData)
+ {
+ Id = id;
+ TelemetryType = telemetryType;
+ FilterGroups = filterGroups;
+ Projection = projection;
+ Aggregation = aggregation;
+ BackEndAggregation = backEndAggregation;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal DerivedMetricInfo()
+ {
+ }
+
+ /// metric configuration identifier.
+ public string Id { get; }
+ /// Telemetry type.
+ public string TelemetryType { get; }
+ /// A collection of filters to scope metrics that UX needs.
+ public IReadOnlyList FilterGroups { get; }
+ /// Telemetry's metric dimension whose value is to be aggregated. Example values: Duration, Count(),...
+ public string Projection { get; }
+ /// Aggregation type. This is the aggregation done from everything within a single server.
+ public AggregationType Aggregation { get; }
+ /// Aggregation type. This Aggregation is done across the values for all the servers taken together.
+ public AggregationType BackEndAggregation { get; }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/Docs/LiveMetricsClient.xml b/sdk/applicationinsights/LiveMetrics/src/Generated/Docs/LiveMetricsClient.xml
new file mode 100644
index 000000000000..d20fe9db0cf7
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/Docs/LiveMetricsClient.xml
@@ -0,0 +1,439 @@
+
+
+
+
+
+This sample shows how to call IsSubscribedAsync.
+ response = await client.IsSubscribedAsync("4473b98e-c70d-4220-b57c-2984c2a0e5cd");
+]]>
+
+
+
+This sample shows how to call IsSubscribed.
+ response = client.IsSubscribed("4473b98e-c70d-4220-b57c-2984c2a0e5cd");
+]]>
+
+
+
+This sample shows how to call IsSubscribedAsync and parse the result.
+
+
+
+
+This sample shows how to call IsSubscribed and parse the result.
+
+
+
+
+This sample shows how to call PublishAsync.
+ response = await client.PublishAsync("4473b98e-c70d-4220-b57c-2984c2a0e5cd");
+]]>
+
+
+
+This sample shows how to call Publish.
+ response = client.Publish("4473b98e-c70d-4220-b57c-2984c2a0e5cd");
+]]>
+
+
+
+This sample shows how to call PublishAsync and parse the result.
+
+
+
+
+This sample shows how to call Publish and parse the result.
+
+
+
+
\ No newline at end of file
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentFilterConjunctionGroupInfo.Serialization.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentFilterConjunctionGroupInfo.Serialization.cs
new file mode 100644
index 000000000000..8dba2b0d193c
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentFilterConjunctionGroupInfo.Serialization.cs
@@ -0,0 +1,151 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace LiveMetrics
+{
+ public partial class DocumentFilterConjunctionGroupInfo : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(DocumentFilterConjunctionGroupInfo)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("TelemetryType"u8);
+ writer.WriteStringValue(TelemetryType.ToString());
+ writer.WritePropertyName("Filters"u8);
+ writer.WriteObjectValue(Filters, options);
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ DocumentFilterConjunctionGroupInfo IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(DocumentFilterConjunctionGroupInfo)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeDocumentFilterConjunctionGroupInfo(document.RootElement, options);
+ }
+
+ internal static DocumentFilterConjunctionGroupInfo DeserializeDocumentFilterConjunctionGroupInfo(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ TelemetryType telemetryType = default;
+ FilterConjunctionGroupInfo filters = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("TelemetryType"u8))
+ {
+ telemetryType = new TelemetryType(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("Filters"u8))
+ {
+ filters = FilterConjunctionGroupInfo.DeserializeFilterConjunctionGroupInfo(property.Value, options);
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new DocumentFilterConjunctionGroupInfo(telemetryType, filters, serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(DocumentFilterConjunctionGroupInfo)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ DocumentFilterConjunctionGroupInfo IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeDocumentFilterConjunctionGroupInfo(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(DocumentFilterConjunctionGroupInfo)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static DocumentFilterConjunctionGroupInfo FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeDocumentFilterConjunctionGroupInfo(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentFilterConjunctionGroupInfo.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentFilterConjunctionGroupInfo.cs
new file mode 100644
index 000000000000..ab47aa5a5a85
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentFilterConjunctionGroupInfo.cs
@@ -0,0 +1,81 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+
+namespace LiveMetrics
+{
+ /// A collection of filters for a specific telemetry type.
+ public partial class DocumentFilterConjunctionGroupInfo
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// Telemetry type.
+ /// An array of filter groups.
+ /// is null.
+ internal DocumentFilterConjunctionGroupInfo(TelemetryType telemetryType, FilterConjunctionGroupInfo filters)
+ {
+ Argument.AssertNotNull(filters, nameof(filters));
+
+ TelemetryType = telemetryType;
+ Filters = filters;
+ }
+
+ /// Initializes a new instance of .
+ /// Telemetry type.
+ /// An array of filter groups.
+ /// Keeps track of any properties unknown to the library.
+ internal DocumentFilterConjunctionGroupInfo(TelemetryType telemetryType, FilterConjunctionGroupInfo filters, IDictionary serializedAdditionalRawData)
+ {
+ TelemetryType = telemetryType;
+ Filters = filters;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal DocumentFilterConjunctionGroupInfo()
+ {
+ }
+
+ /// Telemetry type.
+ public TelemetryType TelemetryType { get; }
+ /// An array of filter groups.
+ public FilterConjunctionGroupInfo Filters { get; }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentIngress.Serialization.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentIngress.Serialization.cs
new file mode 100644
index 000000000000..2735f6e690c3
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentIngress.Serialization.cs
@@ -0,0 +1,158 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace LiveMetrics
+{
+ [PersistableModelProxy(typeof(UnknownDocumentIngress))]
+ public partial class DocumentIngress : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(DocumentIngress)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("DocumentType"u8);
+ writer.WriteStringValue(DocumentType.ToString());
+ if (Optional.IsCollectionDefined(DocumentStreamIds))
+ {
+ writer.WritePropertyName("DocumentStreamIds"u8);
+ writer.WriteStartArray();
+ foreach (var item in DocumentStreamIds)
+ {
+ writer.WriteStringValue(item);
+ }
+ writer.WriteEndArray();
+ }
+ if (Optional.IsCollectionDefined(Properties))
+ {
+ writer.WritePropertyName("Properties"u8);
+ writer.WriteStartArray();
+ foreach (var item in Properties)
+ {
+ writer.WriteObjectValue(item, options);
+ }
+ writer.WriteEndArray();
+ }
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ DocumentIngress IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(DocumentIngress)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeDocumentIngress(document.RootElement, options);
+ }
+
+ internal static DocumentIngress DeserializeDocumentIngress(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ if (element.TryGetProperty("DocumentType", out JsonElement discriminator))
+ {
+ switch (discriminator.GetString())
+ {
+ case "Event": return Event.DeserializeEvent(element, options);
+ case "Exception": return Exception.DeserializeException(element, options);
+ case "RemoteDependency": return RemoteDependency.DeserializeRemoteDependency(element, options);
+ case "Request": return Request.DeserializeRequest(element, options);
+ case "Trace": return Trace.DeserializeTrace(element, options);
+ }
+ }
+ return UnknownDocumentIngress.DeserializeUnknownDocumentIngress(element, options);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(DocumentIngress)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ DocumentIngress IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeDocumentIngress(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(DocumentIngress)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static DocumentIngress FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeDocumentIngress(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentIngress.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentIngress.cs
new file mode 100644
index 000000000000..495a1ba03e02
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentIngress.cs
@@ -0,0 +1,79 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+
+namespace LiveMetrics
+{
+ ///
+ /// Base class of the specific document types.
+ /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
+ /// The available derived classes include , , , and .
+ ///
+ public abstract partial class DocumentIngress
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private protected IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ protected DocumentIngress()
+ {
+ DocumentStreamIds = new ChangeTrackingList();
+ Properties = new ChangeTrackingList();
+ }
+
+ /// Initializes a new instance of .
+ /// Telemetry type. Types not defined in enum will get replaced with a 'Unknown' type.
+ /// An array of document streaming ids. Each id identifies a flow of documents customized by UX customers.
+ /// Collection of custom properties.
+ /// Keeps track of any properties unknown to the library.
+ internal DocumentIngress(DocumentType documentType, IList documentStreamIds, IList properties, IDictionary serializedAdditionalRawData)
+ {
+ DocumentType = documentType;
+ DocumentStreamIds = documentStreamIds;
+ Properties = properties;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Telemetry type. Types not defined in enum will get replaced with a 'Unknown' type.
+ internal DocumentType DocumentType { get; set; }
+ /// An array of document streaming ids. Each id identifies a flow of documents customized by UX customers.
+ public IList DocumentStreamIds { get; }
+ /// Collection of custom properties.
+ public IList Properties { get; }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentStreamInfo.Serialization.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentStreamInfo.Serialization.cs
new file mode 100644
index 000000000000..690d5fca8a33
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentStreamInfo.Serialization.cs
@@ -0,0 +1,161 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace LiveMetrics
+{
+ public partial class DocumentStreamInfo : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(DocumentStreamInfo)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("Id"u8);
+ writer.WriteStringValue(Id);
+ writer.WritePropertyName("DocumentFilterGroups"u8);
+ writer.WriteStartArray();
+ foreach (var item in DocumentFilterGroups)
+ {
+ writer.WriteObjectValue(item, options);
+ }
+ writer.WriteEndArray();
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ DocumentStreamInfo IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(DocumentStreamInfo)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeDocumentStreamInfo(document.RootElement, options);
+ }
+
+ internal static DocumentStreamInfo DeserializeDocumentStreamInfo(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ string id = default;
+ IReadOnlyList documentFilterGroups = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("Id"u8))
+ {
+ id = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("DocumentFilterGroups"u8))
+ {
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(DocumentFilterConjunctionGroupInfo.DeserializeDocumentFilterConjunctionGroupInfo(item, options));
+ }
+ documentFilterGroups = array;
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new DocumentStreamInfo(id, documentFilterGroups, serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(DocumentStreamInfo)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ DocumentStreamInfo IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeDocumentStreamInfo(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(DocumentStreamInfo)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static DocumentStreamInfo FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeDocumentStreamInfo(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentStreamInfo.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentStreamInfo.cs
new file mode 100644
index 000000000000..02101af6454e
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentStreamInfo.cs
@@ -0,0 +1,83 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace LiveMetrics
+{
+ /// Configurations/filters set by UX to scope the document/telemetry it's interested in.
+ public partial class DocumentStreamInfo
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// Identifier of the document stream initiated by a UX.
+ /// Gets or sets an OR-connected collection of filter groups.
+ /// or is null.
+ internal DocumentStreamInfo(string id, IEnumerable documentFilterGroups)
+ {
+ Argument.AssertNotNull(id, nameof(id));
+ Argument.AssertNotNull(documentFilterGroups, nameof(documentFilterGroups));
+
+ Id = id;
+ DocumentFilterGroups = documentFilterGroups.ToList();
+ }
+
+ /// Initializes a new instance of .
+ /// Identifier of the document stream initiated by a UX.
+ /// Gets or sets an OR-connected collection of filter groups.
+ /// Keeps track of any properties unknown to the library.
+ internal DocumentStreamInfo(string id, IReadOnlyList documentFilterGroups, IDictionary serializedAdditionalRawData)
+ {
+ Id = id;
+ DocumentFilterGroups = documentFilterGroups;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal DocumentStreamInfo()
+ {
+ }
+
+ /// Identifier of the document stream initiated by a UX.
+ public string Id { get; }
+ /// Gets or sets an OR-connected collection of filter groups.
+ public IReadOnlyList DocumentFilterGroups { get; }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentType.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentType.cs
new file mode 100644
index 000000000000..d0eec283fbcf
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/DocumentType.cs
@@ -0,0 +1,63 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ComponentModel;
+
+namespace LiveMetrics
+{
+ /// Document type.
+ internal readonly partial struct DocumentType : IEquatable
+ {
+ private readonly string _value;
+
+ /// Initializes a new instance of .
+ /// is null.
+ public DocumentType(string value)
+ {
+ _value = value ?? throw new ArgumentNullException(nameof(value));
+ }
+
+ private const string RequestValue = "Request";
+ private const string RemoteDependencyValue = "RemoteDependency";
+ private const string ExceptionValue = "Exception";
+ private const string EventValue = "Event";
+ private const string TraceValue = "Trace";
+ private const string UnknownValue = "Unknown";
+
+ /// Represents a request telemetry type.
+ public static DocumentType Request { get; } = new DocumentType(RequestValue);
+ /// Represents a remote dependency telemetry type.
+ public static DocumentType RemoteDependency { get; } = new DocumentType(RemoteDependencyValue);
+ /// Represents an exception telemetry type.
+ public static DocumentType Exception { get; } = new DocumentType(ExceptionValue);
+ /// Represents an event telemetry type.
+ public static DocumentType Event { get; } = new DocumentType(EventValue);
+ /// Represents a trace telemetry type.
+ public static DocumentType Trace { get; } = new DocumentType(TraceValue);
+ /// Represents an unknown telemetry type.
+ public static DocumentType Unknown { get; } = new DocumentType(UnknownValue);
+ /// Determines if two values are the same.
+ public static bool operator ==(DocumentType left, DocumentType right) => left.Equals(right);
+ /// Determines if two values are not the same.
+ public static bool operator !=(DocumentType left, DocumentType right) => !left.Equals(right);
+ /// Converts a to a .
+ public static implicit operator DocumentType(string value) => new DocumentType(value);
+
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object obj) => obj is DocumentType other && Equals(other);
+ ///
+ public bool Equals(DocumentType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
+
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0;
+ ///
+ public override string ToString() => _value;
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/Event.Serialization.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/Event.Serialization.cs
new file mode 100644
index 000000000000..90d354ff457a
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/Event.Serialization.cs
@@ -0,0 +1,168 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace LiveMetrics
+{
+ public partial class Event : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(Event)} does not support writing '{format}' format.");
+ }
+
+ base.JsonModelWriteCore(writer, options);
+ if (Optional.IsDefined(Name))
+ {
+ writer.WritePropertyName("Name"u8);
+ writer.WriteStringValue(Name);
+ }
+ }
+
+ Event IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(Event)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeEvent(document.RootElement, options);
+ }
+
+ internal static Event DeserializeEvent(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ string name = default;
+ DocumentType documentType = default;
+ IList documentStreamIds = default;
+ IList properties = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("Name"u8))
+ {
+ name = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("DocumentType"u8))
+ {
+ documentType = new DocumentType(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("DocumentStreamIds"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(item.GetString());
+ }
+ documentStreamIds = array;
+ continue;
+ }
+ if (property.NameEquals("Properties"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(KeyValuePairStringString.DeserializeKeyValuePairStringString(item, options));
+ }
+ properties = array;
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new Event(documentType, documentStreamIds ?? new ChangeTrackingList(), properties ?? new ChangeTrackingList(), serializedAdditionalRawData, name);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(Event)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ Event IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeEvent(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(Event)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static new Event FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeEvent(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal override RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/Event.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/Event.cs
new file mode 100644
index 000000000000..ac0ba2ec5b66
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/Event.cs
@@ -0,0 +1,36 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+
+namespace LiveMetrics
+{
+ /// Event document type.
+ public partial class Event : DocumentIngress
+ {
+ /// Initializes a new instance of .
+ public Event()
+ {
+ DocumentType = DocumentType.Event;
+ }
+
+ /// Initializes a new instance of .
+ /// Telemetry type. Types not defined in enum will get replaced with a 'Unknown' type.
+ /// An array of document streaming ids. Each id identifies a flow of documents customized by UX customers.
+ /// Collection of custom properties.
+ /// Keeps track of any properties unknown to the library.
+ /// Event name.
+ internal Event(DocumentType documentType, IList documentStreamIds, IList properties, IDictionary serializedAdditionalRawData, string name) : base(documentType, documentStreamIds, properties, serializedAdditionalRawData)
+ {
+ Name = name;
+ }
+
+ /// Event name.
+ public string Name { get; set; }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/Exception.Serialization.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/Exception.Serialization.cs
new file mode 100644
index 000000000000..4b1aba040a74
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/Exception.Serialization.cs
@@ -0,0 +1,185 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace LiveMetrics
+{
+ public partial class Exception : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(Exception)} does not support writing '{format}' format.");
+ }
+
+ base.JsonModelWriteCore(writer, options);
+ if (Optional.IsDefined(ExceptionType))
+ {
+ writer.WritePropertyName("ExceptionType"u8);
+ writer.WriteStringValue(ExceptionType);
+ }
+ if (Optional.IsDefined(ExceptionMessage))
+ {
+ writer.WritePropertyName("ExceptionMessage"u8);
+ writer.WriteStringValue(ExceptionMessage);
+ }
+ }
+
+ Exception IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(Exception)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeException(document.RootElement, options);
+ }
+
+ internal static Exception DeserializeException(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ string exceptionType = default;
+ string exceptionMessage = default;
+ DocumentType documentType = default;
+ IList documentStreamIds = default;
+ IList properties = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("ExceptionType"u8))
+ {
+ exceptionType = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("ExceptionMessage"u8))
+ {
+ exceptionMessage = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("DocumentType"u8))
+ {
+ documentType = new DocumentType(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("DocumentStreamIds"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(item.GetString());
+ }
+ documentStreamIds = array;
+ continue;
+ }
+ if (property.NameEquals("Properties"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(KeyValuePairStringString.DeserializeKeyValuePairStringString(item, options));
+ }
+ properties = array;
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new Exception(
+ documentType,
+ documentStreamIds ?? new ChangeTrackingList(),
+ properties ?? new ChangeTrackingList(),
+ serializedAdditionalRawData,
+ exceptionType,
+ exceptionMessage);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(Exception)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ Exception IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeException(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(Exception)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static new Exception FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeException(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal override RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/Exception.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/Exception.cs
new file mode 100644
index 000000000000..33c36b88e5e0
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/Exception.cs
@@ -0,0 +1,40 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+
+namespace LiveMetrics
+{
+ /// Exception document type.
+ public partial class Exception : DocumentIngress
+ {
+ /// Initializes a new instance of .
+ public Exception()
+ {
+ DocumentType = DocumentType.Exception;
+ }
+
+ /// Initializes a new instance of .
+ /// Telemetry type. Types not defined in enum will get replaced with a 'Unknown' type.
+ /// An array of document streaming ids. Each id identifies a flow of documents customized by UX customers.
+ /// Collection of custom properties.
+ /// Keeps track of any properties unknown to the library.
+ /// Exception type name.
+ /// Exception message.
+ internal Exception(DocumentType documentType, IList documentStreamIds, IList properties, IDictionary serializedAdditionalRawData, string exceptionType, string exceptionMessage) : base(documentType, documentStreamIds, properties, serializedAdditionalRawData)
+ {
+ ExceptionType = exceptionType;
+ ExceptionMessage = exceptionMessage;
+ }
+
+ /// Exception type name.
+ public string ExceptionType { get; set; }
+ /// Exception message.
+ public string ExceptionMessage { get; set; }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/FilterConjunctionGroupInfo.Serialization.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/FilterConjunctionGroupInfo.Serialization.cs
new file mode 100644
index 000000000000..92240918d0d1
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/FilterConjunctionGroupInfo.Serialization.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace LiveMetrics
+{
+ public partial class FilterConjunctionGroupInfo : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(FilterConjunctionGroupInfo)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("Filters"u8);
+ writer.WriteStartArray();
+ foreach (var item in Filters)
+ {
+ writer.WriteObjectValue(item, options);
+ }
+ writer.WriteEndArray();
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ FilterConjunctionGroupInfo IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(FilterConjunctionGroupInfo)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeFilterConjunctionGroupInfo(document.RootElement, options);
+ }
+
+ internal static FilterConjunctionGroupInfo DeserializeFilterConjunctionGroupInfo(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ IReadOnlyList filters = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("Filters"u8))
+ {
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(FilterInfo.DeserializeFilterInfo(item, options));
+ }
+ filters = array;
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new FilterConjunctionGroupInfo(filters, serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(FilterConjunctionGroupInfo)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ FilterConjunctionGroupInfo IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeFilterConjunctionGroupInfo(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(FilterConjunctionGroupInfo)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static FilterConjunctionGroupInfo FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeFilterConjunctionGroupInfo(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/FilterConjunctionGroupInfo.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/FilterConjunctionGroupInfo.cs
new file mode 100644
index 000000000000..16ce6d4a1f18
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/FilterConjunctionGroupInfo.cs
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace LiveMetrics
+{
+ /// An AND-connected group of FilterInfo objects.
+ public partial class FilterConjunctionGroupInfo
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// An array of filters.
+ /// is null.
+ internal FilterConjunctionGroupInfo(IEnumerable filters)
+ {
+ Argument.AssertNotNull(filters, nameof(filters));
+
+ Filters = filters.ToList();
+ }
+
+ /// Initializes a new instance of .
+ /// An array of filters.
+ /// Keeps track of any properties unknown to the library.
+ internal FilterConjunctionGroupInfo(IReadOnlyList filters, IDictionary serializedAdditionalRawData)
+ {
+ Filters = filters;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal FilterConjunctionGroupInfo()
+ {
+ }
+
+ /// An array of filters.
+ public IReadOnlyList Filters { get; }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/FilterInfo.Serialization.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/FilterInfo.Serialization.cs
new file mode 100644
index 000000000000..fbf6a86762ca
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/FilterInfo.Serialization.cs
@@ -0,0 +1,159 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace LiveMetrics
+{
+ public partial class FilterInfo : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(FilterInfo)} does not support writing '{format}' format.");
+ }
+
+ writer.WritePropertyName("FieldName"u8);
+ writer.WriteStringValue(FieldName);
+ writer.WritePropertyName("Predicate"u8);
+ writer.WriteStringValue(Predicate.ToString());
+ writer.WritePropertyName("Comparand"u8);
+ writer.WriteStringValue(Comparand);
+ if (options.Format != "W" && _serializedAdditionalRawData != null)
+ {
+ foreach (var item in _serializedAdditionalRawData)
+ {
+ writer.WritePropertyName(item.Key);
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ }
+ }
+
+ FilterInfo IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(FilterInfo)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeFilterInfo(document.RootElement, options);
+ }
+
+ internal static FilterInfo DeserializeFilterInfo(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ string fieldName = default;
+ PredicateType predicate = default;
+ string comparand = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("FieldName"u8))
+ {
+ fieldName = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("Predicate"u8))
+ {
+ predicate = new PredicateType(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("Comparand"u8))
+ {
+ comparand = property.Value.GetString();
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new FilterInfo(fieldName, predicate, comparand, serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options);
+ default:
+ throw new FormatException($"The model {nameof(FilterInfo)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ FilterInfo IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeFilterInfo(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(FilterInfo)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static FilterInfo FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeFilterInfo(document.RootElement);
+ }
+
+ /// Convert into a .
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions);
+ return content;
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/FilterInfo.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/FilterInfo.cs
new file mode 100644
index 000000000000..227a405ba0cb
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/FilterInfo.cs
@@ -0,0 +1,88 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+
+namespace LiveMetrics
+{
+ /// A filter set on UX.
+ public partial class FilterInfo
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// dimension name of the filter.
+ /// Operator of the filter.
+ /// Comparand of the filter.
+ /// or is null.
+ internal FilterInfo(string fieldName, PredicateType predicate, string comparand)
+ {
+ Argument.AssertNotNull(fieldName, nameof(fieldName));
+ Argument.AssertNotNull(comparand, nameof(comparand));
+
+ FieldName = fieldName;
+ Predicate = predicate;
+ Comparand = comparand;
+ }
+
+ /// Initializes a new instance of .
+ /// dimension name of the filter.
+ /// Operator of the filter.
+ /// Comparand of the filter.
+ /// Keeps track of any properties unknown to the library.
+ internal FilterInfo(string fieldName, PredicateType predicate, string comparand, IDictionary serializedAdditionalRawData)
+ {
+ FieldName = fieldName;
+ Predicate = predicate;
+ Comparand = comparand;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal FilterInfo()
+ {
+ }
+
+ /// dimension name of the filter.
+ public string FieldName { get; }
+ /// Operator of the filter.
+ public PredicateType Predicate { get; }
+ /// Comparand of the filter.
+ public string Comparand { get; }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/Internal/Argument.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/Internal/Argument.cs
new file mode 100644
index 000000000000..fd93d797ccdf
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/Internal/Argument.cs
@@ -0,0 +1,129 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace LiveMetrics
+{
+ internal static class Argument
+ {
+ public static void AssertNotNull(T value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ }
+
+ public static void AssertNotNull(T? value, string name)
+ where T : struct
+ {
+ if (!value.HasValue)
+ {
+ throw new ArgumentNullException(name);
+ }
+ }
+
+ public static void AssertNotNullOrEmpty(IEnumerable value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ if (value is ICollection collectionOfT && collectionOfT.Count == 0)
+ {
+ throw new ArgumentException("Value cannot be an empty collection.", name);
+ }
+ if (value is ICollection collection && collection.Count == 0)
+ {
+ throw new ArgumentException("Value cannot be an empty collection.", name);
+ }
+ using IEnumerator e = value.GetEnumerator();
+ if (!e.MoveNext())
+ {
+ throw new ArgumentException("Value cannot be an empty collection.", name);
+ }
+ }
+
+ public static void AssertNotNullOrEmpty(string value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ if (value.Length == 0)
+ {
+ throw new ArgumentException("Value cannot be an empty string.", name);
+ }
+ }
+
+ public static void AssertNotNullOrWhiteSpace(string value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ if (string.IsNullOrWhiteSpace(value))
+ {
+ throw new ArgumentException("Value cannot be empty or contain only white-space characters.", name);
+ }
+ }
+
+ public static void AssertNotDefault(ref T value, string name)
+ where T : struct, IEquatable
+ {
+ if (value.Equals(default))
+ {
+ throw new ArgumentException("Value cannot be empty.", name);
+ }
+ }
+
+ public static void AssertInRange(T value, T minimum, T maximum, string name)
+ where T : notnull, IComparable
+ {
+ if (minimum.CompareTo(value) > 0)
+ {
+ throw new ArgumentOutOfRangeException(name, "Value is less than the minimum allowed.");
+ }
+ if (maximum.CompareTo(value) < 0)
+ {
+ throw new ArgumentOutOfRangeException(name, "Value is greater than the maximum allowed.");
+ }
+ }
+
+ public static void AssertEnumDefined(Type enumType, object value, string name)
+ {
+ if (!Enum.IsDefined(enumType, value))
+ {
+ throw new ArgumentException($"Value not defined for {enumType.FullName}.", name);
+ }
+ }
+
+ public static T CheckNotNull(T value, string name)
+ where T : class
+ {
+ AssertNotNull(value, name);
+ return value;
+ }
+
+ public static string CheckNotNullOrEmpty(string value, string name)
+ {
+ AssertNotNullOrEmpty(value, name);
+ return value;
+ }
+
+ public static void AssertNull(T value, string name, string message = null)
+ {
+ if (value != null)
+ {
+ throw new ArgumentException(message ?? "Value must be null.", name);
+ }
+ }
+ }
+}
diff --git a/sdk/applicationinsights/LiveMetrics/src/Generated/Internal/ChangeTrackingDictionary.cs b/sdk/applicationinsights/LiveMetrics/src/Generated/Internal/ChangeTrackingDictionary.cs
new file mode 100644
index 000000000000..adba2e33ac67
--- /dev/null
+++ b/sdk/applicationinsights/LiveMetrics/src/Generated/Internal/ChangeTrackingDictionary.cs
@@ -0,0 +1,167 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace LiveMetrics
+{
+ internal class ChangeTrackingDictionary : IDictionary, IReadOnlyDictionary where TKey : notnull
+ {
+ private IDictionary _innerDictionary;
+
+ public ChangeTrackingDictionary()
+ {
+ }
+
+ public ChangeTrackingDictionary(IDictionary dictionary)
+ {
+ if (dictionary == null)
+ {
+ return;
+ }
+ _innerDictionary = new Dictionary(dictionary);
+ }
+
+ public ChangeTrackingDictionary(IReadOnlyDictionary dictionary)
+ {
+ if (dictionary == null)
+ {
+ return;
+ }
+ _innerDictionary = new Dictionary();
+ foreach (var pair in dictionary)
+ {
+ _innerDictionary.Add(pair);
+ }
+ }
+
+ public bool IsUndefined => _innerDictionary == null;
+
+ public int Count => IsUndefined ? 0 : EnsureDictionary().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureDictionary().IsReadOnly;
+
+ public ICollection Keys => IsUndefined ? Array.Empty() : EnsureDictionary().Keys;
+
+ public ICollection Values => IsUndefined ? Array.Empty() : EnsureDictionary().Values;
+
+ public TValue this[TKey key]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new KeyNotFoundException(nameof(key));
+ }
+ return EnsureDictionary()[key];
+ }
+ set
+ {
+ EnsureDictionary()[key] = value;
+ }
+ }
+
+ IEnumerable IReadOnlyDictionary.Keys => Keys;
+
+ IEnumerable IReadOnlyDictionary.Values => Values;
+
+ public IEnumerator> GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator> enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureDictionary().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(KeyValuePair item)
+ {
+ EnsureDictionary().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureDictionary().Clear();
+ }
+
+ public bool Contains(KeyValuePair item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().Contains(item);
+ }
+
+ public void CopyTo(KeyValuePair[] array, int index)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureDictionary().CopyTo(array, index);
+ }
+
+ public bool Remove(KeyValuePair item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().Remove(item);
+ }
+
+ public void Add(TKey key, TValue value)
+ {
+ EnsureDictionary().Add(key, value);
+ }
+
+ public bool ContainsKey(TKey key)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().ContainsKey(key);
+ }
+
+ public bool Remove(TKey key)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().Remove(key);
+ }
+
+ public bool TryGetValue(TKey key, out TValue value)
+ {
+ if (IsUndefined)
+ {
+ value = default;
+ return false;
+ }
+ return EnsureDictionary().TryGetValue(key, out value);
+ }
+
+ public IDictionary