-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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-01-18-preview (#22236) * Adds base for updating Microsoft.AzureActiveDirectory from version stable/2021-04-01 to version 2023-01-18-preview * Updates readme * Updates API version in new specs and examples * add new property and update fields to be required * fix documentation link * rename parameter * fixed missed properties * update golocal param * update property
- Loading branch information
1 parent
22d6be2
commit ae3809b
Showing
17 changed files
with
1,692 additions
and
8 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...Microsoft.AzureActiveDirectory/preview/2023-01-18-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-01-18-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-01-18-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-01-18-preview", | ||
"resourceName": "contoso.onmicrosoft.com" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...er/Microsoft.AzureActiveDirectory/preview/2023-01-18-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-01-18-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...AzureActiveDirectory/preview/2023-01-18-preview/examples/GuestUsagesResourceGroupGet.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,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "contosoResourceGroup", | ||
"api-version": "2023-01-18-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
....AzureActiveDirectory/preview/2023-01-18-preview/examples/GuestUsagesSubscriptionGet.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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"api-version": "2023-01-18-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...Microsoft.AzureActiveDirectory/preview/2023-01-18-preview/examples/GuestUsagesUpdate.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-01-18-preview", | ||
"resourceName": "contoso.onmicrosoft.com", | ||
"resource": { | ||
"tags": { | ||
"additionalProperty1": "additionalValue1" | ||
} | ||
} | ||
}, | ||
"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": { | ||
"additionalProperty1": "additionalValue1" | ||
}, | ||
"type": "Microsoft.AzureActiveDirectory/GuestUsages", | ||
"properties": { | ||
"tenantId": "c963dd1a-9174-4c23-8bae-733d7f955492" | ||
} | ||
} | ||
} | ||
} | ||
} |
105 changes: 105 additions & 0 deletions
105
...er/Microsoft.AzureActiveDirectory/preview/2023-01-18-preview/examples/OperationsList.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,105 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "cpimClient", | ||
"api-version": "2023-01-18-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.AzureActiveDirectory/b2cDirectories/write", | ||
"display": { | ||
"provider": "Microsoft Azure Active Directory", | ||
"resource": "B2C Directory", | ||
"operation": "Create or update B2C Dictory resource", | ||
"description": "Create or update B2C Dictory resource" | ||
}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.AzureActiveDirectory/b2cDirectories/read", | ||
"display": { | ||
"provider": "Microsoft Azure Active Directory", | ||
"resource": "B2C Directory", | ||
"operation": "View B2C Directory resource", | ||
"description": "View B2C Directory resource" | ||
}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.AzureActiveDirectory/b2cDirectories/delete", | ||
"display": { | ||
"provider": "Microsoft Azure Active Directory", | ||
"resource": "B2C Directory", | ||
"operation": "Delete B2C Directory resource", | ||
"description": "Delete B2C Directory resource" | ||
}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.AzureActiveDirectory/operations/read", | ||
"display": { | ||
"provider": "Microsoft Azure Active Directory", | ||
"resource": "B2C Directory", | ||
"operation": "Read all API operations", | ||
"description": "Read all API operations available for Microsoft.AzureActiveDirectory resource provider" | ||
}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.AzureActiveDirectory/register/action", | ||
"display": { | ||
"provider": "Microsoft Azure Active Directory", | ||
"resource": "B2C Directory", | ||
"operation": "Register Microsoft.AzureActiveDirectory resource provider", | ||
"description": "Register subscription for Microsoft.AzureActiveDirectory resource provider" | ||
}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.AzureActiveDirectory/b2ctenants/read", | ||
"display": { | ||
"provider": "Microsoft Azure Active Directory", | ||
"resource": "B2C Tenants", | ||
"operation": "List all B2C tenants of the user", | ||
"description": "Lists all B2C tenants where the user is a member" | ||
}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.AzureActiveDirectory/guestUsages/write", | ||
"display": { | ||
"provider": "Microsoft Azure Active Directory", | ||
"resource": "Guest Usages", | ||
"operation": "Create or update Guest Usages resource", | ||
"description": "Create or update Guest Usages resource" | ||
}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.AzureActiveDirectory/guestUsages/read", | ||
"display": { | ||
"provider": "Microsoft Azure Active Directory", | ||
"resource": "Guest Usages", | ||
"operation": "View Guest Usages resource", | ||
"description": "View Guest Usages resource" | ||
}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.AzureActiveDirectory/guestUsages/delete", | ||
"display": { | ||
"provider": "Microsoft Azure Active Directory", | ||
"resource": "Guest Usages", | ||
"operation": "Delete Guest Usages resource", | ||
"description": "Delete Guest Usages resource" | ||
}, | ||
"origin": "user,system" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...eActiveDirectory/preview/2023-01-18-preview/examples/checkNameAvailability-available.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,20 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "2023-01-18-preview", | ||
"checkNameAvailabilityRequestBody": { | ||
"name": "constoso.onmicrosoft.com", | ||
"countryCode": "US" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"nameAvailable": true, | ||
"reason": null, | ||
"message": null | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...AzureActiveDirectory/preview/2023-01-18-preview/examples/checkNameAvailability-taken.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,20 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "2023-01-18-preview", | ||
"checkNameAvailabilityRequestBody": { | ||
"name": "constoso.onmicrosoft.com", | ||
"countryCode": "US" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "AlreadyExists", | ||
"message": "A tenant with this domain name already exists. Please choose another." | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...ager/Microsoft.AzureActiveDirectory/preview/2023-01-18-preview/examples/createTenant.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,51 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "2023-01-18-preview", | ||
"resourceGroupName": "contosoResourceGroup", | ||
"resourceName": "contoso.onmicrosoft.com", | ||
"createTenantRequestBody": { | ||
"location": "United States", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "A0" | ||
}, | ||
"properties": { | ||
"createTenantProperties": { | ||
"displayName": "Contoso", | ||
"countryCode": "US", | ||
"isGoLocalTenant": true | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"type": "Microsoft.AzureActiveDirectory/b2cDirectories", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "A0" | ||
}, | ||
"properties": { | ||
"billingConfig": { | ||
"billingType": "MAU", | ||
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM" | ||
}, | ||
"isGoLocalTenant": true, | ||
"tenantId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/b2cDirectories/contoso.onmicrosoft.com", | ||
"name": "contoso.onmicrosoft.com", | ||
"location": "United States", | ||
"tags": null | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.AzureActiveDirectory/operations/99999999-9999-9999-9999-999999999999", | ||
"Retry-After": "60" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ager/Microsoft.AzureActiveDirectory/preview/2023-01-18-preview/examples/deleteTenant.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,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", | ||
"api-version": "2023-01-18-preview", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "contoso.onmicrosoft.com" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab346/providers/Microsoft.AzureActiveDirectory/operations/99999999-9999-9999-9999-999999999999", | ||
"Retry-After": "60" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...manager/Microsoft.AzureActiveDirectory/preview/2023-01-18-preview/examples/getTenant.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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"api-version": "2023-01-18-preview", | ||
"resourceGroupName": "contosoResourceGroup", | ||
"resourceName": "contoso.onmicrosoft.com" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"type": "Microsoft.AzureActiveDirectory/b2cDirectories", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "A0" | ||
}, | ||
"properties": { | ||
"billingConfig": { | ||
"billingType": "MAU", | ||
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM" | ||
}, | ||
"isGoLocalTenant": true, | ||
"tenantId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/b2cDirectories/contoso.onmicrosoft.com", | ||
"name": "contoso.onmicrosoft.com", | ||
"location": "United States", | ||
"tags": null | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.