Skip to content

Commit

Permalink
adding activeDirectoryConnectors resource type (2022-03-01-preview) (A…
Browse files Browse the repository at this point in the history
…zure#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
  • Loading branch information
sasank-chaganty authored and FredericHeem committed Mar 7, 2022
1 parent 7c2d888 commit cb4264f
Show file tree
Hide file tree
Showing 39 changed files with 5,504 additions and 5 deletions.
3 changes: 3 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,7 @@ keyname
Keyschannel
keyspace
keyspaces
keytab
Keyvault
keyvaultproperties
keyvaulturi
Expand Down Expand Up @@ -1310,6 +1311,7 @@ mystore
myvolume
myworkbooks
nagios
nameserver
namespace's
nanoserver
Napoli
Expand All @@ -1324,6 +1326,7 @@ ndwi
NDWI
Neighbourhood
netapp
netbios
netbsd
netdev
Netdev
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
{
"swagger": "2.0",
"info": {
"version": "2022-03-01-preview",
"title": "AzureArcDataManagementClient",
"description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources."
},
"paths": {},
"definitions": {
"ActiveDirectoryConnectorListResult": {
"description": "A list of active directory connectors",
"type": "object",
"properties": {
"value": {
"description": "Array of results.",
"type": "array",
"items": {
"$ref": "#/definitions/ActiveDirectoryConnectorResource"
},
"readOnly": true
},
"nextLink": {
"description": "Link to retrieve next page of results.",
"type": "string",
"readOnly": true
}
}
},
"ActiveDirectoryConnectorResource": {
"type": "object",
"description": "Active directory connector resource",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
}
],
"properties": {
"properties": {
"$ref": "#/definitions/ActiveDirectoryConnectorProperties",
"description": "null",
"x-ms-client-flatten": false
}
},
"required": [
"properties"
]
},
"ActiveDirectoryConnectorProperties": {
"type": "object",
"description": "The properties of an Active Directory connector resource",
"properties": {
"provisioningState": {
"type": "string",
"description": "The provisioning state of the Active Directory connector resource.",
"readOnly": true
},
"spec": {
"$ref": "#/definitions/ActiveDirectoryConnectorSpec",
"description": "null",
"x-ms-client-flatten": false
},
"status": {
"$ref": "#/definitions/ActiveDirectoryConnectorStatus",
"description": "null",
"x-ms-client-flatten": false
}
},
"required": [
"spec"
]
},
"ActiveDirectoryConnectorSpec": {
"description": "The specifications of the AD Kubernetes resource.",
"type": "object",
"properties": {
"activeDirectory": {
"$ref": "#/definitions/ActiveDirectoryConnectorDomainDetails",
"description": "null",
"x-ms-client-flatten": false
},
"dns": {
"$ref": "#/definitions/ActiveDirectoryConnectorDNSDetails",
"description": "null",
"x-ms-client-flatten": false
}
},
"required": [
"activeDirectory",
"dns"
]
},
"ActiveDirectoryConnectorDomainDetails": {
"type": "object",
"description": "Active Directory domain details",
"properties": {
"realm": {
"type": "string",
"description": "Name (uppercase) of the Active Directory domain that this AD connector will be associated with."
},
"netbiosDomainName": {
"type": "string",
"description": "NETBIOS name of the Active Directory domain."
},
"domainControllers": {
"$ref": "#/definitions/ActiveDirectoryDomainControllers",
"description": "null",
"x-ms-client-flatten": false
}
},
"required": [
"realm",
"domainControllers"
]
},
"ActiveDirectoryConnectorDNSDetails": {
"type": "object",
"description": "DNS server details",
"properties": {
"domainName": {
"type": "string",
"description": "DNS domain name for which DNS lookups should be forwarded to the Active Directory DNS servers."
},
"nameserverIPAddresses": {
"type": "array",
"description": "List of Active Directory DNS server IP addresses.",
"items": {
"type": "string",
"minimum": 1
}
},
"replicas": {
"type": "integer",
"description": "Replica count for DNS proxy service. Default value is 1.",
"default": 1,
"format": "int64"
},
"preferK8sDnsForPtrLookups": {
"type": "boolean",
"description": "Flag indicating whether to prefer Kubernetes DNS server response over AD DNS server response for IP address lookups.",
"default": true
}
},
"required": [
"nameserverIPAddresses"
]
},
"ActiveDirectoryDomainControllers": {
"type": "object",
"description": "Details about the Active Directory domain controllers associated with this AD connector instance",
"properties": {
"primaryDomainController": {
"$ref": "#/definitions/ActiveDirectoryDomainController",
"description": "Information about the Primary Domain Controller (PDC) in the AD domain.",
"x-ms-client-flatten": false
},
"secondaryDomainControllers": {
"$ref": "#/definitions/ActiveDirectorySecondaryDomainControllers",
"description": "null",
"x-ms-client-flatten": false
}
},
"required": [
"primaryDomainController"
]
},
"ActiveDirectoryDomainController": {
"type": "object",
"description": "Information about a domain controller in the AD domain.",
"properties": {
"hostname": {
"type": "string",
"description": "Fully-qualified domain name of a domain controller in the AD domain."
}
},
"required": [
"hostname"
]
},
"ActiveDirectorySecondaryDomainControllers": {
"type": "array",
"description": "Information about the secondary domain controllers in the AD domain.",
"items": {
"$ref": "#/definitions/ActiveDirectoryDomainController",
"description": "List of the fully-qualified domain names of the secondary domain controllers in the AD domain.",
"x-ms-client-flatten": false
},
"x-ms-identifiers": [
"hostname"
]
},
"ActiveDirectoryConnectorStatus": {
"type": "object",
"description": "The status of the Kubernetes custom resource.",
"properties": {
"lastUpdateTime": {
"type": "string",
"description": "The time that the custom resource was last updated."
},
"observedGeneration": {
"type": "integer",
"format": "int64",
"description": "The version of the replicaSet associated with the AD connector custom resource."
},
"state": {
"type": "string",
"description": "The state of the AD connector custom resource."
}
},
"additionalProperties": {
"type": "object"
}
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"description": "Azure Active Directory OAuth2 Flow",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
}
}
Loading

0 comments on commit cb4264f

Please sign in to comment.