Skip to content

Commit

Permalink
GA of 2019-01-01-preview and 2020-05-01-preview versions as one versi…
Browse files Browse the repository at this point in the history
…on: 2021-04-01 (Azure#16948)

* Adds base for updating Microsoft.AzureActiveDirectory from version preview/2019-01-01-preview to version 2021-04-01

* Updates readme

* Updates API version in new specs and examples

* combining two existing preview versions into one GA version

* touching up readme files

* removing changes to existing files

* copying over guestusages entries into new version

* addressing lint errors

* fixing additionalProperties

* fixing errors with example for guestusages

* fixing formatting issues

* using alternative form of additionalProperties

* fixing long running error tags for get

* adding flattening and correct folder path for go

* addressing systemData and operation api response schema issues

* fixing missing comma

* fixing reference to v2/types'

* fixing reference to v2/types'

* fixing reference to v2/types'

* removing operation properties

* Update specification/cpim/resource-manager/readme.md

Removing track1

Co-authored-by: Yuchao Yan <[email protected]>

* azureadexternalidentities name for python

* removing async operation

* adding 200 for delete operation and removing reference to nickgomez97

* making go version compatible with track2

* adding flag for track2 for go

* renaming service folder name

* fixing name miss for azureadexternalidentities from externalidentities in go file

* removing csharp file, not needed for now

* adding back csharp file and fixing GeneratedProtocol to Generated

* reverting folder name change - introduces too many errors

* modelAsString=true for enums

* sligth change to trigger checks again

Co-authored-by: Edwin Gomez Cuellar <[email protected]>
Co-authored-by: Edwin Gomez Cuellar <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>
  • Loading branch information
4 people authored and FredericHeem committed Mar 7, 2022
1 parent 7739ad5 commit d14303b
Show file tree
Hide file tree
Showing 23 changed files with 1,717 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"tenantId": "00000000-0000-0000-0000-000000000000"
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/b2cDirectories/contoso.onmicrosoft.com",
"name": "nickgomez97.onmicrosoft.com",
"name": "contoso.onmicrosoft.com",
"location": "United States",
"tags": null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"tenantId": "00000000-0000-0000-0000-000000000000"
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/b2cDirectories/contoso.onmicrosoft.com",
"name": "nickgomez97.onmicrosoft.com",
"name": "contoso.onmicrosoft.com",
"location": "United States",
"tags": null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"tenantId": "00000000-0000-0000-0000-000000000000"
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosoResourceGroup/providers/Microsoft.AzureActiveDirectory/b2cDirectories/contoso.onmicrosoft.com",
"name": "nickgomez97.onmicrosoft.com",
"name": "contoso.onmicrosoft.com",
"location": "United States",
"tags": null
}
Expand Down
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": "2021-04-01",
"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"
}
}
}
}
}
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": "2021-04-01",
"resourceName": "contoso.onmicrosoft.com"
},
"responses": {
"200": {},
"204": {}
}
}
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": "2021-04-01",
"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"
}
}
}
}
}
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": "2021-04-01"
},
"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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882",
"api-version": "2021-04-01"
},
"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"
}
}
]
}
}
}
}
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": "2021-04-01",
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
{
"parameters": {
"resourceGroupName": "cpimClient",
"api-version": "2021-04-01",
"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"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"api-version": "2021-04-01",
"checkNameAvailabilityRequestBody": {
"name": "constoso.onmicrosoft.com",
"countryCode": "US"
}
},
"responses": {
"200": {
"headers": {},
"body": {
"nameAvailable": true,
"reason": null,
"message": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"api-version": "2021-04-01",
"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."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"api-version": "2021-04-01",
"resourceGroupName": "contosoResourceGroup",
"resourceName": "contoso.onmicrosoft.com",
"createTenantRequestBody": {
"location": "United States",
"sku": {
"name": "Standard",
"tier": "A0"
},
"properties": {
"createTenantProperties": {
"displayName": "Contoso",
"countryCode": "US"
}
}
}
},
"responses": {
"200": {
"body": {
"type": "Microsoft.AzureActiveDirectory/b2cDirectories",
"sku": {
"name": "Standard",
"tier": "A0"
},
"properties": {
"billingConfig": {
"billingType": "MAU",
"effectiveStartDateUtc": "1/1/0001 12:00:00 AM"
},
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
"api-version": "2021-04-01",
"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": {}
}
}
Loading

0 comments on commit d14303b

Please sign in to comment.