Skip to content

Commit

Permalink
AAD Domain Service 2021-05-01 API version (Azure#14415)
Browse files Browse the repository at this point in the history
* Copied latest version for base

* 2021-05-01 API changes

* Reuse CloudError definition from domainservices.json

* Fixed ref path

* filename ref fix
  • Loading branch information
caalmont authored and mkarmark committed Jul 20, 2021
1 parent 3f7d274 commit 2eb7f3d
Show file tree
Hide file tree
Showing 16 changed files with 2,703 additions and 1 deletion.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
{
"parameters": {
"api-version": "2021-03-01",
"subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
"resourceGroupName": "TestResourceGroup",
"domainServiceName": "TestDomainService.com",
"domainService": {
"properties": {
"domainName": "TestDomainService.com",
"replicaSets": [
{
"location": "West US",
"subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS"
}
],
"ldapsSettings": {
"ldaps": "Enabled",
"pfxCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
"pfxCertificatePassword": "<pfxCertificatePassword>",
"externalAccess": "Enabled"
},
"domainSecuritySettings": {
"ntlmV1": "Enabled",
"tlsV1": "Disabled",
"syncNtlmPasswords": "Enabled"
},
"filteredSync": "Enabled",
"notificationSettings": {
"notifyGlobalAdmins": "Enabled",
"notifyDcAdmins": "Enabled",
"additionalRecipients": [
"jicha@microsoft.com",
"caalmont@microsoft.com"
]
}
}
}
},
"responses": {
"200": {
"description": "HTTP 200 (OK) if the operation was successful.",
"body": {
"id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com",
"name": "TestDomainService.com",
"type": "Microsoft.AAD/DomainServices",
"properties": {
"version": 2,
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "TestDomainService.com",
"deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
"syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a",
"replicaSets": [
{
"replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
"location": "West US",
"vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c",
"subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS",
"domainControllerIpAddress": [
"10.0.0.1",
"10.0.0.2"
],
"externalAccessIpAddress": "13.64.148.151",
"serviceStatus": "Running"
}
],
"ldapsSettings": {
"ldaps": "Enabled",
"publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
"certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3",
"certificateNotAfter": "2018-02-15T21:43:21Z",
"externalAccess": "Enabled"
},
"domainSecuritySettings": {
"ntlmV1": "Enabled",
"tlsV1": "Disabled",
"syncNtlmPasswords": "Enabled"
},
"filteredSync": "Enabled",
"notificationSettings": {
"notifyGlobalAdmins": "Enabled",
"notifyDcAdmins": "Enabled",
"additionalRecipients": [
"jicha@microsoft.com",
"caalmont@microsoft.com"
]
},
"provisioningState": "Succeeded"
}
}
},
"201": {
"description": "HTTP 201 (Created) if the operation completed successfully.",
"body": {
"id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com",
"name": "TestDomainService.com",
"type": "Microsoft.AAD/DomainServices",
"properties": {
"version": 2,
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "TestDomainService.com",
"deploymentId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
"syncOwner": "4a619871-0150-41c4-aeb4-0b10deb7940a",
"replicaSets": [
{
"replicaSetId": "4a619871-0150-41c4-aeb4-0b10deb7940a",
"location": "West US",
"vnetSiteId": "99083198-a39c-469f-972d-59017e7f078c",
"subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS",
"domainControllerIpAddress": [
"10.0.0.1",
"10.0.0.2"
],
"externalAccessIpAddress": "13.64.148.151",
"serviceStatus": "Running"
}
],
"ldapsSettings": {
"ldaps": "Enabled",
"publicCertificate": "MIIDPDCCAiSgAwIBAgIQQUI9P6tq2p9OFIJa7DLNvTANBgkqhkiG9w0BAQsFADAgMR4w...",
"certificateThumbprint": "9154A390F0C387D679E0DD040701745CDFED67F3",
"certificateNotAfter": "2018-02-15T21:43:21Z",
"externalAccess": "Enabled"
},
"domainSecuritySettings": {
"ntlmV1": "Enabled",
"tlsV1": "Disabled",
"syncNtlmPasswords": "Enabled"
},
"filteredSync": "Enabled",
"notificationSettings": {
"notifyGlobalAdmins": "Enabled",
"notifyDcAdmins": "Enabled",
"additionalRecipients": [
"jicha@microsoft.com",
"caalmont@microsoft.com"
]
},
"provisioningState": "Succeeded"
}
}
},
"202": {
"description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
"body": {
"id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/DomainServices/TestDomainService.com",
"name": "TestDomainService.com",
"type": "Microsoft.AAD/DomainServices",
"properties": {
"version": 2,
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "TestDomainService.com",
"replicaSets": [
{
"location": "West US",
"subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestNetworkResourceGroup/providers/Microsoft.Network/virtualNetworks/TestVnetWUS/subnets/TestSubnetWUS"
}
],
"ldapsSettings": {
"ldaps": "Enabled",
"externalAccess": "Enabled"
},
"domainSecuritySettings": {
"ntlmV1": "Enabled",
"tlsV1": "Disabled",
"syncNtlmPasswords": "Enabled"
},
"filteredSync": "Enabled",
"notificationSettings": {
"notifyGlobalAdmins": "Enabled",
"notifyDcAdmins": "Enabled",
"additionalRecipients": [
"jicha@microsoft.com",
"caalmont@microsoft.com"
]
},
"provisioningState": "Accepted"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"parameters": {
"api-version": "2021-03-01",
"subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
"resourceGroupName": "OuContainerResourceGroup",
"domainServiceName": "OuContainer.com",
"ouContainerName": "OuContainer1",
"containerAccount": {
"accountName": "AccountName1",
"spn": "Spn1",
"password": "<password>"
}
},
"responses": {
"200": {
"description": "HTTP 200 (OK) if the operation was successful.",
"body": {
"id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1",
"name": "OuContainer.com/OuContainer1",
"type": "Microsoft.AAD/DomainServices/OuContainer",
"properties": {
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "OuContainer.com",
"deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B",
"containerId": "OuContainer1",
"accounts": [
{
"accountName": "AccountName1",
"spn": "Spn1"
},
{
"accountName": "AccountName2",
"spn": "Spn2"
}
],
"serviceStatus": "Running",
"provisioningState": "Succeeded"
}
}
},
"201": {
"description": "HTTP 201 (Created) if the operation was successful.",
"body": {
"id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1",
"name": "OuContainer.com/OuContainer1",
"type": "Microsoft.AAD/DomainServices/OuContainer",
"properties": {
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "OuContainer.com",
"deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B",
"containerId": "OuContainer1",
"accounts": [
{
"accountName": "AccountName1",
"spn": "Spn1"
},
{
"accountName": "AccountName2",
"spn": "Spn2"
}
],
"serviceStatus": "Running",
"provisioningState": "Succeeded"
}
}
},
"202": {
"description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
"body": {
"id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/ouContainerResourceGroup/providers/Microsoft.AAD/domainServices/ouContainer.com/ouContainer/ouContainer1",
"name": "OuContainer.com/OuContainer1",
"type": "Microsoft.AAD/DomainServices/OuContainer",
"properties": {
"tenantId": "3f8cd22c-7b32-48aa-a01c-f533133b1def",
"domainName": "OuContainer.com",
"deploymentId": "0FC50BDB-AC45-48E4-BC92-F0651EA0687B",
"containerId": "OuContainer1",
"accounts": [
{
"accountName": "AccountName1",
"spn": "Spn1"
},
{
"accountName": "AccountName2",
"spn": "Spn2"
}
],
"serviceStatus": "Running",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"api-version": "2021-03-01",
"subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
"resourceGroupName": "TestResourceGroup",
"domainServiceName": "TestDomainService.com"
},
"responses": {
"202": {
"description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
},
"204": {
"description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed."
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"api-version": "2021-03-01",
"subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
"resourceGroupName": "OuContainerResourceGroup",
"domainServiceName": "OuContainer.com",
"ouContainerName": "OuContainer1"
},
"responses": {
"200": {
"description": "HTTP 200 (OK) if the operation was successful."
},
"202": {
"description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
},
"204": {
"description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed."
}
}
}
Loading

0 comments on commit 2eb7f3d

Please sign in to comment.