From b2a3836d5280f65ce309b1227525d4f8b504c2c9 Mon Sep 17 00:00:00 2001 From: Edwin Gomez Date: Fri, 26 Mar 2021 01:28:25 -0700 Subject: [PATCH] [Hub Generated] Review request for Microsoft.AzureActiveDirectory to add version preview/2019-01-01-preview (#13621) * adding australia to possible resources and cleaning up operationslist.json * trying to fix python issue * fixing python issue --- .../2019-01-01-preview/cpimTenant.json | 4 +- .../examples/OperationsList.json | 48 +++---------------- .../examples/OperationsList.json | 36 -------------- specification/cpim/resource-manager/readme.md | 3 +- .../cpim/resource-manager/readme.python.md | 1 + 5 files changed, 10 insertions(+), 82 deletions(-) diff --git a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/cpimTenant.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/cpimTenant.json index 02f04c14f828..d6df4dc9c24d 100644 --- a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/cpimTenant.json +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/cpimTenant.json @@ -790,7 +790,7 @@ }, "location": { "type": "string", - "description": "The location in which the resource is hosted and data resides. Refer to [this documentation](https://aka.ms/B2CDataResidency) to see valid data residency locations. Please choose one of 'United States', 'Europe', and 'Asia Pacific'.", + "description": "The location in which the resource is hosted and data resides. Can be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia' (preview). Refer to [this documentation](https://aka.ms/B2CDataResidency) for more information.", "x-ms-mutability": [ "create", "read" @@ -830,7 +830,7 @@ "properties": { "location": { "type": "string", - "description": "The location in which the resource is hosted and data resides. Refer to [this documentation](https://aka.ms/B2CDataResidency) to see valid data residency locations. Please choose one of 'United States', 'Europe', and 'Asia Pacific'." + "description": "The location in which the resource is hosted and data resides. Can be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia' (preview). Refer to [this documentation](https://aka.ms/B2CDataResidency) for more information." }, "properties": { "type": "object", diff --git a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/OperationsList.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/OperationsList.json index bbd8bc4d1a1e..7c111a950876 100644 --- a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/OperationsList.json +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/OperationsList.json @@ -8,67 +8,31 @@ "200": { "body": { "value": [ - { - "name": "Microsoft.AzureActiveDirectory/register/action", - "display": { - "provider": "Microsoft.AzureActiveDirectory", - "resource": "Microsoft.AzureActiveDirectory Resource Provider", - "operation": "Registers the Microsoft.AzureActiveDirectory Resource Provider", - "description": "Registers the Microsoft.AzureActiveDirectory Resource Provider" - } - }, - { - "name": "Microsoft.AzureActiveDirectory/guestUsages/read", - "display": { - "provider": "Microsoft.AzureActiveDirectory", - "resource": "GuestUsagesResource", - "operation": "read", - "description": "Read call for Guest Usages Resource" - } - }, - { - "name": "Microsoft.AzureActiveDirectory/guestUsages/write", - "display": { - "provider": "Microsoft.AzureActiveDirectory", - "resource": "GuestUsagesResource", - "operation": "write", - "description": "Create or Update call for Guest Usages Resource" - } - }, - { - "name": "Microsoft.AzureActiveDirectory/guestUsages/delete", - "display": { - "provider": "Microsoft.AzureActiveDirectory", - "resource": "GuestUsagesResource", - "operation": "delete", - "description": "Delete call for Guest Usages Resource" - } - }, { "name": "Microsoft.AzureActiveDirectory/b2cDirectories/read", "display": { "provider": "Microsoft.AzureActiveDirectory", - "resource": "GuestUsagesResource", + "resource": "B2cDirectoriesResource", "operation": "read", - "description": "Read call for Guest Usages Resource" + "description": "Read call for Azure AD B2C tenant resource" } }, { "name": "Microsoft.AzureActiveDirectory/b2cDirectories/write", "display": { "provider": "Microsoft.AzureActiveDirectory", - "resource": "GuestUsagesResource", + "resource": "B2cDirectoriesResource", "operation": "write", - "description": "Create or Update call for Guest Usages Resource" + "description": "Create or Update call for Azure AD B2C tenant resource" } }, { "name": "Microsoft.AzureActiveDirectory/b2cDirectories/delete", "display": { "provider": "Microsoft.AzureActiveDirectory", - "resource": "GuestUsagesResource", + "resource": "B2cDirectoriesResource", "operation": "delete", - "description": "Delete call for Guest Usages Resource" + "description": "Delete call for Azure AD B2C tenant resource" } }, { diff --git a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2020-05-01-preview/examples/OperationsList.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2020-05-01-preview/examples/OperationsList.json index 6c14cad4c445..b8c848223600 100644 --- a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2020-05-01-preview/examples/OperationsList.json +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2020-05-01-preview/examples/OperationsList.json @@ -43,42 +43,6 @@ "operation": "delete", "description": "Delete call for Guest Usages Resource" } - }, - { - "name": "Microsoft.AzureActiveDirectory/b2cDirectories/read", - "display": { - "provider": "Microsoft.AzureActiveDirectory", - "resource": "GuestUsagesResource", - "operation": "read", - "description": "Read call for Guest Usages Resource" - } - }, - { - "name": "Microsoft.AzureActiveDirectory/b2cDirectories/write", - "display": { - "provider": "Microsoft.AzureActiveDirectory", - "resource": "GuestUsagesResource", - "operation": "write", - "description": "Create or Update call for Guest Usages Resource" - } - }, - { - "name": "Microsoft.AzureActiveDirectory/b2cDirectories/delete", - "display": { - "provider": "Microsoft.AzureActiveDirectory", - "resource": "GuestUsagesResource", - "operation": "delete", - "description": "Delete call for Guest Usages Resource" - } - }, - { - "name": "Microsoft.AzureActiveDirectory/checkNameAvailability", - "display": { - "provider": "Microsoft.AzureActiveDirectory", - "resource": "Check Name Availability", - "operation": "Get Check Name Availability", - "description": "Check if resource name is available." - } } ] } diff --git a/specification/cpim/resource-manager/readme.md b/specification/cpim/resource-manager/readme.md index 1390572c54e5..19c3fefa391b 100644 --- a/specification/cpim/resource-manager/readme.md +++ b/specification/cpim/resource-manager/readme.md @@ -28,7 +28,7 @@ These are the global settings for the azureadb2c APIs. title: CPIMConfigurationClient description: CPIM Configuration Client openapi-type: arm -tag: package-2020-05-01-preview +tag: package-2019-01-01-preview ``` ### Tag: package-2019-01-01-preview @@ -60,7 +60,6 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: - - repo: azure-sdk-for-python - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-go ``` diff --git a/specification/cpim/resource-manager/readme.python.md b/specification/cpim/resource-manager/readme.python.md index f71cd3681047..2bcf09fec915 100644 --- a/specification/cpim/resource-manager/readme.python.md +++ b/specification/cpim/resource-manager/readme.python.md @@ -20,6 +20,7 @@ These settings apply only when `--track2` is specified on the command line. azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-azureadb2c +package-version: 1.0.0b2 no-namespace-folders: true python-base-folder: azureadb2c/azure-mgmt-azureadb2c/azure/mgmt/azureadb2c ```