diff --git a/plugins/source/azure/client/client.go b/plugins/source/azure/client/client.go index 893a7f679ad6a1..c88b2146346c22 100644 --- a/plugins/source/azure/client/client.go +++ b/plugins/source/azure/client/client.go @@ -16,12 +16,12 @@ import ( "github.com/rs/zerolog" ) -const NamespaceMicrosoft_DBforMariaDB = "Microsoft.DBforMariaDB" -const NamespaceMicrosoft_KeyVault = "Microsoft.KeyVault" +const Namespacemicrosoft_dbformariadb = "microsoft.dbformariadb" +const Namespacemicrosoft_keyvault = "microsoft.keyvault" var otherNamespaces = []string{ - NamespaceMicrosoft_DBforMariaDB, - NamespaceMicrosoft_KeyVault, + Namespacemicrosoft_dbformariadb, + Namespacemicrosoft_keyvault, } var allNamespaces = append(autoGeneratedNamespaces, otherNamespaces...) @@ -103,7 +103,7 @@ func (c *Client) disocverResourceGroups(ctx context.Context) error { } for _, p := range providerPage.Value { if p.RegistrationState != nil && *p.RegistrationState == "Registered" { - c.registeredNamespaces[subID][*p.Namespace] = true + c.registeredNamespaces[subID][strings.ToLower(*p.Namespace)] = true } } } diff --git a/plugins/source/azure/client/namespaces.go b/plugins/source/azure/client/namespaces.go index 17a264ce14a951..79f6a3210c00fa 100644 --- a/plugins/source/azure/client/namespaces.go +++ b/plugins/source/azure/client/namespaces.go @@ -1,188 +1,182 @@ // Code generated by codegen0; DO NOT EDIT. package client -const NamespaceMicrosoft_AAD = "Microsoft.AAD" -const NamespaceMicrosoft_Aad = "Microsoft.Aad" -const NamespaceMicrosoft_Advisor = "Microsoft.Advisor" -const NamespaceMicrosoft_AnalysisServices = "Microsoft.AnalysisServices" -const NamespaceMicrosoft_ApiManagement = "Microsoft.ApiManagement" -const NamespaceMicrosoft_AppComplianceAutomation = "Microsoft.AppComplianceAutomation" -const NamespaceMicrosoft_AppConfiguration = "Microsoft.AppConfiguration" -const NamespaceMicrosoft_AppPlatform = "Microsoft.AppPlatform" -const NamespaceMicrosoft_Authorization = "Microsoft.Authorization" -const NamespaceMicrosoft_Automation = "Microsoft.Automation" -const NamespaceMicrosoft_AzureArcData = "Microsoft.AzureArcData" -const NamespaceMicrosoft_AzureData = "Microsoft.AzureData" -const NamespaceMicrosoft_Batch = "Microsoft.Batch" -const NamespaceMicrosoft_Billing = "Microsoft.Billing" -const NamespaceMicrosoft_BotService = "Microsoft.BotService" -const NamespaceMicrosoft_Capacity = "Microsoft.Capacity" -const NamespaceMicrosoft_Cdn = "Microsoft.Cdn" -const NamespaceMicrosoft_CertificateRegistration = "Microsoft.CertificateRegistration" -const NamespaceMicrosoft_CognitiveServices = "Microsoft.CognitiveServices" -const NamespaceMicrosoft_Compute = "Microsoft.Compute" -const NamespaceMicrosoft_Confluent = "Microsoft.Confluent" -const NamespaceMicrosoft_ConnectedVMwarevSphere = "Microsoft.ConnectedVMwarevSphere" -const NamespaceMicrosoft_ContainerInstance = "Microsoft.ContainerInstance" -const NamespaceMicrosoft_ContainerRegistry = "Microsoft.ContainerRegistry" -const NamespaceMicrosoft_ContainerService = "Microsoft.ContainerService" -const NamespaceMicrosoft_CostManagement = "Microsoft.CostManagement" -const NamespaceMicrosoft_CustomerInsights = "Microsoft.CustomerInsights" -const NamespaceMicrosoft_DBForPostgreSql = "Microsoft.DBForPostgreSql" -const NamespaceMicrosoft_DBforMySQL = "Microsoft.DBforMySQL" -const NamespaceMicrosoft_DBforPostgreSQL = "Microsoft.DBforPostgreSQL" -const NamespaceMicrosoft_Dashboard = "Microsoft.Dashboard" -const NamespaceMicrosoft_DataBox = "Microsoft.DataBox" -const NamespaceMicrosoft_DataBoxEdge = "Microsoft.DataBoxEdge" -const NamespaceMicrosoft_DataFactory = "Microsoft.DataFactory" -const NamespaceMicrosoft_DataLakeAnalytics = "Microsoft.DataLakeAnalytics" -const NamespaceMicrosoft_DataLakeStore = "Microsoft.DataLakeStore" -const NamespaceMicrosoft_DataMigration = "Microsoft.DataMigration" -const NamespaceMicrosoft_Datadog = "Microsoft.Datadog" -const NamespaceMicrosoft_DesktopVirtualization = "Microsoft.DesktopVirtualization" -const NamespaceMicrosoft_DevHub = "Microsoft.DevHub" -const NamespaceMicrosoft_DevOps = "Microsoft.DevOps" -const NamespaceMicrosoft_DevTestLab = "Microsoft.DevTestLab" -const NamespaceMicrosoft_DocumentDB = "Microsoft.DocumentDB" -const NamespaceMicrosoft_DomainRegistration = "Microsoft.DomainRegistration" -const NamespaceMicrosoft_Elastic = "Microsoft.Elastic" -const NamespaceMicrosoft_ElasticSan = "Microsoft.ElasticSan" -const NamespaceMicrosoft_EngagementFabric = "Microsoft.EngagementFabric" -const NamespaceMicrosoft_EventGrid = "Microsoft.EventGrid" -const NamespaceMicrosoft_EventHub = "Microsoft.EventHub" -const NamespaceMicrosoft_HDInsight = "Microsoft.HDInsight" -const NamespaceMicrosoft_HanaOnAzure = "Microsoft.HanaOnAzure" -const NamespaceMicrosoft_HealthBot = "Microsoft.HealthBot" -const NamespaceMicrosoft_HealthcareApis = "Microsoft.HealthcareApis" -const NamespaceMicrosoft_HybridCompute = "Microsoft.HybridCompute" -const NamespaceMicrosoft_HybridData = "Microsoft.HybridData" -const NamespaceMicrosoft_HybridNetwork = "Microsoft.HybridNetwork" -const NamespaceMicrosoft_Insights = "Microsoft.Insights" -const NamespaceMicrosoft_Kusto = "Microsoft.Kusto" -const NamespaceMicrosoft_LabServices = "Microsoft.LabServices" -const NamespaceMicrosoft_MachineLearningServices = "Microsoft.MachineLearningServices" -const NamespaceMicrosoft_Maintenance = "Microsoft.Maintenance" -const NamespaceMicrosoft_ManagementPartner = "Microsoft.ManagementPartner" -const NamespaceMicrosoft_Marketplace = "Microsoft.Marketplace" -const NamespaceMicrosoft_Network = "Microsoft.Network" -const NamespaceMicrosoft_NetworkFunction = "Microsoft.NetworkFunction" -const NamespaceMicrosoft_NotificationHubs = "Microsoft.NotificationHubs" -const NamespaceMicrosoft_OperationalInsights = "Microsoft.OperationalInsights" -const NamespaceMicrosoft_Peering = "Microsoft.Peering" -const NamespaceMicrosoft_Portal = "Microsoft.Portal" -const NamespaceMicrosoft_PowerBIDedicated = "Microsoft.PowerBIDedicated" -const NamespaceMicrosoft_ProviderHub = "Microsoft.ProviderHub" -const NamespaceMicrosoft_Quota = "Microsoft.Quota" -const NamespaceMicrosoft_RedHatOpenShift = "Microsoft.RedHatOpenShift" -const NamespaceMicrosoft_Relay = "Microsoft.Relay" -const NamespaceMicrosoft_SaaS = "Microsoft.SaaS" -const NamespaceMicrosoft_Security = "Microsoft.Security" -const NamespaceMicrosoft_ServiceBus = "Microsoft.ServiceBus" -const NamespaceMicrosoft_Sql = "Microsoft.Sql" -const NamespaceMicrosoft_SqlVirtualMachine = "Microsoft.SqlVirtualMachine" -const NamespaceMicrosoft_Storage = "Microsoft.Storage" -const NamespaceMicrosoft_StorageCache = "Microsoft.StorageCache" -const NamespaceMicrosoft_StreamAnalytics = "Microsoft.StreamAnalytics" -const NamespaceMicrosoft_Support = "Microsoft.Support" -const NamespaceMicrosoft_Synapse = "Microsoft.Synapse" -const NamespaceMicrosoft_TestBase = "Microsoft.TestBase" -const NamespaceMicrosoft_Web = "Microsoft.Web" -const NamespaceMicrosoft_WindowsESU = "Microsoft.WindowsESU" -const NamespaceMicrosoft_WindowsIoT = "Microsoft.WindowsIoT" -const NamespaceMicrosoft_Workloads = "Microsoft.Workloads" -const NamespaceNginx_NginxPlus = "Nginx.NginxPlus" +const Namespacemicrosoft_aad = "microsoft.aad" +const Namespacemicrosoft_advisor = "microsoft.advisor" +const Namespacemicrosoft_analysisservices = "microsoft.analysisservices" +const Namespacemicrosoft_apimanagement = "microsoft.apimanagement" +const Namespacemicrosoft_appcomplianceautomation = "microsoft.appcomplianceautomation" +const Namespacemicrosoft_appconfiguration = "microsoft.appconfiguration" +const Namespacemicrosoft_appplatform = "microsoft.appplatform" +const Namespacemicrosoft_authorization = "microsoft.authorization" +const Namespacemicrosoft_automation = "microsoft.automation" +const Namespacemicrosoft_azurearcdata = "microsoft.azurearcdata" +const Namespacemicrosoft_azuredata = "microsoft.azuredata" +const Namespacemicrosoft_batch = "microsoft.batch" +const Namespacemicrosoft_billing = "microsoft.billing" +const Namespacemicrosoft_botservice = "microsoft.botservice" +const Namespacemicrosoft_capacity = "microsoft.capacity" +const Namespacemicrosoft_cdn = "microsoft.cdn" +const Namespacemicrosoft_certificateregistration = "microsoft.certificateregistration" +const Namespacemicrosoft_cognitiveservices = "microsoft.cognitiveservices" +const Namespacemicrosoft_compute = "microsoft.compute" +const Namespacemicrosoft_confluent = "microsoft.confluent" +const Namespacemicrosoft_connectedvmwarevsphere = "microsoft.connectedvmwarevsphere" +const Namespacemicrosoft_containerinstance = "microsoft.containerinstance" +const Namespacemicrosoft_containerregistry = "microsoft.containerregistry" +const Namespacemicrosoft_containerservice = "microsoft.containerservice" +const Namespacemicrosoft_costmanagement = "microsoft.costmanagement" +const Namespacemicrosoft_customerinsights = "microsoft.customerinsights" +const Namespacemicrosoft_dashboard = "microsoft.dashboard" +const Namespacemicrosoft_databox = "microsoft.databox" +const Namespacemicrosoft_databoxedge = "microsoft.databoxedge" +const Namespacemicrosoft_datadog = "microsoft.datadog" +const Namespacemicrosoft_datafactory = "microsoft.datafactory" +const Namespacemicrosoft_datalakeanalytics = "microsoft.datalakeanalytics" +const Namespacemicrosoft_datalakestore = "microsoft.datalakestore" +const Namespacemicrosoft_datamigration = "microsoft.datamigration" +const Namespacemicrosoft_dbformysql = "microsoft.dbformysql" +const Namespacemicrosoft_dbforpostgresql = "microsoft.dbforpostgresql" +const Namespacemicrosoft_desktopvirtualization = "microsoft.desktopvirtualization" +const Namespacemicrosoft_devhub = "microsoft.devhub" +const Namespacemicrosoft_devops = "microsoft.devops" +const Namespacemicrosoft_devtestlab = "microsoft.devtestlab" +const Namespacemicrosoft_documentdb = "microsoft.documentdb" +const Namespacemicrosoft_domainregistration = "microsoft.domainregistration" +const Namespacemicrosoft_elastic = "microsoft.elastic" +const Namespacemicrosoft_elasticsan = "microsoft.elasticsan" +const Namespacemicrosoft_engagementfabric = "microsoft.engagementfabric" +const Namespacemicrosoft_eventgrid = "microsoft.eventgrid" +const Namespacemicrosoft_eventhub = "microsoft.eventhub" +const Namespacemicrosoft_hanaonazure = "microsoft.hanaonazure" +const Namespacemicrosoft_hdinsight = "microsoft.hdinsight" +const Namespacemicrosoft_healthbot = "microsoft.healthbot" +const Namespacemicrosoft_healthcareapis = "microsoft.healthcareapis" +const Namespacemicrosoft_hybridcompute = "microsoft.hybridcompute" +const Namespacemicrosoft_hybriddata = "microsoft.hybriddata" +const Namespacemicrosoft_hybridnetwork = "microsoft.hybridnetwork" const Namespacemicrosoft_insights = "microsoft.insights" +const Namespacemicrosoft_kusto = "microsoft.kusto" +const Namespacemicrosoft_labservices = "microsoft.labservices" +const Namespacemicrosoft_machinelearningservices = "microsoft.machinelearningservices" +const Namespacemicrosoft_maintenance = "microsoft.maintenance" +const Namespacemicrosoft_managementpartner = "microsoft.managementpartner" +const Namespacemicrosoft_marketplace = "microsoft.marketplace" +const Namespacemicrosoft_network = "microsoft.network" +const Namespacemicrosoft_networkfunction = "microsoft.networkfunction" +const Namespacemicrosoft_notificationhubs = "microsoft.notificationhubs" +const Namespacemicrosoft_operationalinsights = "microsoft.operationalinsights" +const Namespacemicrosoft_peering = "microsoft.peering" +const Namespacemicrosoft_portal = "microsoft.portal" +const Namespacemicrosoft_powerbidedicated = "microsoft.powerbidedicated" +const Namespacemicrosoft_providerhub = "microsoft.providerhub" +const Namespacemicrosoft_quota = "microsoft.quota" +const Namespacemicrosoft_redhatopenshift = "microsoft.redhatopenshift" +const Namespacemicrosoft_relay = "microsoft.relay" +const Namespacemicrosoft_saas = "microsoft.saas" +const Namespacemicrosoft_security = "microsoft.security" +const Namespacemicrosoft_servicebus = "microsoft.servicebus" +const Namespacemicrosoft_sql = "microsoft.sql" +const Namespacemicrosoft_sqlvirtualmachine = "microsoft.sqlvirtualmachine" +const Namespacemicrosoft_storage = "microsoft.storage" +const Namespacemicrosoft_storagecache = "microsoft.storagecache" +const Namespacemicrosoft_streamanalytics = "microsoft.streamanalytics" +const Namespacemicrosoft_support = "microsoft.support" +const Namespacemicrosoft_synapse = "microsoft.synapse" +const Namespacemicrosoft_testbase = "microsoft.testbase" +const Namespacemicrosoft_web = "microsoft.web" +const Namespacemicrosoft_windowsesu = "microsoft.windowsesu" +const Namespacemicrosoft_windowsiot = "microsoft.windowsiot" +const Namespacemicrosoft_workloads = "microsoft.workloads" +const Namespacenginx_nginxplus = "nginx.nginxplus" var autoGeneratedNamespaces = []string{ - NamespaceMicrosoft_AAD, - NamespaceMicrosoft_Aad, - NamespaceMicrosoft_Advisor, - NamespaceMicrosoft_AnalysisServices, - NamespaceMicrosoft_ApiManagement, - NamespaceMicrosoft_AppComplianceAutomation, - NamespaceMicrosoft_AppConfiguration, - NamespaceMicrosoft_AppPlatform, - NamespaceMicrosoft_Authorization, - NamespaceMicrosoft_Automation, - NamespaceMicrosoft_AzureArcData, - NamespaceMicrosoft_AzureData, - NamespaceMicrosoft_Batch, - NamespaceMicrosoft_Billing, - NamespaceMicrosoft_BotService, - NamespaceMicrosoft_Capacity, - NamespaceMicrosoft_Cdn, - NamespaceMicrosoft_CertificateRegistration, - NamespaceMicrosoft_CognitiveServices, - NamespaceMicrosoft_Compute, - NamespaceMicrosoft_Confluent, - NamespaceMicrosoft_ConnectedVMwarevSphere, - NamespaceMicrosoft_ContainerInstance, - NamespaceMicrosoft_ContainerRegistry, - NamespaceMicrosoft_ContainerService, - NamespaceMicrosoft_CostManagement, - NamespaceMicrosoft_CustomerInsights, - NamespaceMicrosoft_DBForPostgreSql, - NamespaceMicrosoft_DBforMySQL, - NamespaceMicrosoft_DBforPostgreSQL, - NamespaceMicrosoft_Dashboard, - NamespaceMicrosoft_DataBox, - NamespaceMicrosoft_DataBoxEdge, - NamespaceMicrosoft_DataFactory, - NamespaceMicrosoft_DataLakeAnalytics, - NamespaceMicrosoft_DataLakeStore, - NamespaceMicrosoft_DataMigration, - NamespaceMicrosoft_Datadog, - NamespaceMicrosoft_DesktopVirtualization, - NamespaceMicrosoft_DevHub, - NamespaceMicrosoft_DevOps, - NamespaceMicrosoft_DevTestLab, - NamespaceMicrosoft_DocumentDB, - NamespaceMicrosoft_DomainRegistration, - NamespaceMicrosoft_Elastic, - NamespaceMicrosoft_ElasticSan, - NamespaceMicrosoft_EngagementFabric, - NamespaceMicrosoft_EventGrid, - NamespaceMicrosoft_EventHub, - NamespaceMicrosoft_HDInsight, - NamespaceMicrosoft_HanaOnAzure, - NamespaceMicrosoft_HealthBot, - NamespaceMicrosoft_HealthcareApis, - NamespaceMicrosoft_HybridCompute, - NamespaceMicrosoft_HybridData, - NamespaceMicrosoft_HybridNetwork, - NamespaceMicrosoft_Insights, - NamespaceMicrosoft_Kusto, - NamespaceMicrosoft_LabServices, - NamespaceMicrosoft_MachineLearningServices, - NamespaceMicrosoft_Maintenance, - NamespaceMicrosoft_ManagementPartner, - NamespaceMicrosoft_Marketplace, - NamespaceMicrosoft_Network, - NamespaceMicrosoft_NetworkFunction, - NamespaceMicrosoft_NotificationHubs, - NamespaceMicrosoft_OperationalInsights, - NamespaceMicrosoft_Peering, - NamespaceMicrosoft_Portal, - NamespaceMicrosoft_PowerBIDedicated, - NamespaceMicrosoft_ProviderHub, - NamespaceMicrosoft_Quota, - NamespaceMicrosoft_RedHatOpenShift, - NamespaceMicrosoft_Relay, - NamespaceMicrosoft_SaaS, - NamespaceMicrosoft_Security, - NamespaceMicrosoft_ServiceBus, - NamespaceMicrosoft_Sql, - NamespaceMicrosoft_SqlVirtualMachine, - NamespaceMicrosoft_Storage, - NamespaceMicrosoft_StorageCache, - NamespaceMicrosoft_StreamAnalytics, - NamespaceMicrosoft_Support, - NamespaceMicrosoft_Synapse, - NamespaceMicrosoft_TestBase, - NamespaceMicrosoft_Web, - NamespaceMicrosoft_WindowsESU, - NamespaceMicrosoft_WindowsIoT, - NamespaceMicrosoft_Workloads, - NamespaceNginx_NginxPlus, + Namespacemicrosoft_aad, + Namespacemicrosoft_advisor, + Namespacemicrosoft_analysisservices, + Namespacemicrosoft_apimanagement, + Namespacemicrosoft_appcomplianceautomation, + Namespacemicrosoft_appconfiguration, + Namespacemicrosoft_appplatform, + Namespacemicrosoft_authorization, + Namespacemicrosoft_automation, + Namespacemicrosoft_azurearcdata, + Namespacemicrosoft_azuredata, + Namespacemicrosoft_batch, + Namespacemicrosoft_billing, + Namespacemicrosoft_botservice, + Namespacemicrosoft_capacity, + Namespacemicrosoft_cdn, + Namespacemicrosoft_certificateregistration, + Namespacemicrosoft_cognitiveservices, + Namespacemicrosoft_compute, + Namespacemicrosoft_confluent, + Namespacemicrosoft_connectedvmwarevsphere, + Namespacemicrosoft_containerinstance, + Namespacemicrosoft_containerregistry, + Namespacemicrosoft_containerservice, + Namespacemicrosoft_costmanagement, + Namespacemicrosoft_customerinsights, + Namespacemicrosoft_dashboard, + Namespacemicrosoft_databox, + Namespacemicrosoft_databoxedge, + Namespacemicrosoft_datadog, + Namespacemicrosoft_datafactory, + Namespacemicrosoft_datalakeanalytics, + Namespacemicrosoft_datalakestore, + Namespacemicrosoft_datamigration, + Namespacemicrosoft_dbformysql, + Namespacemicrosoft_dbforpostgresql, + Namespacemicrosoft_desktopvirtualization, + Namespacemicrosoft_devhub, + Namespacemicrosoft_devops, + Namespacemicrosoft_devtestlab, + Namespacemicrosoft_documentdb, + Namespacemicrosoft_domainregistration, + Namespacemicrosoft_elastic, + Namespacemicrosoft_elasticsan, + Namespacemicrosoft_engagementfabric, + Namespacemicrosoft_eventgrid, + Namespacemicrosoft_eventhub, + Namespacemicrosoft_hanaonazure, + Namespacemicrosoft_hdinsight, + Namespacemicrosoft_healthbot, + Namespacemicrosoft_healthcareapis, + Namespacemicrosoft_hybridcompute, + Namespacemicrosoft_hybriddata, + Namespacemicrosoft_hybridnetwork, Namespacemicrosoft_insights, + Namespacemicrosoft_kusto, + Namespacemicrosoft_labservices, + Namespacemicrosoft_machinelearningservices, + Namespacemicrosoft_maintenance, + Namespacemicrosoft_managementpartner, + Namespacemicrosoft_marketplace, + Namespacemicrosoft_network, + Namespacemicrosoft_networkfunction, + Namespacemicrosoft_notificationhubs, + Namespacemicrosoft_operationalinsights, + Namespacemicrosoft_peering, + Namespacemicrosoft_portal, + Namespacemicrosoft_powerbidedicated, + Namespacemicrosoft_providerhub, + Namespacemicrosoft_quota, + Namespacemicrosoft_redhatopenshift, + Namespacemicrosoft_relay, + Namespacemicrosoft_saas, + Namespacemicrosoft_security, + Namespacemicrosoft_servicebus, + Namespacemicrosoft_sql, + Namespacemicrosoft_sqlvirtualmachine, + Namespacemicrosoft_storage, + Namespacemicrosoft_storagecache, + Namespacemicrosoft_streamanalytics, + Namespacemicrosoft_support, + Namespacemicrosoft_synapse, + Namespacemicrosoft_testbase, + Namespacemicrosoft_web, + Namespacemicrosoft_windowsesu, + Namespacemicrosoft_windowsiot, + Namespacemicrosoft_workloads, + Namespacenginx_nginxplus, } diff --git a/plugins/source/azure/codegen0/internal/azparser/parser.go b/plugins/source/azure/codegen0/internal/azparser/parser.go index cfcd5ce5e4b0b6..c4a445992667f8 100644 --- a/plugins/source/azure/codegen0/internal/azparser/parser.go +++ b/plugins/source/azure/codegen0/internal/azparser/parser.go @@ -29,6 +29,10 @@ var newFuncToSkipPerPackage = map[string]map[string]bool{ "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/mysql/armmysql": { "NewServersClient": true, }, + // seems this api is not working and always returning InvalidResourceType + "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql": { + "NewDeletedServersClient": true, + }, "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos": { "NewDatabaseAccountsClient": true, }, @@ -299,7 +303,7 @@ func CreateTablesFromPackage(pkg string) ([]*Table, error) { t.ResponseStruct = pagerMethod.returnTypes[0] namespaceMatches := reNamespaceFromURL.FindStringSubmatch(azURL) if len(namespaceMatches) == 2 { - t.Namespace = namespaceMatches[1] + t.Namespace = strings.ToLower(namespaceMatches[1]) t.Multiplex = fmt.Sprintf("client.SubscriptionMultiplexRegisteredNamespace(client.Namespace%s)", strings.ReplaceAll(t.Namespace, ".", "_")) } else { t.Multiplex = "client.SubscriptionMultiplex" diff --git a/plugins/source/azure/codegen1/recipes/advisor.go b/plugins/source/azure/codegen1/recipes/advisor.go index 1a985a177b2ffe..8dd7f1b5bff8ae 100644 --- a/plugins/source/azure/codegen1/recipes/advisor.go +++ b/plugins/source/azure/codegen1/recipes/advisor.go @@ -9,8 +9,8 @@ func Armadvisor() []*Table { NewFunc: armadvisor.NewRecommendationMetadataClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/advisor/armadvisor", URL: "/providers/Microsoft.Advisor/metadata", - Namespace: "Microsoft.Advisor", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Advisor)`, + Namespace: "microsoft.advisor", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_advisor)`, Pager: `NewListPager`, ResponseStruct: "RecommendationMetadataClientListResponse", }, @@ -18,8 +18,8 @@ func Armadvisor() []*Table { NewFunc: armadvisor.NewRecommendationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/advisor/armadvisor", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations", - Namespace: "Microsoft.Advisor", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Advisor)`, + Namespace: "microsoft.advisor", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_advisor)`, Pager: `NewListPager`, ResponseStruct: "RecommendationsClientListResponse", }, @@ -27,8 +27,8 @@ func Armadvisor() []*Table { NewFunc: armadvisor.NewSuppressionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/advisor/armadvisor", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/suppressions", - Namespace: "Microsoft.Advisor", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Advisor)`, + Namespace: "microsoft.advisor", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_advisor)`, Pager: `NewListPager`, ResponseStruct: "SuppressionsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/analysisservices.go b/plugins/source/azure/codegen1/recipes/analysisservices.go index 90e60756425c11..f1da78421d45c6 100644 --- a/plugins/source/azure/codegen1/recipes/analysisservices.go +++ b/plugins/source/azure/codegen1/recipes/analysisservices.go @@ -9,8 +9,8 @@ func Armanalysisservices() []*Table { NewFunc: armanalysisservices.NewServersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/analysisservices/armanalysisservices", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/servers", - Namespace: "Microsoft.AnalysisServices", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AnalysisServices)`, + Namespace: "microsoft.analysisservices", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_analysisservices)`, Pager: `NewListPager`, ResponseStruct: "ServersClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/apimanagement.go b/plugins/source/azure/codegen1/recipes/apimanagement.go index 6a5101acb454c5..5c71e3a59950f9 100644 --- a/plugins/source/azure/codegen1/recipes/apimanagement.go +++ b/plugins/source/azure/codegen1/recipes/apimanagement.go @@ -9,8 +9,8 @@ func Armapimanagement() []*Table { NewFunc: armapimanagement.NewSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/skus", - Namespace: "Microsoft.ApiManagement", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ApiManagement)`, + Namespace: "microsoft.apimanagement", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_apimanagement)`, Pager: `NewListPager`, ResponseStruct: "SKUsClientListResponse", }, @@ -18,8 +18,8 @@ func Armapimanagement() []*Table { NewFunc: armapimanagement.NewServiceClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service", - Namespace: "Microsoft.ApiManagement", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ApiManagement)`, + Namespace: "microsoft.apimanagement", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_apimanagement)`, Pager: `NewListPager`, ResponseStruct: "ServiceClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/appcomplianceautomation.go b/plugins/source/azure/codegen1/recipes/appcomplianceautomation.go index 56d8501f019906..be93221895cf12 100644 --- a/plugins/source/azure/codegen1/recipes/appcomplianceautomation.go +++ b/plugins/source/azure/codegen1/recipes/appcomplianceautomation.go @@ -9,8 +9,8 @@ func Armappcomplianceautomation() []*Table { NewFunc: armappcomplianceautomation.NewReportsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appcomplianceautomation/armappcomplianceautomation", URL: "/providers/Microsoft.AppComplianceAutomation/reports", - Namespace: "Microsoft.AppComplianceAutomation", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AppComplianceAutomation)`, + Namespace: "microsoft.appcomplianceautomation", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_appcomplianceautomation)`, Pager: `NewListPager`, ResponseStruct: "ReportsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/appconfiguration.go b/plugins/source/azure/codegen1/recipes/appconfiguration.go index cfcc98b619773d..37a034f528985d 100644 --- a/plugins/source/azure/codegen1/recipes/appconfiguration.go +++ b/plugins/source/azure/codegen1/recipes/appconfiguration.go @@ -9,8 +9,8 @@ func Armappconfiguration() []*Table { NewFunc: armappconfiguration.NewConfigurationStoresClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appconfiguration/armappconfiguration", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/configurationStores", - Namespace: "Microsoft.AppConfiguration", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AppConfiguration)`, + Namespace: "microsoft.appconfiguration", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_appconfiguration)`, Pager: `NewListPager`, ResponseStruct: "ConfigurationStoresClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/applicationinsights.go b/plugins/source/azure/codegen1/recipes/applicationinsights.go index f1314511b28ece..3c1001da5c0c08 100644 --- a/plugins/source/azure/codegen1/recipes/applicationinsights.go +++ b/plugins/source/azure/codegen1/recipes/applicationinsights.go @@ -9,8 +9,8 @@ func Armapplicationinsights() []*Table { NewFunc: armapplicationinsights.NewComponentsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/applicationinsights/armapplicationinsights", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/components", - Namespace: "Microsoft.Insights", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights)`, + Namespace: "microsoft.insights", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights)`, Pager: `NewListPager`, ResponseStruct: "ComponentsClientListResponse", }, @@ -18,8 +18,8 @@ func Armapplicationinsights() []*Table { NewFunc: armapplicationinsights.NewWebTestsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/applicationinsights/armapplicationinsights", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests", - Namespace: "Microsoft.Insights", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights)`, + Namespace: "microsoft.insights", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights)`, Pager: `NewListPager`, ResponseStruct: "WebTestsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/appplatform.go b/plugins/source/azure/codegen1/recipes/appplatform.go index 7f1c21fbba9f51..4ba9e07e89abd8 100644 --- a/plugins/source/azure/codegen1/recipes/appplatform.go +++ b/plugins/source/azure/codegen1/recipes/appplatform.go @@ -9,8 +9,8 @@ func Armappplatform() []*Table { NewFunc: armappplatform.NewSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appplatform/armappplatform", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AppPlatform/skus", - Namespace: "Microsoft.AppPlatform", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AppPlatform)`, + Namespace: "microsoft.appplatform", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_appplatform)`, Pager: `NewListPager`, ResponseStruct: "SKUsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/appservice.go b/plugins/source/azure/codegen1/recipes/appservice.go index 450ed573c1efa2..72108628b60211 100644 --- a/plugins/source/azure/codegen1/recipes/appservice.go +++ b/plugins/source/azure/codegen1/recipes/appservice.go @@ -9,8 +9,8 @@ func Armappservice() []*Table { NewFunc: armappservice.NewCertificateOrdersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders", - Namespace: "Microsoft.CertificateRegistration", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CertificateRegistration)`, + Namespace: "microsoft.certificateregistration", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_certificateregistration)`, Pager: `NewListPager`, ResponseStruct: "CertificateOrdersClientListResponse", }, @@ -18,8 +18,8 @@ func Armappservice() []*Table { NewFunc: armappservice.NewCertificatesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates", - Namespace: "Microsoft.Web", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Namespace: "microsoft.web", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, Pager: `NewListPager`, ResponseStruct: "CertificatesClientListResponse", }, @@ -27,8 +27,8 @@ func Armappservice() []*Table { NewFunc: armappservice.NewDeletedWebAppsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites", - Namespace: "Microsoft.Web", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Namespace: "microsoft.web", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, Pager: `NewListPager`, ResponseStruct: "DeletedWebAppsClientListResponse", }, @@ -36,8 +36,8 @@ func Armappservice() []*Table { NewFunc: armappservice.NewDomainsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains", - Namespace: "Microsoft.DomainRegistration", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DomainRegistration)`, + Namespace: "microsoft.domainregistration", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_domainregistration)`, Pager: `NewListPager`, ResponseStruct: "DomainsClientListResponse", }, @@ -45,8 +45,8 @@ func Armappservice() []*Table { NewFunc: armappservice.NewEnvironmentsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments", - Namespace: "Microsoft.Web", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Namespace: "microsoft.web", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, Pager: `NewListPager`, ResponseStruct: "EnvironmentsClientListResponse", }, @@ -54,8 +54,8 @@ func Armappservice() []*Table { NewFunc: armappservice.NewPlansClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms", - Namespace: "Microsoft.Web", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Namespace: "microsoft.web", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, Pager: `NewListPager`, ResponseStruct: "PlansClientListResponse", }, @@ -63,8 +63,8 @@ func Armappservice() []*Table { NewFunc: armappservice.NewRecommendationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations", - Namespace: "Microsoft.Web", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Namespace: "microsoft.web", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, Pager: `NewListPager`, ResponseStruct: "RecommendationsClientListResponse", }, @@ -72,8 +72,8 @@ func Armappservice() []*Table { NewFunc: armappservice.NewResourceHealthMetadataClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata", - Namespace: "Microsoft.Web", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Namespace: "microsoft.web", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, Pager: `NewListPager`, ResponseStruct: "ResourceHealthMetadataClientListResponse", }, @@ -81,8 +81,8 @@ func Armappservice() []*Table { NewFunc: armappservice.NewStaticSitesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/staticSites", - Namespace: "Microsoft.Web", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Namespace: "microsoft.web", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, Pager: `NewListPager`, ResponseStruct: "StaticSitesClientListResponse", }, @@ -90,8 +90,8 @@ func Armappservice() []*Table { NewFunc: armappservice.NewTopLevelDomainsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains", - Namespace: "Microsoft.DomainRegistration", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DomainRegistration)`, + Namespace: "microsoft.domainregistration", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_domainregistration)`, Pager: `NewListPager`, ResponseStruct: "TopLevelDomainsClientListResponse", }, @@ -99,8 +99,8 @@ func Armappservice() []*Table { NewFunc: armappservice.NewWebAppsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/sites", - Namespace: "Microsoft.Web", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Namespace: "microsoft.web", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, Pager: `NewListPager`, ResponseStruct: "WebAppsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/authorization.go b/plugins/source/azure/codegen1/recipes/authorization.go index a9993092f5ee5a..26a7b12a90bc7e 100644 --- a/plugins/source/azure/codegen1/recipes/authorization.go +++ b/plugins/source/azure/codegen1/recipes/authorization.go @@ -9,8 +9,8 @@ func Armauthorization() []*Table { NewFunc: armauthorization.NewClassicAdministratorsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/classicAdministrators", - Namespace: "Microsoft.Authorization", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Namespace: "microsoft.authorization", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, Pager: `NewListPager`, ResponseStruct: "ClassicAdministratorsClientListResponse", }, @@ -18,8 +18,8 @@ func Armauthorization() []*Table { NewFunc: armauthorization.NewProviderOperationsMetadataClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization", URL: "/providers/Microsoft.Authorization/providerOperations", - Namespace: "Microsoft.Authorization", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Namespace: "microsoft.authorization", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, Pager: `NewListPager`, ResponseStruct: "ProviderOperationsMetadataClientListResponse", }, @@ -27,8 +27,8 @@ func Armauthorization() []*Table { NewFunc: armauthorization.NewRoleAssignmentsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleAssignments", - Namespace: "Microsoft.Authorization", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Namespace: "microsoft.authorization", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, Pager: `NewListPager`, ResponseStruct: "RoleAssignmentsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/automation.go b/plugins/source/azure/codegen1/recipes/automation.go index 3cfcb24863298a..3f0a0a64f75560 100644 --- a/plugins/source/azure/codegen1/recipes/automation.go +++ b/plugins/source/azure/codegen1/recipes/automation.go @@ -9,8 +9,8 @@ func Armautomation() []*Table { NewFunc: armautomation.NewAccountClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/automation/armautomation", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Automation/automationAccounts", - Namespace: "Microsoft.Automation", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Automation)`, + Namespace: "microsoft.automation", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_automation)`, Pager: `NewListPager`, ResponseStruct: "AccountClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/azurearcdata.go b/plugins/source/azure/codegen1/recipes/azurearcdata.go index 65b2f33a9fcdc7..22d3012351650a 100644 --- a/plugins/source/azure/codegen1/recipes/azurearcdata.go +++ b/plugins/source/azure/codegen1/recipes/azurearcdata.go @@ -9,8 +9,8 @@ func Armazurearcdata() []*Table { NewFunc: armazurearcdata.NewPostgresInstancesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/azurearcdata/armazurearcdata", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances", - Namespace: "Microsoft.AzureArcData", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureArcData)`, + Namespace: "microsoft.azurearcdata", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azurearcdata)`, Pager: `NewListPager`, ResponseStruct: "PostgresInstancesClientListResponse", }, @@ -18,8 +18,8 @@ func Armazurearcdata() []*Table { NewFunc: armazurearcdata.NewSQLManagedInstancesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/azurearcdata/armazurearcdata", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances", - Namespace: "Microsoft.AzureArcData", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureArcData)`, + Namespace: "microsoft.azurearcdata", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azurearcdata)`, Pager: `NewListPager`, ResponseStruct: "SQLManagedInstancesClientListResponse", }, @@ -27,8 +27,8 @@ func Armazurearcdata() []*Table { NewFunc: armazurearcdata.NewSQLServerInstancesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/azurearcdata/armazurearcdata", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances", - Namespace: "Microsoft.AzureArcData", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureArcData)`, + Namespace: "microsoft.azurearcdata", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azurearcdata)`, Pager: `NewListPager`, ResponseStruct: "SQLServerInstancesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/azuredata.go b/plugins/source/azure/codegen1/recipes/azuredata.go index e0af46abc810fa..bfbe5f58d0a611 100644 --- a/plugins/source/azure/codegen1/recipes/azuredata.go +++ b/plugins/source/azure/codegen1/recipes/azuredata.go @@ -9,8 +9,8 @@ func Armazuredata() []*Table { NewFunc: armazuredata.NewSQLServerRegistrationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/azuredata/armazuredata", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/sqlServerRegistrations", - Namespace: "Microsoft.AzureData", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureData)`, + Namespace: "microsoft.azuredata", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azuredata)`, Pager: `NewListPager`, ResponseStruct: "SQLServerRegistrationsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/batch.go b/plugins/source/azure/codegen1/recipes/batch.go index 4c0d6476ac46e9..58a9bfb7b8f437 100644 --- a/plugins/source/azure/codegen1/recipes/batch.go +++ b/plugins/source/azure/codegen1/recipes/batch.go @@ -9,8 +9,8 @@ func Armbatch() []*Table { NewFunc: armbatch.NewAccountClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/batch/armbatch", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts", - Namespace: "Microsoft.Batch", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Batch)`, + Namespace: "microsoft.batch", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_batch)`, Pager: `NewListPager`, ResponseStruct: "AccountClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/billing.go b/plugins/source/azure/codegen1/recipes/billing.go index 62a0d7feaa13bf..ccbd78767f988c 100644 --- a/plugins/source/azure/codegen1/recipes/billing.go +++ b/plugins/source/azure/codegen1/recipes/billing.go @@ -9,8 +9,8 @@ func Armbilling() []*Table { NewFunc: armbilling.NewAccountsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/billing/armbilling", URL: "/providers/Microsoft.Billing/billingAccounts", - Namespace: "Microsoft.Billing", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Billing)`, + Namespace: "microsoft.billing", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_billing)`, Pager: `NewListPager`, ResponseStruct: "AccountsClientListResponse", }, @@ -18,8 +18,8 @@ func Armbilling() []*Table { NewFunc: armbilling.NewEnrollmentAccountsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/billing/armbilling", URL: "/providers/Microsoft.Billing/enrollmentAccounts", - Namespace: "Microsoft.Billing", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Billing)`, + Namespace: "microsoft.billing", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_billing)`, Pager: `NewListPager`, ResponseStruct: "EnrollmentAccountsClientListResponse", }, @@ -27,8 +27,8 @@ func Armbilling() []*Table { NewFunc: armbilling.NewPeriodsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/billing/armbilling", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods", - Namespace: "Microsoft.Billing", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Billing)`, + Namespace: "microsoft.billing", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_billing)`, Pager: `NewListPager`, ResponseStruct: "PeriodsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/botservice.go b/plugins/source/azure/codegen1/recipes/botservice.go index fedc94eb1e4c0e..361ee47778bd8f 100644 --- a/plugins/source/azure/codegen1/recipes/botservice.go +++ b/plugins/source/azure/codegen1/recipes/botservice.go @@ -9,8 +9,8 @@ func Armbotservice() []*Table { NewFunc: armbotservice.NewBotsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/botservice/armbotservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.BotService/botServices", - Namespace: "Microsoft.BotService", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_BotService)`, + Namespace: "microsoft.botservice", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_botservice)`, Pager: `NewListPager`, ResponseStruct: "BotsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/cdn.go b/plugins/source/azure/codegen1/recipes/cdn.go index affa95aec99270..54acbd18681c29 100644 --- a/plugins/source/azure/codegen1/recipes/cdn.go +++ b/plugins/source/azure/codegen1/recipes/cdn.go @@ -9,8 +9,8 @@ func Armcdn() []*Table { NewFunc: armcdn.NewEdgeNodesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cdn/armcdn", URL: "/providers/Microsoft.Cdn/edgenodes", - Namespace: "Microsoft.Cdn", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Cdn)`, + Namespace: "microsoft.cdn", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cdn)`, Pager: `NewListPager`, ResponseStruct: "EdgeNodesClientListResponse", }, @@ -18,8 +18,8 @@ func Armcdn() []*Table { NewFunc: armcdn.NewManagedRuleSetsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cdn/armcdn", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/cdnWebApplicationFirewallManagedRuleSets", - Namespace: "Microsoft.Cdn", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Cdn)`, + Namespace: "microsoft.cdn", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cdn)`, Pager: `NewListPager`, ResponseStruct: "ManagedRuleSetsClientListResponse", }, @@ -27,8 +27,8 @@ func Armcdn() []*Table { NewFunc: armcdn.NewResourceUsageClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cdn/armcdn", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkResourceUsage", - Namespace: "Microsoft.Cdn", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Cdn)`, + Namespace: "microsoft.cdn", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cdn)`, Pager: `NewListPager`, ResponseStruct: "ResourceUsageClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/cognitiveservices.go b/plugins/source/azure/codegen1/recipes/cognitiveservices.go index 23968808ae113d..06e65cd07ea74b 100644 --- a/plugins/source/azure/codegen1/recipes/cognitiveservices.go +++ b/plugins/source/azure/codegen1/recipes/cognitiveservices.go @@ -9,8 +9,8 @@ func Armcognitiveservices() []*Table { NewFunc: armcognitiveservices.NewAccountsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cognitiveservices/armcognitiveservices", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/accounts", - Namespace: "Microsoft.CognitiveServices", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CognitiveServices)`, + Namespace: "microsoft.cognitiveservices", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cognitiveservices)`, Pager: `NewListPager`, ResponseStruct: "AccountsClientListResponse", }, @@ -18,8 +18,8 @@ func Armcognitiveservices() []*Table { NewFunc: armcognitiveservices.NewDeletedAccountsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cognitiveservices/armcognitiveservices", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts", - Namespace: "Microsoft.CognitiveServices", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CognitiveServices)`, + Namespace: "microsoft.cognitiveservices", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cognitiveservices)`, Pager: `NewListPager`, ResponseStruct: "DeletedAccountsClientListResponse", }, @@ -27,8 +27,8 @@ func Armcognitiveservices() []*Table { NewFunc: armcognitiveservices.NewResourceSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cognitiveservices/armcognitiveservices", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/skus", - Namespace: "Microsoft.CognitiveServices", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CognitiveServices)`, + Namespace: "microsoft.cognitiveservices", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cognitiveservices)`, Pager: `NewListPager`, ResponseStruct: "ResourceSKUsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/compute.go b/plugins/source/azure/codegen1/recipes/compute.go index d80981047f0cad..07c1d2d58d6f5d 100644 --- a/plugins/source/azure/codegen1/recipes/compute.go +++ b/plugins/source/azure/codegen1/recipes/compute.go @@ -9,8 +9,8 @@ func Armcompute() []*Table { NewFunc: armcompute.NewCloudServicesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices", - Namespace: "Microsoft.Compute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Namespace: "microsoft.compute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, Pager: `NewListAllPager`, ResponseStruct: "CloudServicesClientListAllResponse", }, @@ -18,8 +18,8 @@ func Armcompute() []*Table { NewFunc: armcompute.NewDiskAccessesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses", - Namespace: "Microsoft.Compute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Namespace: "microsoft.compute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, Pager: `NewListPager`, ResponseStruct: "DiskAccessesClientListResponse", }, @@ -27,8 +27,8 @@ func Armcompute() []*Table { NewFunc: armcompute.NewDiskEncryptionSetsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets", - Namespace: "Microsoft.Compute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Namespace: "microsoft.compute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, Pager: `NewListPager`, ResponseStruct: "DiskEncryptionSetsClientListResponse", }, @@ -36,8 +36,8 @@ func Armcompute() []*Table { NewFunc: armcompute.NewDisksClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks", - Namespace: "Microsoft.Compute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Namespace: "microsoft.compute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, Pager: `NewListPager`, ResponseStruct: "DisksClientListResponse", }, @@ -45,8 +45,8 @@ func Armcompute() []*Table { NewFunc: armcompute.NewGalleriesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries", - Namespace: "Microsoft.Compute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Namespace: "microsoft.compute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, Pager: `NewListPager`, ResponseStruct: "GalleriesClientListResponse", }, @@ -54,8 +54,8 @@ func Armcompute() []*Table { NewFunc: armcompute.NewImagesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", - Namespace: "Microsoft.Compute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Namespace: "microsoft.compute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, Pager: `NewListPager`, ResponseStruct: "ImagesClientListResponse", }, @@ -63,8 +63,8 @@ func Armcompute() []*Table { NewFunc: armcompute.NewResourceSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", - Namespace: "Microsoft.Compute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Namespace: "microsoft.compute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, Pager: `NewListPager`, ResponseStruct: "ResourceSKUsClientListResponse", }, @@ -72,8 +72,8 @@ func Armcompute() []*Table { NewFunc: armcompute.NewRestorePointCollectionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections", - Namespace: "Microsoft.Compute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Namespace: "microsoft.compute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, Pager: `NewListAllPager`, ResponseStruct: "RestorePointCollectionsClientListAllResponse", }, @@ -81,8 +81,8 @@ func Armcompute() []*Table { NewFunc: armcompute.NewSnapshotsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots", - Namespace: "Microsoft.Compute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Namespace: "microsoft.compute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, Pager: `NewListPager`, ResponseStruct: "SnapshotsClientListResponse", }, @@ -90,8 +90,8 @@ func Armcompute() []*Table { NewFunc: armcompute.NewVirtualMachineScaleSetsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", - Namespace: "Microsoft.Compute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Namespace: "microsoft.compute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, Pager: `NewListAllPager`, ResponseStruct: "VirtualMachineScaleSetsClientListAllResponse", }, @@ -99,8 +99,8 @@ func Armcompute() []*Table { NewFunc: armcompute.NewVirtualMachinesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", - Namespace: "Microsoft.Compute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Namespace: "microsoft.compute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, Pager: `NewListAllPager`, ResponseStruct: "VirtualMachinesClientListAllResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/confluent.go b/plugins/source/azure/codegen1/recipes/confluent.go index dcda93fd69a1c9..605fcdcf158b28 100644 --- a/plugins/source/azure/codegen1/recipes/confluent.go +++ b/plugins/source/azure/codegen1/recipes/confluent.go @@ -9,8 +9,8 @@ func Armconfluent() []*Table { NewFunc: armconfluent.NewMarketplaceAgreementsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/confluent/armconfluent", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements", - Namespace: "Microsoft.Confluent", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Confluent)`, + Namespace: "microsoft.confluent", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_confluent)`, Pager: `NewListPager`, ResponseStruct: "MarketplaceAgreementsClientListResponse", }, @@ -18,8 +18,8 @@ func Armconfluent() []*Table { NewFunc: armconfluent.NewOrganizationOperationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/confluent/armconfluent", URL: "/providers/Microsoft.Confluent/operations", - Namespace: "Microsoft.Confluent", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Confluent)`, + Namespace: "microsoft.confluent", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_confluent)`, Pager: `NewListPager`, ResponseStruct: "OrganizationOperationsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/connectedvmware.go b/plugins/source/azure/codegen1/recipes/connectedvmware.go index 6185d8ef3b9897..4446cb90c1df31 100644 --- a/plugins/source/azure/codegen1/recipes/connectedvmware.go +++ b/plugins/source/azure/codegen1/recipes/connectedvmware.go @@ -9,8 +9,8 @@ func Armconnectedvmware() []*Table { NewFunc: armconnectedvmware.NewClustersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/connectedvmware/armconnectedvmware", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/clusters", - Namespace: "Microsoft.ConnectedVMwarevSphere", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Namespace: "microsoft.connectedvmwarevsphere", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, Pager: `NewListPager`, ResponseStruct: "ClustersClientListResponse", }, @@ -18,8 +18,8 @@ func Armconnectedvmware() []*Table { NewFunc: armconnectedvmware.NewDatastoresClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/connectedvmware/armconnectedvmware", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/datastores", - Namespace: "Microsoft.ConnectedVMwarevSphere", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Namespace: "microsoft.connectedvmwarevsphere", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, Pager: `NewListPager`, ResponseStruct: "DatastoresClientListResponse", }, @@ -27,8 +27,8 @@ func Armconnectedvmware() []*Table { NewFunc: armconnectedvmware.NewHostsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/connectedvmware/armconnectedvmware", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/hosts", - Namespace: "Microsoft.ConnectedVMwarevSphere", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Namespace: "microsoft.connectedvmwarevsphere", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, Pager: `NewListPager`, ResponseStruct: "HostsClientListResponse", }, @@ -36,8 +36,8 @@ func Armconnectedvmware() []*Table { NewFunc: armconnectedvmware.NewResourcePoolsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/connectedvmware/armconnectedvmware", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/resourcePools", - Namespace: "Microsoft.ConnectedVMwarevSphere", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Namespace: "microsoft.connectedvmwarevsphere", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, Pager: `NewListPager`, ResponseStruct: "ResourcePoolsClientListResponse", }, @@ -45,8 +45,8 @@ func Armconnectedvmware() []*Table { NewFunc: armconnectedvmware.NewVCentersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/connectedvmware/armconnectedvmware", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/vcenters", - Namespace: "Microsoft.ConnectedVMwarevSphere", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Namespace: "microsoft.connectedvmwarevsphere", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, Pager: `NewListPager`, ResponseStruct: "VCentersClientListResponse", }, @@ -54,8 +54,8 @@ func Armconnectedvmware() []*Table { NewFunc: armconnectedvmware.NewVirtualMachineTemplatesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/connectedvmware/armconnectedvmware", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates", - Namespace: "Microsoft.ConnectedVMwarevSphere", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Namespace: "microsoft.connectedvmwarevsphere", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, Pager: `NewListPager`, ResponseStruct: "VirtualMachineTemplatesClientListResponse", }, @@ -63,8 +63,8 @@ func Armconnectedvmware() []*Table { NewFunc: armconnectedvmware.NewVirtualMachinesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/connectedvmware/armconnectedvmware", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachines", - Namespace: "Microsoft.ConnectedVMwarevSphere", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Namespace: "microsoft.connectedvmwarevsphere", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, Pager: `NewListPager`, ResponseStruct: "VirtualMachinesClientListResponse", }, @@ -72,8 +72,8 @@ func Armconnectedvmware() []*Table { NewFunc: armconnectedvmware.NewVirtualNetworksClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/connectedvmware/armconnectedvmware", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks", - Namespace: "Microsoft.ConnectedVMwarevSphere", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Namespace: "microsoft.connectedvmwarevsphere", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, Pager: `NewListPager`, ResponseStruct: "VirtualNetworksClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/containerinstance.go b/plugins/source/azure/codegen1/recipes/containerinstance.go index c4baa85f0feb26..44fe81228d3a08 100644 --- a/plugins/source/azure/codegen1/recipes/containerinstance.go +++ b/plugins/source/azure/codegen1/recipes/containerinstance.go @@ -9,8 +9,8 @@ func Armcontainerinstance() []*Table { NewFunc: armcontainerinstance.NewContainerGroupsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerinstance/armcontainerinstance", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroups", - Namespace: "Microsoft.ContainerInstance", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerInstance)`, + Namespace: "microsoft.containerinstance", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerinstance)`, Pager: `NewListPager`, ResponseStruct: "ContainerGroupsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/containerregistry.go b/plugins/source/azure/codegen1/recipes/containerregistry.go index 8843b1934af93b..f640cf428ce1d8 100644 --- a/plugins/source/azure/codegen1/recipes/containerregistry.go +++ b/plugins/source/azure/codegen1/recipes/containerregistry.go @@ -9,8 +9,8 @@ func Armcontainerregistry() []*Table { NewFunc: armcontainerregistry.NewRegistriesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries", - Namespace: "Microsoft.ContainerRegistry", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerRegistry)`, + Namespace: "microsoft.containerregistry", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerregistry)`, Pager: `NewListPager`, ResponseStruct: "RegistriesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/containerservice.go b/plugins/source/azure/codegen1/recipes/containerservice.go index d3366a278dbe75..44adbbc75a2420 100644 --- a/plugins/source/azure/codegen1/recipes/containerservice.go +++ b/plugins/source/azure/codegen1/recipes/containerservice.go @@ -9,8 +9,8 @@ func Armcontainerservice() []*Table { NewFunc: armcontainerservice.NewManagedClustersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters", - Namespace: "Microsoft.ContainerService", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerService)`, + Namespace: "microsoft.containerservice", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerservice)`, Pager: `NewListPager`, ResponseStruct: "ManagedClustersClientListResponse", }, @@ -18,8 +18,8 @@ func Armcontainerservice() []*Table { NewFunc: armcontainerservice.NewSnapshotsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/snapshots", - Namespace: "Microsoft.ContainerService", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerService)`, + Namespace: "microsoft.containerservice", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerservice)`, Pager: `NewListPager`, ResponseStruct: "SnapshotsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/cosmos.go b/plugins/source/azure/codegen1/recipes/cosmos.go index d3cc7d70402b91..97ab1df688ccb3 100644 --- a/plugins/source/azure/codegen1/recipes/cosmos.go +++ b/plugins/source/azure/codegen1/recipes/cosmos.go @@ -9,8 +9,8 @@ func Armcosmos() []*Table { NewFunc: armcosmos.NewLocationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations", - Namespace: "Microsoft.DocumentDB", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DocumentDB)`, + Namespace: "microsoft.documentdb", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_documentdb)`, Pager: `NewListPager`, ResponseStruct: "LocationsClientListResponse", }, @@ -18,8 +18,8 @@ func Armcosmos() []*Table { NewFunc: armcosmos.NewRestorableDatabaseAccountsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/restorableDatabaseAccounts", - Namespace: "Microsoft.DocumentDB", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DocumentDB)`, + Namespace: "microsoft.documentdb", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_documentdb)`, Pager: `NewListPager`, ResponseStruct: "RestorableDatabaseAccountsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/costmanagement.go b/plugins/source/azure/codegen1/recipes/costmanagement.go index c1890f7fa75331..794bcbe70ed91b 100644 --- a/plugins/source/azure/codegen1/recipes/costmanagement.go +++ b/plugins/source/azure/codegen1/recipes/costmanagement.go @@ -9,8 +9,8 @@ func Armcostmanagement() []*Table { NewFunc: armcostmanagement.NewViewsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/costmanagement/armcostmanagement", URL: "/providers/Microsoft.CostManagement/views", - Namespace: "Microsoft.CostManagement", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CostManagement)`, + Namespace: "microsoft.costmanagement", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_costmanagement)`, Pager: `NewListPager`, ResponseStruct: "ViewsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/customerinsights.go b/plugins/source/azure/codegen1/recipes/customerinsights.go index 7701b8cb9e8fc7..09d83ac428cf57 100644 --- a/plugins/source/azure/codegen1/recipes/customerinsights.go +++ b/plugins/source/azure/codegen1/recipes/customerinsights.go @@ -9,8 +9,8 @@ func Armcustomerinsights() []*Table { NewFunc: armcustomerinsights.NewHubsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/customerinsights/armcustomerinsights", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.CustomerInsights/hubs", - Namespace: "Microsoft.CustomerInsights", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CustomerInsights)`, + Namespace: "microsoft.customerinsights", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_customerinsights)`, Pager: `NewListPager`, ResponseStruct: "HubsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/dashboard.go b/plugins/source/azure/codegen1/recipes/dashboard.go index af01a6e25ef29c..57df6f5b41f7ac 100644 --- a/plugins/source/azure/codegen1/recipes/dashboard.go +++ b/plugins/source/azure/codegen1/recipes/dashboard.go @@ -9,8 +9,8 @@ func Armdashboard() []*Table { NewFunc: armdashboard.NewGrafanaClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dashboard/armdashboard", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana", - Namespace: "Microsoft.Dashboard", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Dashboard)`, + Namespace: "microsoft.dashboard", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dashboard)`, Pager: `NewListPager`, ResponseStruct: "GrafanaClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/databox.go b/plugins/source/azure/codegen1/recipes/databox.go index 4faff9e0171d98..1f7d9e41fb97de 100644 --- a/plugins/source/azure/codegen1/recipes/databox.go +++ b/plugins/source/azure/codegen1/recipes/databox.go @@ -9,8 +9,8 @@ func Armdatabox() []*Table { NewFunc: armdatabox.NewJobsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/databox/armdatabox", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs", - Namespace: "Microsoft.DataBox", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataBox)`, + Namespace: "microsoft.databox", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_databox)`, Pager: `NewListPager`, ResponseStruct: "JobsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/databoxedge.go b/plugins/source/azure/codegen1/recipes/databoxedge.go index e8fd92c4fdac51..60d1143b1d9d22 100644 --- a/plugins/source/azure/codegen1/recipes/databoxedge.go +++ b/plugins/source/azure/codegen1/recipes/databoxedge.go @@ -9,8 +9,8 @@ func Armdataboxedge() []*Table { NewFunc: armdataboxedge.NewAvailableSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/databoxedge/armdataboxedge", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/availableSkus", - Namespace: "Microsoft.DataBoxEdge", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataBoxEdge)`, + Namespace: "microsoft.databoxedge", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_databoxedge)`, Pager: `NewListPager`, ResponseStruct: "AvailableSKUsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/datadog.go b/plugins/source/azure/codegen1/recipes/datadog.go index c6109a9ea30258..395ddee143184a 100644 --- a/plugins/source/azure/codegen1/recipes/datadog.go +++ b/plugins/source/azure/codegen1/recipes/datadog.go @@ -9,8 +9,8 @@ func Armdatadog() []*Table { NewFunc: armdatadog.NewMarketplaceAgreementsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datadog/armdatadog", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Datadog/agreements", - Namespace: "Microsoft.Datadog", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Datadog)`, + Namespace: "microsoft.datadog", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datadog)`, Pager: `NewListPager`, ResponseStruct: "MarketplaceAgreementsClientListResponse", }, @@ -18,8 +18,8 @@ func Armdatadog() []*Table { NewFunc: armdatadog.NewMonitorsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datadog/armdatadog", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Datadog/monitors", - Namespace: "Microsoft.Datadog", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Datadog)`, + Namespace: "microsoft.datadog", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datadog)`, Pager: `NewListPager`, ResponseStruct: "MonitorsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/datafactory.go b/plugins/source/azure/codegen1/recipes/datafactory.go index 6fa74f1fb9b9eb..9aeb365611bc7a 100644 --- a/plugins/source/azure/codegen1/recipes/datafactory.go +++ b/plugins/source/azure/codegen1/recipes/datafactory.go @@ -9,8 +9,8 @@ func Armdatafactory() []*Table { NewFunc: armdatafactory.NewFactoriesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories", - Namespace: "Microsoft.DataFactory", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataFactory)`, + Namespace: "microsoft.datafactory", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datafactory)`, Pager: `NewListPager`, ResponseStruct: "FactoriesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/datalakeanalytics.go b/plugins/source/azure/codegen1/recipes/datalakeanalytics.go index a57c58a9cbbb94..ff47d36bc9528c 100644 --- a/plugins/source/azure/codegen1/recipes/datalakeanalytics.go +++ b/plugins/source/azure/codegen1/recipes/datalakeanalytics.go @@ -9,8 +9,8 @@ func Armdatalakeanalytics() []*Table { NewFunc: armdatalakeanalytics.NewAccountsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datalake-analytics/armdatalakeanalytics", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/accounts", - Namespace: "Microsoft.DataLakeAnalytics", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataLakeAnalytics)`, + Namespace: "microsoft.datalakeanalytics", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datalakeanalytics)`, Pager: `NewListPager`, ResponseStruct: "AccountsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/datalakestore.go b/plugins/source/azure/codegen1/recipes/datalakestore.go index 643aa0efec52fa..de67b0e833ba5f 100644 --- a/plugins/source/azure/codegen1/recipes/datalakestore.go +++ b/plugins/source/azure/codegen1/recipes/datalakestore.go @@ -9,8 +9,8 @@ func Armdatalakestore() []*Table { NewFunc: armdatalakestore.NewAccountsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datalake-store/armdatalakestore", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts", - Namespace: "Microsoft.DataLakeStore", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataLakeStore)`, + Namespace: "microsoft.datalakestore", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datalakestore)`, Pager: `NewListPager`, ResponseStruct: "AccountsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/datamigration.go b/plugins/source/azure/codegen1/recipes/datamigration.go index a21d6ce745c1b9..e4d2893f3b8524 100644 --- a/plugins/source/azure/codegen1/recipes/datamigration.go +++ b/plugins/source/azure/codegen1/recipes/datamigration.go @@ -9,8 +9,8 @@ func Armdatamigration() []*Table { NewFunc: armdatamigration.NewServicesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datamigration/armdatamigration", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services", - Namespace: "Microsoft.DataMigration", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataMigration)`, + Namespace: "microsoft.datamigration", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datamigration)`, Pager: `NewListPager`, ResponseStruct: "ServicesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/desktopvirtualization.go b/plugins/source/azure/codegen1/recipes/desktopvirtualization.go index 4867ef2959d31d..ef5e3ff7ce9037 100644 --- a/plugins/source/azure/codegen1/recipes/desktopvirtualization.go +++ b/plugins/source/azure/codegen1/recipes/desktopvirtualization.go @@ -9,8 +9,8 @@ func Armdesktopvirtualization() []*Table { NewFunc: armdesktopvirtualization.NewHostPoolsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/desktopvirtualization/armdesktopvirtualization", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools", - Namespace: "Microsoft.DesktopVirtualization", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DesktopVirtualization)`, + Namespace: "microsoft.desktopvirtualization", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_desktopvirtualization)`, Pager: `NewListPager`, ResponseStruct: "HostPoolsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/devhub.go b/plugins/source/azure/codegen1/recipes/devhub.go index 3464d8952cf614..6729b399268150 100644 --- a/plugins/source/azure/codegen1/recipes/devhub.go +++ b/plugins/source/azure/codegen1/recipes/devhub.go @@ -9,8 +9,8 @@ func Armdevhub() []*Table { NewFunc: armdevhub.NewWorkflowClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/devhub/armdevhub", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/workflows", - Namespace: "Microsoft.DevHub", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DevHub)`, + Namespace: "microsoft.devhub", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_devhub)`, Pager: `NewListPager`, ResponseStruct: "WorkflowClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/devops.go b/plugins/source/azure/codegen1/recipes/devops.go index 0859369d641383..453104d837fb59 100644 --- a/plugins/source/azure/codegen1/recipes/devops.go +++ b/plugins/source/azure/codegen1/recipes/devops.go @@ -9,8 +9,8 @@ func Armdevops() []*Table { NewFunc: armdevops.NewPipelineTemplateDefinitionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/devops/armdevops", URL: "/providers/Microsoft.DevOps/pipelineTemplateDefinitions", - Namespace: "Microsoft.DevOps", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DevOps)`, + Namespace: "microsoft.devops", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_devops)`, Pager: `NewListPager`, ResponseStruct: "PipelineTemplateDefinitionsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/devtestlabs.go b/plugins/source/azure/codegen1/recipes/devtestlabs.go index 777d2c212ce244..c9b380d246af53 100644 --- a/plugins/source/azure/codegen1/recipes/devtestlabs.go +++ b/plugins/source/azure/codegen1/recipes/devtestlabs.go @@ -9,8 +9,8 @@ func Armdevtestlabs() []*Table { NewFunc: armdevtestlabs.NewProviderOperationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/devtestlabs/armdevtestlabs", URL: "/providers/Microsoft.DevTestLab/operations", - Namespace: "Microsoft.DevTestLab", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DevTestLab)`, + Namespace: "microsoft.devtestlab", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_devtestlab)`, Pager: `NewListPager`, ResponseStruct: "ProviderOperationsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/dns.go b/plugins/source/azure/codegen1/recipes/dns.go index 559e9cf2d34618..ea2b46d4a518d3 100644 --- a/plugins/source/azure/codegen1/recipes/dns.go +++ b/plugins/source/azure/codegen1/recipes/dns.go @@ -9,8 +9,8 @@ func Armdns() []*Table { NewFunc: armdns.NewZonesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dns/armdns", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnszones", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "ZonesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/dnsresolver.go b/plugins/source/azure/codegen1/recipes/dnsresolver.go index 00a32887f08395..7c462626746b94 100644 --- a/plugins/source/azure/codegen1/recipes/dnsresolver.go +++ b/plugins/source/azure/codegen1/recipes/dnsresolver.go @@ -9,8 +9,8 @@ func Armdnsresolver() []*Table { NewFunc: armdnsresolver.NewDNSForwardingRulesetsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dnsresolver/armdnsresolver", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsForwardingRulesets", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "DNSForwardingRulesetsClientListResponse", }, @@ -18,8 +18,8 @@ func Armdnsresolver() []*Table { NewFunc: armdnsresolver.NewDNSResolversClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dnsresolver/armdnsresolver", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolvers", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "DNSResolversClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/domainservices.go b/plugins/source/azure/codegen1/recipes/domainservices.go index 3cde956b6a4559..ebabb511c7fb0a 100644 --- a/plugins/source/azure/codegen1/recipes/domainservices.go +++ b/plugins/source/azure/codegen1/recipes/domainservices.go @@ -9,8 +9,8 @@ func Armdomainservices() []*Table { NewFunc: armdomainservices.NewDomainServiceOperationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/domainservices/armdomainservices", URL: "/providers/Microsoft.AAD/operations", - Namespace: "Microsoft.AAD", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AAD)`, + Namespace: "microsoft.aad", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_aad)`, Pager: `NewListPager`, ResponseStruct: "DomainServiceOperationsClientListResponse", }, @@ -18,8 +18,8 @@ func Armdomainservices() []*Table { NewFunc: armdomainservices.NewOuContainerOperationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/domainservices/armdomainservices", URL: "/providers/Microsoft.Aad/operations", - Namespace: "Microsoft.Aad", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Aad)`, + Namespace: "microsoft.aad", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_aad)`, Pager: `NewListPager`, ResponseStruct: "OuContainerOperationsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/elastic.go b/plugins/source/azure/codegen1/recipes/elastic.go index fe6d21ab45334c..816d06ae5ddd87 100644 --- a/plugins/source/azure/codegen1/recipes/elastic.go +++ b/plugins/source/azure/codegen1/recipes/elastic.go @@ -9,8 +9,8 @@ func Armelastic() []*Table { NewFunc: armelastic.NewMonitorsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/elastic/armelastic", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors", - Namespace: "Microsoft.Elastic", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Elastic)`, + Namespace: "microsoft.elastic", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_elastic)`, Pager: `NewListPager`, ResponseStruct: "MonitorsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/elasticsan.go b/plugins/source/azure/codegen1/recipes/elasticsan.go index 01fde24b43bb9f..d6a0bbac5cf2ab 100644 --- a/plugins/source/azure/codegen1/recipes/elasticsan.go +++ b/plugins/source/azure/codegen1/recipes/elasticsan.go @@ -9,8 +9,8 @@ func Armelasticsan() []*Table { NewFunc: armelasticsan.NewSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/elasticsan/armelasticsan", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ElasticSan/skus", - Namespace: "Microsoft.ElasticSan", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ElasticSan)`, + Namespace: "microsoft.elasticsan", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_elasticsan)`, Pager: `NewListPager`, ResponseStruct: "SKUsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/engagementfabric.go b/plugins/source/azure/codegen1/recipes/engagementfabric.go index a5ab80c1969adc..456f8966663e8e 100644 --- a/plugins/source/azure/codegen1/recipes/engagementfabric.go +++ b/plugins/source/azure/codegen1/recipes/engagementfabric.go @@ -9,8 +9,8 @@ func Armengagementfabric() []*Table { NewFunc: armengagementfabric.NewAccountsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/engagementfabric/armengagementfabric", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.EngagementFabric/Accounts", - Namespace: "Microsoft.EngagementFabric", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_EngagementFabric)`, + Namespace: "microsoft.engagementfabric", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_engagementfabric)`, Pager: `NewListPager`, ResponseStruct: "AccountsClientListResponse", }, @@ -18,8 +18,8 @@ func Armengagementfabric() []*Table { NewFunc: armengagementfabric.NewSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/engagementfabric/armengagementfabric", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.EngagementFabric/skus", - Namespace: "Microsoft.EngagementFabric", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_EngagementFabric)`, + Namespace: "microsoft.engagementfabric", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_engagementfabric)`, Pager: `NewListPager`, ResponseStruct: "SKUsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/eventgrid.go b/plugins/source/azure/codegen1/recipes/eventgrid.go index b15067f83a6a32..3da46b3148967b 100644 --- a/plugins/source/azure/codegen1/recipes/eventgrid.go +++ b/plugins/source/azure/codegen1/recipes/eventgrid.go @@ -9,8 +9,8 @@ func Armeventgrid() []*Table { NewFunc: armeventgrid.NewTopicTypesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/eventgrid/armeventgrid", URL: "/providers/Microsoft.EventGrid/topicTypes", - Namespace: "Microsoft.EventGrid", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_EventGrid)`, + Namespace: "microsoft.eventgrid", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_eventgrid)`, Pager: `NewListPager`, ResponseStruct: "TopicTypesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/eventhub.go b/plugins/source/azure/codegen1/recipes/eventhub.go index aa93756088ef72..8e8ac2aaa16729 100644 --- a/plugins/source/azure/codegen1/recipes/eventhub.go +++ b/plugins/source/azure/codegen1/recipes/eventhub.go @@ -9,8 +9,8 @@ func Armeventhub() []*Table { NewFunc: armeventhub.NewNamespacesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/eventhub/armeventhub", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/namespaces", - Namespace: "Microsoft.EventHub", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_EventHub)`, + Namespace: "microsoft.eventhub", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_eventhub)`, Pager: `NewListPager`, ResponseStruct: "NamespacesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/frontdoor.go b/plugins/source/azure/codegen1/recipes/frontdoor.go index 64bd5696a20774..3ad66385c14434 100644 --- a/plugins/source/azure/codegen1/recipes/frontdoor.go +++ b/plugins/source/azure/codegen1/recipes/frontdoor.go @@ -9,8 +9,8 @@ func Armfrontdoor() []*Table { NewFunc: armfrontdoor.NewFrontDoorsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/frontdoor/armfrontdoor", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/frontDoors", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "FrontDoorsClientListResponse", }, @@ -18,8 +18,8 @@ func Armfrontdoor() []*Table { NewFunc: armfrontdoor.NewManagedRuleSetsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/frontdoor/armfrontdoor", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallManagedRuleSets", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "ManagedRuleSetsClientListResponse", }, @@ -27,8 +27,8 @@ func Armfrontdoor() []*Table { NewFunc: armfrontdoor.NewNetworkExperimentProfilesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/frontdoor/armfrontdoor", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/NetworkExperimentProfiles", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "NetworkExperimentProfilesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/hanaonazure.go b/plugins/source/azure/codegen1/recipes/hanaonazure.go index f27fcb318f3eea..16d9a0c4aae3b1 100644 --- a/plugins/source/azure/codegen1/recipes/hanaonazure.go +++ b/plugins/source/azure/codegen1/recipes/hanaonazure.go @@ -9,8 +9,8 @@ func Armhanaonazure() []*Table { NewFunc: armhanaonazure.NewSapMonitorsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/hanaonazure/armhanaonazure", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HanaOnAzure/sapMonitors", - Namespace: "Microsoft.HanaOnAzure", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HanaOnAzure)`, + Namespace: "microsoft.hanaonazure", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hanaonazure)`, Pager: `NewListPager`, ResponseStruct: "SapMonitorsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/hdinsight.go b/plugins/source/azure/codegen1/recipes/hdinsight.go index 5651e7d665d06e..f23c051ea16e3c 100644 --- a/plugins/source/azure/codegen1/recipes/hdinsight.go +++ b/plugins/source/azure/codegen1/recipes/hdinsight.go @@ -9,8 +9,8 @@ func Armhdinsight() []*Table { NewFunc: armhdinsight.NewClustersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/hdinsight/armhdinsight", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusters", - Namespace: "Microsoft.HDInsight", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HDInsight)`, + Namespace: "microsoft.hdinsight", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hdinsight)`, Pager: `NewListPager`, ResponseStruct: "ClustersClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/healthbot.go b/plugins/source/azure/codegen1/recipes/healthbot.go index f724cef66d35e0..959fee75c48bec 100644 --- a/plugins/source/azure/codegen1/recipes/healthbot.go +++ b/plugins/source/azure/codegen1/recipes/healthbot.go @@ -9,8 +9,8 @@ func Armhealthbot() []*Table { NewFunc: armhealthbot.NewBotsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/healthbot/armhealthbot", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HealthBot/healthBots", - Namespace: "Microsoft.HealthBot", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HealthBot)`, + Namespace: "microsoft.healthbot", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_healthbot)`, Pager: `NewListPager`, ResponseStruct: "BotsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/healthcareapis.go b/plugins/source/azure/codegen1/recipes/healthcareapis.go index 7f42871d8c2386..798af49713cec4 100644 --- a/plugins/source/azure/codegen1/recipes/healthcareapis.go +++ b/plugins/source/azure/codegen1/recipes/healthcareapis.go @@ -9,8 +9,8 @@ func Armhealthcareapis() []*Table { NewFunc: armhealthcareapis.NewServicesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/healthcareapis/armhealthcareapis", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/services", - Namespace: "Microsoft.HealthcareApis", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HealthcareApis)`, + Namespace: "microsoft.healthcareapis", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_healthcareapis)`, Pager: `NewListPager`, ResponseStruct: "ServicesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/hybridcompute.go b/plugins/source/azure/codegen1/recipes/hybridcompute.go index 0b43f2dc6f5dce..003d3c6852b4fd 100644 --- a/plugins/source/azure/codegen1/recipes/hybridcompute.go +++ b/plugins/source/azure/codegen1/recipes/hybridcompute.go @@ -9,8 +9,8 @@ func Armhybridcompute() []*Table { NewFunc: armhybridcompute.NewPrivateLinkScopesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/hybridcompute/armhybridcompute", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes", - Namespace: "Microsoft.HybridCompute", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HybridCompute)`, + Namespace: "microsoft.hybridcompute", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hybridcompute)`, Pager: `NewListPager`, ResponseStruct: "PrivateLinkScopesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/hybriddatamanager.go b/plugins/source/azure/codegen1/recipes/hybriddatamanager.go index 224d74d2c57104..18bbba880972f4 100644 --- a/plugins/source/azure/codegen1/recipes/hybriddatamanager.go +++ b/plugins/source/azure/codegen1/recipes/hybriddatamanager.go @@ -9,8 +9,8 @@ func Armhybriddatamanager() []*Table { NewFunc: armhybriddatamanager.NewDataManagersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/hybriddatamanager/armhybriddatamanager", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HybridData/dataManagers", - Namespace: "Microsoft.HybridData", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HybridData)`, + Namespace: "microsoft.hybriddata", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hybriddata)`, Pager: `NewListPager`, ResponseStruct: "DataManagersClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/hybridnetwork.go b/plugins/source/azure/codegen1/recipes/hybridnetwork.go index 1f65b96d10477d..157b0845f1d183 100644 --- a/plugins/source/azure/codegen1/recipes/hybridnetwork.go +++ b/plugins/source/azure/codegen1/recipes/hybridnetwork.go @@ -9,8 +9,8 @@ func Armhybridnetwork() []*Table { NewFunc: armhybridnetwork.NewNetworkFunctionVendorsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/hybridnetwork/armhybridnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HybridNetwork/networkFunctionVendors", - Namespace: "Microsoft.HybridNetwork", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HybridNetwork)`, + Namespace: "microsoft.hybridnetwork", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hybridnetwork)`, Pager: `NewListPager`, ResponseStruct: "NetworkFunctionVendorsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/kusto.go b/plugins/source/azure/codegen1/recipes/kusto.go index 539fda7065f2ed..c0edcb5ba95ae6 100644 --- a/plugins/source/azure/codegen1/recipes/kusto.go +++ b/plugins/source/azure/codegen1/recipes/kusto.go @@ -9,8 +9,8 @@ func Armkusto() []*Table { NewFunc: armkusto.NewClustersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/kusto/armkusto", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/clusters", - Namespace: "Microsoft.Kusto", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Kusto)`, + Namespace: "microsoft.kusto", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_kusto)`, Pager: `NewListPager`, ResponseStruct: "ClustersClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/labservices.go b/plugins/source/azure/codegen1/recipes/labservices.go index 454c574bddeddd..9e28b5d68a57f9 100644 --- a/plugins/source/azure/codegen1/recipes/labservices.go +++ b/plugins/source/azure/codegen1/recipes/labservices.go @@ -9,8 +9,8 @@ func Armlabservices() []*Table { NewFunc: armlabservices.NewSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/labservices/armlabservices", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.LabServices/skus", - Namespace: "Microsoft.LabServices", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_LabServices)`, + Namespace: "microsoft.labservices", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_labservices)`, Pager: `NewListPager`, ResponseStruct: "SKUsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/locks.go b/plugins/source/azure/codegen1/recipes/locks.go index 8ece988c5d9755..a5721ebe8627cf 100644 --- a/plugins/source/azure/codegen1/recipes/locks.go +++ b/plugins/source/azure/codegen1/recipes/locks.go @@ -9,8 +9,8 @@ func Armlocks() []*Table { NewFunc: armlocks.NewAuthorizationOperationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armlocks", URL: "/providers/Microsoft.Authorization/operations", - Namespace: "Microsoft.Authorization", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Namespace: "microsoft.authorization", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, Pager: `NewListPager`, ResponseStruct: "AuthorizationOperationsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/machinelearning.go b/plugins/source/azure/codegen1/recipes/machinelearning.go index 216410a25908f0..b3a29f7ea7ee98 100644 --- a/plugins/source/azure/codegen1/recipes/machinelearning.go +++ b/plugins/source/azure/codegen1/recipes/machinelearning.go @@ -9,8 +9,8 @@ func Armmachinelearning() []*Table { NewFunc: armmachinelearning.NewWorkspaceSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/machinelearning/armmachinelearning", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus", - Namespace: "Microsoft.MachineLearningServices", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_MachineLearningServices)`, + Namespace: "microsoft.machinelearningservices", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_machinelearningservices)`, Pager: `NewListPager`, ResponseStruct: "WorkspaceSKUsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/maintenance.go b/plugins/source/azure/codegen1/recipes/maintenance.go index 7537c90b718cbb..7dc25f11dfd806 100644 --- a/plugins/source/azure/codegen1/recipes/maintenance.go +++ b/plugins/source/azure/codegen1/recipes/maintenance.go @@ -9,8 +9,8 @@ func Armmaintenance() []*Table { NewFunc: armmaintenance.NewConfigurationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/maintenance/armmaintenance", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/maintenanceConfigurations", - Namespace: "Microsoft.Maintenance", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Maintenance)`, + Namespace: "microsoft.maintenance", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_maintenance)`, Pager: `NewListPager`, ResponseStruct: "ConfigurationsClientListResponse", }, @@ -18,8 +18,8 @@ func Armmaintenance() []*Table { NewFunc: armmaintenance.NewPublicMaintenanceConfigurationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/maintenance/armmaintenance", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations", - Namespace: "Microsoft.Maintenance", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Maintenance)`, + Namespace: "microsoft.maintenance", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_maintenance)`, Pager: `NewListPager`, ResponseStruct: "PublicMaintenanceConfigurationsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/managementpartner.go b/plugins/source/azure/codegen1/recipes/managementpartner.go index b1b8cf0d71ebe4..68f590dfda9da9 100644 --- a/plugins/source/azure/codegen1/recipes/managementpartner.go +++ b/plugins/source/azure/codegen1/recipes/managementpartner.go @@ -9,8 +9,8 @@ func Armmanagementpartner() []*Table { NewFunc: armmanagementpartner.NewOperationClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/managementpartner/armmanagementpartner", URL: "/providers/Microsoft.ManagementPartner/operations", - Namespace: "Microsoft.ManagementPartner", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ManagementPartner)`, + Namespace: "microsoft.managementpartner", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_managementpartner)`, Pager: `NewListPager`, ResponseStruct: "OperationClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/marketplace.go b/plugins/source/azure/codegen1/recipes/marketplace.go index 840b998c9d788b..dcf7ed18aeddac 100644 --- a/plugins/source/azure/codegen1/recipes/marketplace.go +++ b/plugins/source/azure/codegen1/recipes/marketplace.go @@ -9,8 +9,8 @@ func Armmarketplace() []*Table { NewFunc: armmarketplace.NewPrivateStoreClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/marketplace/armmarketplace", URL: "/providers/Microsoft.Marketplace/privateStores", - Namespace: "Microsoft.Marketplace", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Marketplace)`, + Namespace: "microsoft.marketplace", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_marketplace)`, Pager: `NewListPager`, ResponseStruct: "PrivateStoreClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/monitor.go b/plugins/source/azure/codegen1/recipes/monitor.go index ab84e82300aef4..c253d4ec4cb07f 100644 --- a/plugins/source/azure/codegen1/recipes/monitor.go +++ b/plugins/source/azure/codegen1/recipes/monitor.go @@ -9,8 +9,8 @@ func Armmonitor() []*Table { NewFunc: armmonitor.NewEventCategoriesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor", URL: "/providers/Microsoft.Insights/eventcategories", - Namespace: "Microsoft.Insights", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights)`, + Namespace: "microsoft.insights", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights)`, Pager: `NewListPager`, ResponseStruct: "EventCategoriesClientListResponse", }, @@ -18,8 +18,8 @@ func Armmonitor() []*Table { NewFunc: armmonitor.NewLogProfilesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/logprofiles", - Namespace: "Microsoft.Insights", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights)`, + Namespace: "microsoft.insights", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights)`, Pager: `NewListPager`, ResponseStruct: "LogProfilesClientListResponse", }, @@ -36,8 +36,8 @@ func Armmonitor() []*Table { NewFunc: armmonitor.NewTenantActivityLogsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor", URL: "/providers/Microsoft.Insights/eventtypes/management/values", - Namespace: "Microsoft.Insights", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights)`, + Namespace: "microsoft.insights", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights)`, Pager: `NewListPager`, ResponseStruct: "TenantActivityLogsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/mysqlflexibleservers.go b/plugins/source/azure/codegen1/recipes/mysqlflexibleservers.go index e2a1e1b555d08f..cbab54e8b4a180 100644 --- a/plugins/source/azure/codegen1/recipes/mysqlflexibleservers.go +++ b/plugins/source/azure/codegen1/recipes/mysqlflexibleservers.go @@ -9,8 +9,8 @@ func Armmysqlflexibleservers() []*Table { NewFunc: armmysqlflexibleservers.NewServersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/mysql/armmysqlflexibleservers", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers", - Namespace: "Microsoft.DBforMySQL", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforMySQL)`, + Namespace: "microsoft.dbformysql", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbformysql)`, Pager: `NewListPager`, ResponseStruct: "ServersClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/network.go b/plugins/source/azure/codegen1/recipes/network.go index 413de5aa67c237..e9de766216c5a8 100644 --- a/plugins/source/azure/codegen1/recipes/network.go +++ b/plugins/source/azure/codegen1/recipes/network.go @@ -9,8 +9,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewApplicationGatewaysClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "ApplicationGatewaysClientListAllResponse", }, @@ -18,8 +18,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewApplicationSecurityGroupsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "ApplicationSecurityGroupsClientListAllResponse", }, @@ -27,8 +27,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewAzureFirewallFqdnTagsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "AzureFirewallFqdnTagsClientListAllResponse", }, @@ -36,8 +36,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewAzureFirewallsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "AzureFirewallsClientListAllResponse", }, @@ -45,8 +45,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewBastionHostsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "BastionHostsClientListResponse", }, @@ -54,8 +54,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewBgpServiceCommunitiesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "BgpServiceCommunitiesClientListResponse", }, @@ -63,8 +63,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewCustomIPPrefixesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "CustomIPPrefixesClientListAllResponse", }, @@ -72,8 +72,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewDdosProtectionPlansClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "DdosProtectionPlansClientListResponse", }, @@ -81,8 +81,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewDscpConfigurationClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "DscpConfigurationClientListAllResponse", }, @@ -90,8 +90,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewExpressRouteCircuitsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "ExpressRouteCircuitsClientListAllResponse", }, @@ -99,8 +99,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewExpressRoutePortsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "ExpressRoutePortsClientListResponse", }, @@ -108,8 +108,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewExpressRoutePortsLocationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "ExpressRoutePortsLocationsClientListResponse", }, @@ -117,8 +117,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewExpressRouteServiceProvidersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "ExpressRouteServiceProvidersClientListResponse", }, @@ -126,8 +126,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewFirewallPoliciesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "FirewallPoliciesClientListAllResponse", }, @@ -135,8 +135,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewIPAllocationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "IPAllocationsClientListResponse", }, @@ -144,8 +144,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewIPGroupsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "IPGroupsClientListResponse", }, @@ -153,8 +153,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewInterfacesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "InterfacesClientListAllResponse", }, @@ -162,8 +162,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewLoadBalancersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "LoadBalancersClientListAllResponse", }, @@ -171,8 +171,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewNatGatewaysClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "NatGatewaysClientListAllResponse", }, @@ -180,8 +180,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewProfilesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "ProfilesClientListAllResponse", }, @@ -189,8 +189,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewPublicIPAddressesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "PublicIPAddressesClientListAllResponse", }, @@ -198,8 +198,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewPublicIPPrefixesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "PublicIPPrefixesClientListAllResponse", }, @@ -207,8 +207,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewRouteFiltersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "RouteFiltersClientListResponse", }, @@ -216,8 +216,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewRouteTablesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "RouteTablesClientListAllResponse", }, @@ -225,8 +225,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewSecurityGroupsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "SecurityGroupsClientListAllResponse", }, @@ -234,8 +234,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewSecurityPartnerProvidersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "SecurityPartnerProvidersClientListResponse", }, @@ -243,8 +243,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewServiceEndpointPoliciesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "ServiceEndpointPoliciesClientListResponse", }, @@ -252,8 +252,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewSubscriptionNetworkManagerConnectionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "SubscriptionNetworkManagerConnectionsClientListResponse", }, @@ -261,8 +261,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewVPNGatewaysClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "VPNGatewaysClientListResponse", }, @@ -270,8 +270,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewVPNServerConfigurationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "VPNServerConfigurationsClientListResponse", }, @@ -279,8 +279,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewVPNSitesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "VPNSitesClientListResponse", }, @@ -288,8 +288,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewVirtualAppliancesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "VirtualAppliancesClientListResponse", }, @@ -297,8 +297,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewVirtualHubsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "VirtualHubsClientListResponse", }, @@ -306,8 +306,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewVirtualNetworkTapsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "VirtualNetworkTapsClientListAllResponse", }, @@ -315,8 +315,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewVirtualNetworksClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "VirtualNetworksClientListAllResponse", }, @@ -324,8 +324,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewVirtualRoutersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "VirtualRoutersClientListResponse", }, @@ -333,8 +333,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewVirtualWansClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "VirtualWansClientListResponse", }, @@ -342,8 +342,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewWatchersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "WatchersClientListAllResponse", }, @@ -351,8 +351,8 @@ func Armnetwork() []*Table { NewFunc: armnetwork.NewWebApplicationFirewallPoliciesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListAllPager`, ResponseStruct: "WebApplicationFirewallPoliciesClientListAllResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/networkfunction.go b/plugins/source/azure/codegen1/recipes/networkfunction.go index fae9f14e518945..efe7962f27bebc 100644 --- a/plugins/source/azure/codegen1/recipes/networkfunction.go +++ b/plugins/source/azure/codegen1/recipes/networkfunction.go @@ -9,8 +9,8 @@ func Armnetworkfunction() []*Table { NewFunc: armnetworkfunction.NewAzureTrafficCollectorsBySubscriptionClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/networkfunction/armnetworkfunction", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.NetworkFunction/azureTrafficCollectors", - Namespace: "Microsoft.NetworkFunction", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_NetworkFunction)`, + Namespace: "microsoft.networkfunction", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_networkfunction)`, Pager: `NewListPager`, ResponseStruct: "AzureTrafficCollectorsBySubscriptionClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/nginx.go b/plugins/source/azure/codegen1/recipes/nginx.go index 0d095ab8523c53..fc2c5b2faf6383 100644 --- a/plugins/source/azure/codegen1/recipes/nginx.go +++ b/plugins/source/azure/codegen1/recipes/nginx.go @@ -9,8 +9,8 @@ func Armnginx() []*Table { NewFunc: armnginx.NewDeploymentsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/nginx/armnginx", URL: "/subscriptions/{subscriptionId}/providers/Nginx.NginxPlus/nginxDeployments", - Namespace: "Nginx.NginxPlus", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceNginx_NginxPlus)`, + Namespace: "nginx.nginxplus", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacenginx_nginxplus)`, Pager: `NewListPager`, ResponseStruct: "DeploymentsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/notificationhubs.go b/plugins/source/azure/codegen1/recipes/notificationhubs.go index 1d318086f13ddf..f2fd72106b4878 100644 --- a/plugins/source/azure/codegen1/recipes/notificationhubs.go +++ b/plugins/source/azure/codegen1/recipes/notificationhubs.go @@ -9,8 +9,8 @@ func Armnotificationhubs() []*Table { NewFunc: armnotificationhubs.NewNamespacesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/notificationhubs/armnotificationhubs", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/namespaces", - Namespace: "Microsoft.NotificationHubs", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_NotificationHubs)`, + Namespace: "microsoft.notificationhubs", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_notificationhubs)`, Pager: `NewListAllPager`, ResponseStruct: "NamespacesClientListAllResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/operationalinsights.go b/plugins/source/azure/codegen1/recipes/operationalinsights.go index b92275a9503f5a..48881789dd6703 100644 --- a/plugins/source/azure/codegen1/recipes/operationalinsights.go +++ b/plugins/source/azure/codegen1/recipes/operationalinsights.go @@ -9,8 +9,8 @@ func Armoperationalinsights() []*Table { NewFunc: armoperationalinsights.NewClustersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/operationalinsights/armoperationalinsights", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters", - Namespace: "Microsoft.OperationalInsights", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_OperationalInsights)`, + Namespace: "microsoft.operationalinsights", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_operationalinsights)`, Pager: `NewListPager`, ResponseStruct: "ClustersClientListResponse", }, @@ -18,8 +18,8 @@ func Armoperationalinsights() []*Table { NewFunc: armoperationalinsights.NewWorkspacesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/operationalinsights/armoperationalinsights", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces", - Namespace: "Microsoft.OperationalInsights", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_OperationalInsights)`, + Namespace: "microsoft.operationalinsights", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_operationalinsights)`, Pager: `NewListPager`, ResponseStruct: "WorkspacesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/peering.go b/plugins/source/azure/codegen1/recipes/peering.go index d66c92acb33cd5..954b1fe05f25c7 100644 --- a/plugins/source/azure/codegen1/recipes/peering.go +++ b/plugins/source/azure/codegen1/recipes/peering.go @@ -9,8 +9,8 @@ func Armpeering() []*Table { NewFunc: armpeering.NewServiceCountriesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/peering/armpeering", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceCountries", - Namespace: "Microsoft.Peering", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Peering)`, + Namespace: "microsoft.peering", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_peering)`, Pager: `NewListPager`, ResponseStruct: "ServiceCountriesClientListResponse", }, @@ -18,8 +18,8 @@ func Armpeering() []*Table { NewFunc: armpeering.NewServiceLocationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/peering/armpeering", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceLocations", - Namespace: "Microsoft.Peering", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Peering)`, + Namespace: "microsoft.peering", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_peering)`, Pager: `NewListPager`, ResponseStruct: "ServiceLocationsClientListResponse", }, @@ -27,8 +27,8 @@ func Armpeering() []*Table { NewFunc: armpeering.NewServiceProvidersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/peering/armpeering", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceProviders", - Namespace: "Microsoft.Peering", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Peering)`, + Namespace: "microsoft.peering", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_peering)`, Pager: `NewListPager`, ResponseStruct: "ServiceProvidersClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/policy.go b/plugins/source/azure/codegen1/recipes/policy.go index 78653ff0b9da18..6a04d8b704ec50 100644 --- a/plugins/source/azure/codegen1/recipes/policy.go +++ b/plugins/source/azure/codegen1/recipes/policy.go @@ -9,8 +9,8 @@ func Armpolicy() []*Table { NewFunc: armpolicy.NewAssignmentsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armpolicy", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments", - Namespace: "Microsoft.Authorization", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Namespace: "microsoft.authorization", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, Pager: `NewListPager`, ResponseStruct: "AssignmentsClientListResponse", }, @@ -18,8 +18,8 @@ func Armpolicy() []*Table { NewFunc: armpolicy.NewDataPolicyManifestsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armpolicy", URL: "/providers/Microsoft.Authorization/dataPolicyManifests", - Namespace: "Microsoft.Authorization", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Namespace: "microsoft.authorization", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, Pager: `NewListPager`, ResponseStruct: "DataPolicyManifestsClientListResponse", }, @@ -27,8 +27,8 @@ func Armpolicy() []*Table { NewFunc: armpolicy.NewDefinitionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armpolicy", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions", - Namespace: "Microsoft.Authorization", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Namespace: "microsoft.authorization", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, Pager: `NewListPager`, ResponseStruct: "DefinitionsClientListResponse", }, @@ -36,8 +36,8 @@ func Armpolicy() []*Table { NewFunc: armpolicy.NewExemptionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armpolicy", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyExemptions", - Namespace: "Microsoft.Authorization", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Namespace: "microsoft.authorization", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, Pager: `NewListPager`, ResponseStruct: "ExemptionsClientListResponse", }, @@ -45,8 +45,8 @@ func Armpolicy() []*Table { NewFunc: armpolicy.NewSetDefinitionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armpolicy", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions", - Namespace: "Microsoft.Authorization", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Namespace: "microsoft.authorization", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, Pager: `NewListPager`, ResponseStruct: "SetDefinitionsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/portal.go b/plugins/source/azure/codegen1/recipes/portal.go index df2eda6791b33f..e5b8e25630c9d6 100644 --- a/plugins/source/azure/codegen1/recipes/portal.go +++ b/plugins/source/azure/codegen1/recipes/portal.go @@ -9,8 +9,8 @@ func Armportal() []*Table { NewFunc: armportal.NewListTenantConfigurationViolationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/portal/armportal", URL: "/providers/Microsoft.Portal/listTenantConfigurationViolations", - Namespace: "Microsoft.Portal", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Portal)`, + Namespace: "microsoft.portal", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_portal)`, Pager: `NewListPager`, ResponseStruct: "ListTenantConfigurationViolationsClientListResponse", }, @@ -18,8 +18,8 @@ func Armportal() []*Table { NewFunc: armportal.NewTenantConfigurationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/portal/armportal", URL: "/providers/Microsoft.Portal/tenantConfigurations", - Namespace: "Microsoft.Portal", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Portal)`, + Namespace: "microsoft.portal", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_portal)`, Pager: `NewListPager`, ResponseStruct: "TenantConfigurationsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/postgresql.go b/plugins/source/azure/codegen1/recipes/postgresql.go index 79a99079984062..15decf4c999285 100644 --- a/plugins/source/azure/codegen1/recipes/postgresql.go +++ b/plugins/source/azure/codegen1/recipes/postgresql.go @@ -9,8 +9,8 @@ func Armpostgresql() []*Table { NewFunc: armpostgresql.NewServersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresql", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/servers", - Namespace: "Microsoft.DBforPostgreSQL", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforPostgreSQL)`, + Namespace: "microsoft.dbforpostgresql", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbforpostgresql)`, Pager: `NewListPager`, ResponseStruct: "ServersClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/postgresqlflexibleservers.go b/plugins/source/azure/codegen1/recipes/postgresqlflexibleservers.go index d6f1a4f0876cb3..1d60823eebb20c 100644 --- a/plugins/source/azure/codegen1/recipes/postgresqlflexibleservers.go +++ b/plugins/source/azure/codegen1/recipes/postgresqlflexibleservers.go @@ -9,8 +9,8 @@ func Armpostgresqlflexibleservers() []*Table { NewFunc: armpostgresqlflexibleservers.NewServersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresqlflexibleservers", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers", - Namespace: "Microsoft.DBforPostgreSQL", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforPostgreSQL)`, + Namespace: "microsoft.dbforpostgresql", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbforpostgresql)`, Pager: `NewListPager`, ResponseStruct: "ServersClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/postgresqlhsc.go b/plugins/source/azure/codegen1/recipes/postgresqlhsc.go index c1a749a9df2c78..8a6cf80917d2bf 100644 --- a/plugins/source/azure/codegen1/recipes/postgresqlhsc.go +++ b/plugins/source/azure/codegen1/recipes/postgresqlhsc.go @@ -9,8 +9,8 @@ func Armpostgresqlhsc() []*Table { NewFunc: armpostgresqlhsc.NewServerGroupsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresqlhsc/armpostgresqlhsc", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/serverGroupsv2", - Namespace: "Microsoft.DBForPostgreSql", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBForPostgreSql)`, + Namespace: "microsoft.dbforpostgresql", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbforpostgresql)`, Pager: `NewListPager`, ResponseStruct: "ServerGroupsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/powerbidedicated.go b/plugins/source/azure/codegen1/recipes/powerbidedicated.go index c3d94fbf634507..4eda5e85c5cf6a 100644 --- a/plugins/source/azure/codegen1/recipes/powerbidedicated.go +++ b/plugins/source/azure/codegen1/recipes/powerbidedicated.go @@ -9,8 +9,8 @@ func Armpowerbidedicated() []*Table { NewFunc: armpowerbidedicated.NewCapacitiesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/powerbidedicated/armpowerbidedicated", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/capacities", - Namespace: "Microsoft.PowerBIDedicated", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_PowerBIDedicated)`, + Namespace: "microsoft.powerbidedicated", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_powerbidedicated)`, Pager: `NewListPager`, ResponseStruct: "CapacitiesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/privatedns.go b/plugins/source/azure/codegen1/recipes/privatedns.go index d7002bc898e42a..ca180525949e2e 100644 --- a/plugins/source/azure/codegen1/recipes/privatedns.go +++ b/plugins/source/azure/codegen1/recipes/privatedns.go @@ -9,8 +9,8 @@ func Armprivatedns() []*Table { NewFunc: armprivatedns.NewPrivateZonesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/privatedns/armprivatedns", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones", - Namespace: "Microsoft.Network", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Namespace: "microsoft.network", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, Pager: `NewListPager`, ResponseStruct: "PrivateZonesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/providerhub.go b/plugins/source/azure/codegen1/recipes/providerhub.go index dc031b3d840a2d..3ac78be580c3bb 100644 --- a/plugins/source/azure/codegen1/recipes/providerhub.go +++ b/plugins/source/azure/codegen1/recipes/providerhub.go @@ -9,8 +9,8 @@ func Armproviderhub() []*Table { NewFunc: armproviderhub.NewProviderRegistrationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/providerhub/armproviderhub", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations", - Namespace: "Microsoft.ProviderHub", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ProviderHub)`, + Namespace: "microsoft.providerhub", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_providerhub)`, Pager: `NewListPager`, ResponseStruct: "ProviderRegistrationsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/quota.go b/plugins/source/azure/codegen1/recipes/quota.go index 868f8062311534..958c810eb12d22 100644 --- a/plugins/source/azure/codegen1/recipes/quota.go +++ b/plugins/source/azure/codegen1/recipes/quota.go @@ -9,8 +9,8 @@ func Armquota() []*Table { NewFunc: armquota.NewOperationClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/quota/armquota", URL: "/providers/Microsoft.Quota/operations", - Namespace: "Microsoft.Quota", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Quota)`, + Namespace: "microsoft.quota", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_quota)`, Pager: `NewListPager`, ResponseStruct: "OperationClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/redhatopenshift.go b/plugins/source/azure/codegen1/recipes/redhatopenshift.go index e9eb0567897936..e01ae787fc816a 100644 --- a/plugins/source/azure/codegen1/recipes/redhatopenshift.go +++ b/plugins/source/azure/codegen1/recipes/redhatopenshift.go @@ -9,8 +9,8 @@ func Armredhatopenshift() []*Table { NewFunc: armredhatopenshift.NewOpenShiftClustersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/redhatopenshift/armredhatopenshift", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters", - Namespace: "Microsoft.RedHatOpenShift", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_RedHatOpenShift)`, + Namespace: "microsoft.redhatopenshift", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_redhatopenshift)`, Pager: `NewListPager`, ResponseStruct: "OpenShiftClustersClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/relay.go b/plugins/source/azure/codegen1/recipes/relay.go index ec34b52231b8ee..6794a4b5151816 100644 --- a/plugins/source/azure/codegen1/recipes/relay.go +++ b/plugins/source/azure/codegen1/recipes/relay.go @@ -9,8 +9,8 @@ func Armrelay() []*Table { NewFunc: armrelay.NewNamespacesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/relay/armrelay", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Relay/namespaces", - Namespace: "Microsoft.Relay", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Relay)`, + Namespace: "microsoft.relay", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_relay)`, Pager: `NewListPager`, ResponseStruct: "NamespacesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/reservations.go b/plugins/source/azure/codegen1/recipes/reservations.go index b6d0e5ee0cdc81..a936c751c00e45 100644 --- a/plugins/source/azure/codegen1/recipes/reservations.go +++ b/plugins/source/azure/codegen1/recipes/reservations.go @@ -9,8 +9,8 @@ func Armreservations() []*Table { NewFunc: armreservations.NewOperationClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/reservations/armreservations", URL: "/providers/Microsoft.Capacity/operations", - Namespace: "Microsoft.Capacity", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Capacity)`, + Namespace: "microsoft.capacity", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_capacity)`, Pager: `NewListPager`, ResponseStruct: "OperationClientListResponse", }, @@ -18,8 +18,8 @@ func Armreservations() []*Table { NewFunc: armreservations.NewReservationClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/reservations/armreservations", URL: "/providers/Microsoft.Capacity/reservations", - Namespace: "Microsoft.Capacity", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Capacity)`, + Namespace: "microsoft.capacity", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_capacity)`, Pager: `NewListAllPager`, ResponseStruct: "ReservationClientListAllResponse", }, @@ -27,8 +27,8 @@ func Armreservations() []*Table { NewFunc: armreservations.NewReservationOrderClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/reservations/armreservations", URL: "/providers/Microsoft.Capacity/reservationOrders", - Namespace: "Microsoft.Capacity", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Capacity)`, + Namespace: "microsoft.capacity", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_capacity)`, Pager: `NewListPager`, ResponseStruct: "ReservationOrderClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/saas.go b/plugins/source/azure/codegen1/recipes/saas.go index fb31e380a7b2c6..c0c143ff3ae182 100644 --- a/plugins/source/azure/codegen1/recipes/saas.go +++ b/plugins/source/azure/codegen1/recipes/saas.go @@ -9,8 +9,8 @@ func Armsaas() []*Table { NewFunc: armsaas.NewResourcesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/saas/armsaas", URL: "/providers/Microsoft.SaaS/saasresources", - Namespace: "Microsoft.SaaS", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_SaaS)`, + Namespace: "microsoft.saas", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_saas)`, Pager: `NewListPager`, ResponseStruct: "ResourcesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/security.go b/plugins/source/azure/codegen1/recipes/security.go index 0df83f3377b465..3b919687da5e17 100644 --- a/plugins/source/azure/codegen1/recipes/security.go +++ b/plugins/source/azure/codegen1/recipes/security.go @@ -9,8 +9,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewAlertsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/alerts", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "AlertsClientListResponse", }, @@ -18,8 +18,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewAlertsSuppressionRulesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "AlertsSuppressionRulesClientListResponse", }, @@ -27,8 +27,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewAllowedConnectionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/allowedConnections", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "AllowedConnectionsClientListResponse", }, @@ -36,8 +36,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewApplicationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/applications", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "ApplicationsClientListResponse", }, @@ -45,8 +45,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewAssessmentsMetadataClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/providers/Microsoft.Security/assessmentMetadata", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "AssessmentsMetadataClientListResponse", }, @@ -54,8 +54,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewAutoProvisioningSettingsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "AutoProvisioningSettingsClientListResponse", }, @@ -63,8 +63,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewAutomationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/automations", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "AutomationsClientListResponse", }, @@ -72,8 +72,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewConnectorsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityConnectors", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "ConnectorsClientListResponse", }, @@ -81,8 +81,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewDiscoveredSecuritySolutionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/discoveredSecuritySolutions", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "DiscoveredSecuritySolutionsClientListResponse", }, @@ -90,8 +90,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewExternalSecuritySolutionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/externalSecuritySolutions", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "ExternalSecuritySolutionsClientListResponse", }, @@ -99,8 +99,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewGovernanceRuleClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/governanceRules", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "GovernanceRuleClientListResponse", }, @@ -108,8 +108,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewJitNetworkAccessPoliciesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/jitNetworkAccessPolicies", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "JitNetworkAccessPoliciesClientListResponse", }, @@ -117,8 +117,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewLocationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "LocationsClientListResponse", }, @@ -126,8 +126,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewRegulatoryComplianceStandardsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "RegulatoryComplianceStandardsClientListResponse", }, @@ -135,8 +135,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewSecureScoreControlDefinitionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/providers/Microsoft.Security/secureScoreControlDefinitions", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "SecureScoreControlDefinitionsClientListResponse", }, @@ -144,8 +144,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewSecureScoreControlsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControls", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "SecureScoreControlsClientListResponse", }, @@ -153,8 +153,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewSecureScoresClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "SecureScoresClientListResponse", }, @@ -162,8 +162,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewSettingsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/settings", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "SettingsClientListResponse", }, @@ -171,8 +171,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewSolutionsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutions", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "SolutionsClientListResponse", }, @@ -180,8 +180,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewTasksClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/tasks", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "TasksClientListResponse", }, @@ -189,8 +189,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewTopologyClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "TopologyClientListResponse", }, @@ -198,8 +198,8 @@ func Armsecurity() []*Table { NewFunc: armsecurity.NewWorkspaceSettingsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings", - Namespace: "Microsoft.Security", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Namespace: "microsoft.security", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, Pager: `NewListPager`, ResponseStruct: "WorkspaceSettingsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/servicebus.go b/plugins/source/azure/codegen1/recipes/servicebus.go index 767e26af6e98f7..93fb0f5140bfc6 100644 --- a/plugins/source/azure/codegen1/recipes/servicebus.go +++ b/plugins/source/azure/codegen1/recipes/servicebus.go @@ -9,8 +9,8 @@ func Armservicebus() []*Table { NewFunc: armservicebus.NewNamespacesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/servicebus/armservicebus", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/namespaces", - Namespace: "Microsoft.ServiceBus", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ServiceBus)`, + Namespace: "microsoft.servicebus", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_servicebus)`, Pager: `NewListPager`, ResponseStruct: "NamespacesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/sql.go b/plugins/source/azure/codegen1/recipes/sql.go index 3d981ebb26866e..5fdbd224f6ab30 100644 --- a/plugins/source/azure/codegen1/recipes/sql.go +++ b/plugins/source/azure/codegen1/recipes/sql.go @@ -5,21 +5,12 @@ import "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql" func Armsql() []*Table { tables := []*Table{ - { - NewFunc: armsql.NewDeletedServersClient, - PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql", - URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/deletedServers", - Namespace: "Microsoft.Sql", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql)`, - Pager: `NewListPager`, - ResponseStruct: "DeletedServersClientListResponse", - }, { NewFunc: armsql.NewInstancePoolsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/instancePools", - Namespace: "Microsoft.Sql", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql)`, + Namespace: "microsoft.sql", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql)`, Pager: `NewListPager`, ResponseStruct: "InstancePoolsClientListResponse", }, @@ -27,8 +18,8 @@ func Armsql() []*Table { NewFunc: armsql.NewManagedInstancesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances", - Namespace: "Microsoft.Sql", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql)`, + Namespace: "microsoft.sql", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql)`, Pager: `NewListPager`, ResponseStruct: "ManagedInstancesClientListResponse", }, @@ -36,8 +27,8 @@ func Armsql() []*Table { NewFunc: armsql.NewServersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers", - Namespace: "Microsoft.Sql", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql)`, + Namespace: "microsoft.sql", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql)`, Pager: `NewListPager`, ResponseStruct: "ServersClientListResponse", }, @@ -45,8 +36,8 @@ func Armsql() []*Table { NewFunc: armsql.NewVirtualClustersClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/virtualClusters", - Namespace: "Microsoft.Sql", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql)`, + Namespace: "microsoft.sql", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql)`, Pager: `NewListPager`, ResponseStruct: "VirtualClustersClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/sqlvirtualmachine.go b/plugins/source/azure/codegen1/recipes/sqlvirtualmachine.go index 1b44acdc6928db..50ca5465294e37 100644 --- a/plugins/source/azure/codegen1/recipes/sqlvirtualmachine.go +++ b/plugins/source/azure/codegen1/recipes/sqlvirtualmachine.go @@ -9,8 +9,8 @@ func Armsqlvirtualmachine() []*Table { NewFunc: armsqlvirtualmachine.NewGroupsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sqlvirtualmachine/armsqlvirtualmachine", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups", - Namespace: "Microsoft.SqlVirtualMachine", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_SqlVirtualMachine)`, + Namespace: "microsoft.sqlvirtualmachine", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sqlvirtualmachine)`, Pager: `NewListPager`, ResponseStruct: "GroupsClientListResponse", }, @@ -18,8 +18,8 @@ func Armsqlvirtualmachine() []*Table { NewFunc: armsqlvirtualmachine.NewSQLVirtualMachinesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sqlvirtualmachine/armsqlvirtualmachine", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines", - Namespace: "Microsoft.SqlVirtualMachine", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_SqlVirtualMachine)`, + Namespace: "microsoft.sqlvirtualmachine", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sqlvirtualmachine)`, Pager: `NewListPager`, ResponseStruct: "SQLVirtualMachinesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/storage.go b/plugins/source/azure/codegen1/recipes/storage.go index 3f2c520c48d85f..dd4fbe2ab83161 100644 --- a/plugins/source/azure/codegen1/recipes/storage.go +++ b/plugins/source/azure/codegen1/recipes/storage.go @@ -9,8 +9,8 @@ func Armstorage() []*Table { NewFunc: armstorage.NewSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus", - Namespace: "Microsoft.Storage", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Storage)`, + Namespace: "microsoft.storage", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_storage)`, Pager: `NewListPager`, ResponseStruct: "SKUsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/storagecache.go b/plugins/source/azure/codegen1/recipes/storagecache.go index 5ab2b3c3d04ca8..8ac2bc51db0f6c 100644 --- a/plugins/source/azure/codegen1/recipes/storagecache.go +++ b/plugins/source/azure/codegen1/recipes/storagecache.go @@ -9,8 +9,8 @@ func Armstoragecache() []*Table { NewFunc: armstoragecache.NewCachesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storagecache/armstoragecache", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/caches", - Namespace: "Microsoft.StorageCache", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_StorageCache)`, + Namespace: "microsoft.storagecache", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_storagecache)`, Pager: `NewListPager`, ResponseStruct: "CachesClientListResponse", }, @@ -18,8 +18,8 @@ func Armstoragecache() []*Table { NewFunc: armstoragecache.NewSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storagecache/armstoragecache", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/skus", - Namespace: "Microsoft.StorageCache", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_StorageCache)`, + Namespace: "microsoft.storagecache", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_storagecache)`, Pager: `NewListPager`, ResponseStruct: "SKUsClientListResponse", }, @@ -27,8 +27,8 @@ func Armstoragecache() []*Table { NewFunc: armstoragecache.NewUsageModelsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storagecache/armstoragecache", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels", - Namespace: "Microsoft.StorageCache", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_StorageCache)`, + Namespace: "microsoft.storagecache", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_storagecache)`, Pager: `NewListPager`, ResponseStruct: "UsageModelsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/streamanalytics.go b/plugins/source/azure/codegen1/recipes/streamanalytics.go index 52ead00508f92b..3e065841712209 100644 --- a/plugins/source/azure/codegen1/recipes/streamanalytics.go +++ b/plugins/source/azure/codegen1/recipes/streamanalytics.go @@ -9,8 +9,8 @@ func Armstreamanalytics() []*Table { NewFunc: armstreamanalytics.NewStreamingJobsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/streamanalytics/armstreamanalytics", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/streamingjobs", - Namespace: "Microsoft.StreamAnalytics", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_StreamAnalytics)`, + Namespace: "microsoft.streamanalytics", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_streamanalytics)`, Pager: `NewListPager`, ResponseStruct: "StreamingJobsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/support.go b/plugins/source/azure/codegen1/recipes/support.go index 94f9de9a55da9c..289df11ccd5e05 100644 --- a/plugins/source/azure/codegen1/recipes/support.go +++ b/plugins/source/azure/codegen1/recipes/support.go @@ -9,8 +9,8 @@ func Armsupport() []*Table { NewFunc: armsupport.NewServicesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/support/armsupport", URL: "/providers/Microsoft.Support/services", - Namespace: "Microsoft.Support", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Support)`, + Namespace: "microsoft.support", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_support)`, Pager: `NewListPager`, ResponseStruct: "ServicesClientListResponse", }, @@ -18,8 +18,8 @@ func Armsupport() []*Table { NewFunc: armsupport.NewTicketsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/support/armsupport", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets", - Namespace: "Microsoft.Support", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Support)`, + Namespace: "microsoft.support", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_support)`, Pager: `NewListPager`, ResponseStruct: "TicketsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/synapse.go b/plugins/source/azure/codegen1/recipes/synapse.go index b6ffa560e41ec7..fce5a74b2f318b 100644 --- a/plugins/source/azure/codegen1/recipes/synapse.go +++ b/plugins/source/azure/codegen1/recipes/synapse.go @@ -9,8 +9,8 @@ func Armsynapse() []*Table { NewFunc: armsynapse.NewKustoOperationsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/synapse/armsynapse", URL: "/providers/Microsoft.Synapse/kustooperations", - Namespace: "Microsoft.Synapse", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Synapse)`, + Namespace: "microsoft.synapse", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_synapse)`, Pager: `NewListPager`, ResponseStruct: "KustoOperationsClientListResponse", }, @@ -18,8 +18,8 @@ func Armsynapse() []*Table { NewFunc: armsynapse.NewPrivateLinkHubsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/synapse/armsynapse", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/privateLinkHubs", - Namespace: "Microsoft.Synapse", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Synapse)`, + Namespace: "microsoft.synapse", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_synapse)`, Pager: `NewListPager`, ResponseStruct: "PrivateLinkHubsClientListResponse", }, @@ -27,8 +27,8 @@ func Armsynapse() []*Table { NewFunc: armsynapse.NewWorkspacesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/synapse/armsynapse", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/workspaces", - Namespace: "Microsoft.Synapse", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Synapse)`, + Namespace: "microsoft.synapse", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_synapse)`, Pager: `NewListPager`, ResponseStruct: "WorkspacesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/testbase.go b/plugins/source/azure/codegen1/recipes/testbase.go index 49dce224424212..87798cfa7ba5f0 100644 --- a/plugins/source/azure/codegen1/recipes/testbase.go +++ b/plugins/source/azure/codegen1/recipes/testbase.go @@ -9,8 +9,8 @@ func Armtestbase() []*Table { NewFunc: armtestbase.NewSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/testbase/armtestbase", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.TestBase/skus", - Namespace: "Microsoft.TestBase", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_TestBase)`, + Namespace: "microsoft.testbase", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_testbase)`, Pager: `NewListPager`, ResponseStruct: "SKUsClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/windowsesu.go b/plugins/source/azure/codegen1/recipes/windowsesu.go index 2bc4141360d196..504eafe6eda6c5 100644 --- a/plugins/source/azure/codegen1/recipes/windowsesu.go +++ b/plugins/source/azure/codegen1/recipes/windowsesu.go @@ -9,8 +9,8 @@ func Armwindowsesu() []*Table { NewFunc: armwindowsesu.NewMultipleActivationKeysClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/windowsesu/armwindowsesu", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.WindowsESU/multipleActivationKeys", - Namespace: "Microsoft.WindowsESU", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_WindowsESU)`, + Namespace: "microsoft.windowsesu", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_windowsesu)`, Pager: `NewListPager`, ResponseStruct: "MultipleActivationKeysClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/windowsiot.go b/plugins/source/azure/codegen1/recipes/windowsiot.go index a3b2695972937f..5fe013887eda76 100644 --- a/plugins/source/azure/codegen1/recipes/windowsiot.go +++ b/plugins/source/azure/codegen1/recipes/windowsiot.go @@ -9,8 +9,8 @@ func Armwindowsiot() []*Table { NewFunc: armwindowsiot.NewServicesClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/windowsiot/armwindowsiot", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.WindowsIoT/deviceServices", - Namespace: "Microsoft.WindowsIoT", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_WindowsIoT)`, + Namespace: "microsoft.windowsiot", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_windowsiot)`, Pager: `NewListPager`, ResponseStruct: "ServicesClientListResponse", }, diff --git a/plugins/source/azure/codegen1/recipes/workloads.go b/plugins/source/azure/codegen1/recipes/workloads.go index 8af72cc848f7c1..afb8a8406858ef 100644 --- a/plugins/source/azure/codegen1/recipes/workloads.go +++ b/plugins/source/azure/codegen1/recipes/workloads.go @@ -9,8 +9,8 @@ func Armworkloads() []*Table { NewFunc: armworkloads.NewMonitorsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/workloads/armworkloads", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/monitors", - Namespace: "Microsoft.Workloads", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Workloads)`, + Namespace: "microsoft.workloads", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_workloads)`, Pager: `NewListPager`, ResponseStruct: "MonitorsClientListResponse", }, @@ -18,8 +18,8 @@ func Armworkloads() []*Table { NewFunc: armworkloads.NewSKUsClient, PkgPath: "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/workloads/armworkloads", URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/skus", - Namespace: "Microsoft.Workloads", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Workloads)`, + Namespace: "microsoft.workloads", + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_workloads)`, Pager: `NewListPager`, ResponseStruct: "SKUsClientListResponse", }, diff --git a/plugins/source/azure/codegen2/recipes/advisor.go b/plugins/source/azure/codegen2/recipes/advisor.go index fcb2b6ad9ef205..9c4ca4451b7b26 100644 --- a/plugins/source/azure/codegen2/recipes/advisor.go +++ b/plugins/source/azure/codegen2/recipes/advisor.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armadvisor.RecommendationMetadataClient{}).NewListPager, NewFunc: armadvisor.NewRecommendationMetadataClient, URL: "/providers/Microsoft.Advisor/metadata", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Advisor)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_advisor)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armadvisor.RecommendationsClient{}).NewListPager, NewFunc: armadvisor.NewRecommendationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Advisor)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_advisor)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armadvisor.SuppressionsClient{}).NewListPager, NewFunc: armadvisor.NewSuppressionsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/suppressions", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Advisor)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_advisor)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/analysisservices.go b/plugins/source/azure/codegen2/recipes/analysisservices.go index 73ac5f6d2ac922..89583ff2343823 100644 --- a/plugins/source/azure/codegen2/recipes/analysisservices.go +++ b/plugins/source/azure/codegen2/recipes/analysisservices.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armanalysisservices.ServersClient{}).NewListPager, NewFunc: armanalysisservices.NewServersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/servers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AnalysisServices)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_analysisservices)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/apimanagement.go b/plugins/source/azure/codegen2/recipes/apimanagement.go index 59d27aa876c976..91e0e26496b31c 100644 --- a/plugins/source/azure/codegen2/recipes/apimanagement.go +++ b/plugins/source/azure/codegen2/recipes/apimanagement.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armapimanagement.ServiceClient{}).NewListPager, NewFunc: armapimanagement.NewServiceClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ApiManagement)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_apimanagement)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/appcomplianceautomation.go b/plugins/source/azure/codegen2/recipes/appcomplianceautomation.go index 2d516bb879b316..16e1b0bd05ad9e 100644 --- a/plugins/source/azure/codegen2/recipes/appcomplianceautomation.go +++ b/plugins/source/azure/codegen2/recipes/appcomplianceautomation.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armappcomplianceautomation.ReportsClient{}).NewListPager, NewFunc: armappcomplianceautomation.NewReportsClient, URL: "/providers/Microsoft.AppComplianceAutomation/reports", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AppComplianceAutomation)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_appcomplianceautomation)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/appconfiguration.go b/plugins/source/azure/codegen2/recipes/appconfiguration.go index 6404e2d98255cf..fab396a5444d51 100644 --- a/plugins/source/azure/codegen2/recipes/appconfiguration.go +++ b/plugins/source/azure/codegen2/recipes/appconfiguration.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armappconfiguration.ConfigurationStoresClient{}).NewListPager, NewFunc: armappconfiguration.NewConfigurationStoresClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/configurationStores", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AppConfiguration)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_appconfiguration)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/applicationinsights.go b/plugins/source/azure/codegen2/recipes/applicationinsights.go index 4a91f553bc2825..38bb737b2703e9 100644 --- a/plugins/source/azure/codegen2/recipes/applicationinsights.go +++ b/plugins/source/azure/codegen2/recipes/applicationinsights.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armapplicationinsights.ComponentsClient{}).NewListPager, NewFunc: armapplicationinsights.NewComponentsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/components", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armapplicationinsights.WebTestsClient{}).NewListPager, NewFunc: armapplicationinsights.NewWebTestsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/appservice.go b/plugins/source/azure/codegen2/recipes/appservice.go index 6eb93708fb8666..0280d3e1944683 100644 --- a/plugins/source/azure/codegen2/recipes/appservice.go +++ b/plugins/source/azure/codegen2/recipes/appservice.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armappservice.CertificateOrdersClient{}).NewListPager, NewFunc: armappservice.NewCertificateOrdersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CertificateRegistration)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_certificateregistration)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armappservice.CertificatesClient{}).NewListPager, NewFunc: armappservice.NewCertificatesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armappservice.DeletedWebAppsClient{}).NewListPager, NewFunc: armappservice.NewDeletedWebAppsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, ExtraColumns: DefaultExtraColumns, }, { @@ -50,7 +50,7 @@ func init() { ListFunc: (&armappservice.DomainsClient{}).NewListPager, NewFunc: armappservice.NewDomainsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DomainRegistration)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_domainregistration)`, ExtraColumns: DefaultExtraColumns, }, { @@ -62,7 +62,7 @@ func init() { ListFunc: (&armappservice.EnvironmentsClient{}).NewListPager, NewFunc: armappservice.NewEnvironmentsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/hostingEnvironments", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, ExtraColumns: DefaultExtraColumns, }, { @@ -74,7 +74,7 @@ func init() { ListFunc: (&armappservice.PlansClient{}).NewListPager, NewFunc: armappservice.NewPlansClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, ExtraColumns: DefaultExtraColumns, }, { @@ -86,7 +86,7 @@ func init() { ListFunc: (&armappservice.RecommendationsClient{}).NewListPager, NewFunc: armappservice.NewRecommendationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, ExtraColumns: DefaultExtraColumns, }, { @@ -98,7 +98,7 @@ func init() { ListFunc: (&armappservice.ResourceHealthMetadataClient{}).NewListPager, NewFunc: armappservice.NewResourceHealthMetadataClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, ExtraColumns: DefaultExtraColumns, }, { @@ -110,7 +110,7 @@ func init() { ListFunc: (&armappservice.StaticSitesClient{}).NewListPager, NewFunc: armappservice.NewStaticSitesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/staticSites", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, ExtraColumns: DefaultExtraColumns, }, { @@ -122,7 +122,7 @@ func init() { ListFunc: (&armappservice.TopLevelDomainsClient{}).NewListPager, NewFunc: armappservice.NewTopLevelDomainsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DomainRegistration)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_domainregistration)`, ExtraColumns: DefaultExtraColumns, }, { @@ -134,7 +134,7 @@ func init() { ListFunc: (&armappservice.WebAppsClient{}).NewListPager, NewFunc: armappservice.NewWebAppsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/sites", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/authorization.go b/plugins/source/azure/codegen2/recipes/authorization.go index 0f231be0d755dc..6d3d912fd0a554 100644 --- a/plugins/source/azure/codegen2/recipes/authorization.go +++ b/plugins/source/azure/codegen2/recipes/authorization.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armauthorization.ClassicAdministratorsClient{}).NewListPager, NewFunc: armauthorization.NewClassicAdministratorsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/classicAdministrators", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armauthorization.ProviderOperationsMetadataClient{}).NewListPager, NewFunc: armauthorization.NewProviderOperationsMetadataClient, URL: "/providers/Microsoft.Authorization/providerOperations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armauthorization.RoleAssignmentsClient{}).NewListPager, NewFunc: armauthorization.NewRoleAssignmentsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleAssignments", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/authorization_e.go b/plugins/source/azure/codegen2/recipes/authorization_e.go index a2402c66738589..e008ac8a21fab3 100644 --- a/plugins/source/azure/codegen2/recipes/authorization_e.go +++ b/plugins/source/azure/codegen2/recipes/authorization_e.go @@ -12,7 +12,7 @@ func ArmauthorizationE() []Table { ListFunc: (&armauthorization.RoleDefinitionsClient{}).NewListPager, NewFunc: armauthorization.NewRoleDefinitionsClient, URL: "/{scope}/providers/Microsoft.Authorization/roleDefinitions", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, SkipFetch: true, }, } diff --git a/plugins/source/azure/codegen2/recipes/automation.go b/plugins/source/azure/codegen2/recipes/automation.go index 9eeaaa34295df1..3f9501071c5ff9 100644 --- a/plugins/source/azure/codegen2/recipes/automation.go +++ b/plugins/source/azure/codegen2/recipes/automation.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armautomation.AccountClient{}).NewListPager, NewFunc: armautomation.NewAccountClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Automation/automationAccounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Automation)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_automation)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/azurearcdata.go b/plugins/source/azure/codegen2/recipes/azurearcdata.go index 027f3852640bad..1e86a9e6acea13 100644 --- a/plugins/source/azure/codegen2/recipes/azurearcdata.go +++ b/plugins/source/azure/codegen2/recipes/azurearcdata.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armazurearcdata.PostgresInstancesClient{}).NewListPager, NewFunc: armazurearcdata.NewPostgresInstancesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureArcData)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azurearcdata)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armazurearcdata.SQLManagedInstancesClient{}).NewListPager, NewFunc: armazurearcdata.NewSQLManagedInstancesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureArcData)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azurearcdata)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armazurearcdata.SQLServerInstancesClient{}).NewListPager, NewFunc: armazurearcdata.NewSQLServerInstancesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureArcData)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azurearcdata)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/azuredata.go b/plugins/source/azure/codegen2/recipes/azuredata.go index 2a2d58133bc2b0..d561125c50ff04 100644 --- a/plugins/source/azure/codegen2/recipes/azuredata.go +++ b/plugins/source/azure/codegen2/recipes/azuredata.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armazuredata.SQLServerRegistrationsClient{}).NewListPager, NewFunc: armazuredata.NewSQLServerRegistrationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/sqlServerRegistrations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureData)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azuredata)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/batch.go b/plugins/source/azure/codegen2/recipes/batch.go index f2fac8ba5917c8..34ff38eb991958 100644 --- a/plugins/source/azure/codegen2/recipes/batch.go +++ b/plugins/source/azure/codegen2/recipes/batch.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armbatch.AccountClient{}).NewListPager, NewFunc: armbatch.NewAccountClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Batch)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_batch)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/billing.go b/plugins/source/azure/codegen2/recipes/billing.go index 7d9449776c7bfc..641c42962a307e 100644 --- a/plugins/source/azure/codegen2/recipes/billing.go +++ b/plugins/source/azure/codegen2/recipes/billing.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armbilling.AccountsClient{}).NewListPager, NewFunc: armbilling.NewAccountsClient, URL: "/providers/Microsoft.Billing/billingAccounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Billing)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_billing)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armbilling.EnrollmentAccountsClient{}).NewListPager, NewFunc: armbilling.NewEnrollmentAccountsClient, URL: "/providers/Microsoft.Billing/enrollmentAccounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Billing)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_billing)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armbilling.PeriodsClient{}).NewListPager, NewFunc: armbilling.NewPeriodsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Billing)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_billing)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/botservice.go b/plugins/source/azure/codegen2/recipes/botservice.go index 87b4ec4450eded..c5732e302c38dd 100644 --- a/plugins/source/azure/codegen2/recipes/botservice.go +++ b/plugins/source/azure/codegen2/recipes/botservice.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armbotservice.BotsClient{}).NewListPager, NewFunc: armbotservice.NewBotsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.BotService/botServices", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_BotService)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_botservice)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/cdn.go b/plugins/source/azure/codegen2/recipes/cdn.go index 8d25942e5380b1..e2d41084dd158d 100644 --- a/plugins/source/azure/codegen2/recipes/cdn.go +++ b/plugins/source/azure/codegen2/recipes/cdn.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armcdn.EdgeNodesClient{}).NewListPager, NewFunc: armcdn.NewEdgeNodesClient, URL: "/providers/Microsoft.Cdn/edgenodes", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Cdn)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cdn)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armcdn.ManagedRuleSetsClient{}).NewListPager, NewFunc: armcdn.NewManagedRuleSetsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/cdnWebApplicationFirewallManagedRuleSets", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Cdn)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cdn)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/cdn_e.go b/plugins/source/azure/codegen2/recipes/cdn_e.go index 03556e061defca..4703ec60ebe5d8 100644 --- a/plugins/source/azure/codegen2/recipes/cdn_e.go +++ b/plugins/source/azure/codegen2/recipes/cdn_e.go @@ -13,7 +13,7 @@ func ArmcdnE() []Table { ListFunc: (&armcdn.ProfilesClient{}).NewListPager, NewFunc: armcdn.NewProfilesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/profiles", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Cdn)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cdn)`, Relations: []*Table{ { Name: "endpoints", diff --git a/plugins/source/azure/codegen2/recipes/cognitiveservices.go b/plugins/source/azure/codegen2/recipes/cognitiveservices.go index ce8f1717359099..5e578bb6451f30 100644 --- a/plugins/source/azure/codegen2/recipes/cognitiveservices.go +++ b/plugins/source/azure/codegen2/recipes/cognitiveservices.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armcognitiveservices.AccountsClient{}).NewListPager, NewFunc: armcognitiveservices.NewAccountsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/accounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CognitiveServices)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cognitiveservices)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armcognitiveservices.DeletedAccountsClient{}).NewListPager, NewFunc: armcognitiveservices.NewDeletedAccountsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CognitiveServices)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cognitiveservices)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/compute.go b/plugins/source/azure/codegen2/recipes/compute.go index 6d40c5281931a8..fd1b45d014a178 100644 --- a/plugins/source/azure/codegen2/recipes/compute.go +++ b/plugins/source/azure/codegen2/recipes/compute.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armcompute.CloudServicesClient{}).NewListAllPager, NewFunc: armcompute.NewCloudServicesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armcompute.DiskAccessesClient{}).NewListPager, NewFunc: armcompute.NewDiskAccessesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armcompute.DiskEncryptionSetsClient{}).NewListPager, NewFunc: armcompute.NewDiskEncryptionSetsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, ExtraColumns: DefaultExtraColumns, }, { @@ -50,7 +50,7 @@ func init() { ListFunc: (&armcompute.DisksClient{}).NewListPager, NewFunc: armcompute.NewDisksClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, ExtraColumns: DefaultExtraColumns, }, { @@ -62,7 +62,7 @@ func init() { ListFunc: (&armcompute.GalleriesClient{}).NewListPager, NewFunc: armcompute.NewGalleriesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, ExtraColumns: DefaultExtraColumns, }, { @@ -74,7 +74,7 @@ func init() { ListFunc: (&armcompute.ImagesClient{}).NewListPager, NewFunc: armcompute.NewImagesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, ExtraColumns: DefaultExtraColumns, }, { @@ -86,7 +86,7 @@ func init() { ListFunc: (&armcompute.RestorePointCollectionsClient{}).NewListAllPager, NewFunc: armcompute.NewRestorePointCollectionsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, ExtraColumns: DefaultExtraColumns, }, { @@ -98,7 +98,7 @@ func init() { ListFunc: (&armcompute.SnapshotsClient{}).NewListPager, NewFunc: armcompute.NewSnapshotsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, ExtraColumns: DefaultExtraColumns, }, { @@ -110,7 +110,7 @@ func init() { ListFunc: (&armcompute.VirtualMachineScaleSetsClient{}).NewListAllPager, NewFunc: armcompute.NewVirtualMachineScaleSetsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, ExtraColumns: DefaultExtraColumns, }, { @@ -122,7 +122,7 @@ func init() { ListFunc: (&armcompute.VirtualMachinesClient{}).NewListAllPager, NewFunc: armcompute.NewVirtualMachinesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/compute_e.go b/plugins/source/azure/codegen2/recipes/compute_e.go index 215a5134719853..001ddf23fb13d0 100644 --- a/plugins/source/azure/codegen2/recipes/compute_e.go +++ b/plugins/source/azure/codegen2/recipes/compute_e.go @@ -17,7 +17,7 @@ func init() { ListFunc: (&armcompute.ResourceSKUsClient{}).NewListPager, NewFunc: armcompute.NewResourceSKUsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/skus", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute)`, ExtraColumns: []codegen.ColumnDefinition{ { Name: "id", diff --git a/plugins/source/azure/codegen2/recipes/confluent.go b/plugins/source/azure/codegen2/recipes/confluent.go index e9595d04a2ca91..d1a657727762b5 100644 --- a/plugins/source/azure/codegen2/recipes/confluent.go +++ b/plugins/source/azure/codegen2/recipes/confluent.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armconfluent.MarketplaceAgreementsClient{}).NewListPager, NewFunc: armconfluent.NewMarketplaceAgreementsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Confluent/agreements", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Confluent)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_confluent)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/connectedvmware.go b/plugins/source/azure/codegen2/recipes/connectedvmware.go index 2c48180dab77d5..645f67b24f4d21 100644 --- a/plugins/source/azure/codegen2/recipes/connectedvmware.go +++ b/plugins/source/azure/codegen2/recipes/connectedvmware.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armconnectedvmware.ClustersClient{}).NewListPager, NewFunc: armconnectedvmware.NewClustersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/clusters", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armconnectedvmware.DatastoresClient{}).NewListPager, NewFunc: armconnectedvmware.NewDatastoresClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/datastores", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armconnectedvmware.HostsClient{}).NewListPager, NewFunc: armconnectedvmware.NewHostsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/hosts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, ExtraColumns: DefaultExtraColumns, }, { @@ -50,7 +50,7 @@ func init() { ListFunc: (&armconnectedvmware.ResourcePoolsClient{}).NewListPager, NewFunc: armconnectedvmware.NewResourcePoolsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/resourcePools", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, ExtraColumns: DefaultExtraColumns, }, { @@ -62,7 +62,7 @@ func init() { ListFunc: (&armconnectedvmware.VCentersClient{}).NewListPager, NewFunc: armconnectedvmware.NewVCentersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/vcenters", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, ExtraColumns: DefaultExtraColumns, }, { @@ -74,7 +74,7 @@ func init() { ListFunc: (&armconnectedvmware.VirtualMachineTemplatesClient{}).NewListPager, NewFunc: armconnectedvmware.NewVirtualMachineTemplatesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, ExtraColumns: DefaultExtraColumns, }, { @@ -86,7 +86,7 @@ func init() { ListFunc: (&armconnectedvmware.VirtualMachinesClient{}).NewListPager, NewFunc: armconnectedvmware.NewVirtualMachinesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachines", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, ExtraColumns: DefaultExtraColumns, }, { @@ -98,7 +98,7 @@ func init() { ListFunc: (&armconnectedvmware.VirtualNetworksClient{}).NewListPager, NewFunc: armconnectedvmware.NewVirtualNetworksClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/virtualNetworks", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/containerinstance.go b/plugins/source/azure/codegen2/recipes/containerinstance.go index 2653e3469dfc22..88bdbb2c78906b 100644 --- a/plugins/source/azure/codegen2/recipes/containerinstance.go +++ b/plugins/source/azure/codegen2/recipes/containerinstance.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armcontainerinstance.ContainerGroupsClient{}).NewListPager, NewFunc: armcontainerinstance.NewContainerGroupsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroups", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerInstance)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerinstance)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/containerregistry.go b/plugins/source/azure/codegen2/recipes/containerregistry.go index 0ae860d1aa825e..186f848eb70d53 100644 --- a/plugins/source/azure/codegen2/recipes/containerregistry.go +++ b/plugins/source/azure/codegen2/recipes/containerregistry.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armcontainerregistry.RegistriesClient{}).NewListPager, NewFunc: armcontainerregistry.NewRegistriesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerRegistry)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerregistry)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/containerservice.go b/plugins/source/azure/codegen2/recipes/containerservice.go index 5f9903c409e3a6..df8c47f5130dcc 100644 --- a/plugins/source/azure/codegen2/recipes/containerservice.go +++ b/plugins/source/azure/codegen2/recipes/containerservice.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armcontainerservice.ManagedClustersClient{}).NewListPager, NewFunc: armcontainerservice.NewManagedClustersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerService)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerservice)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armcontainerservice.SnapshotsClient{}).NewListPager, NewFunc: armcontainerservice.NewSnapshotsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/snapshots", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerService)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerservice)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/cosmos.go b/plugins/source/azure/codegen2/recipes/cosmos.go index c4a038281bc205..98c51ce7940997 100644 --- a/plugins/source/azure/codegen2/recipes/cosmos.go +++ b/plugins/source/azure/codegen2/recipes/cosmos.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armcosmos.LocationsClient{}).NewListPager, NewFunc: armcosmos.NewLocationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DocumentDB)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_documentdb)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armcosmos.RestorableDatabaseAccountsClient{}).NewListPager, NewFunc: armcosmos.NewRestorableDatabaseAccountsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/restorableDatabaseAccounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DocumentDB)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_documentdb)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/cosmos_e.go b/plugins/source/azure/codegen2/recipes/cosmos_e.go index 049e6a41ecaa31..d0b2baa9bcc776 100644 --- a/plugins/source/azure/codegen2/recipes/cosmos_e.go +++ b/plugins/source/azure/codegen2/recipes/cosmos_e.go @@ -13,7 +13,7 @@ func ArmcosmosE() []Table { ListFunc: (&armcosmos.DatabaseAccountsClient{}).NewListPager, NewFunc: armcosmos.NewDatabaseAccountsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/databaseAccounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DocumentDB)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_documentdb)`, Relations: []*Table{ { Service: "armcosmos", diff --git a/plugins/source/azure/codegen2/recipes/costmanagement.go b/plugins/source/azure/codegen2/recipes/costmanagement.go index 3569409c809856..bfdac72b7db559 100644 --- a/plugins/source/azure/codegen2/recipes/costmanagement.go +++ b/plugins/source/azure/codegen2/recipes/costmanagement.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armcostmanagement.ViewsClient{}).NewListPager, NewFunc: armcostmanagement.NewViewsClient, URL: "/providers/Microsoft.CostManagement/views", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CostManagement)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_costmanagement)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/customerinsights.go b/plugins/source/azure/codegen2/recipes/customerinsights.go index 4e57dd99e4b0ae..3d7dd903edc7c2 100644 --- a/plugins/source/azure/codegen2/recipes/customerinsights.go +++ b/plugins/source/azure/codegen2/recipes/customerinsights.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armcustomerinsights.HubsClient{}).NewListPager, NewFunc: armcustomerinsights.NewHubsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.CustomerInsights/hubs", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CustomerInsights)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_customerinsights)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/dashboard.go b/plugins/source/azure/codegen2/recipes/dashboard.go index d3b3e8d82742b7..49c413863aa5c1 100644 --- a/plugins/source/azure/codegen2/recipes/dashboard.go +++ b/plugins/source/azure/codegen2/recipes/dashboard.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdashboard.GrafanaClient{}).NewListPager, NewFunc: armdashboard.NewGrafanaClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Dashboard)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dashboard)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/databox.go b/plugins/source/azure/codegen2/recipes/databox.go index d818dee686e720..36686ac7fb86cc 100644 --- a/plugins/source/azure/codegen2/recipes/databox.go +++ b/plugins/source/azure/codegen2/recipes/databox.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdatabox.JobsClient{}).NewListPager, NewFunc: armdatabox.NewJobsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataBox)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_databox)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/datadog.go b/plugins/source/azure/codegen2/recipes/datadog.go index c962777d4801d9..69bbe7a195fc7d 100644 --- a/plugins/source/azure/codegen2/recipes/datadog.go +++ b/plugins/source/azure/codegen2/recipes/datadog.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdatadog.MarketplaceAgreementsClient{}).NewListPager, NewFunc: armdatadog.NewMarketplaceAgreementsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Datadog/agreements", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Datadog)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datadog)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armdatadog.MonitorsClient{}).NewListPager, NewFunc: armdatadog.NewMonitorsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Datadog/monitors", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Datadog)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datadog)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/datafactory.go b/plugins/source/azure/codegen2/recipes/datafactory.go index e2cd70f214f7ff..06353fe95ce546 100644 --- a/plugins/source/azure/codegen2/recipes/datafactory.go +++ b/plugins/source/azure/codegen2/recipes/datafactory.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdatafactory.FactoriesClient{}).NewListPager, NewFunc: armdatafactory.NewFactoriesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataFactory)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datafactory)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/datalakeanalytics.go b/plugins/source/azure/codegen2/recipes/datalakeanalytics.go index 056eff37c4dd47..523044f9645ddb 100644 --- a/plugins/source/azure/codegen2/recipes/datalakeanalytics.go +++ b/plugins/source/azure/codegen2/recipes/datalakeanalytics.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdatalakeanalytics.AccountsClient{}).NewListPager, NewFunc: armdatalakeanalytics.NewAccountsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/accounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataLakeAnalytics)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datalakeanalytics)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/datalakestore.go b/plugins/source/azure/codegen2/recipes/datalakestore.go index 53ba28b8a783c8..f9b3bb5866be62 100644 --- a/plugins/source/azure/codegen2/recipes/datalakestore.go +++ b/plugins/source/azure/codegen2/recipes/datalakestore.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdatalakestore.AccountsClient{}).NewListPager, NewFunc: armdatalakestore.NewAccountsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataLakeStore)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datalakestore)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/datamigration.go b/plugins/source/azure/codegen2/recipes/datamigration.go index e6f907d441c0b6..c8415666d0f4ae 100644 --- a/plugins/source/azure/codegen2/recipes/datamigration.go +++ b/plugins/source/azure/codegen2/recipes/datamigration.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdatamigration.ServicesClient{}).NewListPager, NewFunc: armdatamigration.NewServicesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataMigration)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datamigration)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/desktopvirtualization.go b/plugins/source/azure/codegen2/recipes/desktopvirtualization.go index 890bf403808281..ceff8fea22aae4 100644 --- a/plugins/source/azure/codegen2/recipes/desktopvirtualization.go +++ b/plugins/source/azure/codegen2/recipes/desktopvirtualization.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdesktopvirtualization.HostPoolsClient{}).NewListPager, NewFunc: armdesktopvirtualization.NewHostPoolsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DesktopVirtualization)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_desktopvirtualization)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/devhub.go b/plugins/source/azure/codegen2/recipes/devhub.go index 205420f6fc92ae..dd47de8c512d2e 100644 --- a/plugins/source/azure/codegen2/recipes/devhub.go +++ b/plugins/source/azure/codegen2/recipes/devhub.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdevhub.WorkflowClient{}).NewListPager, NewFunc: armdevhub.NewWorkflowClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/workflows", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DevHub)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_devhub)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/devops.go b/plugins/source/azure/codegen2/recipes/devops.go index 8cf469262d7239..4c219c38f0e206 100644 --- a/plugins/source/azure/codegen2/recipes/devops.go +++ b/plugins/source/azure/codegen2/recipes/devops.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdevops.PipelineTemplateDefinitionsClient{}).NewListPager, NewFunc: armdevops.NewPipelineTemplateDefinitionsClient, URL: "/providers/Microsoft.DevOps/pipelineTemplateDefinitions", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DevOps)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_devops)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/dns.go b/plugins/source/azure/codegen2/recipes/dns.go index 8587403fdf99a3..4cc6f3ee2f5b89 100644 --- a/plugins/source/azure/codegen2/recipes/dns.go +++ b/plugins/source/azure/codegen2/recipes/dns.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdns.ZonesClient{}).NewListPager, NewFunc: armdns.NewZonesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnszones", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/dnsresolver.go b/plugins/source/azure/codegen2/recipes/dnsresolver.go index d92f4934887ab7..b08955029fc170 100644 --- a/plugins/source/azure/codegen2/recipes/dnsresolver.go +++ b/plugins/source/azure/codegen2/recipes/dnsresolver.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armdnsresolver.DNSForwardingRulesetsClient{}).NewListPager, NewFunc: armdnsresolver.NewDNSForwardingRulesetsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsForwardingRulesets", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armdnsresolver.DNSResolversClient{}).NewListPager, NewFunc: armdnsresolver.NewDNSResolversClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnsResolvers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/elastic.go b/plugins/source/azure/codegen2/recipes/elastic.go index 37fb019e1b24fb..6c2e4a624524c4 100644 --- a/plugins/source/azure/codegen2/recipes/elastic.go +++ b/plugins/source/azure/codegen2/recipes/elastic.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armelastic.MonitorsClient{}).NewListPager, NewFunc: armelastic.NewMonitorsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Elastic)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_elastic)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/engagementfabric.go b/plugins/source/azure/codegen2/recipes/engagementfabric.go index 4c5e30d528c57b..2c5a1c61b1d1db 100644 --- a/plugins/source/azure/codegen2/recipes/engagementfabric.go +++ b/plugins/source/azure/codegen2/recipes/engagementfabric.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armengagementfabric.AccountsClient{}).NewListPager, NewFunc: armengagementfabric.NewAccountsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.EngagementFabric/Accounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_EngagementFabric)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_engagementfabric)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/eventgrid.go b/plugins/source/azure/codegen2/recipes/eventgrid.go index 78b6bd718aa317..00e32f5dfc04af 100644 --- a/plugins/source/azure/codegen2/recipes/eventgrid.go +++ b/plugins/source/azure/codegen2/recipes/eventgrid.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armeventgrid.TopicTypesClient{}).NewListPager, NewFunc: armeventgrid.NewTopicTypesClient, URL: "/providers/Microsoft.EventGrid/topicTypes", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_EventGrid)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_eventgrid)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/eventhub.go b/plugins/source/azure/codegen2/recipes/eventhub.go index a6fd7dc8a8bd72..3846b277b8d294 100644 --- a/plugins/source/azure/codegen2/recipes/eventhub.go +++ b/plugins/source/azure/codegen2/recipes/eventhub.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armeventhub.NamespacesClient{}).NewListPager, NewFunc: armeventhub.NewNamespacesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/namespaces", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_EventHub)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_eventhub)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/frontdoor.go b/plugins/source/azure/codegen2/recipes/frontdoor.go index 5c431174f8855a..763e19565c48fc 100644 --- a/plugins/source/azure/codegen2/recipes/frontdoor.go +++ b/plugins/source/azure/codegen2/recipes/frontdoor.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armfrontdoor.FrontDoorsClient{}).NewListPager, NewFunc: armfrontdoor.NewFrontDoorsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/frontDoors", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armfrontdoor.ManagedRuleSetsClient{}).NewListPager, NewFunc: armfrontdoor.NewManagedRuleSetsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallManagedRuleSets", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armfrontdoor.NetworkExperimentProfilesClient{}).NewListPager, NewFunc: armfrontdoor.NewNetworkExperimentProfilesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/NetworkExperimentProfiles", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/hanaonazure.go b/plugins/source/azure/codegen2/recipes/hanaonazure.go index 5ff40668aa7025..5b452d67efe6e0 100644 --- a/plugins/source/azure/codegen2/recipes/hanaonazure.go +++ b/plugins/source/azure/codegen2/recipes/hanaonazure.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armhanaonazure.SapMonitorsClient{}).NewListPager, NewFunc: armhanaonazure.NewSapMonitorsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HanaOnAzure/sapMonitors", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HanaOnAzure)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hanaonazure)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/hdinsight.go b/plugins/source/azure/codegen2/recipes/hdinsight.go index 0ad75a1a1689f7..d1141076fd769b 100644 --- a/plugins/source/azure/codegen2/recipes/hdinsight.go +++ b/plugins/source/azure/codegen2/recipes/hdinsight.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armhdinsight.ClustersClient{}).NewListPager, NewFunc: armhdinsight.NewClustersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusters", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HDInsight)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hdinsight)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/healthbot.go b/plugins/source/azure/codegen2/recipes/healthbot.go index c3646175340dca..da1a0a641f6801 100644 --- a/plugins/source/azure/codegen2/recipes/healthbot.go +++ b/plugins/source/azure/codegen2/recipes/healthbot.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armhealthbot.BotsClient{}).NewListPager, NewFunc: armhealthbot.NewBotsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HealthBot/healthBots", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HealthBot)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_healthbot)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/healthcareapis.go b/plugins/source/azure/codegen2/recipes/healthcareapis.go index 4eb02e6466a421..bbe61a879f3f83 100644 --- a/plugins/source/azure/codegen2/recipes/healthcareapis.go +++ b/plugins/source/azure/codegen2/recipes/healthcareapis.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armhealthcareapis.ServicesClient{}).NewListPager, NewFunc: armhealthcareapis.NewServicesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/services", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HealthcareApis)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_healthcareapis)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/hybridcompute.go b/plugins/source/azure/codegen2/recipes/hybridcompute.go index c0362768b06da4..21245dd412e62d 100644 --- a/plugins/source/azure/codegen2/recipes/hybridcompute.go +++ b/plugins/source/azure/codegen2/recipes/hybridcompute.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armhybridcompute.PrivateLinkScopesClient{}).NewListPager, NewFunc: armhybridcompute.NewPrivateLinkScopesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HybridCompute)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hybridcompute)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/hybriddatamanager.go b/plugins/source/azure/codegen2/recipes/hybriddatamanager.go index 2b80d209bc8f2a..6982166d9c3878 100644 --- a/plugins/source/azure/codegen2/recipes/hybriddatamanager.go +++ b/plugins/source/azure/codegen2/recipes/hybriddatamanager.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armhybriddatamanager.DataManagersClient{}).NewListPager, NewFunc: armhybriddatamanager.NewDataManagersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.HybridData/dataManagers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HybridData)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hybriddata)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/keyvault_e.go b/plugins/source/azure/codegen2/recipes/keyvault_e.go index 089741a123b1a0..2e8a52bba452d8 100644 --- a/plugins/source/azure/codegen2/recipes/keyvault_e.go +++ b/plugins/source/azure/codegen2/recipes/keyvault_e.go @@ -15,7 +15,7 @@ func init() { ListFunc: (&armkeyvault.ManagedHsmsClient{}).NewListBySubscriptionPager, NewFunc: armkeyvault.NewManagedHsmsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/managedHSMs", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_KeyVault)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_keyvault)`, ExtraColumns: DefaultExtraColumns, }, { diff --git a/plugins/source/azure/codegen2/recipes/kusto.go b/plugins/source/azure/codegen2/recipes/kusto.go index b8a060f2bcbe15..50b7cc790c4f36 100644 --- a/plugins/source/azure/codegen2/recipes/kusto.go +++ b/plugins/source/azure/codegen2/recipes/kusto.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armkusto.ClustersClient{}).NewListPager, NewFunc: armkusto.NewClustersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/clusters", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Kusto)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_kusto)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/maintenance.go b/plugins/source/azure/codegen2/recipes/maintenance.go index c39ce9ab0e445f..dd11573174d6cf 100644 --- a/plugins/source/azure/codegen2/recipes/maintenance.go +++ b/plugins/source/azure/codegen2/recipes/maintenance.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armmaintenance.ConfigurationsClient{}).NewListPager, NewFunc: armmaintenance.NewConfigurationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/maintenanceConfigurations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Maintenance)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_maintenance)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armmaintenance.PublicMaintenanceConfigurationsClient{}).NewListPager, NewFunc: armmaintenance.NewPublicMaintenanceConfigurationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Maintenance)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_maintenance)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/mariadb_e.go b/plugins/source/azure/codegen2/recipes/mariadb_e.go index f5e675f548208c..a21977e22de10c 100644 --- a/plugins/source/azure/codegen2/recipes/mariadb_e.go +++ b/plugins/source/azure/codegen2/recipes/mariadb_e.go @@ -13,7 +13,7 @@ func init() { ListFunc: (&armmariadb.ServersClient{}).NewListPager, NewFunc: armmariadb.NewServersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMariaDB/servers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforMariaDB)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbformariadb)`, ExtraColumns: DefaultExtraColumns, Relations: []*Table{ { diff --git a/plugins/source/azure/codegen2/recipes/marketplace.go b/plugins/source/azure/codegen2/recipes/marketplace.go index 74ee367af16d73..0f02a2905443a3 100644 --- a/plugins/source/azure/codegen2/recipes/marketplace.go +++ b/plugins/source/azure/codegen2/recipes/marketplace.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armmarketplace.PrivateStoreClient{}).NewListPager, NewFunc: armmarketplace.NewPrivateStoreClient, URL: "/providers/Microsoft.Marketplace/privateStores", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Marketplace)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_marketplace)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/monitor.go b/plugins/source/azure/codegen2/recipes/monitor.go index 99fbd5729e7868..c103c32742e52b 100644 --- a/plugins/source/azure/codegen2/recipes/monitor.go +++ b/plugins/source/azure/codegen2/recipes/monitor.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armmonitor.LogProfilesClient{}).NewListPager, NewFunc: armmonitor.NewLogProfilesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/logprofiles", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armmonitor.TenantActivityLogsClient{}).NewListPager, NewFunc: armmonitor.NewTenantActivityLogsClient, URL: "/providers/Microsoft.Insights/eventtypes/management/values", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights)`, }, } Tables = append(Tables, tables...) diff --git a/plugins/source/azure/codegen2/recipes/mysql_e.go b/plugins/source/azure/codegen2/recipes/mysql_e.go index ee36945fdecdef..791133575f89c4 100644 --- a/plugins/source/azure/codegen2/recipes/mysql_e.go +++ b/plugins/source/azure/codegen2/recipes/mysql_e.go @@ -13,7 +13,7 @@ func init() { ListFunc: (&armmysql.ServersClient{}).NewListPager, NewFunc: armmysql.NewServersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/servers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforMySQL)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbformysql)`, ExtraColumns: DefaultExtraColumns, Relations: []*Table{ { diff --git a/plugins/source/azure/codegen2/recipes/mysqlflexibleservers.go b/plugins/source/azure/codegen2/recipes/mysqlflexibleservers.go index d9dc8e55026fde..26090a3b4669ac 100644 --- a/plugins/source/azure/codegen2/recipes/mysqlflexibleservers.go +++ b/plugins/source/azure/codegen2/recipes/mysqlflexibleservers.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armmysqlflexibleservers.ServersClient{}).NewListPager, NewFunc: armmysqlflexibleservers.NewServersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforMySQL)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbformysql)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/network.go b/plugins/source/azure/codegen2/recipes/network.go index 5b93254bf038a9..a404fded888896 100644 --- a/plugins/source/azure/codegen2/recipes/network.go +++ b/plugins/source/azure/codegen2/recipes/network.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armnetwork.ApplicationGatewaysClient{}).NewListAllPager, NewFunc: armnetwork.NewApplicationGatewaysClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armnetwork.ApplicationSecurityGroupsClient{}).NewListAllPager, NewFunc: armnetwork.NewApplicationSecurityGroupsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armnetwork.AzureFirewallFqdnTagsClient{}).NewListAllPager, NewFunc: armnetwork.NewAzureFirewallFqdnTagsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -50,7 +50,7 @@ func init() { ListFunc: (&armnetwork.AzureFirewallsClient{}).NewListAllPager, NewFunc: armnetwork.NewAzureFirewallsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -62,7 +62,7 @@ func init() { ListFunc: (&armnetwork.BastionHostsClient{}).NewListPager, NewFunc: armnetwork.NewBastionHostsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -74,7 +74,7 @@ func init() { ListFunc: (&armnetwork.BgpServiceCommunitiesClient{}).NewListPager, NewFunc: armnetwork.NewBgpServiceCommunitiesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -86,7 +86,7 @@ func init() { ListFunc: (&armnetwork.CustomIPPrefixesClient{}).NewListAllPager, NewFunc: armnetwork.NewCustomIPPrefixesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -98,7 +98,7 @@ func init() { ListFunc: (&armnetwork.DdosProtectionPlansClient{}).NewListPager, NewFunc: armnetwork.NewDdosProtectionPlansClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -110,7 +110,7 @@ func init() { ListFunc: (&armnetwork.DscpConfigurationClient{}).NewListAllPager, NewFunc: armnetwork.NewDscpConfigurationClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -122,7 +122,7 @@ func init() { ListFunc: (&armnetwork.ExpressRouteCircuitsClient{}).NewListAllPager, NewFunc: armnetwork.NewExpressRouteCircuitsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -134,7 +134,7 @@ func init() { ListFunc: (&armnetwork.ExpressRoutePortsClient{}).NewListPager, NewFunc: armnetwork.NewExpressRoutePortsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -146,7 +146,7 @@ func init() { ListFunc: (&armnetwork.ExpressRoutePortsLocationsClient{}).NewListPager, NewFunc: armnetwork.NewExpressRoutePortsLocationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -158,7 +158,7 @@ func init() { ListFunc: (&armnetwork.ExpressRouteServiceProvidersClient{}).NewListPager, NewFunc: armnetwork.NewExpressRouteServiceProvidersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -170,7 +170,7 @@ func init() { ListFunc: (&armnetwork.FirewallPoliciesClient{}).NewListAllPager, NewFunc: armnetwork.NewFirewallPoliciesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -182,7 +182,7 @@ func init() { ListFunc: (&armnetwork.IPAllocationsClient{}).NewListPager, NewFunc: armnetwork.NewIPAllocationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -194,7 +194,7 @@ func init() { ListFunc: (&armnetwork.IPGroupsClient{}).NewListPager, NewFunc: armnetwork.NewIPGroupsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -206,7 +206,7 @@ func init() { ListFunc: (&armnetwork.InterfacesClient{}).NewListAllPager, NewFunc: armnetwork.NewInterfacesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -218,7 +218,7 @@ func init() { ListFunc: (&armnetwork.LoadBalancersClient{}).NewListAllPager, NewFunc: armnetwork.NewLoadBalancersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -230,7 +230,7 @@ func init() { ListFunc: (&armnetwork.NatGatewaysClient{}).NewListAllPager, NewFunc: armnetwork.NewNatGatewaysClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -242,7 +242,7 @@ func init() { ListFunc: (&armnetwork.ProfilesClient{}).NewListAllPager, NewFunc: armnetwork.NewProfilesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -254,7 +254,7 @@ func init() { ListFunc: (&armnetwork.PublicIPAddressesClient{}).NewListAllPager, NewFunc: armnetwork.NewPublicIPAddressesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -266,7 +266,7 @@ func init() { ListFunc: (&armnetwork.PublicIPPrefixesClient{}).NewListAllPager, NewFunc: armnetwork.NewPublicIPPrefixesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -278,7 +278,7 @@ func init() { ListFunc: (&armnetwork.RouteFiltersClient{}).NewListPager, NewFunc: armnetwork.NewRouteFiltersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -290,7 +290,7 @@ func init() { ListFunc: (&armnetwork.RouteTablesClient{}).NewListAllPager, NewFunc: armnetwork.NewRouteTablesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -302,7 +302,7 @@ func init() { ListFunc: (&armnetwork.SecurityGroupsClient{}).NewListAllPager, NewFunc: armnetwork.NewSecurityGroupsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -314,7 +314,7 @@ func init() { ListFunc: (&armnetwork.SecurityPartnerProvidersClient{}).NewListPager, NewFunc: armnetwork.NewSecurityPartnerProvidersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -326,7 +326,7 @@ func init() { ListFunc: (&armnetwork.ServiceEndpointPoliciesClient{}).NewListPager, NewFunc: armnetwork.NewServiceEndpointPoliciesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -338,7 +338,7 @@ func init() { ListFunc: (&armnetwork.SubscriptionNetworkManagerConnectionsClient{}).NewListPager, NewFunc: armnetwork.NewSubscriptionNetworkManagerConnectionsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -350,7 +350,7 @@ func init() { ListFunc: (&armnetwork.VPNGatewaysClient{}).NewListPager, NewFunc: armnetwork.NewVPNGatewaysClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -362,7 +362,7 @@ func init() { ListFunc: (&armnetwork.VPNServerConfigurationsClient{}).NewListPager, NewFunc: armnetwork.NewVPNServerConfigurationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -374,7 +374,7 @@ func init() { ListFunc: (&armnetwork.VPNSitesClient{}).NewListPager, NewFunc: armnetwork.NewVPNSitesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -386,7 +386,7 @@ func init() { ListFunc: (&armnetwork.VirtualAppliancesClient{}).NewListPager, NewFunc: armnetwork.NewVirtualAppliancesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -398,7 +398,7 @@ func init() { ListFunc: (&armnetwork.VirtualHubsClient{}).NewListPager, NewFunc: armnetwork.NewVirtualHubsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -410,7 +410,7 @@ func init() { ListFunc: (&armnetwork.VirtualNetworkTapsClient{}).NewListAllPager, NewFunc: armnetwork.NewVirtualNetworkTapsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -422,7 +422,7 @@ func init() { ListFunc: (&armnetwork.VirtualNetworksClient{}).NewListAllPager, NewFunc: armnetwork.NewVirtualNetworksClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -434,7 +434,7 @@ func init() { ListFunc: (&armnetwork.VirtualRoutersClient{}).NewListPager, NewFunc: armnetwork.NewVirtualRoutersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -446,7 +446,7 @@ func init() { ListFunc: (&armnetwork.VirtualWansClient{}).NewListPager, NewFunc: armnetwork.NewVirtualWansClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -458,7 +458,7 @@ func init() { ListFunc: (&armnetwork.WatchersClient{}).NewListAllPager, NewFunc: armnetwork.NewWatchersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, { @@ -470,7 +470,7 @@ func init() { ListFunc: (&armnetwork.WebApplicationFirewallPoliciesClient{}).NewListAllPager, NewFunc: armnetwork.NewWebApplicationFirewallPoliciesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/network_e.go b/plugins/source/azure/codegen2/recipes/network_e.go index 630e0c8d6593a2..3f9f39fb4fe098 100644 --- a/plugins/source/azure/codegen2/recipes/network_e.go +++ b/plugins/source/azure/codegen2/recipes/network_e.go @@ -13,7 +13,7 @@ func init() { ListFunc: (&armnetwork.ExpressRouteGatewaysClient{}).ListBySubscription, NewFunc: armnetwork.NewExpressRouteGatewaysClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, SkipFetch: true, }, diff --git a/plugins/source/azure/codegen2/recipes/networkfunction.go b/plugins/source/azure/codegen2/recipes/networkfunction.go index bb39d4731aa660..a145543f244ba2 100644 --- a/plugins/source/azure/codegen2/recipes/networkfunction.go +++ b/plugins/source/azure/codegen2/recipes/networkfunction.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armnetworkfunction.AzureTrafficCollectorsBySubscriptionClient{}).NewListPager, NewFunc: armnetworkfunction.NewAzureTrafficCollectorsBySubscriptionClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.NetworkFunction/azureTrafficCollectors", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_NetworkFunction)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_networkfunction)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/nginx.go b/plugins/source/azure/codegen2/recipes/nginx.go index 543760a213ad38..29dc01d18e672b 100644 --- a/plugins/source/azure/codegen2/recipes/nginx.go +++ b/plugins/source/azure/codegen2/recipes/nginx.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armnginx.DeploymentsClient{}).NewListPager, NewFunc: armnginx.NewDeploymentsClient, URL: "/subscriptions/{subscriptionId}/providers/Nginx.NginxPlus/nginxDeployments", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceNginx_NginxPlus)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacenginx_nginxplus)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/notificationhubs.go b/plugins/source/azure/codegen2/recipes/notificationhubs.go index 340952b23d6be6..0e262b203dc308 100644 --- a/plugins/source/azure/codegen2/recipes/notificationhubs.go +++ b/plugins/source/azure/codegen2/recipes/notificationhubs.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armnotificationhubs.NamespacesClient{}).NewListAllPager, NewFunc: armnotificationhubs.NewNamespacesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/namespaces", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_NotificationHubs)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_notificationhubs)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/operationalinsights.go b/plugins/source/azure/codegen2/recipes/operationalinsights.go index bb82788ccb9245..cff7cc9c65bec8 100644 --- a/plugins/source/azure/codegen2/recipes/operationalinsights.go +++ b/plugins/source/azure/codegen2/recipes/operationalinsights.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armoperationalinsights.ClustersClient{}).NewListPager, NewFunc: armoperationalinsights.NewClustersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_OperationalInsights)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_operationalinsights)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armoperationalinsights.WorkspacesClient{}).NewListPager, NewFunc: armoperationalinsights.NewWorkspacesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_OperationalInsights)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_operationalinsights)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/peering.go b/plugins/source/azure/codegen2/recipes/peering.go index 1dab6e46e94ca3..01d6ee8ca491c9 100644 --- a/plugins/source/azure/codegen2/recipes/peering.go +++ b/plugins/source/azure/codegen2/recipes/peering.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armpeering.ServiceCountriesClient{}).NewListPager, NewFunc: armpeering.NewServiceCountriesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceCountries", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Peering)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_peering)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armpeering.ServiceLocationsClient{}).NewListPager, NewFunc: armpeering.NewServiceLocationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceLocations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Peering)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_peering)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armpeering.ServiceProvidersClient{}).NewListPager, NewFunc: armpeering.NewServiceProvidersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringServiceProviders", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Peering)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_peering)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/policy.go b/plugins/source/azure/codegen2/recipes/policy.go index beb848664c0a89..433dc4748ad240 100644 --- a/plugins/source/azure/codegen2/recipes/policy.go +++ b/plugins/source/azure/codegen2/recipes/policy.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armpolicy.AssignmentsClient{}).NewListPager, NewFunc: armpolicy.NewAssignmentsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armpolicy.DataPolicyManifestsClient{}).NewListPager, NewFunc: armpolicy.NewDataPolicyManifestsClient, URL: "/providers/Microsoft.Authorization/dataPolicyManifests", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armpolicy.DefinitionsClient{}).NewListPager, NewFunc: armpolicy.NewDefinitionsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, ExtraColumns: DefaultExtraColumns, }, { @@ -50,7 +50,7 @@ func init() { ListFunc: (&armpolicy.ExemptionsClient{}).NewListPager, NewFunc: armpolicy.NewExemptionsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyExemptions", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, ExtraColumns: DefaultExtraColumns, }, { @@ -62,7 +62,7 @@ func init() { ListFunc: (&armpolicy.SetDefinitionsClient{}).NewListPager, NewFunc: armpolicy.NewSetDefinitionsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/portal.go b/plugins/source/azure/codegen2/recipes/portal.go index 7e88e934572188..871a15fd51c8ee 100644 --- a/plugins/source/azure/codegen2/recipes/portal.go +++ b/plugins/source/azure/codegen2/recipes/portal.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armportal.ListTenantConfigurationViolationsClient{}).NewListPager, NewFunc: armportal.NewListTenantConfigurationViolationsClient, URL: "/providers/Microsoft.Portal/listTenantConfigurationViolations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Portal)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_portal)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armportal.TenantConfigurationsClient{}).NewListPager, NewFunc: armportal.NewTenantConfigurationsClient, URL: "/providers/Microsoft.Portal/tenantConfigurations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Portal)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_portal)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/postgresql.go b/plugins/source/azure/codegen2/recipes/postgresql.go index 7cf192986e2d19..06f77ef4e02eec 100644 --- a/plugins/source/azure/codegen2/recipes/postgresql.go +++ b/plugins/source/azure/codegen2/recipes/postgresql.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armpostgresql.ServersClient{}).NewListPager, NewFunc: armpostgresql.NewServersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/servers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforPostgreSQL)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbforpostgresql)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/postgresqlflexibleservers.go b/plugins/source/azure/codegen2/recipes/postgresqlflexibleservers.go index 91620af8e33e66..a2019646726ace 100644 --- a/plugins/source/azure/codegen2/recipes/postgresqlflexibleservers.go +++ b/plugins/source/azure/codegen2/recipes/postgresqlflexibleservers.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armpostgresqlflexibleservers.ServersClient{}).NewListPager, NewFunc: armpostgresqlflexibleservers.NewServersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforPostgreSQL)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbforpostgresql)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/postgresqlhsc.go b/plugins/source/azure/codegen2/recipes/postgresqlhsc.go index 477a2598fec442..6d7afda6a40279 100644 --- a/plugins/source/azure/codegen2/recipes/postgresqlhsc.go +++ b/plugins/source/azure/codegen2/recipes/postgresqlhsc.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armpostgresqlhsc.ServerGroupsClient{}).NewListPager, NewFunc: armpostgresqlhsc.NewServerGroupsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/serverGroupsv2", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBForPostgreSql)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbforpostgresql)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/powerbidedicated.go b/plugins/source/azure/codegen2/recipes/powerbidedicated.go index 9b0ee4bd94bb9a..a02ee8f1cd6623 100644 --- a/plugins/source/azure/codegen2/recipes/powerbidedicated.go +++ b/plugins/source/azure/codegen2/recipes/powerbidedicated.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armpowerbidedicated.CapacitiesClient{}).NewListPager, NewFunc: armpowerbidedicated.NewCapacitiesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/capacities", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_PowerBIDedicated)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_powerbidedicated)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/privatedns.go b/plugins/source/azure/codegen2/recipes/privatedns.go index fa088f60242642..506a9d9d097987 100644 --- a/plugins/source/azure/codegen2/recipes/privatedns.go +++ b/plugins/source/azure/codegen2/recipes/privatedns.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armprivatedns.PrivateZonesClient{}).NewListPager, NewFunc: armprivatedns.NewPrivateZonesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/providerhub.go b/plugins/source/azure/codegen2/recipes/providerhub.go index 4ec54075237eef..b715508300ee60 100644 --- a/plugins/source/azure/codegen2/recipes/providerhub.go +++ b/plugins/source/azure/codegen2/recipes/providerhub.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armproviderhub.ProviderRegistrationsClient{}).NewListPager, NewFunc: armproviderhub.NewProviderRegistrationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ProviderHub)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_providerhub)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/redhatopenshift.go b/plugins/source/azure/codegen2/recipes/redhatopenshift.go index bd423aa78a0ded..36cf3839fc0dff 100644 --- a/plugins/source/azure/codegen2/recipes/redhatopenshift.go +++ b/plugins/source/azure/codegen2/recipes/redhatopenshift.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armredhatopenshift.OpenShiftClustersClient{}).NewListPager, NewFunc: armredhatopenshift.NewOpenShiftClustersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_RedHatOpenShift)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_redhatopenshift)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/relay.go b/plugins/source/azure/codegen2/recipes/relay.go index 6cb0ace29b7ad1..6d348d387cf2a3 100644 --- a/plugins/source/azure/codegen2/recipes/relay.go +++ b/plugins/source/azure/codegen2/recipes/relay.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armrelay.NamespacesClient{}).NewListPager, NewFunc: armrelay.NewNamespacesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Relay/namespaces", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Relay)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_relay)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/reservations.go b/plugins/source/azure/codegen2/recipes/reservations.go index ac23d8f5634320..fbaf46804104b1 100644 --- a/plugins/source/azure/codegen2/recipes/reservations.go +++ b/plugins/source/azure/codegen2/recipes/reservations.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armreservations.ReservationClient{}).NewListAllPager, NewFunc: armreservations.NewReservationClient, URL: "/providers/Microsoft.Capacity/reservations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Capacity)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_capacity)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armreservations.ReservationOrderClient{}).NewListPager, NewFunc: armreservations.NewReservationOrderClient, URL: "/providers/Microsoft.Capacity/reservationOrders", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Capacity)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_capacity)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/saas.go b/plugins/source/azure/codegen2/recipes/saas.go index 4f475d009b5ff2..df5e8199c26c46 100644 --- a/plugins/source/azure/codegen2/recipes/saas.go +++ b/plugins/source/azure/codegen2/recipes/saas.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armsaas.ResourcesClient{}).NewListPager, NewFunc: armsaas.NewResourcesClient, URL: "/providers/Microsoft.SaaS/saasresources", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_SaaS)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_saas)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/security.go b/plugins/source/azure/codegen2/recipes/security.go index 3eec90bc473ab4..11a6bfbe4bc7d3 100644 --- a/plugins/source/azure/codegen2/recipes/security.go +++ b/plugins/source/azure/codegen2/recipes/security.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armsecurity.AlertsClient{}).NewListPager, NewFunc: armsecurity.NewAlertsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/alerts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armsecurity.AlertsSuppressionRulesClient{}).NewListPager, NewFunc: armsecurity.NewAlertsSuppressionRulesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +38,7 @@ func init() { ListFunc: (&armsecurity.AllowedConnectionsClient{}).NewListPager, NewFunc: armsecurity.NewAllowedConnectionsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/allowedConnections", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -50,7 +50,7 @@ func init() { ListFunc: (&armsecurity.ApplicationsClient{}).NewListPager, NewFunc: armsecurity.NewApplicationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/applications", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -62,7 +62,7 @@ func init() { ListFunc: (&armsecurity.AssessmentsMetadataClient{}).NewListPager, NewFunc: armsecurity.NewAssessmentsMetadataClient, URL: "/providers/Microsoft.Security/assessmentMetadata", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -74,7 +74,7 @@ func init() { ListFunc: (&armsecurity.AutoProvisioningSettingsClient{}).NewListPager, NewFunc: armsecurity.NewAutoProvisioningSettingsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -86,7 +86,7 @@ func init() { ListFunc: (&armsecurity.AutomationsClient{}).NewListPager, NewFunc: armsecurity.NewAutomationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/automations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -98,7 +98,7 @@ func init() { ListFunc: (&armsecurity.ConnectorsClient{}).NewListPager, NewFunc: armsecurity.NewConnectorsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityConnectors", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -110,7 +110,7 @@ func init() { ListFunc: (&armsecurity.DiscoveredSecuritySolutionsClient{}).NewListPager, NewFunc: armsecurity.NewDiscoveredSecuritySolutionsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/discoveredSecuritySolutions", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -122,7 +122,7 @@ func init() { ListFunc: (&armsecurity.ExternalSecuritySolutionsClient{}).NewListPager, NewFunc: armsecurity.NewExternalSecuritySolutionsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/externalSecuritySolutions", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -134,7 +134,7 @@ func init() { ListFunc: (&armsecurity.GovernanceRuleClient{}).NewListPager, NewFunc: armsecurity.NewGovernanceRuleClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/governanceRules", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -146,7 +146,7 @@ func init() { ListFunc: (&armsecurity.JitNetworkAccessPoliciesClient{}).NewListPager, NewFunc: armsecurity.NewJitNetworkAccessPoliciesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/jitNetworkAccessPolicies", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -158,7 +158,7 @@ func init() { ListFunc: (&armsecurity.LocationsClient{}).NewListPager, NewFunc: armsecurity.NewLocationsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -170,7 +170,7 @@ func init() { ListFunc: (&armsecurity.RegulatoryComplianceStandardsClient{}).NewListPager, NewFunc: armsecurity.NewRegulatoryComplianceStandardsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -182,7 +182,7 @@ func init() { ListFunc: (&armsecurity.SecureScoreControlDefinitionsClient{}).NewListPager, NewFunc: armsecurity.NewSecureScoreControlDefinitionsClient, URL: "/providers/Microsoft.Security/secureScoreControlDefinitions", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -194,7 +194,7 @@ func init() { ListFunc: (&armsecurity.SecureScoreControlsClient{}).NewListPager, NewFunc: armsecurity.NewSecureScoreControlsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControls", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -206,7 +206,7 @@ func init() { ListFunc: (&armsecurity.SecureScoresClient{}).NewListPager, NewFunc: armsecurity.NewSecureScoresClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -218,7 +218,7 @@ func init() { ListFunc: (&armsecurity.SolutionsClient{}).NewListPager, NewFunc: armsecurity.NewSolutionsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutions", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -230,7 +230,7 @@ func init() { ListFunc: (&armsecurity.TasksClient{}).NewListPager, NewFunc: armsecurity.NewTasksClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/tasks", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -242,7 +242,7 @@ func init() { ListFunc: (&armsecurity.TopologyClient{}).NewListPager, NewFunc: armsecurity.NewTopologyClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, { @@ -254,7 +254,7 @@ func init() { ListFunc: (&armsecurity.WorkspaceSettingsClient{}).NewListPager, NewFunc: armsecurity.NewWorkspaceSettingsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/servicebus.go b/plugins/source/azure/codegen2/recipes/servicebus.go index 505d307e8cdfc0..5d607273366eb6 100644 --- a/plugins/source/azure/codegen2/recipes/servicebus.go +++ b/plugins/source/azure/codegen2/recipes/servicebus.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armservicebus.NamespacesClient{}).NewListPager, NewFunc: armservicebus.NewNamespacesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceBus/namespaces", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ServiceBus)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_servicebus)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/sql.go b/plugins/source/azure/codegen2/recipes/sql.go index 485e04f409b441..d34605e9e0eab7 100644 --- a/plugins/source/azure/codegen2/recipes/sql.go +++ b/plugins/source/azure/codegen2/recipes/sql.go @@ -5,18 +5,6 @@ import "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql" func init() { tables := []Table{ - { - Service: "armsql", - Name: "deleted_servers", - Struct: &armsql.DeletedServer{}, - ResponseStruct: &armsql.DeletedServersClientListResponse{}, - Client: &armsql.DeletedServersClient{}, - ListFunc: (&armsql.DeletedServersClient{}).NewListPager, - NewFunc: armsql.NewDeletedServersClient, - URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/deletedServers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql)`, - ExtraColumns: DefaultExtraColumns, - }, { Service: "armsql", Name: "instance_pools", @@ -26,7 +14,7 @@ func init() { ListFunc: (&armsql.InstancePoolsClient{}).NewListPager, NewFunc: armsql.NewInstancePoolsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/instancePools", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql)`, ExtraColumns: DefaultExtraColumns, }, { @@ -38,7 +26,7 @@ func init() { ListFunc: (&armsql.ManagedInstancesClient{}).NewListPager, NewFunc: armsql.NewManagedInstancesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql)`, ExtraColumns: DefaultExtraColumns, }, { @@ -50,7 +38,7 @@ func init() { ListFunc: (&armsql.ServersClient{}).NewListPager, NewFunc: armsql.NewServersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/servers", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql)`, ExtraColumns: DefaultExtraColumns, }, { @@ -62,7 +50,7 @@ func init() { ListFunc: (&armsql.VirtualClustersClient{}).NewListPager, NewFunc: armsql.NewVirtualClustersClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/virtualClusters", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/sqlvirtualmachine.go b/plugins/source/azure/codegen2/recipes/sqlvirtualmachine.go index 382b323e3b0e79..2298b9b897d8e6 100644 --- a/plugins/source/azure/codegen2/recipes/sqlvirtualmachine.go +++ b/plugins/source/azure/codegen2/recipes/sqlvirtualmachine.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armsqlvirtualmachine.GroupsClient{}).NewListPager, NewFunc: armsqlvirtualmachine.NewGroupsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_SqlVirtualMachine)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sqlvirtualmachine)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armsqlvirtualmachine.SQLVirtualMachinesClient{}).NewListPager, NewFunc: armsqlvirtualmachine.NewSQLVirtualMachinesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_SqlVirtualMachine)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sqlvirtualmachine)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/storage_e.go b/plugins/source/azure/codegen2/recipes/storage_e.go index 3f7245a73323f0..bbcbd7cdbe94d8 100644 --- a/plugins/source/azure/codegen2/recipes/storage_e.go +++ b/plugins/source/azure/codegen2/recipes/storage_e.go @@ -13,7 +13,7 @@ func init() { ListFunc: (&armstorage.AccountsClient{}).NewListPager, NewFunc: armstorage.NewAccountsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Storage)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_storage)`, Relations: []*Table{ { Service: "armstorage", diff --git a/plugins/source/azure/codegen2/recipes/storagecache.go b/plugins/source/azure/codegen2/recipes/storagecache.go index ec9b9631287446..14fc51dcf5c09e 100644 --- a/plugins/source/azure/codegen2/recipes/storagecache.go +++ b/plugins/source/azure/codegen2/recipes/storagecache.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armstoragecache.CachesClient{}).NewListPager, NewFunc: armstoragecache.NewCachesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/caches", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_StorageCache)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_storagecache)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/streamanalytics.go b/plugins/source/azure/codegen2/recipes/streamanalytics.go index 091b040f817b88..4149e0173bc15d 100644 --- a/plugins/source/azure/codegen2/recipes/streamanalytics.go +++ b/plugins/source/azure/codegen2/recipes/streamanalytics.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armstreamanalytics.StreamingJobsClient{}).NewListPager, NewFunc: armstreamanalytics.NewStreamingJobsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.StreamAnalytics/streamingjobs", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_StreamAnalytics)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_streamanalytics)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/support.go b/plugins/source/azure/codegen2/recipes/support.go index 725040bdeed3a5..54c4684b1aa828 100644 --- a/plugins/source/azure/codegen2/recipes/support.go +++ b/plugins/source/azure/codegen2/recipes/support.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armsupport.ServicesClient{}).NewListPager, NewFunc: armsupport.NewServicesClient, URL: "/providers/Microsoft.Support/services", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Support)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_support)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armsupport.TicketsClient{}).NewListPager, NewFunc: armsupport.NewTicketsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Support)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_support)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/synapse.go b/plugins/source/azure/codegen2/recipes/synapse.go index 449b988bd477fb..981fa1edc50f88 100644 --- a/plugins/source/azure/codegen2/recipes/synapse.go +++ b/plugins/source/azure/codegen2/recipes/synapse.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armsynapse.PrivateLinkHubsClient{}).NewListPager, NewFunc: armsynapse.NewPrivateLinkHubsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/privateLinkHubs", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Synapse)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_synapse)`, ExtraColumns: DefaultExtraColumns, }, { @@ -26,7 +26,7 @@ func init() { ListFunc: (&armsynapse.WorkspacesClient{}).NewListPager, NewFunc: armsynapse.NewWorkspacesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/workspaces", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Synapse)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_synapse)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/windowsesu.go b/plugins/source/azure/codegen2/recipes/windowsesu.go index 009982a3e575d4..b9d73f4e92adb1 100644 --- a/plugins/source/azure/codegen2/recipes/windowsesu.go +++ b/plugins/source/azure/codegen2/recipes/windowsesu.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armwindowsesu.MultipleActivationKeysClient{}).NewListPager, NewFunc: armwindowsesu.NewMultipleActivationKeysClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.WindowsESU/multipleActivationKeys", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_WindowsESU)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_windowsesu)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/windowsiot.go b/plugins/source/azure/codegen2/recipes/windowsiot.go index 7d67e01ede6cc6..fdb77e5ebd546b 100644 --- a/plugins/source/azure/codegen2/recipes/windowsiot.go +++ b/plugins/source/azure/codegen2/recipes/windowsiot.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armwindowsiot.ServicesClient{}).NewListPager, NewFunc: armwindowsiot.NewServicesClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.WindowsIoT/deviceServices", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_WindowsIoT)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_windowsiot)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/codegen2/recipes/workloads.go b/plugins/source/azure/codegen2/recipes/workloads.go index bd858b862b5fda..6c962ee8220a76 100644 --- a/plugins/source/azure/codegen2/recipes/workloads.go +++ b/plugins/source/azure/codegen2/recipes/workloads.go @@ -14,7 +14,7 @@ func init() { ListFunc: (&armworkloads.MonitorsClient{}).NewListPager, NewFunc: armworkloads.NewMonitorsClient, URL: "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/monitors", - Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Workloads)`, + Multiplex: `client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_workloads)`, ExtraColumns: DefaultExtraColumns, }, } diff --git a/plugins/source/azure/docs/tables/README.md b/plugins/source/azure/docs/tables/README.md index 74f705e9455f69..9c12ce1aba1d4d 100644 --- a/plugins/source/azure/docs/tables/README.md +++ b/plugins/source/azure/docs/tables/README.md @@ -205,7 +205,6 @@ - [azure_security_topology](azure_security_topology.md) - [azure_security_workspace_settings](azure_security_workspace_settings.md) - [azure_servicebus_namespaces](azure_servicebus_namespaces.md) -- [azure_sql_deleted_servers](azure_sql_deleted_servers.md) - [azure_sql_instance_pools](azure_sql_instance_pools.md) - [azure_sql_managed_instances](azure_sql_managed_instances.md) - [azure_sql_servers](azure_sql_servers.md) diff --git a/plugins/source/azure/docs/tables/azure_sql_deleted_servers.md b/plugins/source/azure/docs/tables/azure_sql_deleted_servers.md deleted file mode 100644 index e1d5dc306c1f50..00000000000000 --- a/plugins/source/azure/docs/tables/azure_sql_deleted_servers.md +++ /dev/null @@ -1,20 +0,0 @@ -# Table: azure_sql_deleted_servers - - - -The primary key for this table is **id**. - - - -## Columns -| Name | Type | -| ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|subscription_id|String| -|properties|JSON| -|id (PK)|String| -|name|String| -|type|String| \ No newline at end of file diff --git a/plugins/source/azure/resources/plugin/tables.go b/plugins/source/azure/resources/plugin/tables.go index fedbdad12e9a24..2be73b48dae2ab 100644 --- a/plugins/source/azure/resources/plugin/tables.go +++ b/plugins/source/azure/resources/plugin/tables.go @@ -291,7 +291,6 @@ func generatedTables() []*schema.Table { security.Topology(), security.WorkspaceSettings(), servicebus.Namespaces(), - sql.DeletedServers(), sql.InstancePools(), sql.ManagedInstances(), sql.Servers(), diff --git a/plugins/source/azure/resources/services/advisor/recommendation_metadata.go b/plugins/source/azure/resources/services/advisor/recommendation_metadata.go index ab015a5acd119e..22716fcc9696dd 100644 --- a/plugins/source/azure/resources/services/advisor/recommendation_metadata.go +++ b/plugins/source/azure/resources/services/advisor/recommendation_metadata.go @@ -12,7 +12,7 @@ func RecommendationMetadata() *schema.Table { return &schema.Table{ Name: "azure_advisor_recommendation_metadata", Resolver: fetchRecommendationMetadata, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Advisor), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_advisor), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/advisor/recommendations.go b/plugins/source/azure/resources/services/advisor/recommendations.go index 4147a70c3b1d18..2d7e2cdf61ed3b 100644 --- a/plugins/source/azure/resources/services/advisor/recommendations.go +++ b/plugins/source/azure/resources/services/advisor/recommendations.go @@ -12,7 +12,7 @@ func Recommendations() *schema.Table { return &schema.Table{ Name: "azure_advisor_recommendations", Resolver: fetchRecommendations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Advisor), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_advisor), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/advisor/suppressions.go b/plugins/source/azure/resources/services/advisor/suppressions.go index fd8f5ed9b90628..7d549c2b864e27 100644 --- a/plugins/source/azure/resources/services/advisor/suppressions.go +++ b/plugins/source/azure/resources/services/advisor/suppressions.go @@ -12,7 +12,7 @@ func Suppressions() *schema.Table { return &schema.Table{ Name: "azure_advisor_suppressions", Resolver: fetchSuppressions, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Advisor), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_advisor), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/analysisservices/servers.go b/plugins/source/azure/resources/services/analysisservices/servers.go index 8d1215973292a7..75c39935ce1b8e 100644 --- a/plugins/source/azure/resources/services/analysisservices/servers.go +++ b/plugins/source/azure/resources/services/analysisservices/servers.go @@ -12,7 +12,7 @@ func Servers() *schema.Table { return &schema.Table{ Name: "azure_analysisservices_servers", Resolver: fetchServers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AnalysisServices), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_analysisservices), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/apimanagement/service.go b/plugins/source/azure/resources/services/apimanagement/service.go index 8fa5342282dfc8..c8cb9f4a9b5138 100644 --- a/plugins/source/azure/resources/services/apimanagement/service.go +++ b/plugins/source/azure/resources/services/apimanagement/service.go @@ -12,7 +12,7 @@ func Service() *schema.Table { return &schema.Table{ Name: "azure_apimanagement_service", Resolver: fetchService, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ApiManagement), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_apimanagement), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appcomplianceautomation/reports.go b/plugins/source/azure/resources/services/appcomplianceautomation/reports.go index 8fb9b58f04abf8..f6c0a66c872429 100644 --- a/plugins/source/azure/resources/services/appcomplianceautomation/reports.go +++ b/plugins/source/azure/resources/services/appcomplianceautomation/reports.go @@ -12,7 +12,7 @@ func Reports() *schema.Table { return &schema.Table{ Name: "azure_appcomplianceautomation_reports", Resolver: fetchReports, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AppComplianceAutomation), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_appcomplianceautomation), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appconfiguration/configuration_stores.go b/plugins/source/azure/resources/services/appconfiguration/configuration_stores.go index 0869f959b4ff10..f44e4d79bb5cb8 100644 --- a/plugins/source/azure/resources/services/appconfiguration/configuration_stores.go +++ b/plugins/source/azure/resources/services/appconfiguration/configuration_stores.go @@ -12,7 +12,7 @@ func ConfigurationStores() *schema.Table { return &schema.Table{ Name: "azure_appconfiguration_configuration_stores", Resolver: fetchConfigurationStores, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AppConfiguration), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_appconfiguration), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/applicationinsights/components.go b/plugins/source/azure/resources/services/applicationinsights/components.go index 7c030981224e7d..488e407bd95aad 100644 --- a/plugins/source/azure/resources/services/applicationinsights/components.go +++ b/plugins/source/azure/resources/services/applicationinsights/components.go @@ -12,7 +12,7 @@ func Components() *schema.Table { return &schema.Table{ Name: "azure_applicationinsights_components", Resolver: fetchComponents, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/applicationinsights/web_tests.go b/plugins/source/azure/resources/services/applicationinsights/web_tests.go index c99a03ccc9c06c..84d25e7f2e06be 100644 --- a/plugins/source/azure/resources/services/applicationinsights/web_tests.go +++ b/plugins/source/azure/resources/services/applicationinsights/web_tests.go @@ -12,7 +12,7 @@ func WebTests() *schema.Table { return &schema.Table{ Name: "azure_applicationinsights_web_tests", Resolver: fetchWebTests, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appservice/certificate_orders.go b/plugins/source/azure/resources/services/appservice/certificate_orders.go index 16bcf983d662cc..4ef1ad93389058 100644 --- a/plugins/source/azure/resources/services/appservice/certificate_orders.go +++ b/plugins/source/azure/resources/services/appservice/certificate_orders.go @@ -12,7 +12,7 @@ func CertificateOrders() *schema.Table { return &schema.Table{ Name: "azure_appservice_certificate_orders", Resolver: fetchCertificateOrders, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CertificateRegistration), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_certificateregistration), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appservice/certificates.go b/plugins/source/azure/resources/services/appservice/certificates.go index 40784fedbe9e00..edbc69fcb4171e 100644 --- a/plugins/source/azure/resources/services/appservice/certificates.go +++ b/plugins/source/azure/resources/services/appservice/certificates.go @@ -12,7 +12,7 @@ func Certificates() *schema.Table { return &schema.Table{ Name: "azure_appservice_certificates", Resolver: fetchCertificates, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appservice/deleted_web_apps.go b/plugins/source/azure/resources/services/appservice/deleted_web_apps.go index 731b7285cabf80..6e73bd43d728b4 100644 --- a/plugins/source/azure/resources/services/appservice/deleted_web_apps.go +++ b/plugins/source/azure/resources/services/appservice/deleted_web_apps.go @@ -12,7 +12,7 @@ func DeletedWebApps() *schema.Table { return &schema.Table{ Name: "azure_appservice_deleted_web_apps", Resolver: fetchDeletedWebApps, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appservice/domains.go b/plugins/source/azure/resources/services/appservice/domains.go index d1d4de7af8c7b3..a56cc5d04b4e22 100644 --- a/plugins/source/azure/resources/services/appservice/domains.go +++ b/plugins/source/azure/resources/services/appservice/domains.go @@ -12,7 +12,7 @@ func Domains() *schema.Table { return &schema.Table{ Name: "azure_appservice_domains", Resolver: fetchDomains, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DomainRegistration), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_domainregistration), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appservice/environments.go b/plugins/source/azure/resources/services/appservice/environments.go index f0203cdb99364a..6f3ec4d3b55499 100644 --- a/plugins/source/azure/resources/services/appservice/environments.go +++ b/plugins/source/azure/resources/services/appservice/environments.go @@ -12,7 +12,7 @@ func Environments() *schema.Table { return &schema.Table{ Name: "azure_appservice_environments", Resolver: fetchEnvironments, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appservice/plans.go b/plugins/source/azure/resources/services/appservice/plans.go index 2ff52238809944..67d294ed8e0b78 100644 --- a/plugins/source/azure/resources/services/appservice/plans.go +++ b/plugins/source/azure/resources/services/appservice/plans.go @@ -12,7 +12,7 @@ func Plans() *schema.Table { return &schema.Table{ Name: "azure_appservice_plans", Resolver: fetchPlans, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appservice/recommendations.go b/plugins/source/azure/resources/services/appservice/recommendations.go index 54f043f1c50557..c292e749728598 100644 --- a/plugins/source/azure/resources/services/appservice/recommendations.go +++ b/plugins/source/azure/resources/services/appservice/recommendations.go @@ -12,7 +12,7 @@ func Recommendations() *schema.Table { return &schema.Table{ Name: "azure_appservice_recommendations", Resolver: fetchRecommendations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appservice/resource_health_metadata.go b/plugins/source/azure/resources/services/appservice/resource_health_metadata.go index ae136c361331d7..f11638c95f1639 100644 --- a/plugins/source/azure/resources/services/appservice/resource_health_metadata.go +++ b/plugins/source/azure/resources/services/appservice/resource_health_metadata.go @@ -12,7 +12,7 @@ func ResourceHealthMetadata() *schema.Table { return &schema.Table{ Name: "azure_appservice_resource_health_metadata", Resolver: fetchResourceHealthMetadata, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appservice/static_sites.go b/plugins/source/azure/resources/services/appservice/static_sites.go index 10ed1cfdfbe2f8..949985f66f1bd7 100644 --- a/plugins/source/azure/resources/services/appservice/static_sites.go +++ b/plugins/source/azure/resources/services/appservice/static_sites.go @@ -12,7 +12,7 @@ func StaticSites() *schema.Table { return &schema.Table{ Name: "azure_appservice_static_sites", Resolver: fetchStaticSites, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appservice/top_level_domains.go b/plugins/source/azure/resources/services/appservice/top_level_domains.go index e0607bcc181724..bb7d79c86f8172 100644 --- a/plugins/source/azure/resources/services/appservice/top_level_domains.go +++ b/plugins/source/azure/resources/services/appservice/top_level_domains.go @@ -12,7 +12,7 @@ func TopLevelDomains() *schema.Table { return &schema.Table{ Name: "azure_appservice_top_level_domains", Resolver: fetchTopLevelDomains, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DomainRegistration), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_domainregistration), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/appservice/web_apps.go b/plugins/source/azure/resources/services/appservice/web_apps.go index 4e43ab9d98abc1..a3578ba71614c9 100644 --- a/plugins/source/azure/resources/services/appservice/web_apps.go +++ b/plugins/source/azure/resources/services/appservice/web_apps.go @@ -12,7 +12,7 @@ func WebApps() *schema.Table { return &schema.Table{ Name: "azure_appservice_web_apps", Resolver: fetchWebApps, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Web), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_web), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/authorization/classic_administrators.go b/plugins/source/azure/resources/services/authorization/classic_administrators.go index 4fee3f8e2d3f75..ef58b056231be1 100644 --- a/plugins/source/azure/resources/services/authorization/classic_administrators.go +++ b/plugins/source/azure/resources/services/authorization/classic_administrators.go @@ -12,7 +12,7 @@ func ClassicAdministrators() *schema.Table { return &schema.Table{ Name: "azure_authorization_classic_administrators", Resolver: fetchClassicAdministrators, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/authorization/provider_operations_metadata.go b/plugins/source/azure/resources/services/authorization/provider_operations_metadata.go index 6e627eb51147b6..306b590c77f213 100644 --- a/plugins/source/azure/resources/services/authorization/provider_operations_metadata.go +++ b/plugins/source/azure/resources/services/authorization/provider_operations_metadata.go @@ -12,7 +12,7 @@ func ProviderOperationsMetadata() *schema.Table { return &schema.Table{ Name: "azure_authorization_provider_operations_metadata", Resolver: fetchProviderOperationsMetadata, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/authorization/role_assignments.go b/plugins/source/azure/resources/services/authorization/role_assignments.go index 17f0489b063242..52913e469475dc 100644 --- a/plugins/source/azure/resources/services/authorization/role_assignments.go +++ b/plugins/source/azure/resources/services/authorization/role_assignments.go @@ -12,7 +12,7 @@ func RoleAssignments() *schema.Table { return &schema.Table{ Name: "azure_authorization_role_assignments", Resolver: fetchRoleAssignments, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/authorization/role_definitions.go b/plugins/source/azure/resources/services/authorization/role_definitions.go index aaf8d8360cbb21..87a010bca400dc 100644 --- a/plugins/source/azure/resources/services/authorization/role_definitions.go +++ b/plugins/source/azure/resources/services/authorization/role_definitions.go @@ -10,7 +10,7 @@ func RoleDefinitions() *schema.Table { return &schema.Table{ Name: "azure_authorization_role_definitions", Resolver: fetchRoleDefinitions, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization), Columns: []schema.Column{ { Name: "properties", diff --git a/plugins/source/azure/resources/services/automation/account.go b/plugins/source/azure/resources/services/automation/account.go index 88ee8b6d4df649..c4f18e72912d61 100644 --- a/plugins/source/azure/resources/services/automation/account.go +++ b/plugins/source/azure/resources/services/automation/account.go @@ -12,7 +12,7 @@ func Account() *schema.Table { return &schema.Table{ Name: "azure_automation_account", Resolver: fetchAccount, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Automation), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_automation), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/azurearcdata/postgres_instances.go b/plugins/source/azure/resources/services/azurearcdata/postgres_instances.go index 27b465e922920a..3210f106271d3c 100644 --- a/plugins/source/azure/resources/services/azurearcdata/postgres_instances.go +++ b/plugins/source/azure/resources/services/azurearcdata/postgres_instances.go @@ -12,7 +12,7 @@ func PostgresInstances() *schema.Table { return &schema.Table{ Name: "azure_azurearcdata_postgres_instances", Resolver: fetchPostgresInstances, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureArcData), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azurearcdata), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/azurearcdata/sql_managed_instances.go b/plugins/source/azure/resources/services/azurearcdata/sql_managed_instances.go index 34e21365dfe3df..fb18c113a04969 100644 --- a/plugins/source/azure/resources/services/azurearcdata/sql_managed_instances.go +++ b/plugins/source/azure/resources/services/azurearcdata/sql_managed_instances.go @@ -12,7 +12,7 @@ func SqlManagedInstances() *schema.Table { return &schema.Table{ Name: "azure_azurearcdata_sql_managed_instances", Resolver: fetchSqlManagedInstances, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureArcData), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azurearcdata), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/azurearcdata/sql_server_instances.go b/plugins/source/azure/resources/services/azurearcdata/sql_server_instances.go index 15a5a92bd9edd8..6e3bc4a10da259 100644 --- a/plugins/source/azure/resources/services/azurearcdata/sql_server_instances.go +++ b/plugins/source/azure/resources/services/azurearcdata/sql_server_instances.go @@ -12,7 +12,7 @@ func SqlServerInstances() *schema.Table { return &schema.Table{ Name: "azure_azurearcdata_sql_server_instances", Resolver: fetchSqlServerInstances, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureArcData), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azurearcdata), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/azuredata/sql_server_registrations.go b/plugins/source/azure/resources/services/azuredata/sql_server_registrations.go index 1e12b60b4d3272..38b87c847c9803 100644 --- a/plugins/source/azure/resources/services/azuredata/sql_server_registrations.go +++ b/plugins/source/azure/resources/services/azuredata/sql_server_registrations.go @@ -12,7 +12,7 @@ func SqlServerRegistrations() *schema.Table { return &schema.Table{ Name: "azure_azuredata_sql_server_registrations", Resolver: fetchSqlServerRegistrations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_AzureData), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_azuredata), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/batch/account.go b/plugins/source/azure/resources/services/batch/account.go index 8af4a46acc4d32..09b5d4d4a484a2 100644 --- a/plugins/source/azure/resources/services/batch/account.go +++ b/plugins/source/azure/resources/services/batch/account.go @@ -12,7 +12,7 @@ func Account() *schema.Table { return &schema.Table{ Name: "azure_batch_account", Resolver: fetchAccount, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Batch), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_batch), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/billing/accounts.go b/plugins/source/azure/resources/services/billing/accounts.go index 8e1dc230561f31..86d72fee4255e4 100644 --- a/plugins/source/azure/resources/services/billing/accounts.go +++ b/plugins/source/azure/resources/services/billing/accounts.go @@ -12,7 +12,7 @@ func Accounts() *schema.Table { return &schema.Table{ Name: "azure_billing_accounts", Resolver: fetchAccounts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Billing), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_billing), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/billing/enrollment_accounts.go b/plugins/source/azure/resources/services/billing/enrollment_accounts.go index 784e3cde47f4de..c58ad88ce36b13 100644 --- a/plugins/source/azure/resources/services/billing/enrollment_accounts.go +++ b/plugins/source/azure/resources/services/billing/enrollment_accounts.go @@ -12,7 +12,7 @@ func EnrollmentAccounts() *schema.Table { return &schema.Table{ Name: "azure_billing_enrollment_accounts", Resolver: fetchEnrollmentAccounts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Billing), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_billing), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/billing/periods.go b/plugins/source/azure/resources/services/billing/periods.go index 7cf798c2250cbc..e010c6b90409ef 100644 --- a/plugins/source/azure/resources/services/billing/periods.go +++ b/plugins/source/azure/resources/services/billing/periods.go @@ -12,7 +12,7 @@ func Periods() *schema.Table { return &schema.Table{ Name: "azure_billing_periods", Resolver: fetchPeriods, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Billing), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_billing), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/botservice/bots.go b/plugins/source/azure/resources/services/botservice/bots.go index 792d490df4b59f..824436c330459a 100644 --- a/plugins/source/azure/resources/services/botservice/bots.go +++ b/plugins/source/azure/resources/services/botservice/bots.go @@ -12,7 +12,7 @@ func Bots() *schema.Table { return &schema.Table{ Name: "azure_botservice_bots", Resolver: fetchBots, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_BotService), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_botservice), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/cdn/edge_nodes.go b/plugins/source/azure/resources/services/cdn/edge_nodes.go index 281499fad3df33..54a8aa0843a1cc 100644 --- a/plugins/source/azure/resources/services/cdn/edge_nodes.go +++ b/plugins/source/azure/resources/services/cdn/edge_nodes.go @@ -12,7 +12,7 @@ func EdgeNodes() *schema.Table { return &schema.Table{ Name: "azure_cdn_edge_nodes", Resolver: fetchEdgeNodes, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Cdn), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cdn), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/cdn/managed_rule_sets.go b/plugins/source/azure/resources/services/cdn/managed_rule_sets.go index a73f694642b1a0..551e281a82d993 100644 --- a/plugins/source/azure/resources/services/cdn/managed_rule_sets.go +++ b/plugins/source/azure/resources/services/cdn/managed_rule_sets.go @@ -12,7 +12,7 @@ func ManagedRuleSets() *schema.Table { return &schema.Table{ Name: "azure_cdn_managed_rule_sets", Resolver: fetchManagedRuleSets, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Cdn), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cdn), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/cdn/profiles.go b/plugins/source/azure/resources/services/cdn/profiles.go index 8ab0c3f0926b3a..d57e0375809458 100644 --- a/plugins/source/azure/resources/services/cdn/profiles.go +++ b/plugins/source/azure/resources/services/cdn/profiles.go @@ -12,7 +12,7 @@ func Profiles() *schema.Table { return &schema.Table{ Name: "azure_cdn_profiles", Resolver: fetchProfiles, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Cdn), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cdn), Columns: []schema.Column{ { Name: "location", diff --git a/plugins/source/azure/resources/services/cognitiveservices/accounts.go b/plugins/source/azure/resources/services/cognitiveservices/accounts.go index a16af9e54a685d..d5cd77ce2194f6 100644 --- a/plugins/source/azure/resources/services/cognitiveservices/accounts.go +++ b/plugins/source/azure/resources/services/cognitiveservices/accounts.go @@ -12,7 +12,7 @@ func Accounts() *schema.Table { return &schema.Table{ Name: "azure_cognitiveservices_accounts", Resolver: fetchAccounts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CognitiveServices), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cognitiveservices), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/cognitiveservices/deleted_accounts.go b/plugins/source/azure/resources/services/cognitiveservices/deleted_accounts.go index 2911a33cb9b0a1..72daa61b8a3634 100644 --- a/plugins/source/azure/resources/services/cognitiveservices/deleted_accounts.go +++ b/plugins/source/azure/resources/services/cognitiveservices/deleted_accounts.go @@ -12,7 +12,7 @@ func DeletedAccounts() *schema.Table { return &schema.Table{ Name: "azure_cognitiveservices_deleted_accounts", Resolver: fetchDeletedAccounts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CognitiveServices), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_cognitiveservices), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/compute/cloud_services.go b/plugins/source/azure/resources/services/compute/cloud_services.go index a15abe2a680a4e..a5b5e945d5c75c 100644 --- a/plugins/source/azure/resources/services/compute/cloud_services.go +++ b/plugins/source/azure/resources/services/compute/cloud_services.go @@ -12,7 +12,7 @@ func CloudServices() *schema.Table { return &schema.Table{ Name: "azure_compute_cloud_services", Resolver: fetchCloudServices, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/compute/disk_accesses.go b/plugins/source/azure/resources/services/compute/disk_accesses.go index ab1c209ff76ab9..059a72c16d94fa 100644 --- a/plugins/source/azure/resources/services/compute/disk_accesses.go +++ b/plugins/source/azure/resources/services/compute/disk_accesses.go @@ -12,7 +12,7 @@ func DiskAccesses() *schema.Table { return &schema.Table{ Name: "azure_compute_disk_accesses", Resolver: fetchDiskAccesses, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/compute/disk_encryption_sets.go b/plugins/source/azure/resources/services/compute/disk_encryption_sets.go index 3f986fb0dd242a..7c6f4d06920f5d 100644 --- a/plugins/source/azure/resources/services/compute/disk_encryption_sets.go +++ b/plugins/source/azure/resources/services/compute/disk_encryption_sets.go @@ -12,7 +12,7 @@ func DiskEncryptionSets() *schema.Table { return &schema.Table{ Name: "azure_compute_disk_encryption_sets", Resolver: fetchDiskEncryptionSets, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/compute/disks.go b/plugins/source/azure/resources/services/compute/disks.go index cfa6699c53295b..59b0702de8a86d 100644 --- a/plugins/source/azure/resources/services/compute/disks.go +++ b/plugins/source/azure/resources/services/compute/disks.go @@ -12,7 +12,7 @@ func Disks() *schema.Table { return &schema.Table{ Name: "azure_compute_disks", Resolver: fetchDisks, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/compute/galleries.go b/plugins/source/azure/resources/services/compute/galleries.go index 6453dc9e8ed260..dd7411d25ac0c0 100644 --- a/plugins/source/azure/resources/services/compute/galleries.go +++ b/plugins/source/azure/resources/services/compute/galleries.go @@ -12,7 +12,7 @@ func Galleries() *schema.Table { return &schema.Table{ Name: "azure_compute_galleries", Resolver: fetchGalleries, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/compute/images.go b/plugins/source/azure/resources/services/compute/images.go index 9842837c8c60b1..d430f3324b6501 100644 --- a/plugins/source/azure/resources/services/compute/images.go +++ b/plugins/source/azure/resources/services/compute/images.go @@ -12,7 +12,7 @@ func Images() *schema.Table { return &schema.Table{ Name: "azure_compute_images", Resolver: fetchImages, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/compute/restore_point_collections.go b/plugins/source/azure/resources/services/compute/restore_point_collections.go index 534ee1afff7fd4..3278968078fc91 100644 --- a/plugins/source/azure/resources/services/compute/restore_point_collections.go +++ b/plugins/source/azure/resources/services/compute/restore_point_collections.go @@ -12,7 +12,7 @@ func RestorePointCollections() *schema.Table { return &schema.Table{ Name: "azure_compute_restore_point_collections", Resolver: fetchRestorePointCollections, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/compute/skus.go b/plugins/source/azure/resources/services/compute/skus.go index 378451c0cf0298..b52b8402ec7bea 100644 --- a/plugins/source/azure/resources/services/compute/skus.go +++ b/plugins/source/azure/resources/services/compute/skus.go @@ -12,7 +12,7 @@ func Skus() *schema.Table { return &schema.Table{ Name: "azure_compute_skus", Resolver: fetchSkus, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute), Columns: []schema.Column{ { Name: "id", diff --git a/plugins/source/azure/resources/services/compute/snapshots.go b/plugins/source/azure/resources/services/compute/snapshots.go index 3578b7647ec562..e3f1f25f83db25 100644 --- a/plugins/source/azure/resources/services/compute/snapshots.go +++ b/plugins/source/azure/resources/services/compute/snapshots.go @@ -12,7 +12,7 @@ func Snapshots() *schema.Table { return &schema.Table{ Name: "azure_compute_snapshots", Resolver: fetchSnapshots, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/compute/virtual_machine_scale_sets.go b/plugins/source/azure/resources/services/compute/virtual_machine_scale_sets.go index b9041ca3bf6f53..032a0f9d3c85d9 100644 --- a/plugins/source/azure/resources/services/compute/virtual_machine_scale_sets.go +++ b/plugins/source/azure/resources/services/compute/virtual_machine_scale_sets.go @@ -12,7 +12,7 @@ func VirtualMachineScaleSets() *schema.Table { return &schema.Table{ Name: "azure_compute_virtual_machine_scale_sets", Resolver: fetchVirtualMachineScaleSets, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/compute/virtual_machines.go b/plugins/source/azure/resources/services/compute/virtual_machines.go index 522d272bb39dd8..ba097a01359342 100644 --- a/plugins/source/azure/resources/services/compute/virtual_machines.go +++ b/plugins/source/azure/resources/services/compute/virtual_machines.go @@ -12,7 +12,7 @@ func VirtualMachines() *schema.Table { return &schema.Table{ Name: "azure_compute_virtual_machines", Resolver: fetchVirtualMachines, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Compute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_compute), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/confluent/marketplace_agreements.go b/plugins/source/azure/resources/services/confluent/marketplace_agreements.go index 7ab7b559ef102e..ac231f648d29f4 100644 --- a/plugins/source/azure/resources/services/confluent/marketplace_agreements.go +++ b/plugins/source/azure/resources/services/confluent/marketplace_agreements.go @@ -12,7 +12,7 @@ func MarketplaceAgreements() *schema.Table { return &schema.Table{ Name: "azure_confluent_marketplace_agreements", Resolver: fetchMarketplaceAgreements, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Confluent), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_confluent), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/connectedvmware/clusters.go b/plugins/source/azure/resources/services/connectedvmware/clusters.go index 60ec8d8abf6bfc..72a2a112fb57db 100644 --- a/plugins/source/azure/resources/services/connectedvmware/clusters.go +++ b/plugins/source/azure/resources/services/connectedvmware/clusters.go @@ -12,7 +12,7 @@ func Clusters() *schema.Table { return &schema.Table{ Name: "azure_connectedvmware_clusters", Resolver: fetchClusters, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/connectedvmware/datastores.go b/plugins/source/azure/resources/services/connectedvmware/datastores.go index bfa8cbd7479f9d..8eb7fb0441c1f4 100644 --- a/plugins/source/azure/resources/services/connectedvmware/datastores.go +++ b/plugins/source/azure/resources/services/connectedvmware/datastores.go @@ -12,7 +12,7 @@ func Datastores() *schema.Table { return &schema.Table{ Name: "azure_connectedvmware_datastores", Resolver: fetchDatastores, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/connectedvmware/hosts.go b/plugins/source/azure/resources/services/connectedvmware/hosts.go index 0cd646f3d1ff7f..ad7b6c8fa1e8e4 100644 --- a/plugins/source/azure/resources/services/connectedvmware/hosts.go +++ b/plugins/source/azure/resources/services/connectedvmware/hosts.go @@ -12,7 +12,7 @@ func Hosts() *schema.Table { return &schema.Table{ Name: "azure_connectedvmware_hosts", Resolver: fetchHosts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/connectedvmware/resource_pools.go b/plugins/source/azure/resources/services/connectedvmware/resource_pools.go index 572415554babe8..bf107ec69636aa 100644 --- a/plugins/source/azure/resources/services/connectedvmware/resource_pools.go +++ b/plugins/source/azure/resources/services/connectedvmware/resource_pools.go @@ -12,7 +12,7 @@ func ResourcePools() *schema.Table { return &schema.Table{ Name: "azure_connectedvmware_resource_pools", Resolver: fetchResourcePools, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/connectedvmware/v_centers.go b/plugins/source/azure/resources/services/connectedvmware/v_centers.go index 8d06a389871245..b86023f5842121 100644 --- a/plugins/source/azure/resources/services/connectedvmware/v_centers.go +++ b/plugins/source/azure/resources/services/connectedvmware/v_centers.go @@ -12,7 +12,7 @@ func VCenters() *schema.Table { return &schema.Table{ Name: "azure_connectedvmware_v_centers", Resolver: fetchVCenters, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/connectedvmware/virtual_machine_templates.go b/plugins/source/azure/resources/services/connectedvmware/virtual_machine_templates.go index 0599b9b5e78a5a..082bb57f3eaaab 100644 --- a/plugins/source/azure/resources/services/connectedvmware/virtual_machine_templates.go +++ b/plugins/source/azure/resources/services/connectedvmware/virtual_machine_templates.go @@ -12,7 +12,7 @@ func VirtualMachineTemplates() *schema.Table { return &schema.Table{ Name: "azure_connectedvmware_virtual_machine_templates", Resolver: fetchVirtualMachineTemplates, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/connectedvmware/virtual_machines.go b/plugins/source/azure/resources/services/connectedvmware/virtual_machines.go index 1de25f512520f8..4152b971d52e63 100644 --- a/plugins/source/azure/resources/services/connectedvmware/virtual_machines.go +++ b/plugins/source/azure/resources/services/connectedvmware/virtual_machines.go @@ -12,7 +12,7 @@ func VirtualMachines() *schema.Table { return &schema.Table{ Name: "azure_connectedvmware_virtual_machines", Resolver: fetchVirtualMachines, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/connectedvmware/virtual_networks.go b/plugins/source/azure/resources/services/connectedvmware/virtual_networks.go index c69142be9fc662..669b3bd7b84fd7 100644 --- a/plugins/source/azure/resources/services/connectedvmware/virtual_networks.go +++ b/plugins/source/azure/resources/services/connectedvmware/virtual_networks.go @@ -12,7 +12,7 @@ func VirtualNetworks() *schema.Table { return &schema.Table{ Name: "azure_connectedvmware_virtual_networks", Resolver: fetchVirtualNetworks, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ConnectedVMwarevSphere), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_connectedvmwarevsphere), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/containerinstance/container_groups.go b/plugins/source/azure/resources/services/containerinstance/container_groups.go index 1bb5efcea6165c..4c69bb699457b3 100644 --- a/plugins/source/azure/resources/services/containerinstance/container_groups.go +++ b/plugins/source/azure/resources/services/containerinstance/container_groups.go @@ -12,7 +12,7 @@ func ContainerGroups() *schema.Table { return &schema.Table{ Name: "azure_containerinstance_container_groups", Resolver: fetchContainerGroups, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerInstance), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerinstance), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/containerregistry/registries.go b/plugins/source/azure/resources/services/containerregistry/registries.go index e7be0864e68b99..eb87ebf08bbb36 100644 --- a/plugins/source/azure/resources/services/containerregistry/registries.go +++ b/plugins/source/azure/resources/services/containerregistry/registries.go @@ -12,7 +12,7 @@ func Registries() *schema.Table { return &schema.Table{ Name: "azure_containerregistry_registries", Resolver: fetchRegistries, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerRegistry), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerregistry), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/containerservice/managed_clusters.go b/plugins/source/azure/resources/services/containerservice/managed_clusters.go index b48375c72720db..d6773438603a14 100644 --- a/plugins/source/azure/resources/services/containerservice/managed_clusters.go +++ b/plugins/source/azure/resources/services/containerservice/managed_clusters.go @@ -12,7 +12,7 @@ func ManagedClusters() *schema.Table { return &schema.Table{ Name: "azure_containerservice_managed_clusters", Resolver: fetchManagedClusters, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerService), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerservice), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/containerservice/snapshots.go b/plugins/source/azure/resources/services/containerservice/snapshots.go index cff1f6ee463405..d2bea427d5741b 100644 --- a/plugins/source/azure/resources/services/containerservice/snapshots.go +++ b/plugins/source/azure/resources/services/containerservice/snapshots.go @@ -12,7 +12,7 @@ func Snapshots() *schema.Table { return &schema.Table{ Name: "azure_containerservice_snapshots", Resolver: fetchSnapshots, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ContainerService), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_containerservice), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/cosmos/database_accounts.go b/plugins/source/azure/resources/services/cosmos/database_accounts.go index bdf9689f725183..f27bb0d3555e19 100644 --- a/plugins/source/azure/resources/services/cosmos/database_accounts.go +++ b/plugins/source/azure/resources/services/cosmos/database_accounts.go @@ -12,7 +12,7 @@ func DatabaseAccounts() *schema.Table { return &schema.Table{ Name: "azure_cosmos_database_accounts", Resolver: fetchDatabaseAccounts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DocumentDB), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_documentdb), Columns: []schema.Column{ { Name: "identity", diff --git a/plugins/source/azure/resources/services/cosmos/locations.go b/plugins/source/azure/resources/services/cosmos/locations.go index b76e3c33841202..e6348b189b4217 100644 --- a/plugins/source/azure/resources/services/cosmos/locations.go +++ b/plugins/source/azure/resources/services/cosmos/locations.go @@ -12,7 +12,7 @@ func Locations() *schema.Table { return &schema.Table{ Name: "azure_cosmos_locations", Resolver: fetchLocations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DocumentDB), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_documentdb), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/cosmos/restorable_database_accounts.go b/plugins/source/azure/resources/services/cosmos/restorable_database_accounts.go index f9278abfa4c5ca..70c6c86ebbe931 100644 --- a/plugins/source/azure/resources/services/cosmos/restorable_database_accounts.go +++ b/plugins/source/azure/resources/services/cosmos/restorable_database_accounts.go @@ -12,7 +12,7 @@ func RestorableDatabaseAccounts() *schema.Table { return &schema.Table{ Name: "azure_cosmos_restorable_database_accounts", Resolver: fetchRestorableDatabaseAccounts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DocumentDB), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_documentdb), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/costmanagement/views.go b/plugins/source/azure/resources/services/costmanagement/views.go index baf3957a22dd75..d03e52678ad77d 100644 --- a/plugins/source/azure/resources/services/costmanagement/views.go +++ b/plugins/source/azure/resources/services/costmanagement/views.go @@ -12,7 +12,7 @@ func Views() *schema.Table { return &schema.Table{ Name: "azure_costmanagement_views", Resolver: fetchViews, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CostManagement), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_costmanagement), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/customerinsights/hubs.go b/plugins/source/azure/resources/services/customerinsights/hubs.go index 12d8429c4a157b..46e5c3a2738366 100644 --- a/plugins/source/azure/resources/services/customerinsights/hubs.go +++ b/plugins/source/azure/resources/services/customerinsights/hubs.go @@ -12,7 +12,7 @@ func Hubs() *schema.Table { return &schema.Table{ Name: "azure_customerinsights_hubs", Resolver: fetchHubs, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_CustomerInsights), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_customerinsights), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/dashboard/grafana.go b/plugins/source/azure/resources/services/dashboard/grafana.go index a4b3ef8f23877e..9f6d019598956b 100644 --- a/plugins/source/azure/resources/services/dashboard/grafana.go +++ b/plugins/source/azure/resources/services/dashboard/grafana.go @@ -12,7 +12,7 @@ func Grafana() *schema.Table { return &schema.Table{ Name: "azure_dashboard_grafana", Resolver: fetchGrafana, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Dashboard), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dashboard), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/databox/jobs.go b/plugins/source/azure/resources/services/databox/jobs.go index 1c08a694dae52b..500714450b9303 100644 --- a/plugins/source/azure/resources/services/databox/jobs.go +++ b/plugins/source/azure/resources/services/databox/jobs.go @@ -12,7 +12,7 @@ func Jobs() *schema.Table { return &schema.Table{ Name: "azure_databox_jobs", Resolver: fetchJobs, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataBox), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_databox), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/datadog/marketplace_agreements.go b/plugins/source/azure/resources/services/datadog/marketplace_agreements.go index eff3548f3f0125..39ff3402a955f7 100644 --- a/plugins/source/azure/resources/services/datadog/marketplace_agreements.go +++ b/plugins/source/azure/resources/services/datadog/marketplace_agreements.go @@ -12,7 +12,7 @@ func MarketplaceAgreements() *schema.Table { return &schema.Table{ Name: "azure_datadog_marketplace_agreements", Resolver: fetchMarketplaceAgreements, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Datadog), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datadog), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/datadog/monitors.go b/plugins/source/azure/resources/services/datadog/monitors.go index 8a150b8bb7a914..72339bc68fc930 100644 --- a/plugins/source/azure/resources/services/datadog/monitors.go +++ b/plugins/source/azure/resources/services/datadog/monitors.go @@ -12,7 +12,7 @@ func Monitors() *schema.Table { return &schema.Table{ Name: "azure_datadog_monitors", Resolver: fetchMonitors, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Datadog), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datadog), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/datafactory/factories.go b/plugins/source/azure/resources/services/datafactory/factories.go index b06f4d897d587a..94e5fd90402797 100644 --- a/plugins/source/azure/resources/services/datafactory/factories.go +++ b/plugins/source/azure/resources/services/datafactory/factories.go @@ -12,7 +12,7 @@ func Factories() *schema.Table { return &schema.Table{ Name: "azure_datafactory_factories", Resolver: fetchFactories, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataFactory), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datafactory), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/datalakeanalytics/accounts.go b/plugins/source/azure/resources/services/datalakeanalytics/accounts.go index 1be1bb63b04c62..a03c8efcb3bc78 100644 --- a/plugins/source/azure/resources/services/datalakeanalytics/accounts.go +++ b/plugins/source/azure/resources/services/datalakeanalytics/accounts.go @@ -12,7 +12,7 @@ func Accounts() *schema.Table { return &schema.Table{ Name: "azure_datalakeanalytics_accounts", Resolver: fetchAccounts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataLakeAnalytics), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datalakeanalytics), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/datalakestore/accounts.go b/plugins/source/azure/resources/services/datalakestore/accounts.go index 43b9fd69ee2387..622a4e6faa7a36 100644 --- a/plugins/source/azure/resources/services/datalakestore/accounts.go +++ b/plugins/source/azure/resources/services/datalakestore/accounts.go @@ -12,7 +12,7 @@ func Accounts() *schema.Table { return &schema.Table{ Name: "azure_datalakestore_accounts", Resolver: fetchAccounts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataLakeStore), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datalakestore), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/datamigration/services.go b/plugins/source/azure/resources/services/datamigration/services.go index d589c10cfbb9df..a956a22f11dbcc 100644 --- a/plugins/source/azure/resources/services/datamigration/services.go +++ b/plugins/source/azure/resources/services/datamigration/services.go @@ -12,7 +12,7 @@ func Services() *schema.Table { return &schema.Table{ Name: "azure_datamigration_services", Resolver: fetchServices, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DataMigration), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_datamigration), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/desktopvirtualization/host_pools.go b/plugins/source/azure/resources/services/desktopvirtualization/host_pools.go index 25e0754f66edbc..fd5651dd2e2c8f 100644 --- a/plugins/source/azure/resources/services/desktopvirtualization/host_pools.go +++ b/plugins/source/azure/resources/services/desktopvirtualization/host_pools.go @@ -12,7 +12,7 @@ func HostPools() *schema.Table { return &schema.Table{ Name: "azure_desktopvirtualization_host_pools", Resolver: fetchHostPools, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DesktopVirtualization), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_desktopvirtualization), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/devhub/workflow.go b/plugins/source/azure/resources/services/devhub/workflow.go index 508d2a1a2df2fa..c3540c6079a66f 100644 --- a/plugins/source/azure/resources/services/devhub/workflow.go +++ b/plugins/source/azure/resources/services/devhub/workflow.go @@ -12,7 +12,7 @@ func Workflow() *schema.Table { return &schema.Table{ Name: "azure_devhub_workflow", Resolver: fetchWorkflow, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DevHub), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_devhub), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/devops/pipeline_template_definitions.go b/plugins/source/azure/resources/services/devops/pipeline_template_definitions.go index fca183ae0c3b4e..e17201524f3a5e 100644 --- a/plugins/source/azure/resources/services/devops/pipeline_template_definitions.go +++ b/plugins/source/azure/resources/services/devops/pipeline_template_definitions.go @@ -12,7 +12,7 @@ func PipelineTemplateDefinitions() *schema.Table { return &schema.Table{ Name: "azure_devops_pipeline_template_definitions", Resolver: fetchPipelineTemplateDefinitions, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DevOps), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_devops), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/dns/zones.go b/plugins/source/azure/resources/services/dns/zones.go index eb4ac42088fc4b..e34353da87d07b 100644 --- a/plugins/source/azure/resources/services/dns/zones.go +++ b/plugins/source/azure/resources/services/dns/zones.go @@ -12,7 +12,7 @@ func Zones() *schema.Table { return &schema.Table{ Name: "azure_dns_zones", Resolver: fetchZones, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/dnsresolver/dns_forwarding_rulesets.go b/plugins/source/azure/resources/services/dnsresolver/dns_forwarding_rulesets.go index 8a2630f509c0b2..fa3d904c1f3e74 100644 --- a/plugins/source/azure/resources/services/dnsresolver/dns_forwarding_rulesets.go +++ b/plugins/source/azure/resources/services/dnsresolver/dns_forwarding_rulesets.go @@ -12,7 +12,7 @@ func DnsForwardingRulesets() *schema.Table { return &schema.Table{ Name: "azure_dnsresolver_dns_forwarding_rulesets", Resolver: fetchDnsForwardingRulesets, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/dnsresolver/dns_resolvers.go b/plugins/source/azure/resources/services/dnsresolver/dns_resolvers.go index 897dcf31743338..71e4f63ae51b3b 100644 --- a/plugins/source/azure/resources/services/dnsresolver/dns_resolvers.go +++ b/plugins/source/azure/resources/services/dnsresolver/dns_resolvers.go @@ -12,7 +12,7 @@ func DnsResolvers() *schema.Table { return &schema.Table{ Name: "azure_dnsresolver_dns_resolvers", Resolver: fetchDnsResolvers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/elastic/monitors.go b/plugins/source/azure/resources/services/elastic/monitors.go index 22e6d68b0eb04e..5e5e1c5de3e8e7 100644 --- a/plugins/source/azure/resources/services/elastic/monitors.go +++ b/plugins/source/azure/resources/services/elastic/monitors.go @@ -12,7 +12,7 @@ func Monitors() *schema.Table { return &schema.Table{ Name: "azure_elastic_monitors", Resolver: fetchMonitors, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Elastic), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_elastic), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/engagementfabric/accounts.go b/plugins/source/azure/resources/services/engagementfabric/accounts.go index 15795bc6c642b8..acc92d7a9155a5 100644 --- a/plugins/source/azure/resources/services/engagementfabric/accounts.go +++ b/plugins/source/azure/resources/services/engagementfabric/accounts.go @@ -12,7 +12,7 @@ func Accounts() *schema.Table { return &schema.Table{ Name: "azure_engagementfabric_accounts", Resolver: fetchAccounts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_EngagementFabric), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_engagementfabric), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/eventgrid/topic_types.go b/plugins/source/azure/resources/services/eventgrid/topic_types.go index 81f2cd2944f783..7d26b7d2b15e17 100644 --- a/plugins/source/azure/resources/services/eventgrid/topic_types.go +++ b/plugins/source/azure/resources/services/eventgrid/topic_types.go @@ -12,7 +12,7 @@ func TopicTypes() *schema.Table { return &schema.Table{ Name: "azure_eventgrid_topic_types", Resolver: fetchTopicTypes, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_EventGrid), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_eventgrid), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/eventhub/namespaces.go b/plugins/source/azure/resources/services/eventhub/namespaces.go index 366af17c5b1af4..7fdfbdeaea6f3c 100644 --- a/plugins/source/azure/resources/services/eventhub/namespaces.go +++ b/plugins/source/azure/resources/services/eventhub/namespaces.go @@ -12,7 +12,7 @@ func Namespaces() *schema.Table { return &schema.Table{ Name: "azure_eventhub_namespaces", Resolver: fetchNamespaces, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_EventHub), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_eventhub), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/frontdoor/front_doors.go b/plugins/source/azure/resources/services/frontdoor/front_doors.go index 806300ddcd6186..dc033ddd7e8dc6 100644 --- a/plugins/source/azure/resources/services/frontdoor/front_doors.go +++ b/plugins/source/azure/resources/services/frontdoor/front_doors.go @@ -12,7 +12,7 @@ func FrontDoors() *schema.Table { return &schema.Table{ Name: "azure_frontdoor_front_doors", Resolver: fetchFrontDoors, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/frontdoor/managed_rule_sets.go b/plugins/source/azure/resources/services/frontdoor/managed_rule_sets.go index 20d3174babcbb9..50d6dc65e41ee3 100644 --- a/plugins/source/azure/resources/services/frontdoor/managed_rule_sets.go +++ b/plugins/source/azure/resources/services/frontdoor/managed_rule_sets.go @@ -12,7 +12,7 @@ func ManagedRuleSets() *schema.Table { return &schema.Table{ Name: "azure_frontdoor_managed_rule_sets", Resolver: fetchManagedRuleSets, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/frontdoor/network_experiment_profiles.go b/plugins/source/azure/resources/services/frontdoor/network_experiment_profiles.go index 62386ad9131acd..a1e1c64a18c53f 100644 --- a/plugins/source/azure/resources/services/frontdoor/network_experiment_profiles.go +++ b/plugins/source/azure/resources/services/frontdoor/network_experiment_profiles.go @@ -12,7 +12,7 @@ func NetworkExperimentProfiles() *schema.Table { return &schema.Table{ Name: "azure_frontdoor_network_experiment_profiles", Resolver: fetchNetworkExperimentProfiles, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/hanaonazure/sap_monitors.go b/plugins/source/azure/resources/services/hanaonazure/sap_monitors.go index 4d0bb8ab0ee493..336be1445238a7 100644 --- a/plugins/source/azure/resources/services/hanaonazure/sap_monitors.go +++ b/plugins/source/azure/resources/services/hanaonazure/sap_monitors.go @@ -12,7 +12,7 @@ func SapMonitors() *schema.Table { return &schema.Table{ Name: "azure_hanaonazure_sap_monitors", Resolver: fetchSapMonitors, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HanaOnAzure), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hanaonazure), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/hdinsight/clusters.go b/plugins/source/azure/resources/services/hdinsight/clusters.go index b706fc3bef323e..b3e023ba3713f4 100644 --- a/plugins/source/azure/resources/services/hdinsight/clusters.go +++ b/plugins/source/azure/resources/services/hdinsight/clusters.go @@ -12,7 +12,7 @@ func Clusters() *schema.Table { return &schema.Table{ Name: "azure_hdinsight_clusters", Resolver: fetchClusters, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HDInsight), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hdinsight), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/healthbot/bots.go b/plugins/source/azure/resources/services/healthbot/bots.go index 875ed7c21b3438..78de9d8fc37f1d 100644 --- a/plugins/source/azure/resources/services/healthbot/bots.go +++ b/plugins/source/azure/resources/services/healthbot/bots.go @@ -12,7 +12,7 @@ func Bots() *schema.Table { return &schema.Table{ Name: "azure_healthbot_bots", Resolver: fetchBots, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HealthBot), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_healthbot), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/healthcareapis/services.go b/plugins/source/azure/resources/services/healthcareapis/services.go index a0d59c9e8a2fcc..1555bd32790c87 100644 --- a/plugins/source/azure/resources/services/healthcareapis/services.go +++ b/plugins/source/azure/resources/services/healthcareapis/services.go @@ -12,7 +12,7 @@ func Services() *schema.Table { return &schema.Table{ Name: "azure_healthcareapis_services", Resolver: fetchServices, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HealthcareApis), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_healthcareapis), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/hybridcompute/private_link_scopes.go b/plugins/source/azure/resources/services/hybridcompute/private_link_scopes.go index 563a0ccc0dffef..c4fbd138765086 100644 --- a/plugins/source/azure/resources/services/hybridcompute/private_link_scopes.go +++ b/plugins/source/azure/resources/services/hybridcompute/private_link_scopes.go @@ -12,7 +12,7 @@ func PrivateLinkScopes() *schema.Table { return &schema.Table{ Name: "azure_hybridcompute_private_link_scopes", Resolver: fetchPrivateLinkScopes, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HybridCompute), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hybridcompute), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/hybriddatamanager/data_managers.go b/plugins/source/azure/resources/services/hybriddatamanager/data_managers.go index 2f2e5279840f92..3b23a8716fd44a 100644 --- a/plugins/source/azure/resources/services/hybriddatamanager/data_managers.go +++ b/plugins/source/azure/resources/services/hybriddatamanager/data_managers.go @@ -12,7 +12,7 @@ func DataManagers() *schema.Table { return &schema.Table{ Name: "azure_hybriddatamanager_data_managers", Resolver: fetchDataManagers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_HybridData), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_hybriddata), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/keyvault/keyvault_managed_hsms.go b/plugins/source/azure/resources/services/keyvault/keyvault_managed_hsms.go index 0d57d51a27a572..dbb8d1d97b3904 100644 --- a/plugins/source/azure/resources/services/keyvault/keyvault_managed_hsms.go +++ b/plugins/source/azure/resources/services/keyvault/keyvault_managed_hsms.go @@ -12,7 +12,7 @@ func KeyvaultManagedHsms() *schema.Table { return &schema.Table{ Name: "azure_keyvault_keyvault_managed_hsms", Resolver: fetchKeyvaultManagedHsms, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_KeyVault), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_keyvault), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/kusto/clusters.go b/plugins/source/azure/resources/services/kusto/clusters.go index 3d6ff42b8a541b..dd76fd42ed9d7b 100644 --- a/plugins/source/azure/resources/services/kusto/clusters.go +++ b/plugins/source/azure/resources/services/kusto/clusters.go @@ -12,7 +12,7 @@ func Clusters() *schema.Table { return &schema.Table{ Name: "azure_kusto_clusters", Resolver: fetchClusters, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Kusto), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_kusto), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/maintenance/configurations.go b/plugins/source/azure/resources/services/maintenance/configurations.go index 68783b5e2892d6..41d7f82680f789 100644 --- a/plugins/source/azure/resources/services/maintenance/configurations.go +++ b/plugins/source/azure/resources/services/maintenance/configurations.go @@ -12,7 +12,7 @@ func Configurations() *schema.Table { return &schema.Table{ Name: "azure_maintenance_configurations", Resolver: fetchConfigurations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Maintenance), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_maintenance), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/maintenance/public_maintenance_configurations.go b/plugins/source/azure/resources/services/maintenance/public_maintenance_configurations.go index 9d2dd995877fd9..224d9fd81981e5 100644 --- a/plugins/source/azure/resources/services/maintenance/public_maintenance_configurations.go +++ b/plugins/source/azure/resources/services/maintenance/public_maintenance_configurations.go @@ -12,7 +12,7 @@ func PublicMaintenanceConfigurations() *schema.Table { return &schema.Table{ Name: "azure_maintenance_public_maintenance_configurations", Resolver: fetchPublicMaintenanceConfigurations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Maintenance), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_maintenance), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/mariadb/servers.go b/plugins/source/azure/resources/services/mariadb/servers.go index 47e04cfcb04dec..6285c30a1469b7 100644 --- a/plugins/source/azure/resources/services/mariadb/servers.go +++ b/plugins/source/azure/resources/services/mariadb/servers.go @@ -12,7 +12,7 @@ func Servers() *schema.Table { return &schema.Table{ Name: "azure_mariadb_servers", Resolver: fetchServers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforMariaDB), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbformariadb), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/marketplace/private_store.go b/plugins/source/azure/resources/services/marketplace/private_store.go index f9d388a0e02d32..88becdda95b622 100644 --- a/plugins/source/azure/resources/services/marketplace/private_store.go +++ b/plugins/source/azure/resources/services/marketplace/private_store.go @@ -12,7 +12,7 @@ func PrivateStore() *schema.Table { return &schema.Table{ Name: "azure_marketplace_private_store", Resolver: fetchPrivateStore, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Marketplace), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_marketplace), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/monitor/log_profiles.go b/plugins/source/azure/resources/services/monitor/log_profiles.go index 2bdb4723f3ff80..53769dc898ebe7 100644 --- a/plugins/source/azure/resources/services/monitor/log_profiles.go +++ b/plugins/source/azure/resources/services/monitor/log_profiles.go @@ -12,7 +12,7 @@ func LogProfiles() *schema.Table { return &schema.Table{ Name: "azure_monitor_log_profiles", Resolver: fetchLogProfiles, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/monitor/tenant_activity_logs.go b/plugins/source/azure/resources/services/monitor/tenant_activity_logs.go index 9b290253ad32c6..4de22a6e646eaf 100644 --- a/plugins/source/azure/resources/services/monitor/tenant_activity_logs.go +++ b/plugins/source/azure/resources/services/monitor/tenant_activity_logs.go @@ -12,7 +12,7 @@ func TenantActivityLogs() *schema.Table { return &schema.Table{ Name: "azure_monitor_tenant_activity_logs", Resolver: fetchTenantActivityLogs, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Insights), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_insights), Columns: []schema.Column{ { Name: "authorization", diff --git a/plugins/source/azure/resources/services/mysql/servers.go b/plugins/source/azure/resources/services/mysql/servers.go index 5a37a1ac9fc839..9ba495d2e88c91 100644 --- a/plugins/source/azure/resources/services/mysql/servers.go +++ b/plugins/source/azure/resources/services/mysql/servers.go @@ -12,7 +12,7 @@ func Servers() *schema.Table { return &schema.Table{ Name: "azure_mysql_servers", Resolver: fetchServers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforMySQL), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbformysql), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/mysqlflexibleservers/servers.go b/plugins/source/azure/resources/services/mysqlflexibleservers/servers.go index b1aa09251a0aab..efeb4c10397aa2 100644 --- a/plugins/source/azure/resources/services/mysqlflexibleservers/servers.go +++ b/plugins/source/azure/resources/services/mysqlflexibleservers/servers.go @@ -12,7 +12,7 @@ func Servers() *schema.Table { return &schema.Table{ Name: "azure_mysqlflexibleservers_servers", Resolver: fetchServers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforMySQL), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbformysql), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/application_gateways.go b/plugins/source/azure/resources/services/network/application_gateways.go index 4938e82c4f56de..f78a1ded1570a6 100644 --- a/plugins/source/azure/resources/services/network/application_gateways.go +++ b/plugins/source/azure/resources/services/network/application_gateways.go @@ -12,7 +12,7 @@ func ApplicationGateways() *schema.Table { return &schema.Table{ Name: "azure_network_application_gateways", Resolver: fetchApplicationGateways, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/application_security_groups.go b/plugins/source/azure/resources/services/network/application_security_groups.go index c59da91568cd8a..952d26cfa2ea7f 100644 --- a/plugins/source/azure/resources/services/network/application_security_groups.go +++ b/plugins/source/azure/resources/services/network/application_security_groups.go @@ -12,7 +12,7 @@ func ApplicationSecurityGroups() *schema.Table { return &schema.Table{ Name: "azure_network_application_security_groups", Resolver: fetchApplicationSecurityGroups, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/azure_firewall_fqdn_tags.go b/plugins/source/azure/resources/services/network/azure_firewall_fqdn_tags.go index bbaf57a852f0cd..951fc9de710937 100644 --- a/plugins/source/azure/resources/services/network/azure_firewall_fqdn_tags.go +++ b/plugins/source/azure/resources/services/network/azure_firewall_fqdn_tags.go @@ -12,7 +12,7 @@ func AzureFirewallFqdnTags() *schema.Table { return &schema.Table{ Name: "azure_network_azure_firewall_fqdn_tags", Resolver: fetchAzureFirewallFqdnTags, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/azure_firewalls.go b/plugins/source/azure/resources/services/network/azure_firewalls.go index cef4e2257f9537..ce2dc95fd2c50c 100644 --- a/plugins/source/azure/resources/services/network/azure_firewalls.go +++ b/plugins/source/azure/resources/services/network/azure_firewalls.go @@ -12,7 +12,7 @@ func AzureFirewalls() *schema.Table { return &schema.Table{ Name: "azure_network_azure_firewalls", Resolver: fetchAzureFirewalls, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/bastion_hosts.go b/plugins/source/azure/resources/services/network/bastion_hosts.go index 5660e3c0a09c33..fdae41a98aad0d 100644 --- a/plugins/source/azure/resources/services/network/bastion_hosts.go +++ b/plugins/source/azure/resources/services/network/bastion_hosts.go @@ -12,7 +12,7 @@ func BastionHosts() *schema.Table { return &schema.Table{ Name: "azure_network_bastion_hosts", Resolver: fetchBastionHosts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/bgp_service_communities.go b/plugins/source/azure/resources/services/network/bgp_service_communities.go index 22c1198de93e14..95bf55968af847 100644 --- a/plugins/source/azure/resources/services/network/bgp_service_communities.go +++ b/plugins/source/azure/resources/services/network/bgp_service_communities.go @@ -12,7 +12,7 @@ func BgpServiceCommunities() *schema.Table { return &schema.Table{ Name: "azure_network_bgp_service_communities", Resolver: fetchBgpServiceCommunities, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/custom_ip_prefixes.go b/plugins/source/azure/resources/services/network/custom_ip_prefixes.go index 6b871ec0736616..908c1a64e497f9 100644 --- a/plugins/source/azure/resources/services/network/custom_ip_prefixes.go +++ b/plugins/source/azure/resources/services/network/custom_ip_prefixes.go @@ -12,7 +12,7 @@ func CustomIpPrefixes() *schema.Table { return &schema.Table{ Name: "azure_network_custom_ip_prefixes", Resolver: fetchCustomIpPrefixes, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/ddos_protection_plans.go b/plugins/source/azure/resources/services/network/ddos_protection_plans.go index c8a10dd91df658..4b9cee2cbb372b 100644 --- a/plugins/source/azure/resources/services/network/ddos_protection_plans.go +++ b/plugins/source/azure/resources/services/network/ddos_protection_plans.go @@ -12,7 +12,7 @@ func DdosProtectionPlans() *schema.Table { return &schema.Table{ Name: "azure_network_ddos_protection_plans", Resolver: fetchDdosProtectionPlans, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/dscp_configuration.go b/plugins/source/azure/resources/services/network/dscp_configuration.go index 032763e3913b8d..3281870545e467 100644 --- a/plugins/source/azure/resources/services/network/dscp_configuration.go +++ b/plugins/source/azure/resources/services/network/dscp_configuration.go @@ -12,7 +12,7 @@ func DscpConfiguration() *schema.Table { return &schema.Table{ Name: "azure_network_dscp_configuration", Resolver: fetchDscpConfiguration, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/express_route_circuits.go b/plugins/source/azure/resources/services/network/express_route_circuits.go index 31f6e05fb2854f..d0f0ad30290bfe 100644 --- a/plugins/source/azure/resources/services/network/express_route_circuits.go +++ b/plugins/source/azure/resources/services/network/express_route_circuits.go @@ -12,7 +12,7 @@ func ExpressRouteCircuits() *schema.Table { return &schema.Table{ Name: "azure_network_express_route_circuits", Resolver: fetchExpressRouteCircuits, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/express_route_gateways.go b/plugins/source/azure/resources/services/network/express_route_gateways.go index d6e915f93fc416..72c2ac0f2167e2 100644 --- a/plugins/source/azure/resources/services/network/express_route_gateways.go +++ b/plugins/source/azure/resources/services/network/express_route_gateways.go @@ -10,7 +10,7 @@ func ExpressRouteGateways() *schema.Table { return &schema.Table{ Name: "azure_network_express_route_gateways", Resolver: fetchExpressRouteGateways, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/express_route_ports.go b/plugins/source/azure/resources/services/network/express_route_ports.go index 9727707f57f6e5..7c53ceb2ed57b0 100644 --- a/plugins/source/azure/resources/services/network/express_route_ports.go +++ b/plugins/source/azure/resources/services/network/express_route_ports.go @@ -12,7 +12,7 @@ func ExpressRoutePorts() *schema.Table { return &schema.Table{ Name: "azure_network_express_route_ports", Resolver: fetchExpressRoutePorts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/express_route_ports_locations.go b/plugins/source/azure/resources/services/network/express_route_ports_locations.go index 8894246ce1d756..f8944436942e17 100644 --- a/plugins/source/azure/resources/services/network/express_route_ports_locations.go +++ b/plugins/source/azure/resources/services/network/express_route_ports_locations.go @@ -12,7 +12,7 @@ func ExpressRoutePortsLocations() *schema.Table { return &schema.Table{ Name: "azure_network_express_route_ports_locations", Resolver: fetchExpressRoutePortsLocations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/express_route_service_providers.go b/plugins/source/azure/resources/services/network/express_route_service_providers.go index 2a9a41279bd289..fa17011902fcda 100644 --- a/plugins/source/azure/resources/services/network/express_route_service_providers.go +++ b/plugins/source/azure/resources/services/network/express_route_service_providers.go @@ -12,7 +12,7 @@ func ExpressRouteServiceProviders() *schema.Table { return &schema.Table{ Name: "azure_network_express_route_service_providers", Resolver: fetchExpressRouteServiceProviders, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/firewall_policies.go b/plugins/source/azure/resources/services/network/firewall_policies.go index b7acd73268043e..c8d3f7c3d9f7c5 100644 --- a/plugins/source/azure/resources/services/network/firewall_policies.go +++ b/plugins/source/azure/resources/services/network/firewall_policies.go @@ -12,7 +12,7 @@ func FirewallPolicies() *schema.Table { return &schema.Table{ Name: "azure_network_firewall_policies", Resolver: fetchFirewallPolicies, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/interfaces.go b/plugins/source/azure/resources/services/network/interfaces.go index f50cd17cb5f403..f26020754c2b8e 100644 --- a/plugins/source/azure/resources/services/network/interfaces.go +++ b/plugins/source/azure/resources/services/network/interfaces.go @@ -12,7 +12,7 @@ func Interfaces() *schema.Table { return &schema.Table{ Name: "azure_network_interfaces", Resolver: fetchInterfaces, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/ip_allocations.go b/plugins/source/azure/resources/services/network/ip_allocations.go index 21dcbe5ab06742..8ecbafe9d4c57e 100644 --- a/plugins/source/azure/resources/services/network/ip_allocations.go +++ b/plugins/source/azure/resources/services/network/ip_allocations.go @@ -12,7 +12,7 @@ func IpAllocations() *schema.Table { return &schema.Table{ Name: "azure_network_ip_allocations", Resolver: fetchIpAllocations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/ip_groups.go b/plugins/source/azure/resources/services/network/ip_groups.go index accbae261170f3..21a9fd7658cedc 100644 --- a/plugins/source/azure/resources/services/network/ip_groups.go +++ b/plugins/source/azure/resources/services/network/ip_groups.go @@ -12,7 +12,7 @@ func IpGroups() *schema.Table { return &schema.Table{ Name: "azure_network_ip_groups", Resolver: fetchIpGroups, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/load_balancers.go b/plugins/source/azure/resources/services/network/load_balancers.go index 7e4a0131ad2e4b..e4913cf353fb63 100644 --- a/plugins/source/azure/resources/services/network/load_balancers.go +++ b/plugins/source/azure/resources/services/network/load_balancers.go @@ -12,7 +12,7 @@ func LoadBalancers() *schema.Table { return &schema.Table{ Name: "azure_network_load_balancers", Resolver: fetchLoadBalancers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/nat_gateways.go b/plugins/source/azure/resources/services/network/nat_gateways.go index 3c2f9af24b9b2d..a98fb6487d936a 100644 --- a/plugins/source/azure/resources/services/network/nat_gateways.go +++ b/plugins/source/azure/resources/services/network/nat_gateways.go @@ -12,7 +12,7 @@ func NatGateways() *schema.Table { return &schema.Table{ Name: "azure_network_nat_gateways", Resolver: fetchNatGateways, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/profiles.go b/plugins/source/azure/resources/services/network/profiles.go index 195ef3cac0fd48..09bdfc6b835618 100644 --- a/plugins/source/azure/resources/services/network/profiles.go +++ b/plugins/source/azure/resources/services/network/profiles.go @@ -12,7 +12,7 @@ func Profiles() *schema.Table { return &schema.Table{ Name: "azure_network_profiles", Resolver: fetchProfiles, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/public_ip_addresses.go b/plugins/source/azure/resources/services/network/public_ip_addresses.go index a14788e54faafa..a214ebceb0cf3d 100644 --- a/plugins/source/azure/resources/services/network/public_ip_addresses.go +++ b/plugins/source/azure/resources/services/network/public_ip_addresses.go @@ -12,7 +12,7 @@ func PublicIpAddresses() *schema.Table { return &schema.Table{ Name: "azure_network_public_ip_addresses", Resolver: fetchPublicIpAddresses, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/public_ip_prefixes.go b/plugins/source/azure/resources/services/network/public_ip_prefixes.go index 8c2639b31e1435..9a4ed69db6457f 100644 --- a/plugins/source/azure/resources/services/network/public_ip_prefixes.go +++ b/plugins/source/azure/resources/services/network/public_ip_prefixes.go @@ -12,7 +12,7 @@ func PublicIpPrefixes() *schema.Table { return &schema.Table{ Name: "azure_network_public_ip_prefixes", Resolver: fetchPublicIpPrefixes, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/route_filters.go b/plugins/source/azure/resources/services/network/route_filters.go index 3bdb424ac5a2cb..7392413cd29c6f 100644 --- a/plugins/source/azure/resources/services/network/route_filters.go +++ b/plugins/source/azure/resources/services/network/route_filters.go @@ -12,7 +12,7 @@ func RouteFilters() *schema.Table { return &schema.Table{ Name: "azure_network_route_filters", Resolver: fetchRouteFilters, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/route_tables.go b/plugins/source/azure/resources/services/network/route_tables.go index 65b9a1d2866470..e2ae9a6265dcc6 100644 --- a/plugins/source/azure/resources/services/network/route_tables.go +++ b/plugins/source/azure/resources/services/network/route_tables.go @@ -12,7 +12,7 @@ func RouteTables() *schema.Table { return &schema.Table{ Name: "azure_network_route_tables", Resolver: fetchRouteTables, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/security_groups.go b/plugins/source/azure/resources/services/network/security_groups.go index bd8bfa2959e022..6e6f2c98c808cf 100644 --- a/plugins/source/azure/resources/services/network/security_groups.go +++ b/plugins/source/azure/resources/services/network/security_groups.go @@ -12,7 +12,7 @@ func SecurityGroups() *schema.Table { return &schema.Table{ Name: "azure_network_security_groups", Resolver: fetchSecurityGroups, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/security_partner_providers.go b/plugins/source/azure/resources/services/network/security_partner_providers.go index 88342f2f916436..4bdae8ff1845cc 100644 --- a/plugins/source/azure/resources/services/network/security_partner_providers.go +++ b/plugins/source/azure/resources/services/network/security_partner_providers.go @@ -12,7 +12,7 @@ func SecurityPartnerProviders() *schema.Table { return &schema.Table{ Name: "azure_network_security_partner_providers", Resolver: fetchSecurityPartnerProviders, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/service_endpoint_policies.go b/plugins/source/azure/resources/services/network/service_endpoint_policies.go index b77b4dee95aabe..4143c6a601b448 100644 --- a/plugins/source/azure/resources/services/network/service_endpoint_policies.go +++ b/plugins/source/azure/resources/services/network/service_endpoint_policies.go @@ -12,7 +12,7 @@ func ServiceEndpointPolicies() *schema.Table { return &schema.Table{ Name: "azure_network_service_endpoint_policies", Resolver: fetchServiceEndpointPolicies, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/subscription_network_manager_connections.go b/plugins/source/azure/resources/services/network/subscription_network_manager_connections.go index 8f491f7c335511..4f6d8fbb3db0b6 100644 --- a/plugins/source/azure/resources/services/network/subscription_network_manager_connections.go +++ b/plugins/source/azure/resources/services/network/subscription_network_manager_connections.go @@ -12,7 +12,7 @@ func SubscriptionNetworkManagerConnections() *schema.Table { return &schema.Table{ Name: "azure_network_subscription_network_manager_connections", Resolver: fetchSubscriptionNetworkManagerConnections, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/virtual_appliances.go b/plugins/source/azure/resources/services/network/virtual_appliances.go index 2c81ce6bdf2d88..3cfd44e2e54679 100644 --- a/plugins/source/azure/resources/services/network/virtual_appliances.go +++ b/plugins/source/azure/resources/services/network/virtual_appliances.go @@ -12,7 +12,7 @@ func VirtualAppliances() *schema.Table { return &schema.Table{ Name: "azure_network_virtual_appliances", Resolver: fetchVirtualAppliances, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/virtual_hubs.go b/plugins/source/azure/resources/services/network/virtual_hubs.go index be7b52c72c57d8..740dededf64599 100644 --- a/plugins/source/azure/resources/services/network/virtual_hubs.go +++ b/plugins/source/azure/resources/services/network/virtual_hubs.go @@ -12,7 +12,7 @@ func VirtualHubs() *schema.Table { return &schema.Table{ Name: "azure_network_virtual_hubs", Resolver: fetchVirtualHubs, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/virtual_network_taps.go b/plugins/source/azure/resources/services/network/virtual_network_taps.go index 538fb7ba1d5ac1..55aff3a11a7866 100644 --- a/plugins/source/azure/resources/services/network/virtual_network_taps.go +++ b/plugins/source/azure/resources/services/network/virtual_network_taps.go @@ -12,7 +12,7 @@ func VirtualNetworkTaps() *schema.Table { return &schema.Table{ Name: "azure_network_virtual_network_taps", Resolver: fetchVirtualNetworkTaps, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/virtual_networks.go b/plugins/source/azure/resources/services/network/virtual_networks.go index c166cd84521ac4..7049c1711bf86c 100644 --- a/plugins/source/azure/resources/services/network/virtual_networks.go +++ b/plugins/source/azure/resources/services/network/virtual_networks.go @@ -12,7 +12,7 @@ func VirtualNetworks() *schema.Table { return &schema.Table{ Name: "azure_network_virtual_networks", Resolver: fetchVirtualNetworks, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/virtual_routers.go b/plugins/source/azure/resources/services/network/virtual_routers.go index e27d48681376ee..39544356ce1a87 100644 --- a/plugins/source/azure/resources/services/network/virtual_routers.go +++ b/plugins/source/azure/resources/services/network/virtual_routers.go @@ -12,7 +12,7 @@ func VirtualRouters() *schema.Table { return &schema.Table{ Name: "azure_network_virtual_routers", Resolver: fetchVirtualRouters, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/virtual_wans.go b/plugins/source/azure/resources/services/network/virtual_wans.go index 779a7b9b7b8f1b..04f898ea5640f8 100644 --- a/plugins/source/azure/resources/services/network/virtual_wans.go +++ b/plugins/source/azure/resources/services/network/virtual_wans.go @@ -12,7 +12,7 @@ func VirtualWans() *schema.Table { return &schema.Table{ Name: "azure_network_virtual_wans", Resolver: fetchVirtualWans, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/vpn_gateways.go b/plugins/source/azure/resources/services/network/vpn_gateways.go index 196c304de10474..0e748b577f5784 100644 --- a/plugins/source/azure/resources/services/network/vpn_gateways.go +++ b/plugins/source/azure/resources/services/network/vpn_gateways.go @@ -12,7 +12,7 @@ func VpnGateways() *schema.Table { return &schema.Table{ Name: "azure_network_vpn_gateways", Resolver: fetchVpnGateways, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/vpn_server_configurations.go b/plugins/source/azure/resources/services/network/vpn_server_configurations.go index 0d534ba2c18108..a84fbbec082936 100644 --- a/plugins/source/azure/resources/services/network/vpn_server_configurations.go +++ b/plugins/source/azure/resources/services/network/vpn_server_configurations.go @@ -12,7 +12,7 @@ func VpnServerConfigurations() *schema.Table { return &schema.Table{ Name: "azure_network_vpn_server_configurations", Resolver: fetchVpnServerConfigurations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/vpn_sites.go b/plugins/source/azure/resources/services/network/vpn_sites.go index aec02f54fbbac9..8be240f1979cd2 100644 --- a/plugins/source/azure/resources/services/network/vpn_sites.go +++ b/plugins/source/azure/resources/services/network/vpn_sites.go @@ -12,7 +12,7 @@ func VpnSites() *schema.Table { return &schema.Table{ Name: "azure_network_vpn_sites", Resolver: fetchVpnSites, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/watchers.go b/plugins/source/azure/resources/services/network/watchers.go index 6d113eac19b556..9713477d79a03b 100644 --- a/plugins/source/azure/resources/services/network/watchers.go +++ b/plugins/source/azure/resources/services/network/watchers.go @@ -12,7 +12,7 @@ func Watchers() *schema.Table { return &schema.Table{ Name: "azure_network_watchers", Resolver: fetchWatchers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/network/web_application_firewall_policies.go b/plugins/source/azure/resources/services/network/web_application_firewall_policies.go index 9aedcf65c6095c..0dc2e483a50b28 100644 --- a/plugins/source/azure/resources/services/network/web_application_firewall_policies.go +++ b/plugins/source/azure/resources/services/network/web_application_firewall_policies.go @@ -12,7 +12,7 @@ func WebApplicationFirewallPolicies() *schema.Table { return &schema.Table{ Name: "azure_network_web_application_firewall_policies", Resolver: fetchWebApplicationFirewallPolicies, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/networkfunction/azure_traffic_collectors_by_subscription.go b/plugins/source/azure/resources/services/networkfunction/azure_traffic_collectors_by_subscription.go index 0787c374206510..a27524f29cce24 100644 --- a/plugins/source/azure/resources/services/networkfunction/azure_traffic_collectors_by_subscription.go +++ b/plugins/source/azure/resources/services/networkfunction/azure_traffic_collectors_by_subscription.go @@ -12,7 +12,7 @@ func AzureTrafficCollectorsBySubscription() *schema.Table { return &schema.Table{ Name: "azure_networkfunction_azure_traffic_collectors_by_subscription", Resolver: fetchAzureTrafficCollectorsBySubscription, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_NetworkFunction), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_networkfunction), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/nginx/deployments.go b/plugins/source/azure/resources/services/nginx/deployments.go index 0c7a1da0038d94..3d571b4bc3c4ae 100644 --- a/plugins/source/azure/resources/services/nginx/deployments.go +++ b/plugins/source/azure/resources/services/nginx/deployments.go @@ -12,7 +12,7 @@ func Deployments() *schema.Table { return &schema.Table{ Name: "azure_nginx_deployments", Resolver: fetchDeployments, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceNginx_NginxPlus), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacenginx_nginxplus), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/notificationhubs/namespaces.go b/plugins/source/azure/resources/services/notificationhubs/namespaces.go index b7aebfcbeb0683..0cde112f61e2c5 100644 --- a/plugins/source/azure/resources/services/notificationhubs/namespaces.go +++ b/plugins/source/azure/resources/services/notificationhubs/namespaces.go @@ -12,7 +12,7 @@ func Namespaces() *schema.Table { return &schema.Table{ Name: "azure_notificationhubs_namespaces", Resolver: fetchNamespaces, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_NotificationHubs), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_notificationhubs), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/operationalinsights/clusters.go b/plugins/source/azure/resources/services/operationalinsights/clusters.go index e99a6b31100524..773362414f28cd 100644 --- a/plugins/source/azure/resources/services/operationalinsights/clusters.go +++ b/plugins/source/azure/resources/services/operationalinsights/clusters.go @@ -12,7 +12,7 @@ func Clusters() *schema.Table { return &schema.Table{ Name: "azure_operationalinsights_clusters", Resolver: fetchClusters, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_OperationalInsights), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_operationalinsights), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/operationalinsights/workspaces.go b/plugins/source/azure/resources/services/operationalinsights/workspaces.go index 96dacafe4eea50..410e099916f8eb 100644 --- a/plugins/source/azure/resources/services/operationalinsights/workspaces.go +++ b/plugins/source/azure/resources/services/operationalinsights/workspaces.go @@ -12,7 +12,7 @@ func Workspaces() *schema.Table { return &schema.Table{ Name: "azure_operationalinsights_workspaces", Resolver: fetchWorkspaces, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_OperationalInsights), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_operationalinsights), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/peering/service_countries.go b/plugins/source/azure/resources/services/peering/service_countries.go index d70de7ef2aed8f..19e3767fcd395c 100644 --- a/plugins/source/azure/resources/services/peering/service_countries.go +++ b/plugins/source/azure/resources/services/peering/service_countries.go @@ -12,7 +12,7 @@ func ServiceCountries() *schema.Table { return &schema.Table{ Name: "azure_peering_service_countries", Resolver: fetchServiceCountries, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Peering), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_peering), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/peering/service_locations.go b/plugins/source/azure/resources/services/peering/service_locations.go index 9e46fe9e5e7393..c0bfde87a52af9 100644 --- a/plugins/source/azure/resources/services/peering/service_locations.go +++ b/plugins/source/azure/resources/services/peering/service_locations.go @@ -12,7 +12,7 @@ func ServiceLocations() *schema.Table { return &schema.Table{ Name: "azure_peering_service_locations", Resolver: fetchServiceLocations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Peering), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_peering), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/peering/service_providers.go b/plugins/source/azure/resources/services/peering/service_providers.go index 53ec39bde4344a..c3946a14823e2c 100644 --- a/plugins/source/azure/resources/services/peering/service_providers.go +++ b/plugins/source/azure/resources/services/peering/service_providers.go @@ -12,7 +12,7 @@ func ServiceProviders() *schema.Table { return &schema.Table{ Name: "azure_peering_service_providers", Resolver: fetchServiceProviders, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Peering), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_peering), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/policy/assignments.go b/plugins/source/azure/resources/services/policy/assignments.go index 0846a1fd825f96..bfe076744cc5f2 100644 --- a/plugins/source/azure/resources/services/policy/assignments.go +++ b/plugins/source/azure/resources/services/policy/assignments.go @@ -12,7 +12,7 @@ func Assignments() *schema.Table { return &schema.Table{ Name: "azure_policy_assignments", Resolver: fetchAssignments, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/policy/data_policy_manifests.go b/plugins/source/azure/resources/services/policy/data_policy_manifests.go index 9c9e7be5741f49..5459da197a4352 100644 --- a/plugins/source/azure/resources/services/policy/data_policy_manifests.go +++ b/plugins/source/azure/resources/services/policy/data_policy_manifests.go @@ -12,7 +12,7 @@ func DataPolicyManifests() *schema.Table { return &schema.Table{ Name: "azure_policy_data_policy_manifests", Resolver: fetchDataPolicyManifests, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/policy/definitions.go b/plugins/source/azure/resources/services/policy/definitions.go index 4a6dc58b08d99b..6221644b735357 100644 --- a/plugins/source/azure/resources/services/policy/definitions.go +++ b/plugins/source/azure/resources/services/policy/definitions.go @@ -12,7 +12,7 @@ func Definitions() *schema.Table { return &schema.Table{ Name: "azure_policy_definitions", Resolver: fetchDefinitions, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/policy/exemptions.go b/plugins/source/azure/resources/services/policy/exemptions.go index f879bb346a4776..a24a65e2b31389 100644 --- a/plugins/source/azure/resources/services/policy/exemptions.go +++ b/plugins/source/azure/resources/services/policy/exemptions.go @@ -12,7 +12,7 @@ func Exemptions() *schema.Table { return &schema.Table{ Name: "azure_policy_exemptions", Resolver: fetchExemptions, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/policy/set_definitions.go b/plugins/source/azure/resources/services/policy/set_definitions.go index 4c66853e571353..f70c5e10082daa 100644 --- a/plugins/source/azure/resources/services/policy/set_definitions.go +++ b/plugins/source/azure/resources/services/policy/set_definitions.go @@ -12,7 +12,7 @@ func SetDefinitions() *schema.Table { return &schema.Table{ Name: "azure_policy_set_definitions", Resolver: fetchSetDefinitions, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Authorization), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_authorization), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/portal/list_tenant_configuration_violations.go b/plugins/source/azure/resources/services/portal/list_tenant_configuration_violations.go index 8d9e9bc6007386..70d71762df70b6 100644 --- a/plugins/source/azure/resources/services/portal/list_tenant_configuration_violations.go +++ b/plugins/source/azure/resources/services/portal/list_tenant_configuration_violations.go @@ -12,7 +12,7 @@ func ListTenantConfigurationViolations() *schema.Table { return &schema.Table{ Name: "azure_portal_list_tenant_configuration_violations", Resolver: fetchListTenantConfigurationViolations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Portal), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_portal), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/portal/tenant_configurations.go b/plugins/source/azure/resources/services/portal/tenant_configurations.go index 5721450924df60..c14e3e520ec26a 100644 --- a/plugins/source/azure/resources/services/portal/tenant_configurations.go +++ b/plugins/source/azure/resources/services/portal/tenant_configurations.go @@ -12,7 +12,7 @@ func TenantConfigurations() *schema.Table { return &schema.Table{ Name: "azure_portal_tenant_configurations", Resolver: fetchTenantConfigurations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Portal), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_portal), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/postgresql/servers.go b/plugins/source/azure/resources/services/postgresql/servers.go index 517e60c4ea82f6..4937f356982008 100644 --- a/plugins/source/azure/resources/services/postgresql/servers.go +++ b/plugins/source/azure/resources/services/postgresql/servers.go @@ -12,7 +12,7 @@ func Servers() *schema.Table { return &schema.Table{ Name: "azure_postgresql_servers", Resolver: fetchServers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforPostgreSQL), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbforpostgresql), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/postgresqlflexibleservers/servers.go b/plugins/source/azure/resources/services/postgresqlflexibleservers/servers.go index ce3069f4067a88..0acb9dedef9c47 100644 --- a/plugins/source/azure/resources/services/postgresqlflexibleservers/servers.go +++ b/plugins/source/azure/resources/services/postgresqlflexibleservers/servers.go @@ -12,7 +12,7 @@ func Servers() *schema.Table { return &schema.Table{ Name: "azure_postgresqlflexibleservers_servers", Resolver: fetchServers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBforPostgreSQL), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbforpostgresql), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/postgresqlhsc/server_groups.go b/plugins/source/azure/resources/services/postgresqlhsc/server_groups.go index 6e7d6959fe507b..8904c099921d6a 100644 --- a/plugins/source/azure/resources/services/postgresqlhsc/server_groups.go +++ b/plugins/source/azure/resources/services/postgresqlhsc/server_groups.go @@ -12,7 +12,7 @@ func ServerGroups() *schema.Table { return &schema.Table{ Name: "azure_postgresqlhsc_server_groups", Resolver: fetchServerGroups, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_DBForPostgreSql), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_dbforpostgresql), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/powerbidedicated/capacities.go b/plugins/source/azure/resources/services/powerbidedicated/capacities.go index 04e8be032bfbcc..2ff838e1f53bff 100644 --- a/plugins/source/azure/resources/services/powerbidedicated/capacities.go +++ b/plugins/source/azure/resources/services/powerbidedicated/capacities.go @@ -12,7 +12,7 @@ func Capacities() *schema.Table { return &schema.Table{ Name: "azure_powerbidedicated_capacities", Resolver: fetchCapacities, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_PowerBIDedicated), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_powerbidedicated), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/privatedns/private_zones.go b/plugins/source/azure/resources/services/privatedns/private_zones.go index e26483419fa7ad..d6c456e91e820f 100644 --- a/plugins/source/azure/resources/services/privatedns/private_zones.go +++ b/plugins/source/azure/resources/services/privatedns/private_zones.go @@ -12,7 +12,7 @@ func PrivateZones() *schema.Table { return &schema.Table{ Name: "azure_privatedns_private_zones", Resolver: fetchPrivateZones, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Network), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_network), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/providerhub/provider_registrations.go b/plugins/source/azure/resources/services/providerhub/provider_registrations.go index 0c6695af0d377b..bad414e9ce6cd6 100644 --- a/plugins/source/azure/resources/services/providerhub/provider_registrations.go +++ b/plugins/source/azure/resources/services/providerhub/provider_registrations.go @@ -12,7 +12,7 @@ func ProviderRegistrations() *schema.Table { return &schema.Table{ Name: "azure_providerhub_provider_registrations", Resolver: fetchProviderRegistrations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ProviderHub), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_providerhub), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/redhatopenshift/open_shift_clusters.go b/plugins/source/azure/resources/services/redhatopenshift/open_shift_clusters.go index b3f1a50d33539a..05ff19f37fdf4f 100644 --- a/plugins/source/azure/resources/services/redhatopenshift/open_shift_clusters.go +++ b/plugins/source/azure/resources/services/redhatopenshift/open_shift_clusters.go @@ -12,7 +12,7 @@ func OpenShiftClusters() *schema.Table { return &schema.Table{ Name: "azure_redhatopenshift_open_shift_clusters", Resolver: fetchOpenShiftClusters, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_RedHatOpenShift), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_redhatopenshift), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/relay/namespaces.go b/plugins/source/azure/resources/services/relay/namespaces.go index f55b9acabbfb38..891c944266b2cc 100644 --- a/plugins/source/azure/resources/services/relay/namespaces.go +++ b/plugins/source/azure/resources/services/relay/namespaces.go @@ -12,7 +12,7 @@ func Namespaces() *schema.Table { return &schema.Table{ Name: "azure_relay_namespaces", Resolver: fetchNamespaces, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Relay), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_relay), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/reservations/reservation.go b/plugins/source/azure/resources/services/reservations/reservation.go index 12d3a2a6d007bf..1e8b85ac1cbfb6 100644 --- a/plugins/source/azure/resources/services/reservations/reservation.go +++ b/plugins/source/azure/resources/services/reservations/reservation.go @@ -12,7 +12,7 @@ func Reservation() *schema.Table { return &schema.Table{ Name: "azure_reservations_reservation", Resolver: fetchReservation, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Capacity), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_capacity), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/reservations/reservation_order.go b/plugins/source/azure/resources/services/reservations/reservation_order.go index 19210b98ec776b..521531d243a226 100644 --- a/plugins/source/azure/resources/services/reservations/reservation_order.go +++ b/plugins/source/azure/resources/services/reservations/reservation_order.go @@ -12,7 +12,7 @@ func ReservationOrder() *schema.Table { return &schema.Table{ Name: "azure_reservations_reservation_order", Resolver: fetchReservationOrder, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Capacity), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_capacity), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/saas/resources.go b/plugins/source/azure/resources/services/saas/resources.go index 8c0a7ef4ba6063..2010cc2ea0a985 100644 --- a/plugins/source/azure/resources/services/saas/resources.go +++ b/plugins/source/azure/resources/services/saas/resources.go @@ -12,7 +12,7 @@ func Resources() *schema.Table { return &schema.Table{ Name: "azure_saas_resources", Resolver: fetchResources, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_SaaS), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_saas), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/alerts.go b/plugins/source/azure/resources/services/security/alerts.go index 0389e19e86c072..e2ed08abd951ab 100644 --- a/plugins/source/azure/resources/services/security/alerts.go +++ b/plugins/source/azure/resources/services/security/alerts.go @@ -12,7 +12,7 @@ func Alerts() *schema.Table { return &schema.Table{ Name: "azure_security_alerts", Resolver: fetchAlerts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/alerts_suppression_rules.go b/plugins/source/azure/resources/services/security/alerts_suppression_rules.go index 79fbff4749cadc..d3271838588396 100644 --- a/plugins/source/azure/resources/services/security/alerts_suppression_rules.go +++ b/plugins/source/azure/resources/services/security/alerts_suppression_rules.go @@ -12,7 +12,7 @@ func AlertsSuppressionRules() *schema.Table { return &schema.Table{ Name: "azure_security_alerts_suppression_rules", Resolver: fetchAlertsSuppressionRules, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/allowed_connections.go b/plugins/source/azure/resources/services/security/allowed_connections.go index 1578190605a99a..daba7224a71e92 100644 --- a/plugins/source/azure/resources/services/security/allowed_connections.go +++ b/plugins/source/azure/resources/services/security/allowed_connections.go @@ -12,7 +12,7 @@ func AllowedConnections() *schema.Table { return &schema.Table{ Name: "azure_security_allowed_connections", Resolver: fetchAllowedConnections, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/applications.go b/plugins/source/azure/resources/services/security/applications.go index 191c22b9401ca7..608facc6beed5a 100644 --- a/plugins/source/azure/resources/services/security/applications.go +++ b/plugins/source/azure/resources/services/security/applications.go @@ -12,7 +12,7 @@ func Applications() *schema.Table { return &schema.Table{ Name: "azure_security_applications", Resolver: fetchApplications, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/assessments_metadata.go b/plugins/source/azure/resources/services/security/assessments_metadata.go index 4e8fefe045af12..059a3a61d6a246 100644 --- a/plugins/source/azure/resources/services/security/assessments_metadata.go +++ b/plugins/source/azure/resources/services/security/assessments_metadata.go @@ -12,7 +12,7 @@ func AssessmentsMetadata() *schema.Table { return &schema.Table{ Name: "azure_security_assessments_metadata", Resolver: fetchAssessmentsMetadata, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/auto_provisioning_settings.go b/plugins/source/azure/resources/services/security/auto_provisioning_settings.go index c2b11d668ee18b..a9b858d5ff37c1 100644 --- a/plugins/source/azure/resources/services/security/auto_provisioning_settings.go +++ b/plugins/source/azure/resources/services/security/auto_provisioning_settings.go @@ -12,7 +12,7 @@ func AutoProvisioningSettings() *schema.Table { return &schema.Table{ Name: "azure_security_auto_provisioning_settings", Resolver: fetchAutoProvisioningSettings, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/automations.go b/plugins/source/azure/resources/services/security/automations.go index c0affcb561f696..0c7993f1d79443 100644 --- a/plugins/source/azure/resources/services/security/automations.go +++ b/plugins/source/azure/resources/services/security/automations.go @@ -12,7 +12,7 @@ func Automations() *schema.Table { return &schema.Table{ Name: "azure_security_automations", Resolver: fetchAutomations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/connectors.go b/plugins/source/azure/resources/services/security/connectors.go index 81ce9f09b3837d..6bf8cbbce7e370 100644 --- a/plugins/source/azure/resources/services/security/connectors.go +++ b/plugins/source/azure/resources/services/security/connectors.go @@ -12,7 +12,7 @@ func Connectors() *schema.Table { return &schema.Table{ Name: "azure_security_connectors", Resolver: fetchConnectors, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/discovered_security_solutions.go b/plugins/source/azure/resources/services/security/discovered_security_solutions.go index ecf486516efd29..b47d34f83fc0ab 100644 --- a/plugins/source/azure/resources/services/security/discovered_security_solutions.go +++ b/plugins/source/azure/resources/services/security/discovered_security_solutions.go @@ -12,7 +12,7 @@ func DiscoveredSecuritySolutions() *schema.Table { return &schema.Table{ Name: "azure_security_discovered_security_solutions", Resolver: fetchDiscoveredSecuritySolutions, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/external_security_solutions.go b/plugins/source/azure/resources/services/security/external_security_solutions.go index c84b2c6fdb7bf5..29cc99917f5291 100644 --- a/plugins/source/azure/resources/services/security/external_security_solutions.go +++ b/plugins/source/azure/resources/services/security/external_security_solutions.go @@ -12,7 +12,7 @@ func ExternalSecuritySolutions() *schema.Table { return &schema.Table{ Name: "azure_security_external_security_solutions", Resolver: fetchExternalSecuritySolutions, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/governance_rule.go b/plugins/source/azure/resources/services/security/governance_rule.go index ed1b00822be7bb..5cc6eeabe23780 100644 --- a/plugins/source/azure/resources/services/security/governance_rule.go +++ b/plugins/source/azure/resources/services/security/governance_rule.go @@ -12,7 +12,7 @@ func GovernanceRule() *schema.Table { return &schema.Table{ Name: "azure_security_governance_rule", Resolver: fetchGovernanceRule, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/jit_network_access_policies.go b/plugins/source/azure/resources/services/security/jit_network_access_policies.go index 27407ed96fdd74..ead08adf8cc747 100644 --- a/plugins/source/azure/resources/services/security/jit_network_access_policies.go +++ b/plugins/source/azure/resources/services/security/jit_network_access_policies.go @@ -12,7 +12,7 @@ func JitNetworkAccessPolicies() *schema.Table { return &schema.Table{ Name: "azure_security_jit_network_access_policies", Resolver: fetchJitNetworkAccessPolicies, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/locations.go b/plugins/source/azure/resources/services/security/locations.go index 252e7aadd4479a..23d4b09681b7b1 100644 --- a/plugins/source/azure/resources/services/security/locations.go +++ b/plugins/source/azure/resources/services/security/locations.go @@ -12,7 +12,7 @@ func Locations() *schema.Table { return &schema.Table{ Name: "azure_security_locations", Resolver: fetchLocations, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/regulatory_compliance_standards.go b/plugins/source/azure/resources/services/security/regulatory_compliance_standards.go index 8322a732439a4a..d94a74ab82af35 100644 --- a/plugins/source/azure/resources/services/security/regulatory_compliance_standards.go +++ b/plugins/source/azure/resources/services/security/regulatory_compliance_standards.go @@ -12,7 +12,7 @@ func RegulatoryComplianceStandards() *schema.Table { return &schema.Table{ Name: "azure_security_regulatory_compliance_standards", Resolver: fetchRegulatoryComplianceStandards, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/secure_score_control_definitions.go b/plugins/source/azure/resources/services/security/secure_score_control_definitions.go index 6e36255a4cdf8a..435458ae9bcccb 100644 --- a/plugins/source/azure/resources/services/security/secure_score_control_definitions.go +++ b/plugins/source/azure/resources/services/security/secure_score_control_definitions.go @@ -12,7 +12,7 @@ func SecureScoreControlDefinitions() *schema.Table { return &schema.Table{ Name: "azure_security_secure_score_control_definitions", Resolver: fetchSecureScoreControlDefinitions, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/secure_score_controls.go b/plugins/source/azure/resources/services/security/secure_score_controls.go index cd7f58662741e7..3c936ad97bea3f 100644 --- a/plugins/source/azure/resources/services/security/secure_score_controls.go +++ b/plugins/source/azure/resources/services/security/secure_score_controls.go @@ -12,7 +12,7 @@ func SecureScoreControls() *schema.Table { return &schema.Table{ Name: "azure_security_secure_score_controls", Resolver: fetchSecureScoreControls, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/secure_scores.go b/plugins/source/azure/resources/services/security/secure_scores.go index 684b5ae879d3d9..1e260e7d68560b 100644 --- a/plugins/source/azure/resources/services/security/secure_scores.go +++ b/plugins/source/azure/resources/services/security/secure_scores.go @@ -12,7 +12,7 @@ func SecureScores() *schema.Table { return &schema.Table{ Name: "azure_security_secure_scores", Resolver: fetchSecureScores, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/solutions.go b/plugins/source/azure/resources/services/security/solutions.go index 1147cf3d11971c..89a052ab0badba 100644 --- a/plugins/source/azure/resources/services/security/solutions.go +++ b/plugins/source/azure/resources/services/security/solutions.go @@ -12,7 +12,7 @@ func Solutions() *schema.Table { return &schema.Table{ Name: "azure_security_solutions", Resolver: fetchSolutions, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/tasks.go b/plugins/source/azure/resources/services/security/tasks.go index a219f0107d3195..9b5f0287a28e4f 100644 --- a/plugins/source/azure/resources/services/security/tasks.go +++ b/plugins/source/azure/resources/services/security/tasks.go @@ -12,7 +12,7 @@ func Tasks() *schema.Table { return &schema.Table{ Name: "azure_security_tasks", Resolver: fetchTasks, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/topology.go b/plugins/source/azure/resources/services/security/topology.go index 1c771d3a0c4aa6..487357d8ae9887 100644 --- a/plugins/source/azure/resources/services/security/topology.go +++ b/plugins/source/azure/resources/services/security/topology.go @@ -12,7 +12,7 @@ func Topology() *schema.Table { return &schema.Table{ Name: "azure_security_topology", Resolver: fetchTopology, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/security/workspace_settings.go b/plugins/source/azure/resources/services/security/workspace_settings.go index 5f2339ccf014fe..f779e9a4ef9556 100644 --- a/plugins/source/azure/resources/services/security/workspace_settings.go +++ b/plugins/source/azure/resources/services/security/workspace_settings.go @@ -12,7 +12,7 @@ func WorkspaceSettings() *schema.Table { return &schema.Table{ Name: "azure_security_workspace_settings", Resolver: fetchWorkspaceSettings, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Security), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_security), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/servicebus/namespaces.go b/plugins/source/azure/resources/services/servicebus/namespaces.go index 947e144c68b396..313fcb24200d2b 100644 --- a/plugins/source/azure/resources/services/servicebus/namespaces.go +++ b/plugins/source/azure/resources/services/servicebus/namespaces.go @@ -12,7 +12,7 @@ func Namespaces() *schema.Table { return &schema.Table{ Name: "azure_servicebus_namespaces", Resolver: fetchNamespaces, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_ServiceBus), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_servicebus), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/sql/deleted_servers.go b/plugins/source/azure/resources/services/sql/deleted_servers.go deleted file mode 100644 index 36050969445708..00000000000000 --- a/plugins/source/azure/resources/services/sql/deleted_servers.go +++ /dev/null @@ -1,64 +0,0 @@ -// Code generated by codegen2; DO NOT EDIT. -package sql - -import ( - "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql" - "github.com/cloudquery/cloudquery/plugins/source/azure/client" - "github.com/cloudquery/plugin-sdk/schema" -) - -func DeletedServers() *schema.Table { - return &schema.Table{ - Name: "azure_sql_deleted_servers", - Resolver: fetchDeletedServers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql), - Columns: []schema.Column{ - { - Name: "subscription_id", - Type: schema.TypeString, - Resolver: client.ResolveAzureSubscription, - }, - { - Name: "properties", - Type: schema.TypeJSON, - Resolver: schema.PathResolver("Properties"), - }, - { - Name: "id", - Type: schema.TypeString, - Resolver: schema.PathResolver("ID"), - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, - }, - { - Name: "name", - Type: schema.TypeString, - Resolver: schema.PathResolver("Name"), - }, - { - Name: "type", - Type: schema.TypeString, - Resolver: schema.PathResolver("Type"), - }, - }, - } -} - -func fetchDeletedServers(ctx context.Context, meta schema.ClientMeta, parent *schema.Resource, res chan<- interface{}) error { - cl := meta.(*client.Client) - svc, err := armsql.NewDeletedServersClient(cl.SubscriptionId, cl.Creds, cl.Options) - if err != nil { - return err - } - pager := svc.NewListPager(nil) - for pager.More() { - p, err := pager.NextPage(ctx) - if err != nil { - return err - } - res <- p.Value - } - return nil -} diff --git a/plugins/source/azure/resources/services/sql/deleted_servers_mock_test.go b/plugins/source/azure/resources/services/sql/deleted_servers_mock_test.go deleted file mode 100644 index 7ed12c28ba36d1..00000000000000 --- a/plugins/source/azure/resources/services/sql/deleted_servers_mock_test.go +++ /dev/null @@ -1,40 +0,0 @@ -// Code generated by codegen2; DO NOT EDIT. -package sql - -import ( - "encoding/json" - "github.com/cloudquery/cloudquery/plugins/source/azure/client" - "net/http" - "testing" - - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql" - "github.com/cloudquery/plugin-sdk/faker" - "github.com/gorilla/mux" -) - -func createDeletedServers(router *mux.Router) error { - var item armsql.DeletedServersClientListResponse - if err := faker.FakeObject(&item); err != nil { - return err - } - - emptyStr := "" - item.NextLink = &emptyStr - - router.HandleFunc("/subscriptions/{subscriptionId}/providers/Microsoft.Sql/deletedServers", func(w http.ResponseWriter, r *http.Request) { - b, err := json.Marshal(&item) - if err != nil { - http.Error(w, "unable to marshal request: "+err.Error(), http.StatusBadRequest) - return - } - if _, err := w.Write(b); err != nil { - http.Error(w, "failed to write", http.StatusBadRequest) - return - } - }) - return nil -} - -func TestDeletedServers(t *testing.T) { - client.MockTestHelper(t, DeletedServers(), createDeletedServers) -} diff --git a/plugins/source/azure/resources/services/sql/instance_pools.go b/plugins/source/azure/resources/services/sql/instance_pools.go index 4f7347f8763389..4e79499d76e61d 100644 --- a/plugins/source/azure/resources/services/sql/instance_pools.go +++ b/plugins/source/azure/resources/services/sql/instance_pools.go @@ -12,7 +12,7 @@ func InstancePools() *schema.Table { return &schema.Table{ Name: "azure_sql_instance_pools", Resolver: fetchInstancePools, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/sql/managed_instances.go b/plugins/source/azure/resources/services/sql/managed_instances.go index 149317f05c1652..99d1d0c65ed72e 100644 --- a/plugins/source/azure/resources/services/sql/managed_instances.go +++ b/plugins/source/azure/resources/services/sql/managed_instances.go @@ -12,7 +12,7 @@ func ManagedInstances() *schema.Table { return &schema.Table{ Name: "azure_sql_managed_instances", Resolver: fetchManagedInstances, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/sql/servers.go b/plugins/source/azure/resources/services/sql/servers.go index 7ef9242897e48b..9a369c684cce12 100644 --- a/plugins/source/azure/resources/services/sql/servers.go +++ b/plugins/source/azure/resources/services/sql/servers.go @@ -12,7 +12,7 @@ func Servers() *schema.Table { return &schema.Table{ Name: "azure_sql_servers", Resolver: fetchServers, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/sql/virtual_clusters.go b/plugins/source/azure/resources/services/sql/virtual_clusters.go index ca57656cab45bb..5b24ac9604dfb3 100644 --- a/plugins/source/azure/resources/services/sql/virtual_clusters.go +++ b/plugins/source/azure/resources/services/sql/virtual_clusters.go @@ -12,7 +12,7 @@ func VirtualClusters() *schema.Table { return &schema.Table{ Name: "azure_sql_virtual_clusters", Resolver: fetchVirtualClusters, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Sql), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sql), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/sqlvirtualmachine/groups.go b/plugins/source/azure/resources/services/sqlvirtualmachine/groups.go index 6b527ab27b8ee9..97100537bd7691 100644 --- a/plugins/source/azure/resources/services/sqlvirtualmachine/groups.go +++ b/plugins/source/azure/resources/services/sqlvirtualmachine/groups.go @@ -12,7 +12,7 @@ func Groups() *schema.Table { return &schema.Table{ Name: "azure_sqlvirtualmachine_groups", Resolver: fetchGroups, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_SqlVirtualMachine), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sqlvirtualmachine), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/sqlvirtualmachine/sql_virtual_machines.go b/plugins/source/azure/resources/services/sqlvirtualmachine/sql_virtual_machines.go index 108855f484ec6c..a3e9eaae4fa522 100644 --- a/plugins/source/azure/resources/services/sqlvirtualmachine/sql_virtual_machines.go +++ b/plugins/source/azure/resources/services/sqlvirtualmachine/sql_virtual_machines.go @@ -12,7 +12,7 @@ func SqlVirtualMachines() *schema.Table { return &schema.Table{ Name: "azure_sqlvirtualmachine_sql_virtual_machines", Resolver: fetchSqlVirtualMachines, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_SqlVirtualMachine), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_sqlvirtualmachine), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/storage/accounts.go b/plugins/source/azure/resources/services/storage/accounts.go index 7cd1280fda04d4..e8c5930501b88e 100644 --- a/plugins/source/azure/resources/services/storage/accounts.go +++ b/plugins/source/azure/resources/services/storage/accounts.go @@ -12,7 +12,7 @@ func Accounts() *schema.Table { return &schema.Table{ Name: "azure_storage_accounts", Resolver: fetchAccounts, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Storage), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_storage), Columns: []schema.Column{ { Name: "location", diff --git a/plugins/source/azure/resources/services/storagecache/caches.go b/plugins/source/azure/resources/services/storagecache/caches.go index ed881f2ccb9857..5f08f70d6a4a24 100644 --- a/plugins/source/azure/resources/services/storagecache/caches.go +++ b/plugins/source/azure/resources/services/storagecache/caches.go @@ -12,7 +12,7 @@ func Caches() *schema.Table { return &schema.Table{ Name: "azure_storagecache_caches", Resolver: fetchCaches, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_StorageCache), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_storagecache), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/streamanalytics/streaming_jobs.go b/plugins/source/azure/resources/services/streamanalytics/streaming_jobs.go index 05202c21370bc8..5a78dc7a1eb008 100644 --- a/plugins/source/azure/resources/services/streamanalytics/streaming_jobs.go +++ b/plugins/source/azure/resources/services/streamanalytics/streaming_jobs.go @@ -12,7 +12,7 @@ func StreamingJobs() *schema.Table { return &schema.Table{ Name: "azure_streamanalytics_streaming_jobs", Resolver: fetchStreamingJobs, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_StreamAnalytics), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_streamanalytics), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/support/services.go b/plugins/source/azure/resources/services/support/services.go index ac42f9d666b211..95985fc076bfb9 100644 --- a/plugins/source/azure/resources/services/support/services.go +++ b/plugins/source/azure/resources/services/support/services.go @@ -12,7 +12,7 @@ func Services() *schema.Table { return &schema.Table{ Name: "azure_support_services", Resolver: fetchServices, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Support), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_support), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/support/tickets.go b/plugins/source/azure/resources/services/support/tickets.go index 8343490de4691d..4a59da65520631 100644 --- a/plugins/source/azure/resources/services/support/tickets.go +++ b/plugins/source/azure/resources/services/support/tickets.go @@ -12,7 +12,7 @@ func Tickets() *schema.Table { return &schema.Table{ Name: "azure_support_tickets", Resolver: fetchTickets, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Support), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_support), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/synapse/private_link_hubs.go b/plugins/source/azure/resources/services/synapse/private_link_hubs.go index 0deeb29edcd642..e74307aa76a061 100644 --- a/plugins/source/azure/resources/services/synapse/private_link_hubs.go +++ b/plugins/source/azure/resources/services/synapse/private_link_hubs.go @@ -12,7 +12,7 @@ func PrivateLinkHubs() *schema.Table { return &schema.Table{ Name: "azure_synapse_private_link_hubs", Resolver: fetchPrivateLinkHubs, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Synapse), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_synapse), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/synapse/workspaces.go b/plugins/source/azure/resources/services/synapse/workspaces.go index 9303d068d373ab..eb073fcb543949 100644 --- a/plugins/source/azure/resources/services/synapse/workspaces.go +++ b/plugins/source/azure/resources/services/synapse/workspaces.go @@ -12,7 +12,7 @@ func Workspaces() *schema.Table { return &schema.Table{ Name: "azure_synapse_workspaces", Resolver: fetchWorkspaces, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Synapse), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_synapse), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/windowsesu/multiple_activation_keys.go b/plugins/source/azure/resources/services/windowsesu/multiple_activation_keys.go index 1eb70d9ceb3366..4b69d85d4faba4 100644 --- a/plugins/source/azure/resources/services/windowsesu/multiple_activation_keys.go +++ b/plugins/source/azure/resources/services/windowsesu/multiple_activation_keys.go @@ -12,7 +12,7 @@ func MultipleActivationKeys() *schema.Table { return &schema.Table{ Name: "azure_windowsesu_multiple_activation_keys", Resolver: fetchMultipleActivationKeys, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_WindowsESU), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_windowsesu), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/windowsiot/services.go b/plugins/source/azure/resources/services/windowsiot/services.go index e74da549ca9334..50477f4ec492d2 100644 --- a/plugins/source/azure/resources/services/windowsiot/services.go +++ b/plugins/source/azure/resources/services/windowsiot/services.go @@ -12,7 +12,7 @@ func Services() *schema.Table { return &schema.Table{ Name: "azure_windowsiot_services", Resolver: fetchServices, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_WindowsIoT), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_windowsiot), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/plugins/source/azure/resources/services/workloads/monitors.go b/plugins/source/azure/resources/services/workloads/monitors.go index c5a35520d4610b..5a239ed65a117a 100644 --- a/plugins/source/azure/resources/services/workloads/monitors.go +++ b/plugins/source/azure/resources/services/workloads/monitors.go @@ -12,7 +12,7 @@ func Monitors() *schema.Table { return &schema.Table{ Name: "azure_workloads_monitors", Resolver: fetchMonitors, - Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.NamespaceMicrosoft_Workloads), + Multiplex: client.SubscriptionMultiplexRegisteredNamespace(client.Namespacemicrosoft_workloads), Columns: []schema.Column{ { Name: "subscription_id", diff --git a/website/pages/docs/plugins/sources/azure/tables.md b/website/pages/docs/plugins/sources/azure/tables.md index d07749e90e32b4..85abaf66074c4c 100644 --- a/website/pages/docs/plugins/sources/azure/tables.md +++ b/website/pages/docs/plugins/sources/azure/tables.md @@ -205,7 +205,6 @@ - [azure_security_topology](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/azure/docs/tables/azure_security_topology.md) - [azure_security_workspace_settings](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/azure/docs/tables/azure_security_workspace_settings.md) - [azure_servicebus_namespaces](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/azure/docs/tables/azure_servicebus_namespaces.md) -- [azure_sql_deleted_servers](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/azure/docs/tables/azure_sql_deleted_servers.md) - [azure_sql_instance_pools](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/azure/docs/tables/azure_sql_instance_pools.md) - [azure_sql_managed_instances](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/azure/docs/tables/azure_sql_managed_instances.md) - [azure_sql_servers](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/azure/docs/tables/azure_sql_servers.md)