Skip to content

Commit

Permalink
CodeGen from PR 11821 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge d6cc1e11586d44032f3d5c3f470f9005ed6261e3 into b9433e451a68137c738d4a42630a5fe2b7d9b1cb
  • Loading branch information
SDKAuto committed Jan 4, 2021
1 parent 9cd73d3 commit a4893d6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 12 deletions.
18 changes: 13 additions & 5 deletions schemas/2018-09-01-preview/Microsoft.Attestation.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@
},
"location": {
"type": "string",
"description": "The supported Azure location where the attestation service instance should be created."
"description": "The supported Azure location where the attestation provider should be created."
},
"name": {
"type": "string",
"description": "Name of the attestation service instance."
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Name of the attestation provider."
},
"properties": {
"oneOf": [
Expand All @@ -45,7 +53,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The tags that will be assigned to the attestation service instance."
"description": "The tags that will be assigned to the attestation provider."
},
"type": {
"type": "string",
Expand Down Expand Up @@ -194,4 +202,4 @@
}
}
}
}
}
22 changes: 15 additions & 7 deletions schemas/2020-10-01/Microsoft.Attestation.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@
},
"location": {
"type": "string",
"description": "The supported Azure location where the attestation service instance should be created."
"description": "The supported Azure location where the attestation provider should be created."
},
"name": {
"type": "string",
"description": "Name of the attestation service instance."
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Name of the attestation provider."
},
"properties": {
"oneOf": [
Expand All @@ -30,7 +38,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Client supplied parameters used to create a new attestation service instance."
"description": "Client supplied parameters used to create a new attestation provider."
},
"tags": {
"oneOf": [
Expand All @@ -45,7 +53,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The tags that will be assigned to the attestation service instance."
"description": "The tags that will be assigned to the attestation provider."
},
"type": {
"type": "string",
Expand Down Expand Up @@ -79,7 +87,7 @@
]
}
},
"description": "Client supplied parameters used to create a new attestation service instance."
"description": "Client supplied parameters used to create a new attestation provider."
},
"JSONWebKey": {
"type": "object",
Expand Down Expand Up @@ -190,4 +198,4 @@
}
}
}
}
}

0 comments on commit a4893d6

Please sign in to comment.