forked from Azure/azure-resource-manager-schemas
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 21631 in Azure/azure-rest-api-specs
Merge 1e2703b59578aea444ea53f7bb11b5eb297d2cc1 into 7a54c1a83d14da431c0ae48c4315cba143084bce
- Loading branch information
SDKAuto
committed
Nov 23, 2022
1 parent
b97e38d
commit a1e0b6a
Showing
1 changed file
with
152 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
{ | ||
"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": { | ||
"type": "object", | ||
"properties": {}, | ||
"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" | ||
}, | ||
"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." | ||
} | ||
} | ||
} |