Skip to content

Commit

Permalink
CodeGen from PR 22303 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Swagger Correctness BigDataPool (#22303)

* Swagger Correctness BigDataPool

* WorkspaceAadAdmins 2021-06-01-preview update

* Resolve Model Validaiton Error
  • Loading branch information
SDKAuto committed Feb 2, 2023
1 parent dcb9a34 commit b1160b7
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 48 deletions.
16 changes: 0 additions & 16 deletions schemas/2021-06-01-preview/Microsoft.Synapse.json
Original file line number Diff line number Diff line change
Expand Up @@ -2229,17 +2229,6 @@
],
"description": "Auto-scaling properties of a Big Data pool powered by Apache Spark"
},
"cacheSize": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The cache size"
},
"customLibraries": {
"oneOf": [
{
Expand Down Expand Up @@ -4188,11 +4177,6 @@
"type": {
"type": "string",
"description": "Type of the library."
},
"uploadedTimestamp": {
"type": "string",
"format": "date-time",
"description": "The last update time of the library."
}
},
"description": "Library/package information of a Big Data pool powered by Apache Spark"
Expand Down
76 changes: 44 additions & 32 deletions schemas/2021-06-01/Microsoft.Synapse.json
Original file line number Diff line number Diff line change
Expand Up @@ -1768,17 +1768,6 @@
],
"description": "Auto-scaling properties of a Big Data pool powered by Apache Spark"
},
"cacheSize": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The cache size"
},
"customLibraries": {
"oneOf": [
{
Expand Down Expand Up @@ -3125,11 +3114,6 @@
"type": {
"type": "string",
"description": "Type of the library."
},
"uploadedTimestamp": {
"type": "string",
"format": "date-time",
"description": "The last update time of the library."
}
},
"description": "Library/package information of a Big Data pool powered by Apache Spark"
Expand Down Expand Up @@ -4006,7 +3990,7 @@
"recurringScans": {
"oneOf": [
{
"$ref": "#/definitions/VulnerabilityAssessmentRecurringScansProperties"
"$ref": "#/definitions/VulnerabilityAssessmentRecurringScansPropertiesModel"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -4408,6 +4392,49 @@
},
"description": "Properties of a Vulnerability Assessment recurring scans."
},
"VulnerabilityAssessmentRecurringScansPropertiesModel": {
"type": "object",
"properties": {
"emails": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies an array of e-mail addresses to which the scan notification is sent."
},
"emailSubscriptionAdmins": {
"oneOf": [
{
"type": "boolean",
"default": true
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies that the schedule scan notification will be is sent to the subscription administrators."
},
"isEnabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Recurring scans state."
}
},
"description": "Properties of a Vulnerability Assessment recurring scans."
},
"WorkloadClassifierProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -4539,21 +4566,6 @@
],
"description": "Enable or Disable AzureADOnlyAuthentication on All Workspace subresource"
},
"connectivityEndpoints": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Connectivity endpoints"
},
"cspWorkspaceAdminProperties": {
"oneOf": [
{
Expand Down

0 comments on commit b1160b7

Please sign in to comment.