Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions schemas/2017-12-01-preview/Microsoft.DBforPostgreSQL.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
"oneOf": [
{
"type": "string",
"pattern": "^.*/Default$"
"pattern": "^.*/default$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -892,7 +892,7 @@
"name": {
"type": "string",
"enum": [
"Default"
"default"
],
"description": "The name of the threat detection policy."
},
Expand Down
101 changes: 101 additions & 0 deletions schemas/2018-06-01-privatepreview/Microsoft.DBforPostgreSQL.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"id": "https://schema.management.azure.com/schemas/2018-06-01-privatepreview/Microsoft.DBforPostgreSQL.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.DBforPostgreSQL",
"description": "Microsoft DBforPostgreSQL Resource Types",
"resourceDefinitions": {
"servers_privateEndpointConnections": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2018-06-01-privatepreview"
]
},
"name": {
"type": "string",
"description": "The name of the private endpoint connection."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties of a private endpoint connection."
},
"type": {
"type": "string",
"enum": [
"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"
}
},
"definitions": {
"PrivateEndpointConnectionProperties": {
"type": "object",
"properties": {
"privateEndpoint": {
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointProperty"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"privateLinkServiceConnectionState": {
"oneOf": [
{
"$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"description": "Properties of a private endpoint connection."
},
"PrivateEndpointProperty": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource id of the private endpoint."
}
}
},
"PrivateLinkServiceConnectionStateProperty": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "The private link service connection description."
},
"status": {
"type": "string",
"description": "The private link service connection status."
}
},
"required": [
"description",
"status"
]
}
}
}
76 changes: 76 additions & 0 deletions schemas/2020-01-01-privatepreview/Microsoft.DBforPostgreSQL.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"id": "https://schema.management.azure.com/schemas/2020-01-01-privatepreview/Microsoft.DBforPostgreSQL.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.DBforPostgreSQL",
"description": "Microsoft DBforPostgreSQL Resource Types",
"resourceDefinitions": {
"servers_keys": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-01-01-privatepreview"
]
},
"name": {
"type": "string",
"description": "The name of the PostgreSQL Server key to be operated on (updated or created)."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ServerKeyProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties for a key execution."
},
"type": {
"type": "string",
"enum": [
"Microsoft.DBforPostgreSQL/servers/keys"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.DBforPostgreSQL/servers/keys"
}
},
"definitions": {
"ServerKeyProperties": {
"type": "object",
"properties": {
"serverKeyType": {
"oneOf": [
{
"type": "string",
"enum": [
"AzureKeyVault"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The key type like 'AzureKeyVault'."
},
"uri": {
"type": "string",
"description": "The URI of the key."
}
},
"required": [
"serverKeyType"
],
"description": "Properties for a key execution."
}
}
}
Loading