diff --git a/custom-words.txt b/custom-words.txt index 7a3b4dbe0385..1c72a18c5668 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1,4 +1,4 @@ -A128CBCPAD +A128CBCPAD A192CBCPAD A256CBCPAD AADDS @@ -142,6 +142,7 @@ authorizationrules authpriv authprovider authproviders +Auths authsettings authsid autobackup @@ -2043,3 +2044,7 @@ ziplist Zoho zoneinfo zset +tpgs +ProviderHub +checkin +regionality 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 new file mode 100644 index 000000000000..02f04c14f828 --- /dev/null +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/cpimTenant.json @@ -0,0 +1,915 @@ +{ + "swagger": "2.0", + "info": { + "title": "B2CTenants", + "version": "2019-01-01-preview", + "description": "Manage the Azure resource for an Azure Active Directory B2C tenant." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/checkNameAvailability": { + "post": { + "tags": [ + "B2CTenants" + ], + "operationId": "B2CTenants_CheckNameAvailability", + "description": "Checks the availability and validity of a domain name for the tenant.", + "x-ms-examples": { + "Check name availability - available": { + "$ref": "./examples/checkNameAvailability-available.json" + }, + "Check name availability - taken": { + "$ref": "./examples/checkNameAvailability-taken.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "checkNameAvailabilityRequestBody", + "in": "body", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityRequestBody" + } + } + ], + "responses": { + "200": { + "description": "The result of checking for the name availability.", + "schema": { + "$ref": "#/definitions/NameAvailabilityResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories": { + "get": { + "description": "Get all the Azure AD B2C tenant resources in a resource group.", + "operationId": "B2CTenants_ListByResourceGroup", + "tags": [ + "B2CTenants" + ], + "x-ms-examples": { + "B2CTenants_ListByResourceGroup": { + "$ref": "./examples/listTenantsByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "List of Azure AD B2C tenants in resource group successfully retrieved.", + "schema": { + "$ref": "#/definitions/B2CTenantResourceList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/b2cDirectories": { + "get": { + "description": "Get all the Azure AD B2C tenant resources in a subscription.", + "operationId": "B2CTenants_ListBySubscription", + "tags": [ + "B2CTenants" + ], + "x-ms-examples": { + "B2CTenants_ListBySubscription": { + "$ref": "./examples/listTenantsBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure AD B2C tenant resources in subscription successfully retrieved.", + "schema": { + "$ref": "#/definitions/B2CTenantResourceList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}": { + "get": { + "description": "Get the Azure AD B2C tenant resource.", + "operationId": "B2CTenants_Get", + "tags": [ + "B2CTenants" + ], + "x-ms-examples": { + "Get tenant": { + "$ref": "./examples/getTenant.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure AD B2C tenant resource successfully retrieved.", + "schema": { + "$ref": "#/definitions/B2CTenantResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "patch": { + "description": "Update the Azure AD B2C tenant resource.", + "operationId": "B2CTenants_Update", + "tags": [ + "B2CTenants" + ], + "x-ms-examples": { + "Get tenant": { + "$ref": "./examples/updateTenant.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "updateTenantRequestBody", + "in": "body", + "schema": { + "$ref": "#/definitions/B2CTenantUpdateRequest" + } + } + ], + "responses": { + "200": { + "description": "Updated the Azure AD B2C tenant resource.", + "schema": { + "$ref": "#/definitions/B2CTenantResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "operationId": "B2CTenants_Create", + "description": "Initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource linked to a subscription.", + "x-ms-examples": { + "Create tenant": { + "$ref": "./examples/createTenant.json" + } + }, + "tags": [ + "B2CTenants" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + }, + { + "name": "createTenantRequestBody", + "in": "body", + "schema": { + "$ref": "#/definitions/CreateTenantRequestBody" + } + } + ], + "responses": { + "200": { + "description": "OK. The expected resource type once successfully created from the async request.", + "schema": { + "$ref": "#/definitions/B2CTenantResource" + } + }, + "201": { + "description": "OK. The expected resource type once successfully created from the async request.", + "schema": { + "$ref": "#/definitions/B2CTenantResource" + } + }, + "202": { + "description": "Tenant create request accepted. The Location header indicates the URL/location in which to check to get the async status of the operation.", + "headers": { + "Location": { + "description": "Contains the URL/location which can return the tenant provisioning status.", + "type": "string" + }, + "Retry-After": { + "description": "Contains the number of seconds to wait before checking the tenant provisioning status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "delete": { + "operationId": "B2CTenants_Delete", + "description": "Initiates an async operation to delete the Azure AD B2C tenant and Azure resource. The resource deletion can only happen as the last step in [the tenant deletion process](https://aka.ms/deleteB2Ctenant). ", + "x-ms-examples": { + "Delete tenant": { + "$ref": "./examples/deleteTenant.json" + } + }, + "tags": [ + "B2CTenants" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deletion successful." + }, + "202": { + "description": "Resource deletion request accepted. The Location header indicates the URL/location in which to check to get the async status of the operation. ", + "headers": { + "Location": { + "description": "Contains the URL/location which can return the deletion status.", + "type": "string" + }, + "Retry-After": { + "description": "Contains the number of seconds to wait before checking the deletion status.", + "type": "string" + } + } + }, + "204": { + "description": "Request successful. Resource does not exist. " + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/providers/Microsoft.AzureActiveDirectory/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "x-ms-examples": { + "operations_list": { + "$ref": "./examples/OperationsList.json" + } + }, + "description": "Lists the operations available from this provider.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describe the result of a successful operation.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/operations/{operationId}": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_GetAsyncStatus", + "description": "Gets the status of the async operation.", + "x-ms-examples": { + "Get Async Status": { + "$ref": "./examples/getAsyncOperationStatus.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "operationId", + "type": "string", + "in": "path", + "description": "The operation ID.", + "required": true + } + ], + "responses": { + "200": { + "description": "The async operation status.", + "schema": { + "$ref": "#/definitions/AsyncOperationStatus" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + } + }, + "definitions": { + "Operation": { + "description": "Microsoft.AzureActiveDirectory REST API operation.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string", + "readOnly": true + }, + "display": { + "description": "The object that represents the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft.AzureActiveDirectory.", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "Resource on which the operation is performed: GuestUsages, etc.", + "type": "string", + "readOnly": true + }, + "operation": { + "description": "Operation type: Read, write, delete, etc.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "Friendly name of the operation", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "Result of listing operations for the resourceProvider", + "properties": { + "value": { + "description": "List of cpim service operations supported by the Microsoft.AzureActiveDirectory resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + } + } + }, + "AsyncOperationStatus": { + "description": "The async operation status.", + "properties": { + "subscriptionId": { + "type": "string", + "description": "Subscription ID that the resource belongs to." + }, + "id": { + "type": "string", + "description": "The GET resource path for the operation." + }, + "name": { + "type": "string", + "description": "The operation ID." + }, + "status": { + "description": "The status of the operation.", + "type": "string", + "enum": [ + "Succeeded", + "Pending", + "Failed" + ], + "x-ms-enum": { + "name": "StatusType", + "modelAsString": false, + "values": [ + { + "value": "Succeeded", + "description": "The operation succeeded." + }, + { + "value": "Pending", + "description": "The operation is pending." + }, + { + "value": "Failed", + "description": "The operation failed." + } + ] + } + }, + "startTime": { + "type": "string", + "description": "Start time of the async operation." + }, + "endTime": { + "type": "string", + "description": "End time of the async operation." + }, + "properties": { + "$ref": "#/definitions/B2CTenantResourceProperties", + "x-ms-client-flatten": true, + "description": "The Azure AD B2C tenant resource properties" + }, + "error": { + "description": "Error response if async operation failed.", + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message." + } + } + } + } + }, + "B2CTenantResourceProperties": { + "description": "Properties of the Azure AD B2C tenant Azure resource.", + "type": "object", + "properties": { + "billingConfig": { + "type": "object", + "description": "The billing configuration for the tenant.", + "properties": { + "billingType": { + "type": "string", + "description": "The type of billing. Will be MAU for all new customers. If 'Auths', it can be updated to 'MAU'. Cannot be changed if value is 'MAU'. Learn more about Azure AD B2C billing at [aka.ms/b2cBilling](https://aka.ms/b2cbilling).", + "enum": [ + "MAU", + "Auths" + ], + "x-ms-enum": { + "name": "BillingType", + "modelAsString": false, + "values": [ + { + "value": "MAU", + "description": "Azure AD B2C usage is billed to a linked Azure subscription and uses a monthly active users (MAU) billing model." + }, + { + "value": "Auths", + "description": "Azure AD B2C usage is billed to a linked Azure subscription and uses number of authentications based billing." + } + ] + } + }, + "effectiveStartDateUtc": { + "type": "string", + "readOnly": true, + "description": "The data from which the billing type took effect" + } + } + }, + "tenantId": { + "type": "string", + "description": "An identifier of the B2C tenant." + } + } + }, + "B2CResourceSKU": { + "description": "SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at [aka.ms/b2cBilling](https://aka.ms/b2cBilling).", + "properties": { + "name": { + "type": "string", + "description": "The name of the SKU for the tenant.", + "enum": [ + "Standard", + "PremiumP1", + "PremiumP2" + ], + "x-ms-enum": { + "name": "B2CResourceSKUName", + "modelAsString": false, + "values": [ + { + "value": "Standard", + "description": "Azure AD B2C usage is billed to a linked Azure subscription and uses a monthly active users (MAU) billing model." + }, + { + "value": "PremiumP1", + "description": "Azure AD B2C usage is billed to a linked Azure subscription and uses number of authentications based billing." + }, + { + "value": "PremiumP2", + "description": "Azure AD B2C usage is billed to a linked Azure subscription and uses number of authentications based billing." + } + ] + } + }, + "tier": { + "type": "string", + "description": "The tier of the tenant.", + "enum": [ + "A0" + ], + "x-ms-enum": { + "name": "B2CResourceSKUTier", + "modelAsString": false, + "values": [ + { + "value": "A0", + "description": "The SKU tier used for all Azure AD B2C tenants." + } + ] + } + } + } + }, + "NameAvailabilityResponse": { + "description": "Response of the CheckNameAvailability operation.", + "properties": { + "message": { + "type": "string", + "description": "Description of the reason if name is not available." + }, + "nameAvailable": { + "type": "boolean", + "description": "True if the name is available and can be used to create a new tenant. Otherwise false." + }, + "reason": { + "$ref": "#/definitions/NameAvailabilityReason" + } + } + }, + "NameAvailabilityReason": { + "description": "Describes the reason for the 'nameAvailable' value.", + "type": "string", + "enum": [ + "AlreadyExists", + "Invalid" + ], + "x-ms-enum": { + "name": "NameAvailabilityReasonType", + "modelAsString": false, + "values": [ + { + "value": "AlreadyExists", + "description": "The name is already in use and is therefore unavailable." + }, + { + "value": "Invalid", + "description": "The name provided does not match the resource provider’s naming requirements (incorrect length, unsupported characters, etc.)." + } + ] + } + }, + "CheckNameAvailabilityRequestBody": { + "type": "object", + "description": "The information required to check the availability of the name for the tenant.", + "required": [ + "name", + "countryCode" + ], + "properties": { + "name": { + "type": "string", + "description": "The domain name to check for availability." + }, + "countryCode": { + "$ref": "#/definitions/CountryCode" + } + } + }, + "B2CTenantUpdateRequest": { + "type": "object", + "description": "The request body to update the Azure AD B2C tenant resource.", + "properties": { + "sku": { + "$ref": "#/definitions/B2CResourceSKU" + }, + "properties": { + "$ref": "#/definitions/B2CTenantResourceProperties", + "x-ms-client-flatten": true, + "description": "The Azure AD B2C tenant resource properties." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource Tags" + } + } + }, + "B2CTenantResource": { + "type": "object", + "required": [ + "location", + "sku" + ], + "x-ms-azure-resource": true, + "properties": { + "type": { + "type": "string", + "description": "The type of the B2C tenant resource.", + "readOnly": true, + "enum": [ + "Microsoft.AzureActiveDirectory/b2cDirectories" + ], + "x-ms-enum": { + "name": "TypeValue", + "modelAsString": false, + "values": [ + { + "value": "Microsoft.AzureActiveDirectory/b2cDirectories", + "description": "The resource type for Azure AD B2C tenant resource." + } + ] + } + }, + "sku": { + "$ref": "#/definitions/B2CResourceSKU" + }, + "properties": { + "$ref": "#/definitions/B2CTenantResourceProperties", + "x-ms-client-flatten": true, + "description": "The B2C tenant resource properties" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "An identifier that represents the B2C tenant resource." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the B2C tenant resource." + }, + "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'.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource Tags" + } + } + }, + "B2CTenantResourceList": { + "description": "The collection of Azure AD B2C tenant resources", + "properties": { + "value": { + "description": "List of guest usages resources", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/B2CTenantResource" + } + } + } + }, + "CreateTenantRequestBody": { + "type": "object", + "description": "The information needed to create the Azure AD B2C tenant and corresponding Azure resource, which is used for billing purposes.", + "required": [ + "location", + "sku", + "properties" + ], + "x-ms-azure-resource": true, + "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'." + }, + "properties": { + "type": "object", + "properties": { + "createTenantProperties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CreateTenantProperties" + } + } + }, + "sku": { + "$ref": "#/definitions/B2CResourceSKU" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource Tags" + } + } + }, + "CreateTenantProperties": { + "type": "object", + "description": "These properties are used to create the Azure AD B2C tenant. These properties are not part of the Azure resource.", + "properties": { + "displayName": { + "description": "The display name of the B2C tenant.", + "type": "string" + }, + "countryCode": { + "$ref": "#/definitions/CountryCode" + } + } + }, + "CountryCode": { + "type": "string", + "description": "Country code of Azure tenant (e.g. 'US'). Refer to [aka.ms/B2CDataResidency](https://aka.ms/B2CDataResidency) to see valid country codes and corresponding data residency locations. If you do not see a country code in an valid data residency location, choose one from the list." + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + }, + "description": "An error response for a resource management request." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ResourceNameParameter": { + "name": "resourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The initial domain name of the B2C tenant.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Version of the API to be used with the client request." + } + } +} 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 new file mode 100644 index 000000000000..bbd8bc4d1a1e --- /dev/null +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/OperationsList.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "resourceGroupName": "cpimClient", + "api-version": "2019-01-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "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", + "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/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/checkNameAvailability-available.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/checkNameAvailability-available.json new file mode 100644 index 000000000000..dc32fd60203c --- /dev/null +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/checkNameAvailability-available.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2019-01-01-preview", + "checkNameAvailabilityRequestBody": { + "name": "constoso.onmicrosoft.com", + "countryCode": "US" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "nameAvailable": true, + "reason": null, + "message": null + } + } + } +} diff --git a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/checkNameAvailability-taken.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/checkNameAvailability-taken.json new file mode 100644 index 000000000000..4c4046b009ad --- /dev/null +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/checkNameAvailability-taken.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2019-01-01-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." + } + } + } +} diff --git a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/createTenant.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/createTenant.json new file mode 100644 index 000000000000..29825f563794 --- /dev/null +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/createTenant.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2019-01-01-preview", + "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" + }, + "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 + } + }, + "201": { + "body": { + "type": "Microsoft.AzureActiveDirectory/b2cDirectories", + "sku": { + "name": "Standard", + "tier": "A0" + }, + "properties": { + "billingConfig": { + "billingType": "MAU" + }, + "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" + } + } + } +} diff --git a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/deleteTenant.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/deleteTenant.json new file mode 100644 index 000000000000..f38919d66987 --- /dev/null +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/deleteTenant.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2019-01-01-preview", + "resourceGroupName": "rg1", + "resourceName": "contoso.onmicrosoft.com" + }, + "responses": { + "200": {}, + "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" + } + }, + "204": {} + } +} diff --git a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/getAsyncOperationStatus.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/getAsyncOperationStatus.json new file mode 100644 index 000000000000..5180330221ad --- /dev/null +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/getAsyncOperationStatus.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2019-01-01-preview", + "operationId": "99999999-9999-9999-9999-999999999999" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/microsoft.azureactivedirectory/operations/99999999-9999-9999-9999-999999999999", + "name": "99999999-9999-9999-9999-999999999999", + "status": "Succeeded", + "startTime": "08/01/2019 00:00:00", + "endTime": "08/01/2019 01:00:00", + "properties": { + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "error": null + } + } + } +} diff --git a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/getTenant.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/getTenant.json new file mode 100644 index 000000000000..ad70c3daf258 --- /dev/null +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/getTenant.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2019-01-01-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" + }, + "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", + "location": "United States", + "tags": null + } + } + } +} diff --git a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/listTenantsByResourceGroup.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/listTenantsByResourceGroup.json new file mode 100644 index 000000000000..96348c395eab --- /dev/null +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/listTenantsByResourceGroup.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2019-01-01-preview", + "resourceGroupName": "contosoResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "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": "nickgomez97.onmicrosoft.com", + "location": "United States", + "tags": null + } + ] + } + } + } +} diff --git a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/listTenantsBySubscription.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/listTenantsBySubscription.json new file mode 100644 index 000000000000..f161e5cf5266 --- /dev/null +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/listTenantsBySubscription.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2019-01-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "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": "nickgomez97.onmicrosoft.com", + "location": "United States", + "tags": null + } + ] + } + } + } +} diff --git a/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/updateTenant.json b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/updateTenant.json new file mode 100644 index 000000000000..f300721b1364 --- /dev/null +++ b/specification/cpim/resource-manager/Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/examples/updateTenant.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2019-01-01-preview", + "resourceGroupName": "contosoResourceGroup", + "resourceName": "contoso.onmicrosoft.com", + "updateTenantRequestBody": { + "sku": { + "name": "PremiumP1" + }, + "properties": { + "billingConfig": { + "billingType": "MAU" + } + }, + "tags": { + "key": "value" + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AzureActiveDirectory/b2cDirectories", + "sku": { + "name": "PremiumP1", + "tier": "A0" + }, + "properties": { + "billingConfig": { + "billingType": "MAU" + }, + "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": { + "key": "value" + } + } + } + } +} diff --git a/specification/cpim/resource-manager/readme.csharp.md b/specification/cpim/resource-manager/readme.csharp.md index 38a02cf78765..3fc9b660693e 100644 --- a/specification/cpim/resource-manager/readme.csharp.md +++ b/specification/cpim/resource-manager/readme.csharp.md @@ -1,15 +1,8 @@ -## C - -These settings apply only when `--csharp` is specified on the command line. -Please also specify `--csharp-sdks-folder=`. - -```yaml $(csharp) csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION payload-flattening-threshold: 1 clear-output-folder: true client-side-validation: false - namespace: Microsoft.AzureActiveDirectory - output-folder: $(csharp-sdks-folder)/cpim/management/Microsoft.AzureActiveDirectory/GeneratedProtocol -``` + namespace: Microsoft.AzureADB2C + output-folder: $(csharp-sdks-folder)/azureadb2c/management/Microsoft.AzureADB2C/GeneratedProtocol \ No newline at end of file diff --git a/specification/cpim/resource-manager/readme.go.md b/specification/cpim/resource-manager/readme.go.md index 11bd72613e44..602be4bd4dc5 100644 --- a/specification/cpim/resource-manager/readme.go.md +++ b/specification/cpim/resource-manager/readme.go.md @@ -5,15 +5,32 @@ These settings apply only when `--go` is specified on the command line. ```yaml $(go) go: license-header: MICROSOFT_APACHE_NO_VERSION + namespace: azureadb2c clear-output-folder: true ``` +### Go multi-api + +```yaml $(go) && $(multiapi) +batch: + - tag: package-2020-05-01-preview + - tag: package-2019-01-01-preview +``` + +### Tag: package-2019-01-01-preview and go + +These settings apply only when `--tag=package-2019-01-01-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +```yaml $(tag) == 'package-2019-01-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/azureadb2c/mgmt/2019-01-01-preview/$(namespace) +``` + ### Tag: package-2020-05-01-preview and go These settings apply only when `--tag=package-2020-05-01-preview --go` is specified on the command line. -Please also specify `--go-sdks-folder=`. +Please also specify `--go-sdk-folder=`. ```yaml $(tag) == 'package-2020-05-01-preview' && $(go) -namespace: Microsoft.AzureActiveDirectory -output-folder: $(go-sdks-folder)/cpim/Generated +output-folder: $(go-sdk-folder)/services/preview/azureadb2c/mgmt/2020-05-01-preview/$(namespace) ``` diff --git a/specification/cpim/resource-manager/readme.md b/specification/cpim/resource-manager/readme.md index acc5245c5750..1390572c54e5 100644 --- a/specification/cpim/resource-manager/readme.md +++ b/specification/cpim/resource-manager/readme.md @@ -2,7 +2,7 @@ > see https://aka.ms/autorest -This is the AutoRest configuration file for cpim. +This is the AutoRest configuration file for azureadb2c. ## Getting Started @@ -22,13 +22,24 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor ### Basic Information -These are the global settings for the cpim. +These are the global settings for the azureadb2c APIs. ```yaml +title: CPIMConfigurationClient +description: CPIM Configuration Client openapi-type: arm tag: package-2020-05-01-preview ``` +### Tag: package-2019-01-01-preview + +These settings apply only when `--tag=package-2019-01-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2019-01-01-preview' +input-file: + - Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/cpimTenant.json +``` + ### Tag: package-2020-05-01-preview These settings apply only when `--tag=package-2020-05-01-preview` is specified on the command line. @@ -50,15 +61,8 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-sdk-for-java + - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-go - - repo: azure-sdk-for-js - - repo: azure-sdk-for-ruby - after_scripts: - - bundle install && rake arm:regen_all_profiles['azure_mgmt_cpim'] - - repo: azure-resource-manager-schemas - after_scripts: - - node sdkauto_afterscript.js cpim/resource-manager ``` ## Go @@ -69,19 +73,6 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.python.md](./readme.python.md) -## Ruby - -See configuration in [readme.ruby.md](./readme.ruby.md) - -## TypeScript - -See configuration in [readme.typescript.md](./readme.typescript.md) - ## CSharp See configuration in [readme.csharp.md](./readme.csharp.md) - -## AzureResourceSchema - -See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) - diff --git a/specification/cpim/resource-manager/readme.python.md b/specification/cpim/resource-manager/readme.python.md index 9b05d3b50643..f71cd3681047 100644 --- a/specification/cpim/resource-manager/readme.python.md +++ b/specification/cpim/resource-manager/readme.python.md @@ -1,21 +1,73 @@ ## Python These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -```yaml $(python) +```yaml !$(track2) python: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION payload-flattening-threshold: 2 - namespace: Microsoft.AzureActiveDirectory - package-name: cpim - package-version: 2020-05-01-preview + package-name: azure-mgmt-azureadb2c clear-output-folder: true + no-namespace-folders: true + python-base-folder: azureadb2c/azure-mgmt-azureadb2c/azure/mgmt/azureadb2c + python-base-namespace: azure.mgmt.azureadb2c +``` + +These settings apply only when `--track2` is specified on the command line. + +```yaml $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-azureadb2c +no-namespace-folders: true +python-base-folder: azureadb2c/azure-mgmt-azureadb2c/azure/mgmt/azureadb2c +``` + +### Python multi-api + +Generate all API versions currently shipped for this package + +```yaml $(multiapi) && !$(track2) +batch: + - tag: package-2020-05-01-preview + - tag: package-2019-01-01-preview +``` + +```yaml $(multiapi) && $(track2) +clear-output-folder: true +batch: + - tag: package-2020-05-01-preview + - tag: package-2019-01-01-preview + - multiapiscript: true ``` -```yaml $(python) +``` yaml $(multiapiscript) +output-folder: $(python-sdks-folder)/azureadb2c/azure-mgmt-azureadb2c/azure/mgmt/azureadb2c/ +clear-output-folder: false +perform-load: false +``` + +### Tag: package-2020-05-01-preview and python + +These settings apply only when `--tag=package-2020-05-01-preview --python` is specified on the command line. Please also specify `--python-sdks-folder=`. + +```yaml $(tag) =='package-2020-05-01-preview' +namespace: $(python-base-namespace).v2020_05_01_preview +output-folder: $(python-sdks-folder)/$(python-base-folder)/v2020_05_01_preview python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt/cpim + namespace: $(python-base-namespace).v2020_05_01_preview + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2020_05_01_preview +``` + +### Tag: package-2019-01-01-preview and python + +These settings apply only when `--tag=package-2019-01-01-preview --python` is specified on the command line. Please also specify `--python-sdks-folder=`. + +```yaml $(tag) =='package-2019-01-01-preview' +namespace: $(python-base-namespace).v2019_01_01_preview +output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_01_01_preview +python: + namespace: $(python-base-namespace).v2019_01_01_preview + output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_01_01_preview ``` diff --git a/specification/cpim/resource-manager/readme.ruby.md b/specification/cpim/resource-manager/readme.ruby.md deleted file mode 100644 index bf0a94227dc2..000000000000 --- a/specification/cpim/resource-manager/readme.ruby.md +++ /dev/null @@ -1,19 +0,0 @@ -## Ruby - -These settings apply only when `--ruby` is specified on the command line. - -```yaml -package-name: azure_mgmt_cpim -package-version: 2020-05-01-preview -azure-arm: true -``` - -### Tag: package-2020-05-01-preview and ruby - -These settings apply only when `--tag=package-2020-05-01-preview --ruby` is specified on the command line. -Please also specify `--ruby-sdks-folder=`. - -```yaml $(tag) == 'package-2020-05-01-preview' && $(ruby) -namespace: Microsoft.AzureActiveDirectory -output-folder: $(ruby-sdks-folder)/cpim -``` diff --git a/specification/cpim/resource-manager/readme.typescript.md b/specification/cpim/resource-manager/readme.typescript.md deleted file mode 100644 index ccbd03da212a..000000000000 --- a/specification/cpim/resource-manager/readme.typescript.md +++ /dev/null @@ -1,13 +0,0 @@ -## TypeScript - -These settings apply only when `--typescript` is specified on the command line. -Please also specify `--typescript-sdks-folder=`. - -```yaml $(typescript) -typescript: - azure-arm: true - package-name: "cpim" - output-folder: "$(typescript-sdks-folder)/packages/cpim" - payload-flattening-threshold: 1 - generate-metadata: true -``` diff --git a/specification/cpim/resource-manager/readme.azureresourceschema.md b/specification/cpim/resource-manager/reeadme.azureresourceschema.md similarity index 64% rename from specification/cpim/resource-manager/readme.azureresourceschema.md rename to specification/cpim/resource-manager/reeadme.azureresourceschema.md index b627d4375146..ca73aeee45de 100644 --- a/specification/cpim/resource-manager/readme.azureresourceschema.md +++ b/specification/cpim/resource-manager/reeadme.azureresourceschema.md @@ -7,6 +7,7 @@ These settings apply only when `--azureresourceschema` is specified on the comma ``` yaml $(azureresourceschema) && $(multiapi) batch: - tag: schema-azureactivedirectory-2020-05-01-preview + - tag: schema-azureactivedirectory-2019-01-01-preview ``` @@ -22,3 +23,14 @@ input-file: - Microsoft.AzureActiveDirectory/preview/2020-05-01-preview/cpim.json ``` + +### Tag: schema-azureactivedirectory-2019-01-01-preview and azureresourceschema + +``` yaml $(tag) == 'schema-azureactivedirectory-2019-01-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas + +# all the input files in this apiVersion +input-file: + - Microsoft.AzureActiveDirectory/preview/2019-01-01-preview/cpimTenant.json + +```