Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAD Domain Services: Add 2022-12-01 API version #21567

Merged
merged 4 commits into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
{
"parameters": {
"api-version": "2022-12-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": [
"[email protected]",
"[email protected]"
]
}
}
}
},
"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": [
"[email protected]",
"[email protected]"
]
},
"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": [
"[email protected]",
"[email protected]"
]
},
"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": [
"[email protected]",
"[email protected]"
]
},
"provisioningState": "Accepted"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"parameters": {
"api-version": "2022-12-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,22 @@
{
"parameters": {
"api-version": "2022-12-01",
"subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
"resourceGroupName": "TestResourceGroup",
"domainServiceName": "TestDomainService.com"
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/domainServices/TestDomainService.com?api-version=2022-09-01"
},
"description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
},
"204": {
"headers": {
"Location": "https://management.azure.com/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/domainServices/TestDomainService.com?api-version=2022-09-01"
},
"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,26 @@
{
"parameters": {
"api-version": "2022-12-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": {
"headers": {
"Location": "https://management.azure.com/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/domainServices/TestDomainService.com?api-version=2022-09-01"
},
"description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
},
"204": {
"headers": {
"Location": "https://management.azure.com/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/TestResourceGroup/providers/Microsoft.AAD/domainServices/TestDomainService.com?api-version=2022-09-01"
},
"description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed."
}
}
}
Loading