Skip to content

Commit 042469f

Browse files
Onboard a number of newer RPs for autogen
1 parent c77b251 commit 042469f

File tree

61 files changed

+53927
-177
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+53927
-177
lines changed

generator/autogenlist.ts

Lines changed: 51 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,11 @@ const disabledProviders: AutoGenConfig[] = [
1616
namespace: 'Microsoft.Advisor',
1717
disabledForAutogen: true,
1818
},
19-
{
20-
basePath: 'agrifood/resource-manager',
21-
namespace: 'Microsoft.AgFoodPlatform',
22-
disabledForAutogen: true,
23-
},
2419
{
2520
basePath: 'azure-kusto/resource-manager',
2621
namespace: 'Microsoft.Kusto',
2722
disabledForAutogen: true,
2823
},
29-
{
30-
basePath: 'azurestackhci/resource-manager',
31-
namespace: 'Microsoft.AzureStackHCI',
32-
disabledForAutogen: true,
33-
},
34-
{
35-
basePath: 'baremetalinfrastructure/resource-manager',
36-
namespace: 'Microsoft.BareMetalInfrastructure',
37-
disabledForAutogen: true,
38-
},
3924
{
4025
basePath: 'cloudshell/resource-manager',
4126
namespace: 'Microsoft.Portal',
@@ -46,92 +31,33 @@ const disabledProviders: AutoGenConfig[] = [
4631
namespace: 'Microsoft.ContainerService',
4732
disabledForAutogen: true,
4833
},
49-
{
50-
basePath: 'confidentialledger/resource-manager',
51-
namespace: 'Microsoft.ConfidentialLedger',
52-
disabledForAutogen: true,
53-
},
54-
{
55-
basePath: 'cost-management/resource-manager',
56-
namespace: 'Microsoft.CostManagement',
57-
disabledForAutogen: true,
58-
},
59-
{
60-
basePath: 'cpim/resource-manager',
61-
namespace: 'Microsoft.AzureActiveDirectory',
62-
disabledForAutogen: true,
63-
},
64-
{
65-
basePath: 'dataprotection/resource-manager',
66-
namespace: 'Microsoft.DataProtection',
67-
disabledForAutogen: true,
68-
},
6934
{
7035
// Disabled as the swagger spec contains a type ("DateTimeRfc1123") which autorest is unable to parse: https://github.com/Azure/autorest.azureresourceschema/issues/71
7136
basePath: 'domainservices/resource-manager',
7237
namespace: 'Microsoft.AAD',
7338
disabledForAutogen: true,
7439
},
75-
{
76-
basePath: 'dfp/resource-manager',
77-
namespace: 'Microsoft.Dynamics365Fraudprotection',
78-
disabledForAutogen: true,
79-
},
80-
{
81-
basePath: 'dnc/resource-manager',
82-
namespace: 'Microsoft.DelegatedNetwork',
83-
disabledForAutogen: true,
84-
},
8540
{
8641
basePath: 'dns/resource-manager',
8742
namespace: 'Microsoft.Network',
8843
disabledForAutogen: true,
8944
},
9045
{
91-
basePath: 'edgeorder/resource-manager',
92-
namespace: 'Microsoft.EdgeOrder',
93-
disabledForAutogen: true,
94-
},
95-
{
46+
// Disabled as the swagger spec contains a bug (enum mismatch)
9647
basePath: 'edgeorderpartner/resource-manager',
9748
namespace: 'Microsoft.EdgeOrderPartner',
9849
disabledForAutogen: true,
9950
},
100-
{
101-
basePath: 'fluidrelay/resource-manager',
102-
namespace: 'Microsoft.FluidRelay',
103-
disabledForAutogen: true,
104-
},
105-
{
106-
basePath: 'iotsecurity/resource-manager',
107-
namespace: 'Microsoft.IoTSecurity',
108-
disabledForAutogen: true,
109-
},
11051
{
11152
basePath: 'logic/resource-manager',
11253
namespace: 'Microsoft.Logic',
11354
disabledForAutogen: true,
11455
},
115-
{
116-
basePath: 'm365securityandcompliance/resource-manager',
117-
namespace: 'Microsoft.M365SecurityAndCompliance',
118-
disabledForAutogen: true,
119-
},
12056
{
12157
basePath: 'managedservices/resource-manager',
12258
namespace: 'Microsoft.ManagedServices',
12359
disabledForAutogen: true,
12460
},
125-
{
126-
basePath: 'marketplacenotifications/resource-manager',
127-
namespace: 'Microsoft.MarketplaceNotifications',
128-
disabledForAutogen: true,
129-
},
130-
{
131-
basePath: 'marketplaceordering/resource-manager',
132-
namespace: 'Microsoft.MarketplaceOrdering',
133-
disabledForAutogen: true,
134-
},
13561
{
13662
basePath: 'mediaservices/resource-manager',
13763
namespace: 'Microsoft.Media',
@@ -157,46 +83,11 @@ const disabledProviders: AutoGenConfig[] = [
15783
namespace: 'Microsoft.Network',
15884
disabledForAutogen: true,
15985
},
160-
{
161-
basePath: 'providerhub/resource-manager',
162-
namespace: 'Microsoft.ProviderHub',
163-
disabledForAutogen: true,
164-
},
165-
{
166-
basePath: 'quota/resource-manager',
167-
namespace: 'Microsoft.Quota',
168-
disabledForAutogen: true,
169-
},
170-
{
171-
basePath: 'resources/resource-manager',
172-
namespace: 'Microsoft.Features',
173-
disabledForAutogen: true,
174-
},
175-
{
176-
basePath: 'resources/resource-manager',
177-
namespace: 'Microsoft.Solutions',
178-
disabledForAutogen: true,
179-
},
180-
{
181-
basePath: 'securityandcompliance/resource-manager',
182-
namespace: 'Microsoft.SecurityAndCompliance',
183-
disabledForAutogen: true,
184-
},
18586
{
18687
basePath: 'service-map/resource-manager',
18788
namespace: 'Microsoft.OperationalInsights',
18889
disabledForAutogen: true,
18990
},
190-
{
191-
basePath: 'servicefabricmanagedclusters/resource-manager',
192-
namespace: 'Microsoft.ServiceFabricManagedClusters',
193-
disabledForAutogen: true,
194-
},
195-
{
196-
basePath: 'testbase/resource-manager',
197-
namespace: 'Microsoft.TestBase',
198-
disabledForAutogen: true,
199-
},
20091
{
20192
basePath: 'trafficmanager/resource-manager',
20293
namespace: 'Microsoft.Network',
@@ -362,6 +253,24 @@ const autoGenList: AutoGenConfig[] = [
362253
},
363254
],
364255
},
256+
{
257+
basePath: 'cost-management/resource-manager',
258+
namespace: 'Microsoft.CostManagement',
259+
resourceConfig: [
260+
{
261+
type: 'exports',
262+
scopes: ScopeType.ManagementGroup | ScopeType.Subcription | ScopeType.ResourceGroup,
263+
},
264+
{
265+
type: 'budgets',
266+
scopes: ScopeType.ManagementGroup | ScopeType.Subcription | ScopeType.ResourceGroup | ScopeType.Extension,
267+
},
268+
{
269+
type: 'views',
270+
scopes: ScopeType.Tenant | ScopeType.ManagementGroup | ScopeType.Subcription | ScopeType.ResourceGroup | ScopeType.Extension,
271+
},
272+
],
273+
},
365274
{
366275
basePath: 'customerlockbox/resource-manager',
367276
namespace: 'Microsoft.CustomerLockbox',
@@ -511,6 +420,20 @@ const autoGenList: AutoGenConfig[] = [
511420
basePath: 'iotspaces/resource-manager',
512421
namespace: 'Microsoft.IoTSpaces',
513422
},
423+
{
424+
basePath: 'iotsecurity/resource-manager',
425+
namespace: 'Microsoft.IoTSecurity',
426+
resourceConfig: [
427+
{
428+
type: 'sensors',
429+
scopes: ScopeType.Extension,
430+
},
431+
{
432+
type: 'sites',
433+
scopes: ScopeType.Extension,
434+
}
435+
]
436+
},
514437
{
515438
basePath: 'intune/resource-manager',
516439
namespace: 'Microsoft.Intune',
@@ -650,6 +573,20 @@ const autoGenList: AutoGenConfig[] = [
650573
basePath: 'powerbiembedded/resource-manager',
651574
namespace: 'Microsoft.PowerBI',
652575
},
576+
{
577+
basePath: 'quota/resource-manager',
578+
namespace: 'Microsoft.Quota',
579+
resourceConfig: [
580+
{
581+
type: 'quotaLimits',
582+
scopes: ScopeType.Extension,
583+
},
584+
{
585+
type: 'quotas',
586+
scopes: ScopeType.Extension,
587+
},
588+
],
589+
},
653590
{
654591
basePath: 'redhatopenshift/resource-manager',
655592
namespace: 'Microsoft.RedHatOpenShift',
@@ -689,6 +626,10 @@ const autoGenList: AutoGenConfig[] = [
689626
type: 'policyExemptions',
690627
scopes: ScopeType.ManagementGroup | ScopeType.Subcription | ScopeType.ResourceGroup | ScopeType.Extension,
691628
},
629+
{
630+
type: 'policyPricings',
631+
scopes: ScopeType.ManagementGroup | ScopeType.Subcription,
632+
},
692633
{
693634
type: 'locks',
694635
scopes: ScopeType.Subcription | ScopeType.ResourceGroup | ScopeType.Extension,
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2015-06-01/Microsoft.MarketplaceOrdering.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.MarketplaceOrdering",
5+
"description": "Microsoft MarketplaceOrdering Resource Types",
6+
"resourceDefinitions": {},
7+
"subscription_resourceDefinitions": {
8+
"offerTypes_publishers_offers_plans_agreements": {
9+
"type": "object",
10+
"properties": {
11+
"apiVersion": {
12+
"type": "string",
13+
"enum": [
14+
"2015-06-01"
15+
]
16+
},
17+
"name": {
18+
"oneOf": [
19+
{
20+
"type": "string",
21+
"pattern": "^.*/current$"
22+
},
23+
{
24+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
25+
}
26+
]
27+
},
28+
"properties": {
29+
"oneOf": [
30+
{
31+
"$ref": "#/definitions/AgreementProperties"
32+
},
33+
{
34+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
35+
}
36+
],
37+
"description": "Agreement Terms definition"
38+
},
39+
"type": {
40+
"type": "string",
41+
"enum": [
42+
"Microsoft.MarketplaceOrdering/offerTypes/publishers/offers/plans/agreements"
43+
]
44+
}
45+
},
46+
"required": [
47+
"apiVersion",
48+
"name",
49+
"properties",
50+
"type"
51+
],
52+
"description": "Microsoft.MarketplaceOrdering/offerTypes/publishers/offers/plans/agreements"
53+
}
54+
},
55+
"definitions": {
56+
"AgreementProperties": {
57+
"type": "object",
58+
"properties": {
59+
"accepted": {
60+
"oneOf": [
61+
{
62+
"type": "boolean"
63+
},
64+
{
65+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
66+
}
67+
],
68+
"description": "If any version of the terms have been accepted, otherwise false."
69+
},
70+
"licenseTextLink": {
71+
"type": "string",
72+
"description": "Link to HTML with Microsoft and Publisher terms."
73+
},
74+
"plan": {
75+
"type": "string",
76+
"description": "Plan identifier string of image being deployed."
77+
},
78+
"privacyPolicyLink": {
79+
"type": "string",
80+
"description": "Link to the privacy policy of the publisher."
81+
},
82+
"product": {
83+
"type": "string",
84+
"description": "Offer identifier string of image being deployed."
85+
},
86+
"publisher": {
87+
"type": "string",
88+
"description": "Publisher identifier string of image being deployed."
89+
},
90+
"retrieveDatetime": {
91+
"type": "string",
92+
"format": "date-time",
93+
"description": "Date and time in UTC of when the terms were accepted. This is empty if Accepted is false."
94+
},
95+
"signature": {
96+
"type": "string",
97+
"description": "Terms signature."
98+
}
99+
},
100+
"description": "Agreement Terms definition"
101+
}
102+
}
103+
}

0 commit comments

Comments
 (0)