From b71d5834142d9fc395708f89ad1e6b159f1707bf Mon Sep 17 00:00:00 2001 From: Garrett Serack Date: Tue, 6 Aug 2019 11:54:24 -0700 Subject: [PATCH] Revert "removed unused profiles and sync (#5814)" This reverts commit cff4c05bbf9d03086067dbb8a0b34a9151b6ab3f. --- profiles/crawl-log.json | 24 --- profiles/definitions/hybrid-2018-03-01.md | 134 +++++++++++++++ profiles/definitions/latest-2019-04-30.md | 97 +++++------ profiles/definitions/profile-2017-03-09.md | 95 +++++++++++ profiles/definitions/stable-2019-01.md | 161 ++++++++++++++++++ profiles/readme.md | 3 + .../readme.enable-multi-api.md | 9 - 7 files changed, 439 insertions(+), 84 deletions(-) create mode 100644 profiles/definitions/hybrid-2018-03-01.md create mode 100644 profiles/definitions/profile-2017-03-09.md create mode 100644 profiles/definitions/stable-2019-01.md delete mode 100644 specification/customproviders/resource-manager/readme.enable-multi-api.md diff --git a/profiles/crawl-log.json b/profiles/crawl-log.json index 6a3ff4a4c16e..005f73bb509c 100644 --- a/profiles/crawl-log.json +++ b/profiles/crawl-log.json @@ -16926,30 +16926,6 @@ "providerNamespace": "microsoft.customerinsights", "name": "hubs/images" }, - { - "path": "/providers/Microsoft.CustomProviders/operations", - "apiVersion": "2018-09-01-preview", - "providerNamespace": "microsoft.customproviders", - "name": "operations" - }, - { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}", - "apiVersion": "2018-09-01-preview", - "providerNamespace": "microsoft.customproviders", - "name": "resourceProviders" - }, - { - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders", - "apiVersion": "2018-09-01-preview", - "providerNamespace": "microsoft.customproviders", - "name": "resourceProviders" - }, - { - "path": "/subscriptions/{subscriptionId}/providers/Microsoft.CustomProviders/resourceProviders", - "apiVersion": "2018-09-01-preview", - "providerNamespace": "microsoft.customproviders", - "name": "resourceProviders" - }, { "path": "/providers/Microsoft.DataBox/operations", "apiVersion": "2018-01-01", diff --git a/profiles/definitions/hybrid-2018-03-01.md b/profiles/definitions/hybrid-2018-03-01.md new file mode 100644 index 000000000000..59afbc7bfc58 --- /dev/null +++ b/profiles/definitions/hybrid-2018-03-01.md @@ -0,0 +1,134 @@ +# Hybrid Profile Definition - Azure Stack 1807 and Azure Cloud + +> see https://aka.ms/autorest + +Profile definition targeted for hybrid applications that could run on azure stack 1808 version and azure cloud. + +``` yaml +profiles: + hybrid-2018-03-01: + resources: + microsoft.authorization: + '2016-09-01': + - locks + '2015-07-01': + - operations + - permissions + - roleAssignments + - roleDefinitions + '2016-12-01': + - policyAssignments + - policyDefinitions + microsoft.compute: + '2017-03-30': + - availabilitySets + - locations + - disks + - diskoperations + - locations/diskoperations + - locations/publishers + - locations/operations + - locations/usages + - locations/vmSizes + - operations + - snapshots + - virtualMachines + - virtualMachines/extensions + - virtualMachineScaleSets + - virtualMachineScaleSets/extensions + - virtualMachineScaleSets/networkInterfaces + - virtualMachineScaleSets/virtualMachines + - virtualMachineScaleSets/virtualMachines/networkInterfaces + microsoft.keyvault: + '2016-10-01': + - operations + - vaults + - vaults/accessPolicies + - vaults/secrets + microsoft.network: + '2017-10-01': + - connections + - loadBalancers + - localNetworkGateways + - locations + - locations/operationResults + - locations/operations + - locations/usages + - networkInterfaces + - networkSecurityGroups + - operations + - publicIpAddresses + - routeTables + - virtualNetworkGateways + - virtualNetworks + '2016-04-01': + - dnsZones + microsoft.resources: + '2016-06-01': + - subscriptions + - subscriptions/locations + - tenants + '2018-02-01': + - deployments + - deployments/operations + - links + - locations + - operations + - providers + - resourceGroups + - resources + - subscriptions/operationresults + - subscriptions/providers + - subscriptions/resourceGroups + - subscriptions/resourceGroups/resources + - subscriptions/resources + - subscriptions/tagNames + - subscriptions/tagNames/tagValues + microsoft.storage: + '2016-01-01': + - checkNameAvailability + - locations + - locations/quotas + - operations + - storageAccounts + - usages + microsoft.web: + '2016-03-01': + - certificates + - deploymentLocations + - georegions + - operations + - recommendations + - runtimes + - validate + '2016-08-01': + - availableStacks + - checknameavailability + - ishostnameavailable + - isusernameavailable + - metadata + - publishingUsers + - sourceControls + - sites + - sites/domainOwnershipIdentifiers + - sites/extensions + - sites/hostNameBindings + - sites/instances + - sites/instances/extensions + - sites/metrics + - sites/metricDefinitions + - sites/recommendations + - sites/slots + - sites/slots/extensions + - sites/slots/hostNameBindings + - sites/slots/instances + - sites/slots/instances/extensions + - sites/slots/metrics + - sites/slots/metricDefinitions + '2016-09-01': + - serverFarms + - serverFarms/metrics + - serverFarms/metricDefinitions + - serverFarms/usages + operations: {} +``` \ No newline at end of file diff --git a/profiles/definitions/latest-2019-04-30.md b/profiles/definitions/latest-2019-04-30.md index ff90b94ef11c..d232011ad030 100644 --- a/profiles/definitions/latest-2019-04-30.md +++ b/profiles/definitions/latest-2019-04-30.md @@ -1258,10 +1258,6 @@ profiles: - checkNameAvailability - operations - skus - microsoft.customproviders: - 2018-09-01-preview: - - operations - - resourceProviders microsoft.deploymentmanager: 2018-09-01-preview: - artifactSources @@ -1882,6 +1878,7 @@ profiles: - operations - servers/configurations - servers/databases + - servers/firewallRules - servers/logFiles - servers/replicas - servers/restart @@ -1889,7 +1886,6 @@ profiles: - servers/virtualNetworkRules 2018-06-01-preview: - servers - - servers/firewallRules microsoft.managedservices: 2018-06-01-preview: - operations @@ -2031,20 +2027,6 @@ profiles: - clusters/applicationTypes/versions - clusters/applications - clusters/applications/services - microsoft.certificateregistration: - '2018-02-01': - - certificateOrders - - certificateOrders/certificates - - certificateOrders/reissue - - certificateOrders/renew - - certificateOrders/resendEmail - - certificateOrders/resendRequestEmails - - certificateOrders/retrieveCertificateActions - - certificateOrders/retrieveEmailHistory - - certificateOrders/retrieveSiteSeal - - certificateOrders/verifyDomainOwnership - - operations - - validateCertificateRegistrationInformation microsoft.domainregistration: '2018-02-01': - checkDomainAvailability @@ -2059,6 +2041,20 @@ profiles: '2015-08-01': - domains/operationresults - validateDomainRegistrationInformation + microsoft.certificateregistration: + '2018-02-01': + - certificateOrders + - certificateOrders/certificates + - certificateOrders/reissue + - certificateOrders/renew + - certificateOrders/resendEmail + - certificateOrders/resendRequestEmails + - certificateOrders/retrieveCertificateActions + - certificateOrders/retrieveEmailHistory + - certificateOrders/retrieveSiteSeal + - certificateOrders/verifyDomainOwnership + - operations + - validateCertificateRegistrationInformation microsoft.servicebus: 2018-01-01-preview: - namespaces @@ -2132,36 +2128,36 @@ profiles: - sku/regions '2014-09-01': - CheckNamespaceAvailability - microsoft.dbformysql: - '2017-12-01': - - checkNameAvailability - - locations/performanceTiers + microsoft.dbforpostgresql: + 2017-12-01-preview: - operations + - servers + - servers/Replicas - servers/configurations - servers/databases + '2017-12-01': + - checkNameAvailability + - locations/performanceTiers - servers/firewallRules - servers/logFiles - - servers/replicas - servers/restart - servers/securityAlertPolicies - servers/virtualNetworkRules + microsoft.dbformysql: 2017-12-01-preview: - - servers - microsoft.dbforpostgresql: - '2017-12-01': + - checkNameAvailability + - locations/performanceTiers - operations - servers + - servers/configurations + - servers/databases + - servers/firewallRules - servers/logFiles + '2017-12-01': + - servers/replicas - servers/restart - servers/securityAlertPolicies - servers/virtualNetworkRules - 2017-12-01-preview: - - checkNameAvailability - - locations/performanceTiers - - servers/Replicas - - servers/configurations - - servers/databases - - servers/firewallRules microsoft.hanaonazure: 2017-11-03-preview: - hanaInstances @@ -2190,11 +2186,6 @@ profiles: - profiles/generateSsoUri - profiles/getSupportedOptimizationTypes - validateProbe - microsoft.iotspaces: - 2017-10-01-preview: - - Graph - - checkNameAvailability - - operations microsoft.powerbidedicated: '2017-10-01': - capacities @@ -2204,6 +2195,11 @@ profiles: - locations/checkNameAvailability - operations - skus + microsoft.iotspaces: + 2017-10-01-preview: + - Graph + - checkNameAvailability + - operations microsoft.operationalinsights: '2017-10-01': - workspaces/query @@ -2250,17 +2246,16 @@ profiles: - workspaces/storageInsightConfigs microsoft.analysisservices: '2017-08-01': - - servers - - servers/resume - - servers/suspend - 2017-08-01-beta: - locations/checkNameAvailability - locations/operationresults - locations/operationstatuses - operations + - servers - servers/dissociateGateway - servers/listGatewayStatus + - servers/resume - servers/skus + - servers/suspend - skus microsoft.machinelearningcompute: 2017-08-01-preview: @@ -2278,14 +2273,6 @@ profiles: - childAvailabilityStatuses - childResources - operations - microsoft.azurestack: - '2017-06-01': - - operations - - registrations - - registrations/customerSubscriptions - - registrations/getactivationkey - - registrations/products - - registrations/products/listDetails microsoft.storsimple: '2017-06-01': - managers @@ -2375,6 +2362,14 @@ profiles: '2017-06-01': - domainServices - operations + microsoft.azurestack: + '2017-06-01': + - operations + - registrations + - registrations/customerSubscriptions + - registrations/getactivationkey + - registrations/products + - registrations/products/listDetails microsoft.machinelearningexperimentation: 2017-05-01-preview: - accounts diff --git a/profiles/definitions/profile-2017-03-09.md b/profiles/definitions/profile-2017-03-09.md new file mode 100644 index 000000000000..8d0776d3b8a5 --- /dev/null +++ b/profiles/definitions/profile-2017-03-09.md @@ -0,0 +1,95 @@ +# Hybrid Profile Definition - Azure Stack General Availability and Azure Cloud + +> see https://aka.ms/autorest + +Profile definition targeted for hybrid applications that could run on azure stack general availability version and azure cloud. + +``` yaml +profiles: + profile-2017-03-09: + resources: + microsoft.authorization: + '2015-01-01': + - locks + '2015-07-01': + - operations + - permissions + - roleAssignments + - roleDefinitions + 2015-10-01-preview: + - policyAssignments + - policyDefinitions + 2015-07-01-preview: + - providerOperations + microsoft.compute: + '2016-03-30': + - availabilitySets + - locations + - locations/publishers + - locations/operations + - locations/usages + - locations/vmSizes + - operations + - virtualMachines + - virtualMachines/extensions + - virtualMachineScaleSets + - virtualMachineScaleSets/extensions + - virtualMachineScaleSets/networkInterfaces + - virtualMachineScaleSets/virtualMachines + - virtualMachineScaleSets/virtualMachines/networkInterfaces + microsoft.keyvault: + '2016-10-01': + - operations + - vaults + - vaults/accessPolicies + - vaults/secrets + microsoft.network: + '2015-06-15': + - connections + - loadBalancers + - localNetworkGateways + - locations + - locations/operationResults + - locations/operations + - locations/usages + - networkInterfaces + - networkSecurityGroups + - operations + - publicIpAddresses + - routeTables + - virtualNetworkGateways + - virtualNetworks + '2016-04-01': + - dnsZones + microsoft.resources: + '2016-02-01': + - deployments + - deployments/operations + - locations + - operations + - providers + - resourceGroups + - resources + - tenants + '2016-09-01': + - links + '2016-06-01': + - subscriptions + - subscriptions/locations + - subscriptions/operationresults + - subscriptions/providers + - subscriptions/resourceGroups + - subscriptions/resourceGroups/resources + - subscriptions/resources + - subscriptions/tagNames + - subscriptions/tagNames/tagValues + microsoft.storage: + '2016-01-01': + - checkNameAvailability + - locations + - locations/quotas + - operations + - storageAccounts + - usages + operations: {} +``` \ No newline at end of file diff --git a/profiles/definitions/stable-2019-01.md b/profiles/definitions/stable-2019-01.md new file mode 100644 index 000000000000..c4af54bbf852 --- /dev/null +++ b/profiles/definitions/stable-2019-01.md @@ -0,0 +1,161 @@ +# Stable-2019-01 + +> see https://aka.ms/autorest + +This profile definition was created based on 2019-03-01-hybrid, 2018-03-01-hybrid and 2017-03-09-profile. + +``` yaml +profiles: + stable-2019-01: + resources: + microsoft.resources: + '2018-05-01': + - deployments + - deployments/operations + - links + - locations + - operations + - providers + - resourceGroups + - resources + - subscriptions + - subscriptions/locations + - subscriptions/operationresults + - subscriptions/providers + - subscriptions/resourceGroups + - subscriptions/resourceGroups/resources + - subscriptions/resources + - subscriptions/tagNames + - subscriptions/tagNames/tagValues + - tenants + microsoft.web: + '2018-02-01': + - certificates + - checknameavailability + - operations + - serverFarms + - sites + - sites/domainOwnershipIdentifiers + - sites/extensions + - sites/hostNameBindings + - sites/instances + - sites/instances/extensions + - sites/slots + - sites/slots/hostNameBindings + - sites/slots/instances + - sites/slots/instances/extensions + '2016-09-01': + - serverFarms/metricDefinitions + - serverFarms/metrics + - serverFarms/usages + '2016-08-01': + - availableStacks + - ishostnameavailable + - isusernameavailable + - metadata + - publishingUsers + - sites/metricDefinitions + - sites/metrics + - sites/recommendations + - sites/slots/extensions + - sites/slots/metricDefinitions + - sites/slots/metrics + - sourceControls + '2016-03-01': + - deploymentLocations + - georegions + - listSitesAssignedToHostName + - recommendations + - runtimes + - validate + microsoft.eventhub: + 2018-01-01-preview: + - checkNameAvailability + - namespaces + - operations + - sku + '2015-08-01': + - checkNamespaceAvailability + microsoft.insights: + '2018-01-01': + - metricDefinitions + - metrics + 2017-05-01-preview: + - diagnosticSettingCategories + - diagnosticSettings + '2015-04-01': + - eventCategories + - eventTypes + - operations + microsoft.compute: + '2017-12-01': + - availabilitySets + - images + - locations + - locations/operations + - locations/publishers + - locations/usages + - locations/vmSizes + - operations + - virtualMachineScaleSets + - virtualMachineScaleSets/extensions + - virtualMachineScaleSets/virtualMachines + - virtualMachineScaleSets/virtualMachines/networkInterfaces + - virtualMachines + - virtualMachines/extensions + - virtualmachineScaleSets/networkInterfaces + '2017-03-30': + - diskoperations + - disks + - locations/diskoperations + - snapshots + microsoft.network: + '2017-10-01': + - connections + - loadBalancers + - localNetworkGateways + - locations + - locations/operationResults + - locations/operations + - locations/usages + - networkInterfaces + - networkSecurityGroups + - operations + - publicIpAddresses + - routeTables + - virtualNetworkGateways + - virtualNetworks + '2016-04-01': + - dnsZones + microsoft.storage: + '2017-10-01': + - checkNameAvailability + - locations + - locations/quotas + - operations + - storageAccounts + - storageAccounts/blobServices + - storageAccounts/queueServices + - storageAccounts/tableServices + - usages + microsoft.authorization: + '2016-12-01': + - policyAssignments + - policyDefinitions + '2016-09-01': + - locks + 2015-07-01-preview: + - providerOperations + '2015-07-01': + - operations + - permissions + - roleAssignments + - roleDefinitions + microsoft.keyvault: + '2016-10-01': + - operations + - vaults + - vaults/accessPolicies + - vaults/secrets + operations: {} +``` \ No newline at end of file diff --git a/profiles/readme.md b/profiles/readme.md index 223b068ab868..01dc1876149e 100644 --- a/profiles/readme.md +++ b/profiles/readme.md @@ -6,9 +6,12 @@ ``` yaml require: + - $(this-folder)/definitions/hybrid-2018-03-01.md - $(this-folder)/definitions/hybrid-2019-03-01.md - $(this-folder)/definitions/latest-2019-04-01.md - $(this-folder)/definitions/latest-2019-04-24.md - $(this-folder)/definitions/latest-2019-04-29.md - $(this-folder)/definitions/latest-2019-04-30.md + - $(this-folder)/definitions/profile-2017-03-09.md + - $(this-folder)/definitions/stable-2019-01.md ``` diff --git a/specification/customproviders/resource-manager/readme.enable-multi-api.md b/specification/customproviders/resource-manager/readme.enable-multi-api.md deleted file mode 100644 index f75445ce4af0..000000000000 --- a/specification/customproviders/resource-manager/readme.enable-multi-api.md +++ /dev/null @@ -1,9 +0,0 @@ -# Multi-API support for AutoRest v3 generators - -> see https://aka.ms/autorest - -``` yaml -input-file: - - $(this-folder)/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json -require: $(this-folder)/../../../profiles/readme.md -```