From aab409d4463bab2a39a169214d93fa5b67120439 Mon Sep 17 00:00:00 2001 From: Yanming Tang Date: Thu, 27 Jan 2022 13:53:50 -0800 Subject: [PATCH 1/3] Add x-ms-identifiers for WebApps --- .../stable/2021-03-01/Domains.json | 9 +- .../stable/2021-03-01/TopLevelDomains.json | 3 +- .../2021-03-01/AppServiceEnvironments.json | 24 ++-- .../stable/2021-03-01/CommonDefinitions.json | 111 ++++++++++++------ .../stable/2021-03-01/ContainerApps.json | 12 +- .../stable/2021-03-01/Diagnostics.json | 42 ++++--- .../stable/2021-03-01/Provider.json | 24 ++-- .../stable/2021-03-01/ResourceProvider.json | 12 +- .../stable/2021-03-01/WebApps.json | 42 ++++--- 9 files changed, 186 insertions(+), 93 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/Domains.json index 41985def9575..ba157c33434f 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/Domains.json @@ -988,7 +988,8 @@ "items": { "$ref": "#/definitions/HostName" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": ["name"] }, "consent": { "$ref": "#/definitions/DomainPurchaseConsent", @@ -1303,7 +1304,8 @@ "items": { "$ref": "#/definitions/HostName" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": ["name"] }, "consent": { "$ref": "#/definitions/DomainPurchaseConsent", @@ -1471,7 +1473,8 @@ "type": "array", "items": { "$ref": "../../../Microsoft.Web/stable/2021-03-01/CommonDefinitions.json#/definitions/NameIdentifier" - } + }, + "x-ms-identifiers": ["name"] }, "nextLink": { "description": "Link to next page of resources.", diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/TopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/TopLevelDomains.json index 823501dd4c8c..066d003edf51 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/TopLevelDomains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/TopLevelDomains.json @@ -196,7 +196,8 @@ "type": "array", "items": { "$ref": "#/definitions/TldLegalAgreement" - } + }, + "x-ms-identifiers": ["agreementKey"] }, "nextLink": { "description": "Link to next page of resources.", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/AppServiceEnvironments.json index ff24faac2d46..cb154a591489 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/AppServiceEnvironments.json @@ -2178,7 +2178,8 @@ "type": "array", "items": { "$ref": "#/definitions/VirtualIPMapping" - } + }, + "x-ms-identifiers": ["virtualIP"] } }, "x-ms-client-flatten": true @@ -2303,7 +2304,8 @@ "type": "array", "items": { "$ref": "#/definitions/EndpointDetail" - } + }, + "x-ms-identifiers": ["ipAddress", "port"] } } }, @@ -2381,7 +2383,8 @@ "type": "array", "items": { "$ref": "#/definitions/InboundEnvironmentEndpoint" - } + }, + "x-ms-identifiers": [] }, "nextLink": { "description": "Link to next page of resources.", @@ -2403,7 +2406,8 @@ "type": "array", "items": { "$ref": "#/definitions/EndpointDependency" - } + }, + "x-ms-identifiers": ["domainName"] } } }, @@ -2419,7 +2423,8 @@ "type": "array", "items": { "$ref": "#/definitions/OutboundEnvironmentEndpoint" - } + }, + "x-ms-identifiers": ["category"] }, "nextLink": { "description": "Link to next page of resources.", @@ -2473,7 +2478,8 @@ "items": { "$ref": "#/definitions/ResourceMetricAvailability" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": [] }, "resourceUri": { "description": "Resource URI.", @@ -2544,7 +2550,8 @@ "type": "array", "items": { "$ref": "#/definitions/SkuInfo" - } + }, + "x-ms-identifiers": ["/sku/name", "resourceType"] }, "nextLink": { "description": "Link to next page of resources.", @@ -2645,7 +2652,8 @@ "type": "array", "items": { "$ref": "#/definitions/StampCapacity" - } + }, + "x-ms-identifiers": ["name"] }, "nextLink": { "description": "Link to next page of resources.", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json index 7b42713406bb..5d8e24defb26 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json @@ -132,7 +132,8 @@ "type": "array", "items": { "$ref": "#/definitions/NameValuePair" - } + }, + "x-ms-identifiers": ["name"] }, "userWhitelistedIpRanges": { "description": "User added ip ranges to whitelist on ASE db", @@ -428,7 +429,8 @@ "type": "array", "items": { "$ref": "#/definitions/StatusCodesBasedTrigger" - } + }, + "x-ms-identifiers": ["path"] }, "slowRequests": { "$ref": "#/definitions/SlowRequestsBasedTrigger", @@ -439,14 +441,16 @@ "type": "array", "items": { "$ref": "#/definitions/SlowRequestsBasedTrigger" - } + }, + "x-ms-identifiers": ["path"] }, "statusCodesRange": { "description": "A rule based on status codes ranges.", "type": "array", "items": { "$ref": "#/definitions/StatusCodesRangeBasedTrigger" - } + }, + "x-ms-identifiers": ["path"] } } }, @@ -642,7 +646,8 @@ "type": "array", "items": { "$ref": "#/definitions/EnvironmentVar" - } + }, + "x-ms-identifiers": ["secretRef", "name"] }, "resources": { "$ref": "#/definitions/ContainerResources", @@ -694,7 +699,8 @@ "type": "array", "items": { "$ref": "#/definitions/CsmOperationDescription" - } + }, + "x-ms-identifiers": ["name"] }, "nextLink": { "description": "Link to next page of resources.", @@ -792,7 +798,8 @@ "type": "array", "items": { "$ref": "#/definitions/CsmUsageQuota" - } + }, + "x-ms-identifiers": ["name"] }, "nextLink": { "description": "Link to next page of resources.", @@ -821,7 +828,8 @@ "type": "array", "items": { "$ref": "#/definitions/ScaleRuleAuth" - } + }, + "x-ms-identifiers": ["secretRef"] } } }, @@ -847,7 +855,8 @@ "type": "array", "items": { "$ref": "#/definitions/DaprComponent" - } + }, + "x-ms-identifiers": ["name"] } } }, @@ -872,7 +881,8 @@ "type": "array", "items": { "$ref": "#/definitions/DaprMetadata" - } + }, + "x-ms-identifiers": ["secretRef", "name"] } } }, @@ -907,7 +917,8 @@ "items": { "$ref": "#/definitions/KeyValuePair[String,Object]" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": ["key"] } } }, @@ -942,7 +953,8 @@ "type": "array", "items": { "$ref": "#/definitions/DataTableResponseColumn" - } + }, + "x-ms-identifiers": ["columnName"] }, "rows": { "description": "Raw row values", @@ -1002,7 +1014,8 @@ } }, "readOnly": true - } + }, + "x-ms-identifiers": [] }, "innererror": { "description": "More information to debug error.", @@ -1162,7 +1175,8 @@ "type": "array", "items": { "$ref": "#/definitions/DiagnosticData" - } + }, + "x-ms-identifiers": [] }, "status": { "$ref": "#/definitions/Status", @@ -1173,7 +1187,8 @@ "type": "array", "items": { "$ref": "#/definitions/DataProviderMetadata" - } + }, + "x-ms-identifiers": ["providerName"] }, "suggestedUtterances": { "$ref": "#/definitions/QueryUtterancesResults", @@ -1279,14 +1294,16 @@ "type": "array", "items": { "$ref": "#/definitions/ErrorEntity" - } + }, + "x-ms-identifiers": [] }, "details": { "description": "Error Details.", "type": "array", "items": { "$ref": "#/definitions/ErrorEntity" - } + }, + "x-ms-identifiers": [] }, "target": { "description": "The error target.", @@ -1311,7 +1328,8 @@ "type": "array", "items": { "$ref": "#/definitions/RampUpRule" - } + }, + "x-ms-identifiers": ["name"] } } }, @@ -1572,7 +1590,8 @@ "type": "array", "items": { "$ref": "#/definitions/ScaleRuleAuth" - } + }, + "x-ms-identifiers": ["secretRef"] } } }, @@ -1905,7 +1924,8 @@ "type": "array", "items": { "$ref": "#/definitions/Dimension" - } + }, + "x-ms-identifiers": ["name"] }, "category": { "type": "string" @@ -1914,7 +1934,8 @@ "type": "array", "items": { "$ref": "#/definitions/MetricAvailability" - } + }, + "x-ms-identifiers": [] }, "supportedTimeGrainTypes": { "type": "array", @@ -1986,7 +2007,8 @@ "type": "array", "items": { "$ref": "#/definitions/ErrorEntity" - } + }, + "x-ms-identifiers": [] }, "createdTime": { "format": "date-time", @@ -2234,7 +2256,8 @@ "type": "array", "items": { "$ref": "#/definitions/QueryUtterancesResult" - } + }, + "x-ms-identifiers": [] } } }, @@ -2256,7 +2279,8 @@ "type": "array", "items": { "$ref": "#/definitions/ScaleRuleAuth" - } + }, + "x-ms-identifiers": ["secretRef"] } } }, @@ -2483,7 +2507,8 @@ "type": "array", "items": { "$ref": "#/definitions/ScaleRule" - } + }, + "x-ms-identifiers": ["name"] } } }, @@ -2531,13 +2556,15 @@ "type": "array", "items": { "$ref": "#/definitions/MetricSpecification" - } + }, + "x-ms-identifiers": ["name"] }, "logSpecifications": { "type": "array", "items": { "$ref": "#/definitions/LogSpecification" - } + }, + "x-ms-identifiers": ["name"] } } }, @@ -2616,7 +2643,8 @@ "type": "array", "items": { "$ref": "#/definitions/HostNameSslState" - } + }, + "x-ms-identifiers": ["name"] }, "serverFarmId": { "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", @@ -2918,14 +2946,16 @@ "type": "array", "items": { "$ref": "#/definitions/NameValuePair" - } + }, + "x-ms-identifiers": ["name"] }, "connectionStrings": { "description": "Connection strings.", "type": "array", "items": { "$ref": "#/definitions/ConnStringInfo" - } + }, + "x-ms-identifiers": ["name"] }, "machineKey": { "$ref": "#/definitions/SiteMachineKey", @@ -2937,7 +2967,8 @@ "type": "array", "items": { "$ref": "#/definitions/HandlerMapping" - } + }, + "x-ms-identifiers": ["extension"] }, "documentRoot": { "description": "Document root.", @@ -3012,7 +3043,8 @@ "type": "array", "items": { "$ref": "#/definitions/VirtualApplication" - } + }, + "x-ms-identifiers": ["virtualPath"] }, "loadBalancing": { "description": "Site load balancing.", @@ -3111,14 +3143,16 @@ "type": "array", "items": { "$ref": "#/definitions/IpSecurityRestriction" - } + }, + "x-ms-identifiers": ["name"] }, "scmIpSecurityRestrictions": { "description": "IP security restrictions for scm.", "type": "array", "items": { "$ref": "#/definitions/IpSecurityRestriction" - } + }, + "x-ms-identifiers": ["name"] }, "scmIpSecurityRestrictionsUseMain": { "description": "IP security restrictions for scm to use main.", @@ -3327,7 +3361,8 @@ "type": "array", "items": { "$ref": "#/definitions/Capability" - } + }, + "x-ms-identifiers": ["name"] } } }, @@ -3528,7 +3563,8 @@ "type": "array", "items": { "$ref": "#/definitions/Container" - } + }, + "x-ms-identifiers": ["name"] }, "scale": { "$ref": "#/definitions/Scale", @@ -3605,7 +3641,8 @@ "type": "array", "items": { "$ref": "#/definitions/VirtualDirectory" - } + }, + "x-ms-identifiers": ["virtualPath"] } } }, diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ContainerApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ContainerApps.json index afb9ba61ef4a..5f394bc8a5b2 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ContainerApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ContainerApps.json @@ -309,7 +309,8 @@ "type": "array", "items": { "$ref": "#/definitions/Secret" - } + }, + "x-ms-identifiers": ["name"] }, "activeRevisionsMode": { "description": "ActiveRevisionsMode controls how active revisions are handled for the Container app:\nMultiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode", @@ -332,7 +333,8 @@ "type": "array", "items": { "$ref": "#/definitions/RegistryCredentials" - } + }, + "x-ms-identifiers": ["server"] } } }, @@ -428,7 +430,8 @@ "type": "array", "items": { "$ref": "#/definitions/ContainerAppSecret" - } + }, + "x-ms-identifiers": ["name"] } } }, @@ -468,7 +471,8 @@ "type": "array", "items": { "$ref": "#/definitions/TrafficWeight" - } + }, + "x-ms-identifiers": ["revisionName"] }, "allowInsecure": { "description": "Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Diagnostics.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Diagnostics.json index 3c328d205c73..755f97e2a12a 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Diagnostics.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Diagnostics.json @@ -1549,7 +1549,8 @@ "type": "array", "items": { "$ref": "#/definitions/DetectorAbnormalTimePeriod" - } + }, + "x-ms-identifiers": [] }, "solutions": { "description": "List of proposed solutions", @@ -1577,7 +1578,8 @@ "type": "array", "items": { "$ref": "#/definitions/DiagnosticMetricSet" - } + }, + "x-ms-identifiers": ["name"] }, "data": { "description": "Additional Source Data", @@ -1586,7 +1588,8 @@ "type": "array", "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - } + }, + "x-ms-identifiers": ["name"] } }, "detectorMetaData": { @@ -1634,7 +1637,8 @@ "type": "array", "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - } + }, + "x-ms-identifiers": ["name"] } } }, @@ -1672,7 +1676,8 @@ "type": "array", "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - } + }, + "x-ms-identifiers": ["name"] } }, "type": { @@ -1774,21 +1779,24 @@ "type": "array", "items": { "$ref": "#/definitions/AbnormalTimePeriod" - } + }, + "x-ms-identifiers": [] }, "payload": { "description": "Data by each detector", "type": "array", "items": { "$ref": "#/definitions/AnalysisData" - } + }, + "x-ms-identifiers": ["source"] }, "nonCorrelatedDetectors": { "description": "Data by each detector for detectors that did not corelate", "type": "array", "items": { "$ref": "#/definitions/DetectorDefinition" - } + }, + "x-ms-identifiers": ["displayName"] } }, "x-ms-client-flatten": true @@ -1917,14 +1925,16 @@ "type": "array", "items": { "$ref": "#/definitions/DiagnosticMetricSet" - } + }, + "x-ms-identifiers": ["name"] }, "abnormalTimePeriods": { "description": "List of Correlated events found by the detector", "type": "array", "items": { "$ref": "#/definitions/DetectorAbnormalTimePeriod" - } + }, + "x-ms-identifiers": [] }, "data": { "description": "Additional Data that detector wants to send.", @@ -1933,7 +1943,8 @@ "type": "array", "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - } + }, + "x-ms-identifiers": ["name"] } }, "responseMetaData": { @@ -2010,7 +2021,8 @@ "type": "array", "items": { "$ref": "#/definitions/DiagnosticMetricSample" - } + }, + "x-ms-identifiers": [] } } }, @@ -2065,7 +2077,8 @@ "type": "array", "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - } + }, + "x-ms-identifiers": ["name"] } }, "metadata": { @@ -2075,7 +2088,8 @@ "type": "array", "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" - } + }, + "x-ms-identifiers": ["name"] } } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Provider.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Provider.json index 21a14817cbab..2560610c8d99 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Provider.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Provider.json @@ -388,21 +388,24 @@ "type": "array", "items": { "$ref": "#/definitions/StackMajorVersion" - } + }, + "x-ms-identifiers": ["runtimeVersion"] }, "frameworks": { "description": "List of frameworks associated with application stack.", "type": "array", "items": { "$ref": "#/definitions/ApplicationStack" - } + }, + "x-ms-identifiers": ["name"] }, "isDeprecated": { "description": "true if this is the stack is deprecated; otherwise, false.", "type": "array", "items": { "$ref": "#/definitions/ApplicationStack" - } + }, + "x-ms-identifiers": ["name"] } } }, @@ -464,7 +467,8 @@ "items": { "$ref": "#/definitions/FunctionAppMinorVersion" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": ["value"] } } }, @@ -622,7 +626,8 @@ "items": { "$ref": "#/definitions/FunctionAppMajorVersion" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": ["value"] }, "preferredOs": { "description": "Function App stack preferred OS.", @@ -773,7 +778,8 @@ "type": "array", "items": { "$ref": "#/definitions/StackMinorVersion" - } + }, + "x-ms-identifiers": ["runtimeVersion"] }, "applicationInsights": { "description": "true if this supports Application Insights; otherwise, false.", @@ -849,7 +855,8 @@ "items": { "$ref": "#/definitions/WebAppMinorVersion" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": ["value"] } } }, @@ -991,7 +998,8 @@ "items": { "$ref": "#/definitions/WebAppMajorVersion" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": ["value"] }, "preferredOs": { "description": "Web App stack preferred OS.", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json index a2df7a1fed31..eb6d06a7c33b 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json @@ -860,14 +860,16 @@ "type": "array", "items": { "$ref": "./CommonDefinitions.json#/definitions/AppServiceEnvironment" - } + }, + "x-ms-identifiers": [] }, "hostingEnvironmentDeploymentInfos": { "description": "Available App Service Environments with basic information.", "type": "array", "items": { "$ref": "#/definitions/HostingEnvironmentDeploymentInfo" - } + }, + "x-ms-identifiers": ["name"] } } }, @@ -961,7 +963,8 @@ "type": "array", "items": { "$ref": "./CommonDefinitions.json#/definitions/Capability" - } + }, + "x-ms-identifiers": ["name"] } } }, @@ -1146,7 +1149,8 @@ "type": "array", "items": { "$ref": "#/definitions/GlobalCsmSkuDescription" - } + }, + "x-ms-identifiers": ["name"] } } }, diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/WebApps.json index bc1867636f03..7019579dafd2 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/WebApps.json @@ -21788,7 +21788,8 @@ "items": { "$ref": "#/definitions/DatabaseBackupSetting" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": ["name"] }, "scheduled": { "description": "True if this backup has been created due to a schedule being triggered.", @@ -21881,7 +21882,8 @@ "type": "array", "items": { "$ref": "#/definitions/DatabaseBackupSetting" - } + }, + "x-ms-identifiers": ["name"] } }, "x-ms-client-flatten": true @@ -23364,7 +23366,8 @@ "type": "array", "items": { "$ref": "#/definitions/MSDeployCore" - } + }, + "x-ms-identifiers": ["packageUri"] } }, "x-ms-client-flatten": true @@ -23427,7 +23430,8 @@ "items": { "$ref": "#/definitions/MSDeployLogEntry" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": [] } }, "x-ms-client-flatten": true @@ -23773,7 +23777,8 @@ "type": "array", "items": { "$ref": "#/definitions/PerfMonResponse" - } + }, + "x-ms-identifiers": [] }, "nextLink": { "description": "Link to next page of resources.", @@ -23847,7 +23852,8 @@ "type": "array", "items": { "$ref": "#/definitions/PerfMonSample" - } + }, + "x-ms-identifiers": [] } } }, @@ -23949,7 +23955,8 @@ "type": "array", "items": { "$ref": "#/definitions/PrivateAccessVirtualNetwork" - } + }, + "x-ms-identifiers": ["key"] } }, "x-ms-client-flatten": true @@ -23993,7 +24000,8 @@ "type": "array", "items": { "$ref": "#/definitions/PrivateAccessSubnet" - } + }, + "x-ms-identifiers": ["key"] } } }, @@ -24549,7 +24557,8 @@ "type": "array", "items": { "$ref": "#/definitions/DatabaseBackupSetting" - } + }, + "x-ms-identifiers": ["name"] }, "ignoreConflictingHostNames": { "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \nthe app's object when it is being restored, but that might fail due to conflicts during the operation.", @@ -24866,21 +24875,24 @@ "type": "array", "items": { "$ref": "#/definitions/SiteCloneabilityCriterion" - } + }, + "x-ms-identifiers": ["name"] }, "unsupportedFeatures": { "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\nbut the features in this list will not be set up on cloned app.", "type": "array", "items": { "$ref": "#/definitions/SiteCloneabilityCriterion" - } + }, + "x-ms-identifiers": ["name"] }, "blockingCharacteristics": { "description": "List of blocking application characteristics.", "type": "array", "items": { "$ref": "#/definitions/SiteCloneabilityCriterion" - } + }, + "x-ms-identifiers": ["name"] } } }, @@ -25228,7 +25240,8 @@ "type": "array", "items": { "$ref": "./CommonDefinitions.json#/definitions/HostNameSslState" - } + }, + "x-ms-identifiers": ["name"] }, "serverFarmId": { "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", @@ -25879,7 +25892,8 @@ "type": "array", "items": { "$ref": "#/definitions/TriggeredJobRun" - } + }, + "x-ms-identifiers": ["web_job_id"] } }, "x-ms-client-flatten": true From f904594acc2a273601f5d89eea23627a8046b2ab Mon Sep 17 00:00:00 2001 From: Yanming Tang Date: Thu, 27 Jan 2022 14:11:26 -0800 Subject: [PATCH 2/3] Run prettifier --- .../stable/2021-03-01/Domains.json | 12 +- .../stable/2021-03-01/TopLevelDomains.json | 4 +- .../2021-03-01/AppServiceEnvironments.json | 26 +++- .../stable/2021-03-01/CommonDefinitions.json | 122 +++++++++++++----- .../stable/2021-03-01/ContainerApps.json | 16 ++- .../stable/2021-03-01/Diagnostics.json | 40 ++++-- .../stable/2021-03-01/Provider.json | 32 +++-- .../stable/2021-03-01/ResourceProvider.json | 12 +- .../stable/2021-03-01/WebApps.json | 44 +++++-- 9 files changed, 232 insertions(+), 76 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/Domains.json index ba157c33434f..c65d3d6b35f1 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/Domains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/Domains.json @@ -989,7 +989,9 @@ "$ref": "#/definitions/HostName" }, "readOnly": true, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "consent": { "$ref": "#/definitions/DomainPurchaseConsent", @@ -1305,7 +1307,9 @@ "$ref": "#/definitions/HostName" }, "readOnly": true, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "consent": { "$ref": "#/definitions/DomainPurchaseConsent", @@ -1474,7 +1478,9 @@ "items": { "$ref": "../../../Microsoft.Web/stable/2021-03-01/CommonDefinitions.json#/definitions/NameIdentifier" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "nextLink": { "description": "Link to next page of resources.", diff --git a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/TopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/TopLevelDomains.json index 066d003edf51..86260718c074 100644 --- a/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/TopLevelDomains.json +++ b/specification/web/resource-manager/Microsoft.DomainRegistration/stable/2021-03-01/TopLevelDomains.json @@ -197,7 +197,9 @@ "items": { "$ref": "#/definitions/TldLegalAgreement" }, - "x-ms-identifiers": ["agreementKey"] + "x-ms-identifiers": [ + "agreementKey" + ] }, "nextLink": { "description": "Link to next page of resources.", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/AppServiceEnvironments.json index cb154a591489..f36d5cf03314 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/AppServiceEnvironments.json @@ -2179,7 +2179,9 @@ "items": { "$ref": "#/definitions/VirtualIPMapping" }, - "x-ms-identifiers": ["virtualIP"] + "x-ms-identifiers": [ + "virtualIP" + ] } }, "x-ms-client-flatten": true @@ -2305,7 +2307,10 @@ "items": { "$ref": "#/definitions/EndpointDetail" }, - "x-ms-identifiers": ["ipAddress", "port"] + "x-ms-identifiers": [ + "ipAddress", + "port" + ] } } }, @@ -2407,7 +2412,9 @@ "items": { "$ref": "#/definitions/EndpointDependency" }, - "x-ms-identifiers": ["domainName"] + "x-ms-identifiers": [ + "domainName" + ] } } }, @@ -2424,7 +2431,9 @@ "items": { "$ref": "#/definitions/OutboundEnvironmentEndpoint" }, - "x-ms-identifiers": ["category"] + "x-ms-identifiers": [ + "category" + ] }, "nextLink": { "description": "Link to next page of resources.", @@ -2551,7 +2560,10 @@ "items": { "$ref": "#/definitions/SkuInfo" }, - "x-ms-identifiers": ["/sku/name", "resourceType"] + "x-ms-identifiers": [ + "/sku/name", + "resourceType" + ] }, "nextLink": { "description": "Link to next page of resources.", @@ -2653,7 +2665,9 @@ "items": { "$ref": "#/definitions/StampCapacity" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "nextLink": { "description": "Link to next page of resources.", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json index 5d8e24defb26..69336f2500fa 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json @@ -133,7 +133,9 @@ "items": { "$ref": "#/definitions/NameValuePair" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "userWhitelistedIpRanges": { "description": "User added ip ranges to whitelist on ASE db", @@ -430,7 +432,9 @@ "items": { "$ref": "#/definitions/StatusCodesBasedTrigger" }, - "x-ms-identifiers": ["path"] + "x-ms-identifiers": [ + "path" + ] }, "slowRequests": { "$ref": "#/definitions/SlowRequestsBasedTrigger", @@ -442,7 +446,9 @@ "items": { "$ref": "#/definitions/SlowRequestsBasedTrigger" }, - "x-ms-identifiers": ["path"] + "x-ms-identifiers": [ + "path" + ] }, "statusCodesRange": { "description": "A rule based on status codes ranges.", @@ -450,7 +456,9 @@ "items": { "$ref": "#/definitions/StatusCodesRangeBasedTrigger" }, - "x-ms-identifiers": ["path"] + "x-ms-identifiers": [ + "path" + ] } } }, @@ -647,7 +655,10 @@ "items": { "$ref": "#/definitions/EnvironmentVar" }, - "x-ms-identifiers": ["secretRef", "name"] + "x-ms-identifiers": [ + "secretRef", + "name" + ] }, "resources": { "$ref": "#/definitions/ContainerResources", @@ -700,7 +711,9 @@ "items": { "$ref": "#/definitions/CsmOperationDescription" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "nextLink": { "description": "Link to next page of resources.", @@ -799,7 +812,9 @@ "items": { "$ref": "#/definitions/CsmUsageQuota" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "nextLink": { "description": "Link to next page of resources.", @@ -829,7 +844,9 @@ "items": { "$ref": "#/definitions/ScaleRuleAuth" }, - "x-ms-identifiers": ["secretRef"] + "x-ms-identifiers": [ + "secretRef" + ] } } }, @@ -856,7 +873,9 @@ "items": { "$ref": "#/definitions/DaprComponent" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -882,7 +901,10 @@ "items": { "$ref": "#/definitions/DaprMetadata" }, - "x-ms-identifiers": ["secretRef", "name"] + "x-ms-identifiers": [ + "secretRef", + "name" + ] } } }, @@ -918,7 +940,9 @@ "$ref": "#/definitions/KeyValuePair[String,Object]" }, "readOnly": true, - "x-ms-identifiers": ["key"] + "x-ms-identifiers": [ + "key" + ] } } }, @@ -954,7 +978,9 @@ "items": { "$ref": "#/definitions/DataTableResponseColumn" }, - "x-ms-identifiers": ["columnName"] + "x-ms-identifiers": [ + "columnName" + ] }, "rows": { "description": "Raw row values", @@ -1188,7 +1214,9 @@ "items": { "$ref": "#/definitions/DataProviderMetadata" }, - "x-ms-identifiers": ["providerName"] + "x-ms-identifiers": [ + "providerName" + ] }, "suggestedUtterances": { "$ref": "#/definitions/QueryUtterancesResults", @@ -1329,7 +1357,9 @@ "items": { "$ref": "#/definitions/RampUpRule" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -1591,7 +1621,9 @@ "items": { "$ref": "#/definitions/ScaleRuleAuth" }, - "x-ms-identifiers": ["secretRef"] + "x-ms-identifiers": [ + "secretRef" + ] } } }, @@ -1925,7 +1957,9 @@ "items": { "$ref": "#/definitions/Dimension" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "category": { "type": "string" @@ -2280,7 +2314,9 @@ "items": { "$ref": "#/definitions/ScaleRuleAuth" }, - "x-ms-identifiers": ["secretRef"] + "x-ms-identifiers": [ + "secretRef" + ] } } }, @@ -2508,7 +2544,9 @@ "items": { "$ref": "#/definitions/ScaleRule" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -2557,14 +2595,18 @@ "items": { "$ref": "#/definitions/MetricSpecification" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "logSpecifications": { "type": "array", "items": { "$ref": "#/definitions/LogSpecification" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -2644,7 +2686,9 @@ "items": { "$ref": "#/definitions/HostNameSslState" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "serverFarmId": { "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", @@ -2947,7 +2991,9 @@ "items": { "$ref": "#/definitions/NameValuePair" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "connectionStrings": { "description": "Connection strings.", @@ -2955,7 +3001,9 @@ "items": { "$ref": "#/definitions/ConnStringInfo" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "machineKey": { "$ref": "#/definitions/SiteMachineKey", @@ -2968,7 +3016,9 @@ "items": { "$ref": "#/definitions/HandlerMapping" }, - "x-ms-identifiers": ["extension"] + "x-ms-identifiers": [ + "extension" + ] }, "documentRoot": { "description": "Document root.", @@ -3044,7 +3094,9 @@ "items": { "$ref": "#/definitions/VirtualApplication" }, - "x-ms-identifiers": ["virtualPath"] + "x-ms-identifiers": [ + "virtualPath" + ] }, "loadBalancing": { "description": "Site load balancing.", @@ -3144,7 +3196,9 @@ "items": { "$ref": "#/definitions/IpSecurityRestriction" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "scmIpSecurityRestrictions": { "description": "IP security restrictions for scm.", @@ -3152,7 +3206,9 @@ "items": { "$ref": "#/definitions/IpSecurityRestriction" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "scmIpSecurityRestrictionsUseMain": { "description": "IP security restrictions for scm to use main.", @@ -3362,7 +3418,9 @@ "items": { "$ref": "#/definitions/Capability" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -3564,7 +3622,9 @@ "items": { "$ref": "#/definitions/Container" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "scale": { "$ref": "#/definitions/Scale", @@ -3642,7 +3702,9 @@ "items": { "$ref": "#/definitions/VirtualDirectory" }, - "x-ms-identifiers": ["virtualPath"] + "x-ms-identifiers": [ + "virtualPath" + ] } } }, diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ContainerApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ContainerApps.json index 5f394bc8a5b2..aeb895a90a39 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ContainerApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ContainerApps.json @@ -310,7 +310,9 @@ "items": { "$ref": "#/definitions/Secret" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "activeRevisionsMode": { "description": "ActiveRevisionsMode controls how active revisions are handled for the Container app:\nMultiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode", @@ -334,7 +336,9 @@ "items": { "$ref": "#/definitions/RegistryCredentials" }, - "x-ms-identifiers": ["server"] + "x-ms-identifiers": [ + "server" + ] } } }, @@ -431,7 +435,9 @@ "items": { "$ref": "#/definitions/ContainerAppSecret" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -472,7 +478,9 @@ "items": { "$ref": "#/definitions/TrafficWeight" }, - "x-ms-identifiers": ["revisionName"] + "x-ms-identifiers": [ + "revisionName" + ] }, "allowInsecure": { "description": "Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Diagnostics.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Diagnostics.json index 755f97e2a12a..4f89876bfa36 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Diagnostics.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Diagnostics.json @@ -1579,7 +1579,9 @@ "items": { "$ref": "#/definitions/DiagnosticMetricSet" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "data": { "description": "Additional Source Data", @@ -1589,7 +1591,9 @@ "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } }, "detectorMetaData": { @@ -1638,7 +1642,9 @@ "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -1677,7 +1683,9 @@ "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } }, "type": { @@ -1788,7 +1796,9 @@ "items": { "$ref": "#/definitions/AnalysisData" }, - "x-ms-identifiers": ["source"] + "x-ms-identifiers": [ + "source" + ] }, "nonCorrelatedDetectors": { "description": "Data by each detector for detectors that did not corelate", @@ -1796,7 +1806,9 @@ "items": { "$ref": "#/definitions/DetectorDefinition" }, - "x-ms-identifiers": ["displayName"] + "x-ms-identifiers": [ + "displayName" + ] } }, "x-ms-client-flatten": true @@ -1926,7 +1938,9 @@ "items": { "$ref": "#/definitions/DiagnosticMetricSet" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "abnormalTimePeriods": { "description": "List of Correlated events found by the detector", @@ -1944,7 +1958,9 @@ "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } }, "responseMetaData": { @@ -2078,7 +2094,9 @@ "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } }, "metadata": { @@ -2089,7 +2107,9 @@ "items": { "$ref": "./CommonDefinitions.json#/definitions/NameValuePair" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } } diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Provider.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Provider.json index 2560610c8d99..f3bcd5fe5da5 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Provider.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/Provider.json @@ -389,7 +389,9 @@ "items": { "$ref": "#/definitions/StackMajorVersion" }, - "x-ms-identifiers": ["runtimeVersion"] + "x-ms-identifiers": [ + "runtimeVersion" + ] }, "frameworks": { "description": "List of frameworks associated with application stack.", @@ -397,7 +399,9 @@ "items": { "$ref": "#/definitions/ApplicationStack" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "isDeprecated": { "description": "true if this is the stack is deprecated; otherwise, false.", @@ -405,7 +409,9 @@ "items": { "$ref": "#/definitions/ApplicationStack" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -468,7 +474,9 @@ "$ref": "#/definitions/FunctionAppMinorVersion" }, "readOnly": true, - "x-ms-identifiers": ["value"] + "x-ms-identifiers": [ + "value" + ] } } }, @@ -627,7 +635,9 @@ "$ref": "#/definitions/FunctionAppMajorVersion" }, "readOnly": true, - "x-ms-identifiers": ["value"] + "x-ms-identifiers": [ + "value" + ] }, "preferredOs": { "description": "Function App stack preferred OS.", @@ -779,7 +789,9 @@ "items": { "$ref": "#/definitions/StackMinorVersion" }, - "x-ms-identifiers": ["runtimeVersion"] + "x-ms-identifiers": [ + "runtimeVersion" + ] }, "applicationInsights": { "description": "true if this supports Application Insights; otherwise, false.", @@ -856,7 +868,9 @@ "$ref": "#/definitions/WebAppMinorVersion" }, "readOnly": true, - "x-ms-identifiers": ["value"] + "x-ms-identifiers": [ + "value" + ] } } }, @@ -999,7 +1013,9 @@ "$ref": "#/definitions/WebAppMajorVersion" }, "readOnly": true, - "x-ms-identifiers": ["value"] + "x-ms-identifiers": [ + "value" + ] }, "preferredOs": { "description": "Web App stack preferred OS.", diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json index eb6d06a7c33b..bc833fc86f44 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/ResourceProvider.json @@ -869,7 +869,9 @@ "items": { "$ref": "#/definitions/HostingEnvironmentDeploymentInfo" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -964,7 +966,9 @@ "items": { "$ref": "./CommonDefinitions.json#/definitions/Capability" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -1150,7 +1154,9 @@ "items": { "$ref": "#/definitions/GlobalCsmSkuDescription" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/WebApps.json index 7019579dafd2..8c38e3f664a1 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/WebApps.json @@ -21789,7 +21789,9 @@ "$ref": "#/definitions/DatabaseBackupSetting" }, "readOnly": true, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "scheduled": { "description": "True if this backup has been created due to a schedule being triggered.", @@ -21883,7 +21885,9 @@ "items": { "$ref": "#/definitions/DatabaseBackupSetting" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } }, "x-ms-client-flatten": true @@ -23367,7 +23371,9 @@ "items": { "$ref": "#/definitions/MSDeployCore" }, - "x-ms-identifiers": ["packageUri"] + "x-ms-identifiers": [ + "packageUri" + ] } }, "x-ms-client-flatten": true @@ -23956,7 +23962,9 @@ "items": { "$ref": "#/definitions/PrivateAccessVirtualNetwork" }, - "x-ms-identifiers": ["key"] + "x-ms-identifiers": [ + "key" + ] } }, "x-ms-client-flatten": true @@ -24001,7 +24009,9 @@ "items": { "$ref": "#/definitions/PrivateAccessSubnet" }, - "x-ms-identifiers": ["key"] + "x-ms-identifiers": [ + "key" + ] } } }, @@ -24558,7 +24568,9 @@ "items": { "$ref": "#/definitions/DatabaseBackupSetting" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "ignoreConflictingHostNames": { "description": "Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to \nthe app's object when it is being restored, but that might fail due to conflicts during the operation.", @@ -24876,7 +24888,9 @@ "items": { "$ref": "#/definitions/SiteCloneabilityCriterion" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "unsupportedFeatures": { "description": "List of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned\nbut the features in this list will not be set up on cloned app.", @@ -24884,7 +24898,9 @@ "items": { "$ref": "#/definitions/SiteCloneabilityCriterion" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "blockingCharacteristics": { "description": "List of blocking application characteristics.", @@ -24892,7 +24908,9 @@ "items": { "$ref": "#/definitions/SiteCloneabilityCriterion" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] } } }, @@ -25241,7 +25259,9 @@ "items": { "$ref": "./CommonDefinitions.json#/definitions/HostNameSslState" }, - "x-ms-identifiers": ["name"] + "x-ms-identifiers": [ + "name" + ] }, "serverFarmId": { "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", @@ -25893,7 +25913,9 @@ "items": { "$ref": "#/definitions/TriggeredJobRun" }, - "x-ms-identifiers": ["web_job_id"] + "x-ms-identifiers": [ + "web_job_id" + ] } }, "x-ms-client-flatten": true From 52be731bfd04595e710805d7a328eedaa98da21e Mon Sep 17 00:00:00 2001 From: Yanming Tang Date: Fri, 18 Feb 2022 23:13:59 -0800 Subject: [PATCH 3/3] Resolve PR review comment --- .../stable/2021-03-01/CommonDefinitions.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json index 69336f2500fa..244b5439f9fa 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2021-03-01/CommonDefinitions.json @@ -656,7 +656,6 @@ "$ref": "#/definitions/EnvironmentVar" }, "x-ms-identifiers": [ - "secretRef", "name" ] }, @@ -845,7 +844,7 @@ "$ref": "#/definitions/ScaleRuleAuth" }, "x-ms-identifiers": [ - "secretRef" + "triggerParameter" ] } } @@ -902,7 +901,6 @@ "$ref": "#/definitions/DaprMetadata" }, "x-ms-identifiers": [ - "secretRef", "name" ] } @@ -1622,7 +1620,7 @@ "$ref": "#/definitions/ScaleRuleAuth" }, "x-ms-identifiers": [ - "secretRef" + "triggerParameter" ] } } @@ -2315,7 +2313,7 @@ "$ref": "#/definitions/ScaleRuleAuth" }, "x-ms-identifiers": [ - "secretRef" + "triggerParameter" ] } }