Skip to content

Commit 580712b

Browse files
author
SDKAuto
committed
CodeGen from PR 18741 in Azure/azure-rest-api-specs
[Hub Generated] Publish private branch 'main' (#18741) * Promote 2022-05-01-preview api from RPSaaSMaster to main * Fixing lint errors
1 parent 3cf49b0 commit 580712b

1 file changed

Lines changed: 147 additions & 0 deletions

File tree

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2022-05-01-preview/Microsoft.HybridConnectivity.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.HybridConnectivity",
5+
"description": "Microsoft HybridConnectivity Resource Types",
6+
"resourceDefinitions": {},
7+
"unknown_resourceDefinitions": {
8+
"endpoints": {
9+
"type": "object",
10+
"properties": {
11+
"apiVersion": {
12+
"type": "string",
13+
"enum": [
14+
"2022-05-01-preview"
15+
]
16+
},
17+
"name": {
18+
"type": "string",
19+
"description": "The endpoint name."
20+
},
21+
"properties": {
22+
"oneOf": [
23+
{
24+
"$ref": "#/definitions/EndpointProperties"
25+
},
26+
{
27+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
28+
}
29+
],
30+
"description": "Endpoint details"
31+
},
32+
"systemData": {
33+
"oneOf": [
34+
{
35+
"$ref": "#/definitions/SystemData"
36+
},
37+
{
38+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
39+
}
40+
],
41+
"description": "Metadata pertaining to creation and last modification of the resource."
42+
},
43+
"type": {
44+
"type": "string",
45+
"enum": [
46+
"Microsoft.HybridConnectivity/endpoints"
47+
]
48+
}
49+
},
50+
"required": [
51+
"apiVersion",
52+
"name",
53+
"properties",
54+
"type"
55+
],
56+
"description": "Microsoft.HybridConnectivity/endpoints"
57+
}
58+
},
59+
"definitions": {
60+
"EndpointProperties": {
61+
"type": "object",
62+
"properties": {
63+
"resourceId": {
64+
"type": "string",
65+
"description": "The resource Id of the connectivity endpoint (optional)."
66+
},
67+
"type": {
68+
"oneOf": [
69+
{
70+
"type": "string",
71+
"enum": [
72+
"default",
73+
"custom"
74+
]
75+
},
76+
{
77+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
78+
}
79+
],
80+
"description": "The type of endpoint."
81+
}
82+
},
83+
"required": [
84+
"type"
85+
],
86+
"description": "Endpoint details"
87+
},
88+
"SystemData": {
89+
"type": "object",
90+
"properties": {
91+
"createdAt": {
92+
"type": "string",
93+
"format": "date-time",
94+
"description": "The timestamp of resource creation (UTC)."
95+
},
96+
"createdBy": {
97+
"type": "string",
98+
"description": "The identity that created the resource."
99+
},
100+
"createdByType": {
101+
"oneOf": [
102+
{
103+
"type": "string",
104+
"enum": [
105+
"User",
106+
"Application",
107+
"ManagedIdentity",
108+
"Key"
109+
]
110+
},
111+
{
112+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
113+
}
114+
],
115+
"description": "The type of identity that created the resource."
116+
},
117+
"lastModifiedAt": {
118+
"type": "string",
119+
"format": "date-time",
120+
"description": "The timestamp of resource last modification (UTC)"
121+
},
122+
"lastModifiedBy": {
123+
"type": "string",
124+
"description": "The identity that last modified the resource."
125+
},
126+
"lastModifiedByType": {
127+
"oneOf": [
128+
{
129+
"type": "string",
130+
"enum": [
131+
"User",
132+
"Application",
133+
"ManagedIdentity",
134+
"Key"
135+
]
136+
},
137+
{
138+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
139+
}
140+
],
141+
"description": "The type of identity that last modified the resource."
142+
}
143+
},
144+
"description": "Metadata pertaining to creation and last modification of the resource."
145+
}
146+
}
147+
}

0 commit comments

Comments
 (0)