Skip to content

Commit 8e6c75b

Browse files
AndresZourelliAlanceremsyyc
authored
[Hub Generated] Review request for Microsoft.AzureActiveDirectory to add version preview/2023-05-17-preview (#24129)
* Adds base for updating Microsoft.AzureActiveDirectory from version preview/2023-01-18-preview to version 2023-05-17-preview * Updates readme * Updates API version in new specs and examples * add ciam resource * fix examples * fix require parameter in create example * fix body * add provisioning state and fix date * fixes * more fixes * remove delete response body * more fixes * more fixes * change version * revert to v5 * update to common type for ciam * unify resources * fix properties * more changes * linting fixes * update ciam specific links * fix name * add note * fix errors * fix default error * fix array * fix error again * remove error unneded property * fix linting * fix spelling * fix regex and make field required * change ciam resource name and rebrand info * fix text * fix issues * revert entra rename * add async operation endpoints * fix lint * more lint fixes * remove async endpoints * revert error changes for apis that didn't chagne * revert resource name change * fix operationsStatus to operationStatus * use TrackResource Common * revert location change * remove trackedresource type * fix SDK azure-sdk-for-go CI * Update readme.python.md --------- Co-authored-by: Alancere <[email protected]> Co-authored-by: Yuchao Yan <[email protected]>
1 parent 286b14c commit 8e6c75b

26 files changed

+2631
-6
lines changed

custom-words.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3874,9 +3874,12 @@ vectorizers
38743874
Entra
38753875
CapacityReservationGroup
38763876
CapacityReservationGroups
3877+
Paas
3878+
PAAS
3879+
ciem
38773880
capacityreservationgroup
38783881
capacityreservationgroups
3882+
ciam
3883+
CIAM
3884+
38793885

3880-
Paas
3881-
PAAS
3882-
ciem
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
4+
"api-version": "2023-05-17-preview",
5+
"resourceGroupName": "contosoResourceGroup",
6+
"resourceName": "contoso",
7+
"createCIAMTenantRequestBody": {
8+
"location": "United States",
9+
"sku": {
10+
"name": "Standard",
11+
"tier": "A0"
12+
},
13+
"properties": {
14+
"createTenantProperties": {
15+
"displayName": "Contoso",
16+
"countryCode": "US"
17+
}
18+
}
19+
}
20+
},
21+
"responses": {
22+
"200": {
23+
"body": {
24+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso",
25+
"name": "contoso",
26+
"type": "Microsoft.AzureActiveDirectory/ciamDirectories",
27+
"location": "United States",
28+
"sku": {
29+
"name": "Standard",
30+
"tier": "A0"
31+
},
32+
"properties": {
33+
"provisioningState": "Succeeded",
34+
"createTenantProperties": {
35+
"displayName": "Contoso",
36+
"countryCode": "US"
37+
},
38+
"billingConfig": {
39+
"billingType": "MAU",
40+
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM"
41+
},
42+
"domainName": "contoso.onmicrosoft.com",
43+
"tenantId": "00000000-0000-0000-0000-000000000000"
44+
},
45+
"tags": null,
46+
"systemData": {
47+
"createdBy": "[email protected]",
48+
"createdByType": "User",
49+
"createdAt": "2020-02-03T01:01:01.1075056Z",
50+
"lastModifiedBy": "[email protected]",
51+
"lastModifiedByType": "User",
52+
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z"
53+
}
54+
}
55+
},
56+
"201": {
57+
"headers": {
58+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/e70a6dd9-57ab-481e-9668-a6899e3f13f6/providers/Microsoft.AzureActiveDirectory/operationStatuses/f57cbcaf-5d23-495e-8414-43fe19cb9e82?api-version=2023-05-17-preview",
59+
"Retry-After": 60
60+
},
61+
"body": {
62+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso.onmicrosoft.com",
63+
"name": "contoso.onmicrosoft.com",
64+
"type": "Microsoft.AzureActiveDirectory/ciamDirectories",
65+
"location": "United States",
66+
"sku": {
67+
"name": "Standard",
68+
"tier": "A0"
69+
},
70+
"properties": {
71+
"provisioningState": "Provisioning",
72+
"createTenantProperties": {
73+
"displayName": "Contoso",
74+
"countryCode": "US"
75+
},
76+
"billingConfig": {
77+
"billingType": "MAU",
78+
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM"
79+
},
80+
"tenantId": "00000000-0000-0000-0000-000000000000"
81+
},
82+
"tags": null,
83+
"systemData": {
84+
"createdBy": "[email protected]",
85+
"createdByType": "User",
86+
"createdAt": "2020-02-03T01:01:01.1075056Z",
87+
"lastModifiedBy": "[email protected]",
88+
"lastModifiedByType": "User",
89+
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z"
90+
}
91+
}
92+
}
93+
}
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
4+
"api-version": "2023-05-17-preview",
5+
"resourceGroupName": "rg1",
6+
"resourceName": "contoso"
7+
},
8+
"responses": {
9+
"202": {
10+
"headers": {
11+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab346/providers/Microsoft.AzureActiveDirectory/operationStatuses/99999999-9999-9999-9999-999999999999",
12+
"Retry-After": "60"
13+
}
14+
},
15+
"204": {}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
4+
"api-version": "2023-05-17-preview",
5+
"resourceGroupName": "contosoResourceGroup",
6+
"resourceName": "contoso"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso",
12+
"name": "contoso",
13+
"type": "Microsoft.AzureActiveDirectory/ciamDirectories",
14+
"location": "United States",
15+
"sku": {
16+
"name": "Standard",
17+
"tier": "A0"
18+
},
19+
"properties": {
20+
"provisioningState": "Succeeded",
21+
"createTenantProperties": {
22+
"displayName": "Contoso",
23+
"countryCode": "US"
24+
},
25+
"billingConfig": {
26+
"billingType": "MAU",
27+
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM"
28+
},
29+
"domainName": "contoso.onmicrosoft.com",
30+
"tenantId": "00000000-0000-0000-0000-000000000000"
31+
},
32+
"tags": null,
33+
"systemData": {
34+
"createdBy": "[email protected]",
35+
"createdByType": "User",
36+
"createdAt": "2020-02-03T01:01:01.1075056Z",
37+
"lastModifiedBy": "[email protected]",
38+
"lastModifiedByType": "User",
39+
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z"
40+
}
41+
}
42+
}
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
4+
"api-version": "2023-05-17-preview",
5+
"resourceGroupName": "contosoResourceGroup"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso",
13+
"name": "contoso",
14+
"type": "Microsoft.AzureActiveDirectory/ciamDirectories",
15+
"location": "United States",
16+
"sku": {
17+
"name": "Standard",
18+
"tier": "A0"
19+
},
20+
"properties": {
21+
"provisioningState": "Succeeded",
22+
"createTenantProperties": {
23+
"displayName": "Contoso",
24+
"countryCode": "US"
25+
},
26+
"billingConfig": {
27+
"billingType": "MAU",
28+
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM"
29+
},
30+
"domainName": "contoso.onmicrosoft.com",
31+
"tenantId": "00000000-0000-0000-0000-000000000000"
32+
},
33+
"tags": null,
34+
"systemData": {
35+
"createdBy": "[email protected]",
36+
"createdByType": "User",
37+
"createdAt": "2020-02-03T01:01:01.1075056Z",
38+
"lastModifiedBy": "[email protected]",
39+
"lastModifiedByType": "User",
40+
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z"
41+
}
42+
}
43+
],
44+
"nextLink": null
45+
}
46+
}
47+
}
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
4+
"api-version": "2023-05-17-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso",
12+
"name": "contoso",
13+
"type": "Microsoft.AzureActiveDirectory/ciamDirectories",
14+
"location": "United States",
15+
"sku": {
16+
"name": "Standard",
17+
"tier": "A0"
18+
},
19+
"properties": {
20+
"provisioningState": "Succeeded",
21+
"createTenantProperties": {
22+
"displayName": "Contoso",
23+
"countryCode": "US"
24+
},
25+
"billingConfig": {
26+
"billingType": "MAU",
27+
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM"
28+
},
29+
"domainName": "contoso.onmicrosoft.com",
30+
"tenantId": "00000000-0000-0000-0000-000000000000"
31+
},
32+
"tags": null,
33+
"systemData": {
34+
"createdBy": "[email protected]",
35+
"createdByType": "User",
36+
"createdAt": "2020-02-03T01:01:01.1075056Z",
37+
"lastModifiedBy": "[email protected]",
38+
"lastModifiedByType": "User",
39+
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z"
40+
}
41+
}
42+
],
43+
"nextLink": null
44+
}
45+
}
46+
}
47+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
4+
"api-version": "2023-05-17-preview",
5+
"resourceGroupName": "contosoResourceGroup",
6+
"resourceName": "contoso",
7+
"updateTenantRequestBody": {
8+
"sku": {
9+
"name": "PremiumP1"
10+
},
11+
"tags": {
12+
"key": "value"
13+
}
14+
}
15+
},
16+
"responses": {
17+
"200": {
18+
"body": {
19+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso",
20+
"name": "contoso",
21+
"type": "Microsoft.AzureActiveDirectory/ciamDirectories",
22+
"location": "United States",
23+
"sku": {
24+
"name": "PremiumP1",
25+
"tier": "A0"
26+
},
27+
"properties": {
28+
"provisioningState": "Succeeded",
29+
"createTenantProperties": {
30+
"displayName": "Contoso",
31+
"countryCode": "US"
32+
},
33+
"billingConfig": {
34+
"billingType": "MAU"
35+
},
36+
"domainName": "contoso.onmicrosoft.com",
37+
"tenantId": "00000000-0000-0000-0000-000000000000"
38+
},
39+
"tags": {
40+
"key": "value"
41+
},
42+
"systemData": {
43+
"createdBy": "[email protected]",
44+
"createdByType": "User",
45+
"createdAt": "2020-02-03T01:01:01.1075056Z",
46+
"lastModifiedBy": "[email protected]",
47+
"lastModifiedByType": "User",
48+
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z"
49+
}
50+
}
51+
}
52+
}
53+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882",
4+
"resourceGroupName": "contosoResourceGroup",
5+
"api-version": "2023-05-17-preview",
6+
"resourceName": "contoso.onmicrosoft.com",
7+
"resource": {
8+
"location": "United States",
9+
"name": "contoso.onmicrosoft.com",
10+
"properties": {
11+
"tenantId": "c963dd1a-9174-4c23-8bae-733d7f955492"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/guestUsages/contoso.onmicrosoft.com",
19+
"name": "contoso.onmicrosoft.com",
20+
"location": "United States",
21+
"tags": {},
22+
"type": "Microsoft.AzureActiveDirectory/GuestUsages",
23+
"properties": {
24+
"tenantId": "c963dd1a-9174-4c23-8bae-733d7f955492"
25+
}
26+
}
27+
}
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882",
4+
"resourceGroupName": "contosoResourceGroup",
5+
"api-version": "2023-05-17-preview",
6+
"resourceName": "contoso.onmicrosoft.com"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882",
4+
"resourceGroupName": "contosoResourceGroup",
5+
"api-version": "2023-05-17-preview",
6+
"resourceName": "contoso.onmicrosoft.com"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/guestUsages/contoso.onmicrosoft.com",
12+
"name": "contoso.onmicrosoft.com",
13+
"location": "United States",
14+
"tags": {},
15+
"type": "Microsoft.AzureActiveDirectory/GuestUsages",
16+
"properties": {
17+
"tenantId": "c963dd1a-9174-4c23-8bae-733d7f955492"
18+
}
19+
}
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)