-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <804873052@qq.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
- Loading branch information
Showing
26 changed files
with
2,631 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 94 additions & 0 deletions
94
...osoft.AzureActiveDirectory/preview/2023-05-17-preview/examples/CIAM/createCIAMTenant.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "2023-05-17-preview", | ||
"resourceGroupName": "contosoResourceGroup", | ||
"resourceName": "contoso", | ||
"createCIAMTenantRequestBody": { | ||
"location": "United States", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "A0" | ||
}, | ||
"properties": { | ||
"createTenantProperties": { | ||
"displayName": "Contoso", | ||
"countryCode": "US" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso", | ||
"name": "contoso", | ||
"type": "Microsoft.AzureActiveDirectory/ciamDirectories", | ||
"location": "United States", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "A0" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"createTenantProperties": { | ||
"displayName": "Contoso", | ||
"countryCode": "US" | ||
}, | ||
"billingConfig": { | ||
"billingType": "MAU", | ||
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM" | ||
}, | ||
"domainName": "contoso.onmicrosoft.com", | ||
"tenantId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"tags": null, | ||
"systemData": { | ||
"createdBy": "contosoAdmin@onmicrosoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-02-03T01:01:01.1075056Z", | ||
"lastModifiedBy": "contosoAdmin@onmicrosoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"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", | ||
"Retry-After": 60 | ||
}, | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso.onmicrosoft.com", | ||
"name": "contoso.onmicrosoft.com", | ||
"type": "Microsoft.AzureActiveDirectory/ciamDirectories", | ||
"location": "United States", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "A0" | ||
}, | ||
"properties": { | ||
"provisioningState": "Provisioning", | ||
"createTenantProperties": { | ||
"displayName": "Contoso", | ||
"countryCode": "US" | ||
}, | ||
"billingConfig": { | ||
"billingType": "MAU", | ||
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM" | ||
}, | ||
"tenantId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"tags": null, | ||
"systemData": { | ||
"createdBy": "contosoAdmin@onmicrosoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-02-03T01:01:01.1075056Z", | ||
"lastModifiedBy": "contosoAdmin@onmicrosoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...osoft.AzureActiveDirectory/preview/2023-05-17-preview/examples/CIAM/deleteCIAMTenant.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", | ||
"api-version": "2023-05-17-preview", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "contoso" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab346/providers/Microsoft.AzureActiveDirectory/operationStatuses/99999999-9999-9999-9999-999999999999", | ||
"Retry-After": "60" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...icrosoft.AzureActiveDirectory/preview/2023-05-17-preview/examples/CIAM/getCIAMTenant.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "2023-05-17-preview", | ||
"resourceGroupName": "contosoResourceGroup", | ||
"resourceName": "contoso" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso", | ||
"name": "contoso", | ||
"type": "Microsoft.AzureActiveDirectory/ciamDirectories", | ||
"location": "United States", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "A0" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"createTenantProperties": { | ||
"displayName": "Contoso", | ||
"countryCode": "US" | ||
}, | ||
"billingConfig": { | ||
"billingType": "MAU", | ||
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM" | ||
}, | ||
"domainName": "contoso.onmicrosoft.com", | ||
"tenantId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"tags": null, | ||
"systemData": { | ||
"createdBy": "contosoAdmin@onmicrosoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-02-03T01:01:01.1075056Z", | ||
"lastModifiedBy": "contosoAdmin@onmicrosoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...iveDirectory/preview/2023-05-17-preview/examples/CIAM/listCIAMTenantsByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "2023-05-17-preview", | ||
"resourceGroupName": "contosoResourceGroup" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso", | ||
"name": "contoso", | ||
"type": "Microsoft.AzureActiveDirectory/ciamDirectories", | ||
"location": "United States", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "A0" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"createTenantProperties": { | ||
"displayName": "Contoso", | ||
"countryCode": "US" | ||
}, | ||
"billingConfig": { | ||
"billingType": "MAU", | ||
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM" | ||
}, | ||
"domainName": "contoso.onmicrosoft.com", | ||
"tenantId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"tags": null, | ||
"systemData": { | ||
"createdBy": "contosoAdmin@onmicrosoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-02-03T01:01:01.1075056Z", | ||
"lastModifiedBy": "contosoAdmin@onmicrosoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...tiveDirectory/preview/2023-05-17-preview/examples/CIAM/listCIAMTenantsBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "2023-05-17-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso", | ||
"name": "contoso", | ||
"type": "Microsoft.AzureActiveDirectory/ciamDirectories", | ||
"location": "United States", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "A0" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"createTenantProperties": { | ||
"displayName": "Contoso", | ||
"countryCode": "US" | ||
}, | ||
"billingConfig": { | ||
"billingType": "MAU", | ||
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM" | ||
}, | ||
"domainName": "contoso.onmicrosoft.com", | ||
"tenantId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"tags": null, | ||
"systemData": { | ||
"createdBy": "contosoAdmin@onmicrosoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-02-03T01:01:01.1075056Z", | ||
"lastModifiedBy": "contosoAdmin@onmicrosoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
...osoft.AzureActiveDirectory/preview/2023-05-17-preview/examples/CIAM/updateCIAMTenant.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "2023-05-17-preview", | ||
"resourceGroupName": "contosoResourceGroup", | ||
"resourceName": "contoso", | ||
"updateTenantRequestBody": { | ||
"sku": { | ||
"name": "PremiumP1" | ||
}, | ||
"tags": { | ||
"key": "value" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/ciamDirectories/contoso", | ||
"name": "contoso", | ||
"type": "Microsoft.AzureActiveDirectory/ciamDirectories", | ||
"location": "United States", | ||
"sku": { | ||
"name": "PremiumP1", | ||
"tier": "A0" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"createTenantProperties": { | ||
"displayName": "Contoso", | ||
"countryCode": "US" | ||
}, | ||
"billingConfig": { | ||
"billingType": "MAU" | ||
}, | ||
"domainName": "contoso.onmicrosoft.com", | ||
"tenantId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"systemData": { | ||
"createdBy": "contosoAdmin@onmicrosoft.com", | ||
"createdByType": "User", | ||
"createdAt": "2020-02-03T01:01:01.1075056Z", | ||
"lastModifiedBy": "contosoAdmin@onmicrosoft.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-02-04T01:01:01.1075056Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...Microsoft.AzureActiveDirectory/preview/2023-05-17-preview/examples/GuestUsagesCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "contosoResourceGroup", | ||
"api-version": "2023-05-17-preview", | ||
"resourceName": "contoso.onmicrosoft.com", | ||
"resource": { | ||
"location": "United States", | ||
"name": "contoso.onmicrosoft.com", | ||
"properties": { | ||
"tenantId": "c963dd1a-9174-4c23-8bae-733d7f955492" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/guestUsages/contoso.onmicrosoft.com", | ||
"name": "contoso.onmicrosoft.com", | ||
"location": "United States", | ||
"tags": {}, | ||
"type": "Microsoft.AzureActiveDirectory/GuestUsages", | ||
"properties": { | ||
"tenantId": "c963dd1a-9174-4c23-8bae-733d7f955492" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...Microsoft.AzureActiveDirectory/preview/2023-05-17-preview/examples/GuestUsagesDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "contosoResourceGroup", | ||
"api-version": "2023-05-17-preview", | ||
"resourceName": "contoso.onmicrosoft.com" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...er/Microsoft.AzureActiveDirectory/preview/2023-05-17-preview/examples/GuestUsagesGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "contosoResourceGroup", | ||
"api-version": "2023-05-17-preview", | ||
"resourceName": "contoso.onmicrosoft.com" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/guestUsages/contoso.onmicrosoft.com", | ||
"name": "contoso.onmicrosoft.com", | ||
"location": "United States", | ||
"tags": {}, | ||
"type": "Microsoft.AzureActiveDirectory/GuestUsages", | ||
"properties": { | ||
"tenantId": "c963dd1a-9174-4c23-8bae-733d7f955492" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.