From 29cb554b9301c34fe2593e1308929952b846bdfe Mon Sep 17 00:00:00 2001 From: Edwin Gomez Date: Wed, 24 Mar 2021 20:21:51 -0700 Subject: [PATCH 1/3] adding australia to possible resources and cleaning up operationslist.json --- .../2019-01-01-preview/cpimTenant.json | 4 +- .../examples/OperationsList.json | 48 +++---------------- .../examples/OperationsList.json | 36 -------------- specification/cpim/resource-manager/readme.md | 2 +- 4 files changed, 9 insertions(+), 81 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..df56135e3596 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 From 6dde974a9051336182a8dbb8b6b18e7c3ca0f2ac Mon Sep 17 00:00:00 2001 From: Edwin Gomez Date: Thu, 25 Mar 2021 23:37:31 -0700 Subject: [PATCH 2/3] trying to fix python issue --- specification/cpim/resource-manager/readme.python.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/cpim/resource-manager/readme.python.md b/specification/cpim/resource-manager/readme.python.md index f71cd3681047..2598f765409b 100644 --- a/specification/cpim/resource-manager/readme.python.md +++ b/specification/cpim/resource-manager/readme.python.md @@ -8,6 +8,7 @@ python: license-header: MICROSOFT_MIT_NO_VERSION payload-flattening-threshold: 2 package-name: azure-mgmt-azureadb2c + package-version: 1.0.0b2 clear-output-folder: true no-namespace-folders: true python-base-folder: azureadb2c/azure-mgmt-azureadb2c/azure/mgmt/azureadb2c From 80667e235ff991ad92622afd613686f38bbfb84b Mon Sep 17 00:00:00 2001 From: Edwin Gomez Date: Fri, 26 Mar 2021 01:03:59 -0700 Subject: [PATCH 3/3] fixing python issue --- specification/cpim/resource-manager/readme.md | 1 - specification/cpim/resource-manager/readme.python.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/cpim/resource-manager/readme.md b/specification/cpim/resource-manager/readme.md index df56135e3596..19c3fefa391b 100644 --- a/specification/cpim/resource-manager/readme.md +++ b/specification/cpim/resource-manager/readme.md @@ -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 2598f765409b..2bcf09fec915 100644 --- a/specification/cpim/resource-manager/readme.python.md +++ b/specification/cpim/resource-manager/readme.python.md @@ -8,7 +8,6 @@ python: license-header: MICROSOFT_MIT_NO_VERSION payload-flattening-threshold: 2 package-name: azure-mgmt-azureadb2c - package-version: 1.0.0b2 clear-output-folder: true no-namespace-folders: true python-base-folder: azureadb2c/azure-mgmt-azureadb2c/azure/mgmt/azureadb2c @@ -21,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 ```