Skip to content

Commit cdcd9d5

Browse files
adding activeDirectoryConnectors resource type (2022-03-01-preview) (#17825)
* Adds base for updating Microsoft.AzureArcData from version stable/2021-11-01 to version 2022-03-01-preview * Updates readme * Updates API version in new specs and examples * adding activeDirectoryConnectors resource type * setting integer format * added example files * ran prettier check * fixing model errors * removing tags * removing patch * adding array identifier * add array identifier * prettier fix * fixing linter errors and warnings * fixing linting errors * fixing more lint warnings * reverted changes to DC method names * updating operations list * merging ESU updates to swagger * changed description for keytab file * adding terms to custom words * simplifying AD domain controller model * adding postgres instances * removing duplicated property BasicLogin * fixing syntax error * fixing linting warnings
1 parent 26548ea commit cdcd9d5

39 files changed

+5504
-5
lines changed

custom-words.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,7 @@ keyname
10361036
Keyschannel
10371037
keyspace
10381038
keyspaces
1039+
keytab
10391040
Keyvault
10401041
keyvaultproperties
10411042
keyvaulturi
@@ -1310,6 +1311,7 @@ mystore
13101311
myvolume
13111312
myworkbooks
13121313
nagios
1314+
nameserver
13131315
namespace's
13141316
nanoserver
13151317
Napoli
@@ -1324,6 +1326,7 @@ ndwi
13241326
NDWI
13251327
Neighbourhood
13261328
netapp
1329+
netbios
13271330
netbsd
13281331
netdev
13291332
Netdev
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2022-03-01-preview",
5+
"title": "AzureArcDataManagementClient",
6+
"description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources."
7+
},
8+
"paths": {},
9+
"definitions": {
10+
"ActiveDirectoryConnectorListResult": {
11+
"description": "A list of active directory connectors",
12+
"type": "object",
13+
"properties": {
14+
"value": {
15+
"description": "Array of results.",
16+
"type": "array",
17+
"items": {
18+
"$ref": "#/definitions/ActiveDirectoryConnectorResource"
19+
},
20+
"readOnly": true
21+
},
22+
"nextLink": {
23+
"description": "Link to retrieve next page of results.",
24+
"type": "string",
25+
"readOnly": true
26+
}
27+
}
28+
},
29+
"ActiveDirectoryConnectorResource": {
30+
"type": "object",
31+
"description": "Active directory connector resource",
32+
"allOf": [
33+
{
34+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
35+
}
36+
],
37+
"properties": {
38+
"properties": {
39+
"$ref": "#/definitions/ActiveDirectoryConnectorProperties",
40+
"description": "null",
41+
"x-ms-client-flatten": false
42+
}
43+
},
44+
"required": [
45+
"properties"
46+
]
47+
},
48+
"ActiveDirectoryConnectorProperties": {
49+
"type": "object",
50+
"description": "The properties of an Active Directory connector resource",
51+
"properties": {
52+
"provisioningState": {
53+
"type": "string",
54+
"description": "The provisioning state of the Active Directory connector resource.",
55+
"readOnly": true
56+
},
57+
"spec": {
58+
"$ref": "#/definitions/ActiveDirectoryConnectorSpec",
59+
"description": "null",
60+
"x-ms-client-flatten": false
61+
},
62+
"status": {
63+
"$ref": "#/definitions/ActiveDirectoryConnectorStatus",
64+
"description": "null",
65+
"x-ms-client-flatten": false
66+
}
67+
},
68+
"required": [
69+
"spec"
70+
]
71+
},
72+
"ActiveDirectoryConnectorSpec": {
73+
"description": "The specifications of the AD Kubernetes resource.",
74+
"type": "object",
75+
"properties": {
76+
"activeDirectory": {
77+
"$ref": "#/definitions/ActiveDirectoryConnectorDomainDetails",
78+
"description": "null",
79+
"x-ms-client-flatten": false
80+
},
81+
"dns": {
82+
"$ref": "#/definitions/ActiveDirectoryConnectorDNSDetails",
83+
"description": "null",
84+
"x-ms-client-flatten": false
85+
}
86+
},
87+
"required": [
88+
"activeDirectory",
89+
"dns"
90+
]
91+
},
92+
"ActiveDirectoryConnectorDomainDetails": {
93+
"type": "object",
94+
"description": "Active Directory domain details",
95+
"properties": {
96+
"realm": {
97+
"type": "string",
98+
"description": "Name (uppercase) of the Active Directory domain that this AD connector will be associated with."
99+
},
100+
"netbiosDomainName": {
101+
"type": "string",
102+
"description": "NETBIOS name of the Active Directory domain."
103+
},
104+
"domainControllers": {
105+
"$ref": "#/definitions/ActiveDirectoryDomainControllers",
106+
"description": "null",
107+
"x-ms-client-flatten": false
108+
}
109+
},
110+
"required": [
111+
"realm",
112+
"domainControllers"
113+
]
114+
},
115+
"ActiveDirectoryConnectorDNSDetails": {
116+
"type": "object",
117+
"description": "DNS server details",
118+
"properties": {
119+
"domainName": {
120+
"type": "string",
121+
"description": "DNS domain name for which DNS lookups should be forwarded to the Active Directory DNS servers."
122+
},
123+
"nameserverIPAddresses": {
124+
"type": "array",
125+
"description": "List of Active Directory DNS server IP addresses.",
126+
"items": {
127+
"type": "string",
128+
"minimum": 1
129+
}
130+
},
131+
"replicas": {
132+
"type": "integer",
133+
"description": "Replica count for DNS proxy service. Default value is 1.",
134+
"default": 1,
135+
"format": "int64"
136+
},
137+
"preferK8sDnsForPtrLookups": {
138+
"type": "boolean",
139+
"description": "Flag indicating whether to prefer Kubernetes DNS server response over AD DNS server response for IP address lookups.",
140+
"default": true
141+
}
142+
},
143+
"required": [
144+
"nameserverIPAddresses"
145+
]
146+
},
147+
"ActiveDirectoryDomainControllers": {
148+
"type": "object",
149+
"description": "Details about the Active Directory domain controllers associated with this AD connector instance",
150+
"properties": {
151+
"primaryDomainController": {
152+
"$ref": "#/definitions/ActiveDirectoryDomainController",
153+
"description": "Information about the Primary Domain Controller (PDC) in the AD domain.",
154+
"x-ms-client-flatten": false
155+
},
156+
"secondaryDomainControllers": {
157+
"$ref": "#/definitions/ActiveDirectorySecondaryDomainControllers",
158+
"description": "null",
159+
"x-ms-client-flatten": false
160+
}
161+
},
162+
"required": [
163+
"primaryDomainController"
164+
]
165+
},
166+
"ActiveDirectoryDomainController": {
167+
"type": "object",
168+
"description": "Information about a domain controller in the AD domain.",
169+
"properties": {
170+
"hostname": {
171+
"type": "string",
172+
"description": "Fully-qualified domain name of a domain controller in the AD domain."
173+
}
174+
},
175+
"required": [
176+
"hostname"
177+
]
178+
},
179+
"ActiveDirectorySecondaryDomainControllers": {
180+
"type": "array",
181+
"description": "Information about the secondary domain controllers in the AD domain.",
182+
"items": {
183+
"$ref": "#/definitions/ActiveDirectoryDomainController",
184+
"description": "List of the fully-qualified domain names of the secondary domain controllers in the AD domain.",
185+
"x-ms-client-flatten": false
186+
},
187+
"x-ms-identifiers": [
188+
"hostname"
189+
]
190+
},
191+
"ActiveDirectoryConnectorStatus": {
192+
"type": "object",
193+
"description": "The status of the Kubernetes custom resource.",
194+
"properties": {
195+
"lastUpdateTime": {
196+
"type": "string",
197+
"description": "The time that the custom resource was last updated."
198+
},
199+
"observedGeneration": {
200+
"type": "integer",
201+
"format": "int64",
202+
"description": "The version of the replicaSet associated with the AD connector custom resource."
203+
},
204+
"state": {
205+
"type": "string",
206+
"description": "The state of the AD connector custom resource."
207+
}
208+
},
209+
"additionalProperties": {
210+
"type": "object"
211+
}
212+
}
213+
},
214+
"securityDefinitions": {
215+
"azure_auth": {
216+
"type": "oauth2",
217+
"description": "Azure Active Directory OAuth2 Flow",
218+
"flow": "implicit",
219+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
220+
"scopes": {
221+
"user_impersonation": "impersonate your user account"
222+
}
223+
}
224+
}
225+
}

0 commit comments

Comments
 (0)