Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR hybridconnectivity] Dev hybridconnectivity microsoft.hybrid connectivity 2023 03 15 (Draft PR, please review it, but do not merge it yet) #1556

Closed
wants to merge 1 commit into from
Closed
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
186 changes: 186 additions & 0 deletions schemas/2023-03-15/Microsoft.HybridConnectivity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
{
"id": "https://schema.management.azure.com/schemas/2023-03-15/Microsoft.HybridConnectivity.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.HybridConnectivity",
"description": "Microsoft HybridConnectivity Resource Types",
"resourceDefinitions": {},
"unknown_resourceDefinitions": {
"endpoints": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2023-03-15"
]
},
"name": {
"type": "string",
"description": "The endpoint name."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/EndpointProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Endpoint details"
},
"systemData": {
"oneOf": [
{
"$ref": "#/definitions/SystemData"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Metadata pertaining to creation and last modification of the resource."
},
"type": {
"type": "string",
"enum": [
"Microsoft.HybridConnectivity/endpoints"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.HybridConnectivity/endpoints"
}
},
"definitions": {
"EndpointProperties": {
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"description": "The resource Id of the connectivity endpoint (optional)."
},
"serviceConfigurations": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/ServiceConfiguration"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The enabled service configurations."
},
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"default",
"custom"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The type of endpoint."
}
},
"required": [
"type"
],
"description": "Endpoint details"
},
"ServiceConfiguration": {
"type": "object",
"properties": {
"port": {
"type": "string",
"description": "The port on which service is enabled."
},
"serviceName": {
"oneOf": [
{
"type": "string",
"enum": [
"SSH",
"WAC"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The type of service enabled."
}
},
"description": "The service configuration object definition"
},
"SystemData": {
"type": "object",
"properties": {
"createdAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp of resource creation (UTC)."
},
"createdBy": {
"type": "string",
"description": "The identity that created the resource."
},
"createdByType": {
"oneOf": [
{
"type": "string",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The type of identity that created the resource."
},
"lastModifiedAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp of resource last modification (UTC)"
},
"lastModifiedBy": {
"type": "string",
"description": "The identity that last modified the resource."
},
"lastModifiedByType": {
"oneOf": [
{
"type": "string",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The type of identity that last modified the resource."
}
},
"description": "Metadata pertaining to creation and last modification of the resource."
}
}
}