@@ -14,56 +14,58 @@ internal class ProviderConfiguration
14
14
15
15
static ProviderConfiguration ( )
16
16
{
17
- RegisterConfiguration ( "Microsoft.Automation/automationAccounts " , "2020-01-13-preview" ) ;
18
- RegisterConfiguration ( "Microsoft.AppConfiguration/configurationStores " , "2020-06-01" ) ;
19
- RegisterConfiguration ( "Microsoft.Batch/batchAccounts" , "2020-03-01" ) ;
20
- RegisterConfiguration ( "Microsoft.Cache/redisEnterprise" , "2021-03-01" ) ;
21
- RegisterConfiguration ( "Microsoft.CognitiveServices/accounts" , "2017-04-18" ) ;
22
- RegisterConfiguration ( "Microsoft.Compute/diskAccesses" , "2020-09-30" ) ;
23
- RegisterConfiguration ( "Microsoft.ContainerRegistry/registries" , "2019-12-01-preview" ) ;
24
- RegisterConfiguration ( "Microsoft.DBforMySQL /servers" , "2018-06-01" ) ;
25
- RegisterConfiguration ( "Microsoft.DBforMariaDB /servers" , "2018-06-01" ) ;
26
- RegisterConfiguration ( "Microsoft.DBforPostgreSQL/servers" , "2018-06-01" ) ;
27
- RegisterConfiguration ( "Microsoft.Devices/IotHubs" , "2020-03-01" ) ;
28
- RegisterConfiguration ( "Microsoft.DocumentDB/databaseAccounts " , "2019-08 -01-preview" ) ;
29
- RegisterConfiguration ( "Microsoft.DigitalTwins/digitalTwinsInstances " , "2020-12 -01" ) ;
30
- RegisterConfiguration ( "Microsoft.EventGrid/topics" , "2020-04-01-preview" ) ;
31
- RegisterConfiguration ( "Microsoft.EventGrid/domains" , "2020-04-01-preview" ) ;
32
- RegisterConfiguration ( "Microsoft.EventHub/namespaces" , "2018-01-01-preview" ) ;
33
- RegisterConfiguration ( "Microsoft.HealthcareApis/services" , "2020-03-30" , false ) ;
34
- RegisterConfiguration ( "Microsoft.Insights/privateLinkScopes" , "2019-10-17-preview" ) ;
35
- RegisterConfiguration ( "Microsoft.KeyVault/vaults" , "2018-02-14" , false ) ;
36
- RegisterConfiguration ( "Microsoft.Media/mediaservices" , "2020-05-01" ) ;
37
- RegisterConfiguration ( "Microsoft.Migrate/assessmentProjects" , "2020-05-01-preview" , false ) ;
38
- RegisterConfiguration ( "Microsoft.Migrate/migrateProjects" , "2020-06-01-preview" , false ) ;
39
- RegisterConfiguration ( "Microsoft.Network/applicationgateways" , "2020-05-01" ) ;
40
- RegisterConfiguration ( "Microsoft.OffAzure/masterSites" , "2020-07-07" , false ) ;
41
- RegisterConfiguration ( "Microsoft.Purview/accounts" , "2020-12-01-preview" ) ;
42
- RegisterConfiguration ( "Microsoft.Search/searchServices" , "2020-08-01" ) ;
43
- RegisterConfiguration ( "Microsoft.ServiceBus/namespaces" , "2018-01-01-preview" ) ;
44
- RegisterConfiguration ( "Microsoft.SignalRService/signalr" , "2020-05-01" , false ) ;
45
- RegisterConfiguration ( "Microsoft.Sql/servers" , "2018-06-01-preview" ) ;
46
- RegisterConfiguration ( "Microsoft.Storage/storageAccounts" , "2019-06-01" , false ) ;
47
- RegisterConfiguration ( "Microsoft.StorageSync/storageSyncServices" , "2020-03-01" ) ;
48
- RegisterConfiguration ( "Microsoft.Synapse/workspaces" , "2019-06-01-preview" ) ;
49
- RegisterConfiguration ( "Microsoft.Web/sites" , "2019-08-01" ) ;
50
- RegisterConfiguration ( "Microsoft.Web/hostingEnvironments" , "2020-10-01" ) ;
17
+ RegisterConfiguration ( "Microsoft.AppConfiguration/configurationStores " , "2020-06-01" , true , true ) ;
18
+ RegisterConfiguration ( "Microsoft.Automation/automationAccounts " , "2020-01-13-preview" , true , false ) ;
19
+ RegisterConfiguration ( "Microsoft.Batch/batchAccounts" , "2020-03-01" , true , true ) ;
20
+ RegisterConfiguration ( "Microsoft.Cache/redisEnterprise" , "2021-03-01" , true , false ) ;
21
+ RegisterConfiguration ( "Microsoft.CognitiveServices/accounts" , "2017-04-18" , true , false ) ;
22
+ RegisterConfiguration ( "Microsoft.Compute/diskAccesses" , "2020-09-30" , true , false ) ;
23
+ RegisterConfiguration ( "Microsoft.ContainerRegistry/registries" , "2019-12-01-preview" , true , false ) ;
24
+ RegisterConfiguration ( "Microsoft.DBforMariaDB /servers" , "2018-06-01" , true , true ) ;
25
+ RegisterConfiguration ( "Microsoft.DBforMySQL /servers" , "2018-06-01" , true , true ) ;
26
+ RegisterConfiguration ( "Microsoft.DBforPostgreSQL/servers" , "2018-06-01" , true , true ) ;
27
+ RegisterConfiguration ( "Microsoft.Devices/IotHubs" , "2020-03-01" , true , true ) ;
28
+ RegisterConfiguration ( "Microsoft.DigitalTwins/digitalTwinsInstances " , "2020-12 -01" , true , true ) ;
29
+ RegisterConfiguration ( "Microsoft.DocumentDB/databaseAccounts " , "2019-08 -01-preview" , true , true ) ;
30
+ RegisterConfiguration ( "Microsoft.EventGrid/topics" , "2020-04-01-preview" , true , true ) ;
31
+ RegisterConfiguration ( "Microsoft.EventGrid/domains" , "2020-04-01-preview" , true , true ) ;
32
+ RegisterConfiguration ( "Microsoft.EventHub/namespaces" , "2018-01-01-preview" , true , false ) ;
33
+ RegisterConfiguration ( "Microsoft.HealthcareApis/services" , "2020-03-30" , false , true ) ;
34
+ RegisterConfiguration ( "Microsoft.Insights/privateLinkScopes" , "2019-10-17-preview" , true , true ) ;
35
+ RegisterConfiguration ( "Microsoft.KeyVault/vaults" , "2018-02-14" , false , false ) ;
36
+ RegisterConfiguration ( "Microsoft.Media/mediaservices" , "2020-05-01" , true , true ) ;
37
+ RegisterConfiguration ( "Microsoft.Migrate/assessmentProjects" , "2020-05-01-preview" , false , false ) ;
38
+ RegisterConfiguration ( "Microsoft.Migrate/migrateProjects" , "2020-06-01-preview" , false , false ) ;
39
+ RegisterConfiguration ( "Microsoft.Network/applicationgateways" , "2020-05-01" , true , false ) ;
40
+ RegisterConfiguration ( "Microsoft.OffAzure/masterSites" , "2020-07-07" , false , false ) ;
41
+ RegisterConfiguration ( "Microsoft.Purview/accounts" , "2020-12-01-preview" , true , true ) ;
42
+ RegisterConfiguration ( "Microsoft.Search/searchServices" , "2020-08-01" , true , false ) ;
43
+ RegisterConfiguration ( "Microsoft.ServiceBus/namespaces" , "2018-01-01-preview" , true , false ) ;
44
+ RegisterConfiguration ( "Microsoft.SignalRService/signalr" , "2020-05-01" , false , false ) ;
45
+ RegisterConfiguration ( "Microsoft.Sql/servers" , "2018-06-01-preview" , true , true ) ;
46
+ RegisterConfiguration ( "Microsoft.Storage/storageAccounts" , "2019-06-01" , false , false ) ;
47
+ RegisterConfiguration ( "Microsoft.StorageSync/storageSyncServices" , "2020-03-01" , true , false ) ;
48
+ RegisterConfiguration ( "Microsoft.Synapse/workspaces" , "2019-06-01-preview" , true , true ) ;
49
+ RegisterConfiguration ( "Microsoft.Web/sites" , "2019-08-01" , true , false ) ;
50
+ RegisterConfiguration ( "Microsoft.Web/hostingEnvironments" , "2020-10-01" , true , false ) ;
51
51
}
52
52
53
- private static void RegisterConfiguration ( string type , string apiVersion , bool hasConnectionsURI = true )
53
+ private static void RegisterConfiguration ( string type , string apiVersion , bool hasConnectionsURI = true , bool hasResourceURI = true )
54
54
{
55
55
ProviderConfiguration configuration = new ProviderConfiguration
56
56
{
57
57
Type = type ,
58
58
ApiVersion = apiVersion ,
59
- HasConnectionsURI = hasConnectionsURI
59
+ HasConnectionsURI = hasConnectionsURI ,
60
+ HasResourceURI = hasResourceURI
60
61
} ;
61
62
_configurations . Add ( type , configuration ) ;
62
63
}
63
64
64
65
public string Type { get ; set ; }
65
66
public string ApiVersion { get ; set ; }
66
67
public bool HasConnectionsURI { get ; set ; }
68
+ public bool HasResourceURI { get ; set ; }
67
69
68
70
public static ProviderConfiguration GetProviderConfiguration ( string type )
69
71
{
0 commit comments