Skip to content

Commit b1160b7

Browse files
author
SDKAuto
committed
CodeGen from PR 22303 in Azure/azure-rest-api-specs
Swagger Correctness BigDataPool (#22303) * Swagger Correctness BigDataPool * WorkspaceAadAdmins 2021-06-01-preview update * Resolve Model Validaiton Error
1 parent dcb9a34 commit b1160b7

File tree

2 files changed

+44
-48
lines changed

2 files changed

+44
-48
lines changed

schemas/2021-06-01-preview/Microsoft.Synapse.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,17 +2229,6 @@
22292229
],
22302230
"description": "Auto-scaling properties of a Big Data pool powered by Apache Spark"
22312231
},
2232-
"cacheSize": {
2233-
"oneOf": [
2234-
{
2235-
"type": "integer"
2236-
},
2237-
{
2238-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
2239-
}
2240-
],
2241-
"description": "The cache size"
2242-
},
22432232
"customLibraries": {
22442233
"oneOf": [
22452234
{
@@ -4188,11 +4177,6 @@
41884177
"type": {
41894178
"type": "string",
41904179
"description": "Type of the library."
4191-
},
4192-
"uploadedTimestamp": {
4193-
"type": "string",
4194-
"format": "date-time",
4195-
"description": "The last update time of the library."
41964180
}
41974181
},
41984182
"description": "Library/package information of a Big Data pool powered by Apache Spark"

schemas/2021-06-01/Microsoft.Synapse.json

Lines changed: 44 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,17 +1768,6 @@
17681768
],
17691769
"description": "Auto-scaling properties of a Big Data pool powered by Apache Spark"
17701770
},
1771-
"cacheSize": {
1772-
"oneOf": [
1773-
{
1774-
"type": "integer"
1775-
},
1776-
{
1777-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1778-
}
1779-
],
1780-
"description": "The cache size"
1781-
},
17821771
"customLibraries": {
17831772
"oneOf": [
17841773
{
@@ -3125,11 +3114,6 @@
31253114
"type": {
31263115
"type": "string",
31273116
"description": "Type of the library."
3128-
},
3129-
"uploadedTimestamp": {
3130-
"type": "string",
3131-
"format": "date-time",
3132-
"description": "The last update time of the library."
31333117
}
31343118
},
31353119
"description": "Library/package information of a Big Data pool powered by Apache Spark"
@@ -4006,7 +3990,7 @@
40063990
"recurringScans": {
40073991
"oneOf": [
40083992
{
4009-
"$ref": "#/definitions/VulnerabilityAssessmentRecurringScansProperties"
3993+
"$ref": "#/definitions/VulnerabilityAssessmentRecurringScansPropertiesModel"
40103994
},
40113995
{
40123996
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -4408,6 +4392,49 @@
44084392
},
44094393
"description": "Properties of a Vulnerability Assessment recurring scans."
44104394
},
4395+
"VulnerabilityAssessmentRecurringScansPropertiesModel": {
4396+
"type": "object",
4397+
"properties": {
4398+
"emails": {
4399+
"oneOf": [
4400+
{
4401+
"type": "array",
4402+
"items": {
4403+
"type": "string"
4404+
}
4405+
},
4406+
{
4407+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
4408+
}
4409+
],
4410+
"description": "Specifies an array of e-mail addresses to which the scan notification is sent."
4411+
},
4412+
"emailSubscriptionAdmins": {
4413+
"oneOf": [
4414+
{
4415+
"type": "boolean",
4416+
"default": true
4417+
},
4418+
{
4419+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
4420+
}
4421+
],
4422+
"description": "Specifies that the schedule scan notification will be is sent to the subscription administrators."
4423+
},
4424+
"isEnabled": {
4425+
"oneOf": [
4426+
{
4427+
"type": "boolean"
4428+
},
4429+
{
4430+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
4431+
}
4432+
],
4433+
"description": "Recurring scans state."
4434+
}
4435+
},
4436+
"description": "Properties of a Vulnerability Assessment recurring scans."
4437+
},
44114438
"WorkloadClassifierProperties": {
44124439
"type": "object",
44134440
"properties": {
@@ -4539,21 +4566,6 @@
45394566
],
45404567
"description": "Enable or Disable AzureADOnlyAuthentication on All Workspace subresource"
45414568
},
4542-
"connectivityEndpoints": {
4543-
"oneOf": [
4544-
{
4545-
"type": "object",
4546-
"additionalProperties": {
4547-
"type": "string"
4548-
},
4549-
"properties": {}
4550-
},
4551-
{
4552-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
4553-
}
4554-
],
4555-
"description": "Connectivity endpoints"
4556-
},
45574569
"cspWorkspaceAdminProperties": {
45584570
"oneOf": [
45594571
{

0 commit comments

Comments
 (0)