From a2b6acab04a1ecaa930c47ee0e669cca5412c2b0 Mon Sep 17 00:00:00 2001 From: hc-github-team-tf-azure <> Date: Wed, 3 Sep 2025 16:42:06 +0000 Subject: [PATCH] Updating based on 48c201ecf --- ...vicemanagementchromeosonboardingsetting.go | 14 +- ...evicemanagementcloudpcconnectivityissue.go | 14 +- ...managementembeddedsimactivationcodepool.go | 14 +- ...beddedsimactivationcodepoolidassignment.go | 16 +-- ...eddedsimactivationcodepooliddevicestate.go | 16 +-- ...gementmacossoftwareupdateaccountsummary.go | 14 +- ...reupdateaccountsummaryidcategorysummary.go | 16 +-- ...ryidcategorysummaryidupdatestatesummary.go | 18 +-- ...cemanagementmanageddevicewindowsosimage.go | 12 +- ...healthapplicationperformancebyosversion.go | 14 +- ...eanalyticsapphealthosversionperformance.go | 14 +- .../id_devicemanagementuserpfxcertificate.go | 2 +- ...vicemanagementvirtualendpointauditevent.go | 2 +- ...vicemanagementvirtualendpointbulkaction.go | 2 +- ..._devicemanagementvirtualendpointcloudpc.go | 14 +- ...icemanagementvirtualendpointdeviceimage.go | 2 +- ...ntvirtualendpointexternalpartnersetting.go | 2 +- ...mentvirtualendpointfrontlineserviceplan.go | 2 +- ...cemanagementvirtualendpointgalleryimage.go | 2 +- ...mentvirtualendpointonpremisesconnection.go | 2 +- ...gementvirtualendpointprovisioningpolicy.go | 2 +- ...lendpointprovisioningpolicyidassignment.go | 4 +- ...sioningpolicyidassignmentidassigneduser.go | 4 +- ...anagementvirtualendpointreportexportjob.go | 2 +- ...icemanagementvirtualendpointserviceplan.go | 2 +- ...devicemanagementvirtualendpointsnapshot.go | 2 +- ...anagementvirtualendpointsupportedregion.go | 2 +- ...icemanagementvirtualendpointusersetting.go | 2 +- ...tvirtualendpointusersettingidassignment.go | 4 +- .../beta/id_groupiddriveidactivity.go | 2 +- .../beta/id_groupiddriveiditemidactivity.go | 2 +- ...id_groupiddriveiditemidlistitemactivity.go | 2 +- .../id_groupiddriveidlistitemidactivity.go | 2 +- .../beta/id_groupiddriveidrootactivity.go | 2 +- .../id_groupiddriveidrootlistitemactivity.go | 2 +- .../id_groupidsiteidlistiditemidactivity.go | 2 +- .../common-types/beta/id_mecloudpc.go | 14 +- .../common-types/beta/id_medriveidactivity.go | 2 +- .../beta/id_medriveiditemidactivity.go | 2 +- .../id_medriveiditemidlistitemactivity.go | 2 +- .../beta/id_medriveidlistitemidactivity.go | 2 +- .../beta/id_medriveidrootactivity.go | 2 +- .../beta/id_medriveidrootlistitemactivity.go | 2 +- ..._rolemanagementcloudpcresourcenamespace.go | 12 +- ...loudpcresourcenamespaceidresourceaction.go | 12 +- .../id_rolemanagementcloudpcroleassignment.go | 12 +- ...nagementcloudpcroleassignmentidappscope.go | 12 +- ...ntcloudpcroleassignmentiddirectoryscope.go | 12 +- ...agementcloudpcroleassignmentidprincipal.go | 12 +- .../id_rolemanagementcloudpcroledefinition.go | 12 +- ...roledefinitionidinheritspermissionsfrom.go | 12 +- .../common-types/beta/id_useridcloudpc.go | 14 +- .../beta/id_useriddriveidactivity.go | 2 +- .../beta/id_useriddriveiditemidactivity.go | 2 +- .../id_useriddriveiditemidlistitemactivity.go | 2 +- .../id_useriddriveidlistitemidactivity.go | 2 +- .../beta/id_useriddriveidrootactivity.go | 2 +- .../id_useriddriveidrootlistitemactivity.go | 2 +- ...healthapplicationperformancebyosversion.go | 14 +- ...eanalyticsapphealthosversionperformance.go | 14 +- ...vicemanagementvirtualendpointauditevent.go | 2 +- ..._devicemanagementvirtualendpointcloudpc.go | 14 +- ...icemanagementvirtualendpointdeviceimage.go | 2 +- ...cemanagementvirtualendpointgalleryimage.go | 2 +- ...mentvirtualendpointonpremisesconnection.go | 2 +- ...gementvirtualendpointprovisioningpolicy.go | 2 +- ...lendpointprovisioningpolicyidassignment.go | 4 +- ...sioningpolicyidassignmentidassigneduser.go | 4 +- ...icemanagementvirtualendpointusersetting.go | 2 +- ...tvirtualendpointusersettingidassignment.go | 4 +- .../stable/id_identityb2xuserflow.go | 14 +- ...d_identityb2xuserflowididentityprovider.go | 14 +- .../id_identityb2xuserflowidlanguage.go | 14 +- ...ntityb2xuserflowidlanguageiddefaultpage.go | 14 +- ...ityb2xuserflowidlanguageidoverridespage.go | 14 +- ...ityb2xuserflowiduserattributeassignment.go | 14 +- ...tyb2xuserflowiduserflowidentityprovider.go | 14 +- .../module/id_powershell72module.go | 14 +- .../id_defenderforaisetting.go | 14 +- .../model_accountproperties.go | 2 +- ...njections.go => model_networkinjection.go} | 2 +- .../id_defenderforaisetting.go | 14 +- .../virtualmachineimages/id_vmimageoffer.go | 12 +- .../virtualmachineimages/id_vmimageoffer.go | 12 +- .../virtualmachineimages/id_vmimageoffer.go | 12 +- .../virtualmachineimages/id_vmimageoffer.go | 12 +- .../2024-11-01/computerps/id_vmimageoffer.go | 12 +- .../dataflowdebugsession/constants.go | 132 +++++++++++++++++ ...el_hdinsightlinkedservicetypeproperties.go | 36 +++-- ...el_lakehouselinkedservicetypeproperties.go | 34 +++-- ...el_warehouselinkedservicetypeproperties.go | 38 ++--- .../2018-06-01/linkedservices/constants.go | 132 +++++++++++++++++ ...el_hdinsightlinkedservicetypeproperties.go | 36 +++-- ...el_lakehouselinkedservicetypeproperties.go | 34 +++-- ...el_warehouselinkedservicetypeproperties.go | 38 ++--- .../2025-06-30/get/model_connectioninfo.go | 2 +- .../get/model_mongodbconnectioninfo.go | 2 +- .../2025-06-30/patch/model_connectioninfo.go | 2 +- .../patch/model_mongodbconnectioninfo.go | 2 +- .../2025-06-30/post/model_connectioninfo.go | 2 +- .../post/model_mongodbconnectioninfo.go | 2 +- .../2025-06-30/put/model_connectioninfo.go | 2 +- .../put/model_mongodbconnectioninfo.go | 2 +- .../model_connectioninfo.go | 2 +- .../model_mongodbconnectioninfo.go | 2 +- .../standardoperation/model_connectioninfo.go | 2 +- .../model_mongodbconnectioninfo.go | 2 +- .../id_getbackupsecuritypinrequest.go | 14 +- .../id_getbackupsecuritypinrequest.go | 14 +- .../dnsresolver/2025-05-01/client.go | 9 ++ .../dnsforwardingrulesets/README.md | 17 --- .../method_createorupdate.go | 4 +- .../dnsforwardingrulesets/method_delete.go | 2 +- .../method_listbyvirtualnetwork.go | 135 ------------------ .../dnsforwardingrulesets/method_update.go | 2 +- .../dnsforwardingrulesets/predicates.go | 13 -- .../dnsresolverdomainlists/method_bulk.go | 4 +- .../method_createorupdate.go | 4 +- .../dnsresolverdomainlists/method_delete.go | 2 +- .../dnsresolverdomainlists/method_update.go | 2 +- .../2025-05-01/dnsresolverpolicies/README.md | 17 --- .../method_createorupdate.go | 4 +- .../dnsresolverpolicies/method_delete.go | 2 +- .../dnsresolverpolicies/method_update.go | 2 +- .../dnsresolverpolicies/predicates.go | 13 -- .../method_createorupdate.go | 4 +- .../method_delete.go | 2 +- .../method_update.go | 2 +- .../2025-05-01/dnsresolvers/README.md | 17 --- .../dnsresolvers/method_createorupdate.go | 4 +- .../2025-05-01/dnsresolvers/method_delete.go | 2 +- .../method_listbyvirtualnetwork.go | 135 ------------------ .../2025-05-01/dnsresolvers/method_update.go | 2 +- .../2025-05-01/dnsresolvers/predicates.go | 13 -- .../dnssecurityrules/method_createorupdate.go | 4 +- .../dnssecurityrules/method_delete.go | 2 +- .../dnssecurityrules/method_update.go | 2 +- .../forwardingrules/method_createorupdate.go | 4 +- .../forwardingrules/method_delete.go | 2 +- .../forwardingrules/method_update.go | 2 +- .../inboundendpoints/method_createorupdate.go | 4 +- .../inboundendpoints/method_delete.go | 2 +- .../inboundendpoints/method_update.go | 2 +- .../dnsresolver/2025-05-01/openapis/README.md | 72 ++++++++++ .../dnsresolver/2025-05-01/openapis/client.go | 26 ++++ ...sforwardingrulesetslistbyvirtualnetwork.go | 135 ++++++++++++++++++ ...nsresolverpolicieslistbyvirtualnetwork.go} | 30 ++-- ...method_dnsresolverslistbyvirtualnetwork.go | 135 ++++++++++++++++++ .../model_subresource.go | 2 +- ...odel_virtualnetworkdnsforwardingruleset.go | 2 +- ...virtualnetworklinksubresourceproperties.go | 2 +- .../2025-05-01/openapis/predicates.go | 30 ++++ .../2025-05-01/openapis/version.go | 10 ++ .../method_createorupdate.go | 4 +- .../outboundendpoints/method_delete.go | 2 +- .../outboundendpoints/method_update.go | 2 +- .../method_createorupdate.go | 4 +- .../virtualnetworklinks/method_delete.go | 2 +- .../virtualnetworklinks/method_update.go | 2 +- .../openaiintegration/id_openaiintegration.go | 14 +- .../openaiintegration/id_openaiintegration.go | 14 +- .../dedicatedhsms/id_dedicatedhsm.go | 14 +- .../dedicatedhsms/id_dedicatedhsm.go | 14 +- .../2023-02-01/managedhsmkeys/id_key.go | 2 +- .../managedhsmkeys/id_managedhsm.go | 14 +- .../2023-02-01/managedhsmkeys/id_version.go | 2 +- .../managedhsms/id_deletedmanagedhsm.go | 14 +- .../2023-02-01/managedhsms/id_managedhsm.go | 14 +- .../id_managedhsm.go | 14 +- .../mhsmlistregions/id_managedhsm.go | 14 +- .../id_privateendpointconnection.go | 2 +- .../mhsmprivatelinkresources/id_managedhsm.go | 14 +- .../2023-07-01/managedhsmkeys/id_key.go | 2 +- .../managedhsmkeys/id_managedhsm.go | 14 +- .../2023-07-01/managedhsmkeys/id_version.go | 2 +- .../managedhsms/id_deletedmanagedhsm.go | 14 +- .../2023-07-01/managedhsms/id_managedhsm.go | 14 +- .../id_managedhsm.go | 14 +- .../mhsmlistregions/id_managedhsm.go | 14 +- .../id_privateendpointconnection.go | 2 +- .../mhsmprivatelinkresources/id_managedhsm.go | 14 +- .../2024-11-01/managedhsmkeys/id_key.go | 2 +- .../managedhsmkeys/id_managedhsm.go | 14 +- .../2024-11-01/managedhsmkeys/id_version.go | 2 +- .../managedhsms/id_deletedmanagedhsm.go | 14 +- .../2024-11-01/managedhsms/id_managedhsm.go | 14 +- .../id_managedhsm.go | 14 +- .../mhsmlistregions/id_managedhsm.go | 14 +- .../id_privateendpointconnection.go | 2 +- .../mhsmprivatelinkresources/id_managedhsm.go | 14 +- .../customipprefixes/id_customipprefix.go | 14 +- .../ipallocations/id_ipallocation.go | 12 +- .../network/2023-09-01/ipgroups/id_ipgroup.go | 12 +- .../id_frontendipconfiguration.go | 14 +- .../publicipprefixes/id_publicipprefix.go | 14 +- .../2023-09-01/virtualwans/id_virtualwan.go | 12 +- .../customipprefixes/id_customipprefix.go | 14 +- .../ipallocations/id_ipallocation.go | 12 +- .../network/2023-11-01/ipgroups/id_ipgroup.go | 12 +- .../id_frontendipconfiguration.go | 14 +- .../publicipprefixes/id_publicipprefix.go | 14 +- .../2023-11-01/virtualwans/id_virtualwan.go | 12 +- .../customipprefixes/id_customipprefix.go | 14 +- .../ipallocations/id_ipallocation.go | 12 +- .../network/2024-01-01/ipgroups/id_ipgroup.go | 12 +- .../id_frontendipconfiguration.go | 14 +- .../publicipprefixes/id_publicipprefix.go | 14 +- .../2024-01-01/virtualwans/id_virtualwan.go | 12 +- .../customipprefixes/id_customipprefix.go | 14 +- .../ipallocations/id_ipallocation.go | 12 +- .../network/2024-05-01/ipgroups/id_ipgroup.go | 12 +- .../id_frontendipconfiguration.go | 14 +- .../constants.go | 6 + .../constants.go | 6 + .../publicipprefixes/id_publicipprefix.go | 14 +- .../2024-05-01/virtualwans/id_virtualwan.go | 12 +- .../customipprefixes/id_customipprefix.go | 14 +- .../ipallocations/id_ipallocation.go | 12 +- .../network/2024-07-01/ipgroups/id_ipgroup.go | 12 +- .../id_frontendipconfiguration.go | 14 +- .../constants.go | 6 - .../constants.go | 6 - .../constants.go | 6 - .../constants.go | 6 - .../publicipprefixes/id_publicipprefix.go | 14 +- .../2024-07-01/virtualwans/id_virtualwan.go | 12 +- .../cloudvmclusters/id_cloudvmcluster.go | 12 +- .../2025-03-01/dbnodes/id_cloudvmcluster.go | 12 +- .../exadbvmclusters/id_exadbvmcluster.go | 12 +- .../exascaledbnodes/id_exadbvmcluster.go | 12 +- .../id_exadbvmclusterdbnode.go | 12 +- .../id_cloudvmcluster.go | 12 +- .../id_securitymlanalyticssetting.go | 14 +- .../id_securitymlanalyticssetting.go | 14 +- .../id_securitymlanalyticssetting.go | 14 +- .../id_securitymlanalyticssetting.go | 14 +- .../id_securitymlanalyticssetting.go | 14 +- .../id_managedunsupportedvmsize.go | 14 +- .../id_dedicatedsqlminimaltlssetting.go | 14 +- .../workloadnetworks/id_publicip.go | 14 +- .../2022-05-01/workloadnetworks/id_vmgroup.go | 12 +- .../vmware/2024-09-01/vmwares/id_publicip.go | 14 +- .../vmware/2024-09-01/vmwares/id_vmgroup.go | 12 +- 243 files changed, 1698 insertions(+), 1353 deletions(-) rename resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts/{model_networkinjections.go => model_networkinjection.go} (92%) delete mode 100644 resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_listbyvirtualnetwork.go delete mode 100644 resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_listbyvirtualnetwork.go create mode 100644 resource-manager/dnsresolver/2025-05-01/openapis/README.md create mode 100644 resource-manager/dnsresolver/2025-05-01/openapis/client.go create mode 100644 resource-manager/dnsresolver/2025-05-01/openapis/method_dnsforwardingrulesetslistbyvirtualnetwork.go rename resource-manager/dnsresolver/2025-05-01/{dnsresolverpolicies/method_listbyvirtualnetwork.go => openapis/method_dnsresolverpolicieslistbyvirtualnetwork.go} (51%) create mode 100644 resource-manager/dnsresolver/2025-05-01/openapis/method_dnsresolverslistbyvirtualnetwork.go rename resource-manager/dnsresolver/2025-05-01/{dnsresolverpolicies => openapis}/model_subresource.go (88%) rename resource-manager/dnsresolver/2025-05-01/{dnsforwardingrulesets => openapis}/model_virtualnetworkdnsforwardingruleset.go (92%) rename resource-manager/dnsresolver/2025-05-01/{dnsforwardingrulesets => openapis}/model_virtualnetworklinksubresourceproperties.go (90%) create mode 100644 resource-manager/dnsresolver/2025-05-01/openapis/predicates.go create mode 100644 resource-manager/dnsresolver/2025-05-01/openapis/version.go diff --git a/microsoft-graph/common-types/beta/id_devicemanagementchromeosonboardingsetting.go b/microsoft-graph/common-types/beta/id_devicemanagementchromeosonboardingsetting.go index 46af86795cc..a1ebf257caf 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementchromeosonboardingsetting.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementchromeosonboardingsetting.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementChromeOSOnboardingSettingId{} -// DeviceManagementChromeOSOnboardingSettingId is a struct representing the Resource ID for a Device Management Chrome O S Onboarding Setting +// DeviceManagementChromeOSOnboardingSettingId is a struct representing the Resource ID for a Device Management Chrome OS Onboarding Setting type DeviceManagementChromeOSOnboardingSettingId struct { ChromeOSOnboardingSettingsId string } @@ -67,7 +67,7 @@ func (id *DeviceManagementChromeOSOnboardingSettingId) FromParseResult(input res return nil } -// ValidateDeviceManagementChromeOSOnboardingSettingID checks that 'input' can be parsed as a Device Management Chrome O S Onboarding Setting ID +// ValidateDeviceManagementChromeOSOnboardingSettingID checks that 'input' can be parsed as a Device Management Chrome OS Onboarding Setting ID func ValidateDeviceManagementChromeOSOnboardingSettingID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateDeviceManagementChromeOSOnboardingSettingID(input interface{}, key return } -// ID returns the formatted Device Management Chrome O S Onboarding Setting ID +// ID returns the formatted Device Management Chrome OS Onboarding Setting ID func (id DeviceManagementChromeOSOnboardingSettingId) ID() string { fmtString := "/deviceManagement/chromeOSOnboardingSettings/%s" return fmt.Sprintf(fmtString, id.ChromeOSOnboardingSettingsId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management Chrome O S Onboarding Setting ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management Chrome OS Onboarding Setting ID func (id DeviceManagementChromeOSOnboardingSettingId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -97,10 +97,10 @@ func (id DeviceManagementChromeOSOnboardingSettingId) Segments() []resourceids.S } } -// String returns a human-readable description of this Device Management Chrome O S Onboarding Setting ID +// String returns a human-readable description of this Device Management Chrome OS Onboarding Setting ID func (id DeviceManagementChromeOSOnboardingSettingId) String() string { components := []string{ - fmt.Sprintf("Chrome O S Onboarding Settings: %q", id.ChromeOSOnboardingSettingsId), + fmt.Sprintf("Chrome OS Onboarding Settings: %q", id.ChromeOSOnboardingSettingsId), } - return fmt.Sprintf("Device Management Chrome O S Onboarding Setting (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management Chrome OS Onboarding Setting (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementcloudpcconnectivityissue.go b/microsoft-graph/common-types/beta/id_devicemanagementcloudpcconnectivityissue.go index 89dbc21ffcb..e1cb8cf4578 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementcloudpcconnectivityissue.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementcloudpcconnectivityissue.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementCloudPCConnectivityIssueId{} -// DeviceManagementCloudPCConnectivityIssueId is a struct representing the Resource ID for a Device Management Cloud P C Connectivity Issue +// DeviceManagementCloudPCConnectivityIssueId is a struct representing the Resource ID for a Device Management Cloud PC Connectivity Issue type DeviceManagementCloudPCConnectivityIssueId struct { CloudPCConnectivityIssueId string } @@ -67,7 +67,7 @@ func (id *DeviceManagementCloudPCConnectivityIssueId) FromParseResult(input reso return nil } -// ValidateDeviceManagementCloudPCConnectivityIssueID checks that 'input' can be parsed as a Device Management Cloud P C Connectivity Issue ID +// ValidateDeviceManagementCloudPCConnectivityIssueID checks that 'input' can be parsed as a Device Management Cloud PC Connectivity Issue ID func ValidateDeviceManagementCloudPCConnectivityIssueID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateDeviceManagementCloudPCConnectivityIssueID(input interface{}, key s return } -// ID returns the formatted Device Management Cloud P C Connectivity Issue ID +// ID returns the formatted Device Management Cloud PC Connectivity Issue ID func (id DeviceManagementCloudPCConnectivityIssueId) ID() string { fmtString := "/deviceManagement/cloudPCConnectivityIssues/%s" return fmt.Sprintf(fmtString, id.CloudPCConnectivityIssueId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management Cloud P C Connectivity Issue ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management Cloud PC Connectivity Issue ID func (id DeviceManagementCloudPCConnectivityIssueId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -97,10 +97,10 @@ func (id DeviceManagementCloudPCConnectivityIssueId) Segments() []resourceids.Se } } -// String returns a human-readable description of this Device Management Cloud P C Connectivity Issue ID +// String returns a human-readable description of this Device Management Cloud PC Connectivity Issue ID func (id DeviceManagementCloudPCConnectivityIssueId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Connectivity Issue: %q", id.CloudPCConnectivityIssueId), + fmt.Sprintf("Cloud PC Connectivity Issue: %q", id.CloudPCConnectivityIssueId), } - return fmt.Sprintf("Device Management Cloud P C Connectivity Issue (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management Cloud PC Connectivity Issue (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepool.go b/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepool.go index bb1e1509a0b..92ca2aca56b 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepool.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepool.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementEmbeddedSIMActivationCodePoolId{} -// DeviceManagementEmbeddedSIMActivationCodePoolId is a struct representing the Resource ID for a Device Management Embedded S I M Activation Code Pool +// DeviceManagementEmbeddedSIMActivationCodePoolId is a struct representing the Resource ID for a Device Management Embedded SIM Activation Code Pool type DeviceManagementEmbeddedSIMActivationCodePoolId struct { EmbeddedSIMActivationCodePoolId string } @@ -67,7 +67,7 @@ func (id *DeviceManagementEmbeddedSIMActivationCodePoolId) FromParseResult(input return nil } -// ValidateDeviceManagementEmbeddedSIMActivationCodePoolID checks that 'input' can be parsed as a Device Management Embedded S I M Activation Code Pool ID +// ValidateDeviceManagementEmbeddedSIMActivationCodePoolID checks that 'input' can be parsed as a Device Management Embedded SIM Activation Code Pool ID func ValidateDeviceManagementEmbeddedSIMActivationCodePoolID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateDeviceManagementEmbeddedSIMActivationCodePoolID(input interface{}, return } -// ID returns the formatted Device Management Embedded S I M Activation Code Pool ID +// ID returns the formatted Device Management Embedded SIM Activation Code Pool ID func (id DeviceManagementEmbeddedSIMActivationCodePoolId) ID() string { fmtString := "/deviceManagement/embeddedSIMActivationCodePools/%s" return fmt.Sprintf(fmtString, id.EmbeddedSIMActivationCodePoolId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management Embedded S I M Activation Code Pool ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management Embedded SIM Activation Code Pool ID func (id DeviceManagementEmbeddedSIMActivationCodePoolId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -97,10 +97,10 @@ func (id DeviceManagementEmbeddedSIMActivationCodePoolId) Segments() []resourcei } } -// String returns a human-readable description of this Device Management Embedded S I M Activation Code Pool ID +// String returns a human-readable description of this Device Management Embedded SIM Activation Code Pool ID func (id DeviceManagementEmbeddedSIMActivationCodePoolId) String() string { components := []string{ - fmt.Sprintf("Embedded S I M Activation Code Pool: %q", id.EmbeddedSIMActivationCodePoolId), + fmt.Sprintf("Embedded SIM Activation Code Pool: %q", id.EmbeddedSIMActivationCodePoolId), } - return fmt.Sprintf("Device Management Embedded S I M Activation Code Pool (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management Embedded SIM Activation Code Pool (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepoolidassignment.go b/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepoolidassignment.go index 12bf54cb0f0..c643e1cbb69 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepoolidassignment.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepoolidassignment.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentId{} -// DeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentId is a struct representing the Resource ID for a Device Management Embedded S I M Activation Code Pool Id Assignment +// DeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentId is a struct representing the Resource ID for a Device Management Embedded SIM Activation Code Pool Id Assignment type DeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentId struct { EmbeddedSIMActivationCodePoolId string EmbeddedSIMActivationCodePoolAssignmentId string @@ -73,7 +73,7 @@ func (id *DeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentId) FromParse return nil } -// ValidateDeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentID checks that 'input' can be parsed as a Device Management Embedded S I M Activation Code Pool Id Assignment ID +// ValidateDeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentID checks that 'input' can be parsed as a Device Management Embedded SIM Activation Code Pool Id Assignment ID func ValidateDeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateDeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentID(input i return } -// ID returns the formatted Device Management Embedded S I M Activation Code Pool Id Assignment ID +// ID returns the formatted Device Management Embedded SIM Activation Code Pool Id Assignment ID func (id DeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentId) ID() string { fmtString := "/deviceManagement/embeddedSIMActivationCodePools/%s/assignments/%s" return fmt.Sprintf(fmtString, id.EmbeddedSIMActivationCodePoolId, id.EmbeddedSIMActivationCodePoolAssignmentId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management Embedded S I M Activation Code Pool Id Assignment ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management Embedded SIM Activation Code Pool Id Assignment ID func (id DeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -105,11 +105,11 @@ func (id DeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentId) Segments() } } -// String returns a human-readable description of this Device Management Embedded S I M Activation Code Pool Id Assignment ID +// String returns a human-readable description of this Device Management Embedded SIM Activation Code Pool Id Assignment ID func (id DeviceManagementEmbeddedSIMActivationCodePoolIdAssignmentId) String() string { components := []string{ - fmt.Sprintf("Embedded S I M Activation Code Pool: %q", id.EmbeddedSIMActivationCodePoolId), - fmt.Sprintf("Embedded S I M Activation Code Pool Assignment: %q", id.EmbeddedSIMActivationCodePoolAssignmentId), + fmt.Sprintf("Embedded SIM Activation Code Pool: %q", id.EmbeddedSIMActivationCodePoolId), + fmt.Sprintf("Embedded SIM Activation Code Pool Assignment: %q", id.EmbeddedSIMActivationCodePoolAssignmentId), } - return fmt.Sprintf("Device Management Embedded S I M Activation Code Pool Id Assignment (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management Embedded SIM Activation Code Pool Id Assignment (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepooliddevicestate.go b/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepooliddevicestate.go index e206153b291..85ec5b6102d 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepooliddevicestate.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementembeddedsimactivationcodepooliddevicestate.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateId{} -// DeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateId is a struct representing the Resource ID for a Device Management Embedded S I M Activation Code Pool Id Device State +// DeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateId is a struct representing the Resource ID for a Device Management Embedded SIM Activation Code Pool Id Device State type DeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateId struct { EmbeddedSIMActivationCodePoolId string EmbeddedSIMDeviceStateId string @@ -73,7 +73,7 @@ func (id *DeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateId) FromPars return nil } -// ValidateDeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateID checks that 'input' can be parsed as a Device Management Embedded S I M Activation Code Pool Id Device State ID +// ValidateDeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateID checks that 'input' can be parsed as a Device Management Embedded SIM Activation Code Pool Id Device State ID func ValidateDeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateDeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateID(input return } -// ID returns the formatted Device Management Embedded S I M Activation Code Pool Id Device State ID +// ID returns the formatted Device Management Embedded SIM Activation Code Pool Id Device State ID func (id DeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateId) ID() string { fmtString := "/deviceManagement/embeddedSIMActivationCodePools/%s/deviceStates/%s" return fmt.Sprintf(fmtString, id.EmbeddedSIMActivationCodePoolId, id.EmbeddedSIMDeviceStateId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management Embedded S I M Activation Code Pool Id Device State ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management Embedded SIM Activation Code Pool Id Device State ID func (id DeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -105,11 +105,11 @@ func (id DeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateId) Segments( } } -// String returns a human-readable description of this Device Management Embedded S I M Activation Code Pool Id Device State ID +// String returns a human-readable description of this Device Management Embedded SIM Activation Code Pool Id Device State ID func (id DeviceManagementEmbeddedSIMActivationCodePoolIdDeviceStateId) String() string { components := []string{ - fmt.Sprintf("Embedded S I M Activation Code Pool: %q", id.EmbeddedSIMActivationCodePoolId), - fmt.Sprintf("Embedded S I M Device State: %q", id.EmbeddedSIMDeviceStateId), + fmt.Sprintf("Embedded SIM Activation Code Pool: %q", id.EmbeddedSIMActivationCodePoolId), + fmt.Sprintf("Embedded SIM Device State: %q", id.EmbeddedSIMDeviceStateId), } - return fmt.Sprintf("Device Management Embedded S I M Activation Code Pool Id Device State (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management Embedded SIM Activation Code Pool Id Device State (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummary.go b/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummary.go index 7ad44bd91f6..c2301897533 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummary.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummary.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementMacOSSoftwareUpdateAccountSummaryId{} -// DeviceManagementMacOSSoftwareUpdateAccountSummaryId is a struct representing the Resource ID for a Device Management Mac O S Software Update Account Summary +// DeviceManagementMacOSSoftwareUpdateAccountSummaryId is a struct representing the Resource ID for a Device Management Mac OS Software Update Account Summary type DeviceManagementMacOSSoftwareUpdateAccountSummaryId struct { MacOSSoftwareUpdateAccountSummaryId string } @@ -67,7 +67,7 @@ func (id *DeviceManagementMacOSSoftwareUpdateAccountSummaryId) FromParseResult(i return nil } -// ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryID checks that 'input' can be parsed as a Device Management Mac O S Software Update Account Summary ID +// ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryID checks that 'input' can be parsed as a Device Management Mac OS Software Update Account Summary ID func ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryID(input interface return } -// ID returns the formatted Device Management Mac O S Software Update Account Summary ID +// ID returns the formatted Device Management Mac OS Software Update Account Summary ID func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryId) ID() string { fmtString := "/deviceManagement/macOSSoftwareUpdateAccountSummaries/%s" return fmt.Sprintf(fmtString, id.MacOSSoftwareUpdateAccountSummaryId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management Mac O S Software Update Account Summary ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management Mac OS Software Update Account Summary ID func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -97,10 +97,10 @@ func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryId) Segments() []resou } } -// String returns a human-readable description of this Device Management Mac O S Software Update Account Summary ID +// String returns a human-readable description of this Device Management Mac OS Software Update Account Summary ID func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryId) String() string { components := []string{ - fmt.Sprintf("Mac O S Software Update Account Summary: %q", id.MacOSSoftwareUpdateAccountSummaryId), + fmt.Sprintf("Mac OS Software Update Account Summary: %q", id.MacOSSoftwareUpdateAccountSummaryId), } - return fmt.Sprintf("Device Management Mac O S Software Update Account Summary (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management Mac OS Software Update Account Summary (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummaryidcategorysummary.go b/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummaryidcategorysummary.go index b5d9a7dcf99..d489c10bc4c 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummaryidcategorysummary.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummaryidcategorysummary.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryId{} -// DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryId is a struct representing the Resource ID for a Device Management Mac O S Software Update Account Summary Id Category Summary +// DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryId is a struct representing the Resource ID for a Device Management Mac OS Software Update Account Summary Id Category Summary type DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryId struct { MacOSSoftwareUpdateAccountSummaryId string MacOSSoftwareUpdateCategorySummaryId string @@ -73,7 +73,7 @@ func (id *DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryId) return nil } -// ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryID checks that 'input' can be parsed as a Device Management Mac O S Software Update Account Summary Id Category Summary ID +// ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryID checks that 'input' can be parsed as a Device Management Mac OS Software Update Account Summary Id Category Summary ID func ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryI return } -// ID returns the formatted Device Management Mac O S Software Update Account Summary Id Category Summary ID +// ID returns the formatted Device Management Mac OS Software Update Account Summary Id Category Summary ID func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryId) ID() string { fmtString := "/deviceManagement/macOSSoftwareUpdateAccountSummaries/%s/categorySummaries/%s" return fmt.Sprintf(fmtString, id.MacOSSoftwareUpdateAccountSummaryId, id.MacOSSoftwareUpdateCategorySummaryId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management Mac O S Software Update Account Summary Id Category Summary ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management Mac OS Software Update Account Summary Id Category Summary ID func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -105,11 +105,11 @@ func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryId) S } } -// String returns a human-readable description of this Device Management Mac O S Software Update Account Summary Id Category Summary ID +// String returns a human-readable description of this Device Management Mac OS Software Update Account Summary Id Category Summary ID func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryId) String() string { components := []string{ - fmt.Sprintf("Mac O S Software Update Account Summary: %q", id.MacOSSoftwareUpdateAccountSummaryId), - fmt.Sprintf("Mac O S Software Update Category Summary: %q", id.MacOSSoftwareUpdateCategorySummaryId), + fmt.Sprintf("Mac OS Software Update Account Summary: %q", id.MacOSSoftwareUpdateAccountSummaryId), + fmt.Sprintf("Mac OS Software Update Category Summary: %q", id.MacOSSoftwareUpdateCategorySummaryId), } - return fmt.Sprintf("Device Management Mac O S Software Update Account Summary Id Category Summary (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management Mac OS Software Update Account Summary Id Category Summary (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummaryidcategorysummaryidupdatestatesummary.go b/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummaryidcategorysummaryidupdatestatesummary.go index 8ab3af90b05..e2f3be85fb4 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummaryidcategorysummaryidupdatestatesummary.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementmacossoftwareupdateaccountsummaryidcategorysummaryidupdatestatesummary.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUpdateStateSummaryId{} -// DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUpdateStateSummaryId is a struct representing the Resource ID for a Device Management Mac O S Software Update Account Summary Id Category Summary Id Update State Summary +// DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUpdateStateSummaryId is a struct representing the Resource ID for a Device Management Mac OS Software Update Account Summary Id Category Summary Id Update State Summary type DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUpdateStateSummaryId struct { MacOSSoftwareUpdateAccountSummaryId string MacOSSoftwareUpdateCategorySummaryId string @@ -79,7 +79,7 @@ func (id *DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUp return nil } -// ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUpdateStateSummaryID checks that 'input' can be parsed as a Device Management Mac O S Software Update Account Summary Id Category Summary Id Update State Summary ID +// ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUpdateStateSummaryID checks that 'input' can be parsed as a Device Management Mac OS Software Update Account Summary Id Category Summary Id Update State Summary ID func ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUpdateStateSummaryID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -94,13 +94,13 @@ func ValidateDeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryI return } -// ID returns the formatted Device Management Mac O S Software Update Account Summary Id Category Summary Id Update State Summary ID +// ID returns the formatted Device Management Mac OS Software Update Account Summary Id Category Summary Id Update State Summary ID func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUpdateStateSummaryId) ID() string { fmtString := "/deviceManagement/macOSSoftwareUpdateAccountSummaries/%s/categorySummaries/%s/updateStateSummaries/%s" return fmt.Sprintf(fmtString, id.MacOSSoftwareUpdateAccountSummaryId, id.MacOSSoftwareUpdateCategorySummaryId, id.MacOSSoftwareUpdateStateSummaryId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management Mac O S Software Update Account Summary Id Category Summary Id Update State Summary ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management Mac OS Software Update Account Summary Id Category Summary Id Update State Summary ID func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUpdateStateSummaryId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -113,12 +113,12 @@ func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUpd } } -// String returns a human-readable description of this Device Management Mac O S Software Update Account Summary Id Category Summary Id Update State Summary ID +// String returns a human-readable description of this Device Management Mac OS Software Update Account Summary Id Category Summary Id Update State Summary ID func (id DeviceManagementMacOSSoftwareUpdateAccountSummaryIdCategorySummaryIdUpdateStateSummaryId) String() string { components := []string{ - fmt.Sprintf("Mac O S Software Update Account Summary: %q", id.MacOSSoftwareUpdateAccountSummaryId), - fmt.Sprintf("Mac O S Software Update Category Summary: %q", id.MacOSSoftwareUpdateCategorySummaryId), - fmt.Sprintf("Mac O S Software Update State Summary: %q", id.MacOSSoftwareUpdateStateSummaryId), + fmt.Sprintf("Mac OS Software Update Account Summary: %q", id.MacOSSoftwareUpdateAccountSummaryId), + fmt.Sprintf("Mac OS Software Update Category Summary: %q", id.MacOSSoftwareUpdateCategorySummaryId), + fmt.Sprintf("Mac OS Software Update State Summary: %q", id.MacOSSoftwareUpdateStateSummaryId), } - return fmt.Sprintf("Device Management Mac O S Software Update Account Summary Id Category Summary Id Update State Summary (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management Mac OS Software Update Account Summary Id Category Summary Id Update State Summary (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementmanageddevicewindowsosimage.go b/microsoft-graph/common-types/beta/id_devicemanagementmanageddevicewindowsosimage.go index 13a44f7653b..5ce0018f293 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementmanageddevicewindowsosimage.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementmanageddevicewindowsosimage.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementManagedDeviceWindowsOSImageId{} -// DeviceManagementManagedDeviceWindowsOSImageId is a struct representing the Resource ID for a Device Management Managed Device Windows O S Image +// DeviceManagementManagedDeviceWindowsOSImageId is a struct representing the Resource ID for a Device Management Managed Device Windows OS Image type DeviceManagementManagedDeviceWindowsOSImageId struct { ManagedDeviceWindowsOperatingSystemImageId string } @@ -67,7 +67,7 @@ func (id *DeviceManagementManagedDeviceWindowsOSImageId) FromParseResult(input r return nil } -// ValidateDeviceManagementManagedDeviceWindowsOSImageID checks that 'input' can be parsed as a Device Management Managed Device Windows O S Image ID +// ValidateDeviceManagementManagedDeviceWindowsOSImageID checks that 'input' can be parsed as a Device Management Managed Device Windows OS Image ID func ValidateDeviceManagementManagedDeviceWindowsOSImageID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateDeviceManagementManagedDeviceWindowsOSImageID(input interface{}, ke return } -// ID returns the formatted Device Management Managed Device Windows O S Image ID +// ID returns the formatted Device Management Managed Device Windows OS Image ID func (id DeviceManagementManagedDeviceWindowsOSImageId) ID() string { fmtString := "/deviceManagement/managedDeviceWindowsOSImages/%s" return fmt.Sprintf(fmtString, id.ManagedDeviceWindowsOperatingSystemImageId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management Managed Device Windows O S Image ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management Managed Device Windows OS Image ID func (id DeviceManagementManagedDeviceWindowsOSImageId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -97,10 +97,10 @@ func (id DeviceManagementManagedDeviceWindowsOSImageId) Segments() []resourceids } } -// String returns a human-readable description of this Device Management Managed Device Windows O S Image ID +// String returns a human-readable description of this Device Management Managed Device Windows OS Image ID func (id DeviceManagementManagedDeviceWindowsOSImageId) String() string { components := []string{ fmt.Sprintf("Managed Device Windows Operating System Image: %q", id.ManagedDeviceWindowsOperatingSystemImageId), } - return fmt.Sprintf("Device Management Managed Device Windows O S Image (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management Managed Device Windows OS Image (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementuserexperienceanalyticsapphealthapplicationperformancebyosversion.go b/microsoft-graph/common-types/beta/id_devicemanagementuserexperienceanalyticsapphealthapplicationperformancebyosversion.go index c24ba78692b..b3cabbc6af2 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementuserexperienceanalyticsapphealthapplicationperformancebyosversion.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementuserexperienceanalyticsapphealthapplicationperformancebyosversion.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId{} -// DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId is a struct representing the Resource ID for a Device Management User Experience Analytics App Health Application Performance By O S Version +// DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId is a struct representing the Resource ID for a Device Management User Experience Analytics App Health Application Performance By OS Version type DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId struct { UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionId string } @@ -67,7 +67,7 @@ func (id *DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformance return nil } -// ValidateDeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionID checks that 'input' can be parsed as a Device Management User Experience Analytics App Health Application Performance By O S Version ID +// ValidateDeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionID checks that 'input' can be parsed as a Device Management User Experience Analytics App Health Application Performance By OS Version ID func ValidateDeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateDeviceManagementUserExperienceAnalyticsAppHealthApplicationPerforma return } -// ID returns the formatted Device Management User Experience Analytics App Health Application Performance By O S Version ID +// ID returns the formatted Device Management User Experience Analytics App Health Application Performance By OS Version ID func (id DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId) ID() string { fmtString := "/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/%s" return fmt.Sprintf(fmtString, id.UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management User Experience Analytics App Health Application Performance By O S Version ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management User Experience Analytics App Health Application Performance By OS Version ID func (id DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -97,10 +97,10 @@ func (id DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceB } } -// String returns a human-readable description of this Device Management User Experience Analytics App Health Application Performance By O S Version ID +// String returns a human-readable description of this Device Management User Experience Analytics App Health Application Performance By OS Version ID func (id DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId) String() string { components := []string{ - fmt.Sprintf("User Experience Analytics App Health App Performance By O S Version: %q", id.UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionId), + fmt.Sprintf("User Experience Analytics App Health App Performance By OS Version: %q", id.UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionId), } - return fmt.Sprintf("Device Management User Experience Analytics App Health Application Performance By O S Version (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management User Experience Analytics App Health Application Performance By OS Version (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementuserexperienceanalyticsapphealthosversionperformance.go b/microsoft-graph/common-types/beta/id_devicemanagementuserexperienceanalyticsapphealthosversionperformance.go index 63d4b812e35..397e5dfeb5d 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementuserexperienceanalyticsapphealthosversionperformance.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementuserexperienceanalyticsapphealthosversionperformance.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId{} -// DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId is a struct representing the Resource ID for a Device Management User Experience Analytics App Health O S Version Performance +// DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId is a struct representing the Resource ID for a Device Management User Experience Analytics App Health OS Version Performance type DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId struct { UserExperienceAnalyticsAppHealthOSVersionPerformanceId string } @@ -67,7 +67,7 @@ func (id *DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId return nil } -// ValidateDeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceID checks that 'input' can be parsed as a Device Management User Experience Analytics App Health O S Version Performance ID +// ValidateDeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceID checks that 'input' can be parsed as a Device Management User Experience Analytics App Health OS Version Performance ID func ValidateDeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateDeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanc return } -// ID returns the formatted Device Management User Experience Analytics App Health O S Version Performance ID +// ID returns the formatted Device Management User Experience Analytics App Health OS Version Performance ID func (id DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId) ID() string { fmtString := "/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/%s" return fmt.Sprintf(fmtString, id.UserExperienceAnalyticsAppHealthOSVersionPerformanceId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management User Experience Analytics App Health O S Version Performance ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management User Experience Analytics App Health OS Version Performance ID func (id DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -97,10 +97,10 @@ func (id DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId) } } -// String returns a human-readable description of this Device Management User Experience Analytics App Health O S Version Performance ID +// String returns a human-readable description of this Device Management User Experience Analytics App Health OS Version Performance ID func (id DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId) String() string { components := []string{ - fmt.Sprintf("User Experience Analytics App Health O S Version Performance: %q", id.UserExperienceAnalyticsAppHealthOSVersionPerformanceId), + fmt.Sprintf("User Experience Analytics App Health OS Version Performance: %q", id.UserExperienceAnalyticsAppHealthOSVersionPerformanceId), } - return fmt.Sprintf("Device Management User Experience Analytics App Health O S Version Performance (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management User Experience Analytics App Health OS Version Performance (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementuserpfxcertificate.go b/microsoft-graph/common-types/beta/id_devicemanagementuserpfxcertificate.go index 8fb9a1f3aa9..71f7560da18 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementuserpfxcertificate.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementuserpfxcertificate.go @@ -100,7 +100,7 @@ func (id DeviceManagementUserPfxCertificateId) Segments() []resourceids.Segment // String returns a human-readable description of this Device Management User Pfx Certificate ID func (id DeviceManagementUserPfxCertificateId) String() string { components := []string{ - fmt.Sprintf("User P F X Certificate: %q", id.UserPFXCertificateId), + fmt.Sprintf("User PFX Certificate: %q", id.UserPFXCertificateId), } return fmt.Sprintf("Device Management User Pfx Certificate (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointauditevent.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointauditevent.go index 0684a5e3210..4655a21da8f 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointauditevent.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointauditevent.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointAuditEventId) Segments() []resourceids.S // String returns a human-readable description of this Device Management Virtual Endpoint Audit Event ID func (id DeviceManagementVirtualEndpointAuditEventId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Audit Event: %q", id.CloudPCAuditEventId), + fmt.Sprintf("Cloud PC Audit Event: %q", id.CloudPCAuditEventId), } return fmt.Sprintf("Device Management Virtual Endpoint Audit Event (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointbulkaction.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointbulkaction.go index e88a79a2848..de022a26eba 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointbulkaction.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointbulkaction.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointBulkActionId) Segments() []resourceids.S // String returns a human-readable description of this Device Management Virtual Endpoint Bulk Action ID func (id DeviceManagementVirtualEndpointBulkActionId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Bulk Action: %q", id.CloudPCBulkActionId), + fmt.Sprintf("Cloud PC Bulk Action: %q", id.CloudPCBulkActionId), } return fmt.Sprintf("Device Management Virtual Endpoint Bulk Action (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointcloudpc.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointcloudpc.go index 2c0fd4263eb..2d43fd60947 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointcloudpc.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointcloudpc.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementVirtualEndpointCloudPCId{} -// DeviceManagementVirtualEndpointCloudPCId is a struct representing the Resource ID for a Device Management Virtual Endpoint Cloud P C +// DeviceManagementVirtualEndpointCloudPCId is a struct representing the Resource ID for a Device Management Virtual Endpoint Cloud PC type DeviceManagementVirtualEndpointCloudPCId struct { CloudPCId string } @@ -67,7 +67,7 @@ func (id *DeviceManagementVirtualEndpointCloudPCId) FromParseResult(input resour return nil } -// ValidateDeviceManagementVirtualEndpointCloudPCID checks that 'input' can be parsed as a Device Management Virtual Endpoint Cloud P C ID +// ValidateDeviceManagementVirtualEndpointCloudPCID checks that 'input' can be parsed as a Device Management Virtual Endpoint Cloud PC ID func ValidateDeviceManagementVirtualEndpointCloudPCID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateDeviceManagementVirtualEndpointCloudPCID(input interface{}, key str return } -// ID returns the formatted Device Management Virtual Endpoint Cloud P C ID +// ID returns the formatted Device Management Virtual Endpoint Cloud PC ID func (id DeviceManagementVirtualEndpointCloudPCId) ID() string { fmtString := "/deviceManagement/virtualEndpoint/cloudPCs/%s" return fmt.Sprintf(fmtString, id.CloudPCId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management Virtual Endpoint Cloud P C ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management Virtual Endpoint Cloud PC ID func (id DeviceManagementVirtualEndpointCloudPCId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -98,10 +98,10 @@ func (id DeviceManagementVirtualEndpointCloudPCId) Segments() []resourceids.Segm } } -// String returns a human-readable description of this Device Management Virtual Endpoint Cloud P C ID +// String returns a human-readable description of this Device Management Virtual Endpoint Cloud PC ID func (id DeviceManagementVirtualEndpointCloudPCId) String() string { components := []string{ - fmt.Sprintf("Cloud P C: %q", id.CloudPCId), + fmt.Sprintf("Cloud PC: %q", id.CloudPCId), } - return fmt.Sprintf("Device Management Virtual Endpoint Cloud P C (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management Virtual Endpoint Cloud PC (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointdeviceimage.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointdeviceimage.go index 127832d900f..94462f0b585 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointdeviceimage.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointdeviceimage.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointDeviceImageId) Segments() []resourceids. // String returns a human-readable description of this Device Management Virtual Endpoint Device Image ID func (id DeviceManagementVirtualEndpointDeviceImageId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Device Image: %q", id.CloudPCDeviceImageId), + fmt.Sprintf("Cloud PC Device Image: %q", id.CloudPCDeviceImageId), } return fmt.Sprintf("Device Management Virtual Endpoint Device Image (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointexternalpartnersetting.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointexternalpartnersetting.go index 935c4aeae51..64aa307da0d 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointexternalpartnersetting.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointexternalpartnersetting.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointExternalPartnerSettingId) Segments() []r // String returns a human-readable description of this Device Management Virtual Endpoint External Partner Setting ID func (id DeviceManagementVirtualEndpointExternalPartnerSettingId) String() string { components := []string{ - fmt.Sprintf("Cloud P C External Partner Setting: %q", id.CloudPCExternalPartnerSettingId), + fmt.Sprintf("Cloud PC External Partner Setting: %q", id.CloudPCExternalPartnerSettingId), } return fmt.Sprintf("Device Management Virtual Endpoint External Partner Setting (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointfrontlineserviceplan.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointfrontlineserviceplan.go index e8164bc442c..0051533e7fe 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointfrontlineserviceplan.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointfrontlineserviceplan.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointFrontLineServicePlanId) Segments() []res // String returns a human-readable description of this Device Management Virtual Endpoint Front Line Service Plan ID func (id DeviceManagementVirtualEndpointFrontLineServicePlanId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Front Line Service Plan: %q", id.CloudPCFrontLineServicePlanId), + fmt.Sprintf("Cloud PC Front Line Service Plan: %q", id.CloudPCFrontLineServicePlanId), } return fmt.Sprintf("Device Management Virtual Endpoint Front Line Service Plan (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointgalleryimage.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointgalleryimage.go index 43e8ab6d346..805d1304f01 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointgalleryimage.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointgalleryimage.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointGalleryImageId) Segments() []resourceids // String returns a human-readable description of this Device Management Virtual Endpoint Gallery Image ID func (id DeviceManagementVirtualEndpointGalleryImageId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Gallery Image: %q", id.CloudPCGalleryImageId), + fmt.Sprintf("Cloud PC Gallery Image: %q", id.CloudPCGalleryImageId), } return fmt.Sprintf("Device Management Virtual Endpoint Gallery Image (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointonpremisesconnection.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointonpremisesconnection.go index a495af27ef7..dcc8d860247 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointonpremisesconnection.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointonpremisesconnection.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointOnPremisesConnectionId) Segments() []res // String returns a human-readable description of this Device Management Virtual Endpoint On Premises Connection ID func (id DeviceManagementVirtualEndpointOnPremisesConnectionId) String() string { components := []string{ - fmt.Sprintf("Cloud P C On Premises Connection: %q", id.CloudPCOnPremisesConnectionId), + fmt.Sprintf("Cloud PC On Premises Connection: %q", id.CloudPCOnPremisesConnectionId), } return fmt.Sprintf("Device Management Virtual Endpoint On Premises Connection (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicy.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicy.go index e8df2d1d887..d48304b95c1 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicy.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicy.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointProvisioningPolicyId) Segments() []resou // String returns a human-readable description of this Device Management Virtual Endpoint Provisioning Policy ID func (id DeviceManagementVirtualEndpointProvisioningPolicyId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), + fmt.Sprintf("Cloud PC Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), } return fmt.Sprintf("Device Management Virtual Endpoint Provisioning Policy (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicyidassignment.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicyidassignment.go index 11b90577256..6c9edbcefa0 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicyidassignment.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicyidassignment.go @@ -109,8 +109,8 @@ func (id DeviceManagementVirtualEndpointProvisioningPolicyIdAssignmentId) Segmen // String returns a human-readable description of this Device Management Virtual Endpoint Provisioning Policy Id Assignment ID func (id DeviceManagementVirtualEndpointProvisioningPolicyIdAssignmentId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), - fmt.Sprintf("Cloud P C Provisioning Policy Assignment: %q", id.CloudPCProvisioningPolicyAssignmentId), + fmt.Sprintf("Cloud PC Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), + fmt.Sprintf("Cloud PC Provisioning Policy Assignment: %q", id.CloudPCProvisioningPolicyAssignmentId), } return fmt.Sprintf("Device Management Virtual Endpoint Provisioning Policy Id Assignment (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicyidassignmentidassigneduser.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicyidassignmentidassigneduser.go index f28c718244d..b4ee6a792d1 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicyidassignmentidassigneduser.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointprovisioningpolicyidassignmentidassigneduser.go @@ -117,8 +117,8 @@ func (id DeviceManagementVirtualEndpointProvisioningPolicyIdAssignmentIdAssigned // String returns a human-readable description of this Device Management Virtual Endpoint Provisioning Policy Id Assignment Id Assigned User ID func (id DeviceManagementVirtualEndpointProvisioningPolicyIdAssignmentIdAssignedUserId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), - fmt.Sprintf("Cloud P C Provisioning Policy Assignment: %q", id.CloudPCProvisioningPolicyAssignmentId), + fmt.Sprintf("Cloud PC Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), + fmt.Sprintf("Cloud PC Provisioning Policy Assignment: %q", id.CloudPCProvisioningPolicyAssignmentId), fmt.Sprintf("User: %q", id.UserId), } return fmt.Sprintf("Device Management Virtual Endpoint Provisioning Policy Id Assignment Id Assigned User (%s)", strings.Join(components, "\n")) diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointreportexportjob.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointreportexportjob.go index 8efde8d4c77..f3593c0968e 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointreportexportjob.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointreportexportjob.go @@ -102,7 +102,7 @@ func (id DeviceManagementVirtualEndpointReportExportJobId) Segments() []resource // String returns a human-readable description of this Device Management Virtual Endpoint Report Export Job ID func (id DeviceManagementVirtualEndpointReportExportJobId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Export Job: %q", id.CloudPCExportJobId), + fmt.Sprintf("Cloud PC Export Job: %q", id.CloudPCExportJobId), } return fmt.Sprintf("Device Management Virtual Endpoint Report Export Job (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointserviceplan.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointserviceplan.go index cbb91c4a348..9efdc9231db 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointserviceplan.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointserviceplan.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointServicePlanId) Segments() []resourceids. // String returns a human-readable description of this Device Management Virtual Endpoint Service Plan ID func (id DeviceManagementVirtualEndpointServicePlanId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Service Plan: %q", id.CloudPCServicePlanId), + fmt.Sprintf("Cloud PC Service Plan: %q", id.CloudPCServicePlanId), } return fmt.Sprintf("Device Management Virtual Endpoint Service Plan (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointsnapshot.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointsnapshot.go index 2c36e32f260..74eab441cdc 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointsnapshot.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointsnapshot.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointSnapshotId) Segments() []resourceids.Seg // String returns a human-readable description of this Device Management Virtual Endpoint Snapshot ID func (id DeviceManagementVirtualEndpointSnapshotId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Snapshot: %q", id.CloudPCSnapshotId), + fmt.Sprintf("Cloud PC Snapshot: %q", id.CloudPCSnapshotId), } return fmt.Sprintf("Device Management Virtual Endpoint Snapshot (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointsupportedregion.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointsupportedregion.go index c5afff1e416..3499621a093 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointsupportedregion.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointsupportedregion.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointSupportedRegionId) Segments() []resource // String returns a human-readable description of this Device Management Virtual Endpoint Supported Region ID func (id DeviceManagementVirtualEndpointSupportedRegionId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Supported Region: %q", id.CloudPCSupportedRegionId), + fmt.Sprintf("Cloud PC Supported Region: %q", id.CloudPCSupportedRegionId), } return fmt.Sprintf("Device Management Virtual Endpoint Supported Region (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointusersetting.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointusersetting.go index 9651dce479c..47239d89043 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointusersetting.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointusersetting.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointUserSettingId) Segments() []resourceids. // String returns a human-readable description of this Device Management Virtual Endpoint User Setting ID func (id DeviceManagementVirtualEndpointUserSettingId) String() string { components := []string{ - fmt.Sprintf("Cloud P C User Setting: %q", id.CloudPCUserSettingId), + fmt.Sprintf("Cloud PC User Setting: %q", id.CloudPCUserSettingId), } return fmt.Sprintf("Device Management Virtual Endpoint User Setting (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointusersettingidassignment.go b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointusersettingidassignment.go index 7b99a073a7a..73d7304bd42 100644 --- a/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointusersettingidassignment.go +++ b/microsoft-graph/common-types/beta/id_devicemanagementvirtualendpointusersettingidassignment.go @@ -109,8 +109,8 @@ func (id DeviceManagementVirtualEndpointUserSettingIdAssignmentId) Segments() [] // String returns a human-readable description of this Device Management Virtual Endpoint User Setting Id Assignment ID func (id DeviceManagementVirtualEndpointUserSettingIdAssignmentId) String() string { components := []string{ - fmt.Sprintf("Cloud P C User Setting: %q", id.CloudPCUserSettingId), - fmt.Sprintf("Cloud P C User Setting Assignment: %q", id.CloudPCUserSettingAssignmentId), + fmt.Sprintf("Cloud PC User Setting: %q", id.CloudPCUserSettingId), + fmt.Sprintf("Cloud PC User Setting Assignment: %q", id.CloudPCUserSettingAssignmentId), } return fmt.Sprintf("Device Management Virtual Endpoint User Setting Id Assignment (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_groupiddriveidactivity.go b/microsoft-graph/common-types/beta/id_groupiddriveidactivity.go index 22cd2cb7266..0c06ca4f3c4 100644 --- a/microsoft-graph/common-types/beta/id_groupiddriveidactivity.go +++ b/microsoft-graph/common-types/beta/id_groupiddriveidactivity.go @@ -117,7 +117,7 @@ func (id GroupIdDriveIdActivityId) String() string { components := []string{ fmt.Sprintf("Group: %q", id.GroupId), fmt.Sprintf("Drive: %q", id.DriveId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Group Id Drive Id Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_groupiddriveiditemidactivity.go b/microsoft-graph/common-types/beta/id_groupiddriveiditemidactivity.go index 0cb28d0adc0..7ca29c51b49 100644 --- a/microsoft-graph/common-types/beta/id_groupiddriveiditemidactivity.go +++ b/microsoft-graph/common-types/beta/id_groupiddriveiditemidactivity.go @@ -126,7 +126,7 @@ func (id GroupIdDriveIdItemIdActivityId) String() string { fmt.Sprintf("Group: %q", id.GroupId), fmt.Sprintf("Drive: %q", id.DriveId), fmt.Sprintf("Drive Item: %q", id.DriveItemId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Group Id Drive Id Item Id Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_groupiddriveiditemidlistitemactivity.go b/microsoft-graph/common-types/beta/id_groupiddriveiditemidlistitemactivity.go index cbaeb8b3031..b56acf53763 100644 --- a/microsoft-graph/common-types/beta/id_groupiddriveiditemidlistitemactivity.go +++ b/microsoft-graph/common-types/beta/id_groupiddriveiditemidlistitemactivity.go @@ -127,7 +127,7 @@ func (id GroupIdDriveIdItemIdListItemActivityId) String() string { fmt.Sprintf("Group: %q", id.GroupId), fmt.Sprintf("Drive: %q", id.DriveId), fmt.Sprintf("Drive Item: %q", id.DriveItemId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Group Id Drive Id Item Id List Item Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_groupiddriveidlistitemidactivity.go b/microsoft-graph/common-types/beta/id_groupiddriveidlistitemidactivity.go index d30bf1f674c..8f2a64562a5 100644 --- a/microsoft-graph/common-types/beta/id_groupiddriveidlistitemidactivity.go +++ b/microsoft-graph/common-types/beta/id_groupiddriveidlistitemidactivity.go @@ -127,7 +127,7 @@ func (id GroupIdDriveIdListItemIdActivityId) String() string { fmt.Sprintf("Group: %q", id.GroupId), fmt.Sprintf("Drive: %q", id.DriveId), fmt.Sprintf("List Item: %q", id.ListItemId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Group Id Drive Id List Item Id Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_groupiddriveidrootactivity.go b/microsoft-graph/common-types/beta/id_groupiddriveidrootactivity.go index 41e0f3d2de0..c98c33eeff0 100644 --- a/microsoft-graph/common-types/beta/id_groupiddriveidrootactivity.go +++ b/microsoft-graph/common-types/beta/id_groupiddriveidrootactivity.go @@ -118,7 +118,7 @@ func (id GroupIdDriveIdRootActivityId) String() string { components := []string{ fmt.Sprintf("Group: %q", id.GroupId), fmt.Sprintf("Drive: %q", id.DriveId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Group Id Drive Id Root Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_groupiddriveidrootlistitemactivity.go b/microsoft-graph/common-types/beta/id_groupiddriveidrootlistitemactivity.go index ebbfdb9b510..be738c7cc0c 100644 --- a/microsoft-graph/common-types/beta/id_groupiddriveidrootlistitemactivity.go +++ b/microsoft-graph/common-types/beta/id_groupiddriveidrootlistitemactivity.go @@ -119,7 +119,7 @@ func (id GroupIdDriveIdRootListItemActivityId) String() string { components := []string{ fmt.Sprintf("Group: %q", id.GroupId), fmt.Sprintf("Drive: %q", id.DriveId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Group Id Drive Id Root List Item Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_groupidsiteidlistiditemidactivity.go b/microsoft-graph/common-types/beta/id_groupidsiteidlistiditemidactivity.go index 1568e3d696e..12c13486b42 100644 --- a/microsoft-graph/common-types/beta/id_groupidsiteidlistiditemidactivity.go +++ b/microsoft-graph/common-types/beta/id_groupidsiteidlistiditemidactivity.go @@ -135,7 +135,7 @@ func (id GroupIdSiteIdListIdItemIdActivityId) String() string { fmt.Sprintf("Site: %q", id.SiteId), fmt.Sprintf("List: %q", id.ListId), fmt.Sprintf("List Item: %q", id.ListItemId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Group Id Site Id List Id Item Id Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_mecloudpc.go b/microsoft-graph/common-types/beta/id_mecloudpc.go index 732bde9aa06..153208e3b52 100644 --- a/microsoft-graph/common-types/beta/id_mecloudpc.go +++ b/microsoft-graph/common-types/beta/id_mecloudpc.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &MeCloudPCId{} -// MeCloudPCId is a struct representing the Resource ID for a Me Cloud P C +// MeCloudPCId is a struct representing the Resource ID for a Me Cloud PC type MeCloudPCId struct { CloudPCId string } @@ -67,7 +67,7 @@ func (id *MeCloudPCId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateMeCloudPCID checks that 'input' can be parsed as a Me Cloud P C ID +// ValidateMeCloudPCID checks that 'input' can be parsed as a Me Cloud PC ID func ValidateMeCloudPCID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateMeCloudPCID(input interface{}, key string) (warnings []string, erro return } -// ID returns the formatted Me Cloud P C ID +// ID returns the formatted Me Cloud PC ID func (id MeCloudPCId) ID() string { fmtString := "/me/cloudPCs/%s" return fmt.Sprintf(fmtString, id.CloudPCId) } -// Segments returns a slice of Resource ID Segments which comprise this Me Cloud P C ID +// Segments returns a slice of Resource ID Segments which comprise this Me Cloud PC ID func (id MeCloudPCId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("me", "me", "me"), @@ -97,10 +97,10 @@ func (id MeCloudPCId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Me Cloud P C ID +// String returns a human-readable description of this Me Cloud PC ID func (id MeCloudPCId) String() string { components := []string{ - fmt.Sprintf("Cloud P C: %q", id.CloudPCId), + fmt.Sprintf("Cloud PC: %q", id.CloudPCId), } - return fmt.Sprintf("Me Cloud P C (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Me Cloud PC (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_medriveidactivity.go b/microsoft-graph/common-types/beta/id_medriveidactivity.go index 2e4935d0c65..10eda0ba8c4 100644 --- a/microsoft-graph/common-types/beta/id_medriveidactivity.go +++ b/microsoft-graph/common-types/beta/id_medriveidactivity.go @@ -109,7 +109,7 @@ func (id MeDriveIdActivityId) Segments() []resourceids.Segment { func (id MeDriveIdActivityId) String() string { components := []string{ fmt.Sprintf("Drive: %q", id.DriveId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Me Drive Id Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_medriveiditemidactivity.go b/microsoft-graph/common-types/beta/id_medriveiditemidactivity.go index ea857fa5cc4..6b9e186fc68 100644 --- a/microsoft-graph/common-types/beta/id_medriveiditemidactivity.go +++ b/microsoft-graph/common-types/beta/id_medriveiditemidactivity.go @@ -118,7 +118,7 @@ func (id MeDriveIdItemIdActivityId) String() string { components := []string{ fmt.Sprintf("Drive: %q", id.DriveId), fmt.Sprintf("Drive Item: %q", id.DriveItemId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Me Drive Id Item Id Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_medriveiditemidlistitemactivity.go b/microsoft-graph/common-types/beta/id_medriveiditemidlistitemactivity.go index 4dad18b7f5c..7fd2b6cc89e 100644 --- a/microsoft-graph/common-types/beta/id_medriveiditemidlistitemactivity.go +++ b/microsoft-graph/common-types/beta/id_medriveiditemidlistitemactivity.go @@ -119,7 +119,7 @@ func (id MeDriveIdItemIdListItemActivityId) String() string { components := []string{ fmt.Sprintf("Drive: %q", id.DriveId), fmt.Sprintf("Drive Item: %q", id.DriveItemId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Me Drive Id Item Id List Item Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_medriveidlistitemidactivity.go b/microsoft-graph/common-types/beta/id_medriveidlistitemidactivity.go index d28d56bb453..14b342b0a08 100644 --- a/microsoft-graph/common-types/beta/id_medriveidlistitemidactivity.go +++ b/microsoft-graph/common-types/beta/id_medriveidlistitemidactivity.go @@ -119,7 +119,7 @@ func (id MeDriveIdListItemIdActivityId) String() string { components := []string{ fmt.Sprintf("Drive: %q", id.DriveId), fmt.Sprintf("List Item: %q", id.ListItemId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Me Drive Id List Item Id Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_medriveidrootactivity.go b/microsoft-graph/common-types/beta/id_medriveidrootactivity.go index 4166e2b8d96..2136ed43a08 100644 --- a/microsoft-graph/common-types/beta/id_medriveidrootactivity.go +++ b/microsoft-graph/common-types/beta/id_medriveidrootactivity.go @@ -110,7 +110,7 @@ func (id MeDriveIdRootActivityId) Segments() []resourceids.Segment { func (id MeDriveIdRootActivityId) String() string { components := []string{ fmt.Sprintf("Drive: %q", id.DriveId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Me Drive Id Root Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_medriveidrootlistitemactivity.go b/microsoft-graph/common-types/beta/id_medriveidrootlistitemactivity.go index f67ca19c46a..29f7ce1e7b4 100644 --- a/microsoft-graph/common-types/beta/id_medriveidrootlistitemactivity.go +++ b/microsoft-graph/common-types/beta/id_medriveidrootlistitemactivity.go @@ -111,7 +111,7 @@ func (id MeDriveIdRootListItemActivityId) Segments() []resourceids.Segment { func (id MeDriveIdRootListItemActivityId) String() string { components := []string{ fmt.Sprintf("Drive: %q", id.DriveId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("Me Drive Id Root List Item Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcresourcenamespace.go b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcresourcenamespace.go index 9384e180ae0..1eface86f56 100644 --- a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcresourcenamespace.go +++ b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcresourcenamespace.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &RoleManagementCloudPCResourceNamespaceId{} -// RoleManagementCloudPCResourceNamespaceId is a struct representing the Resource ID for a Role Management Cloud P C Resource Namespace +// RoleManagementCloudPCResourceNamespaceId is a struct representing the Resource ID for a Role Management Cloud PC Resource Namespace type RoleManagementCloudPCResourceNamespaceId struct { UnifiedRbacResourceNamespaceId string } @@ -67,7 +67,7 @@ func (id *RoleManagementCloudPCResourceNamespaceId) FromParseResult(input resour return nil } -// ValidateRoleManagementCloudPCResourceNamespaceID checks that 'input' can be parsed as a Role Management Cloud P C Resource Namespace ID +// ValidateRoleManagementCloudPCResourceNamespaceID checks that 'input' can be parsed as a Role Management Cloud PC Resource Namespace ID func ValidateRoleManagementCloudPCResourceNamespaceID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateRoleManagementCloudPCResourceNamespaceID(input interface{}, key str return } -// ID returns the formatted Role Management Cloud P C Resource Namespace ID +// ID returns the formatted Role Management Cloud PC Resource Namespace ID func (id RoleManagementCloudPCResourceNamespaceId) ID() string { fmtString := "/roleManagement/cloudPC/resourceNamespaces/%s" return fmt.Sprintf(fmtString, id.UnifiedRbacResourceNamespaceId) } -// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud P C Resource Namespace ID +// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud PC Resource Namespace ID func (id RoleManagementCloudPCResourceNamespaceId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("roleManagement", "roleManagement", "roleManagement"), @@ -98,10 +98,10 @@ func (id RoleManagementCloudPCResourceNamespaceId) Segments() []resourceids.Segm } } -// String returns a human-readable description of this Role Management Cloud P C Resource Namespace ID +// String returns a human-readable description of this Role Management Cloud PC Resource Namespace ID func (id RoleManagementCloudPCResourceNamespaceId) String() string { components := []string{ fmt.Sprintf("Unified Rbac Resource Namespace: %q", id.UnifiedRbacResourceNamespaceId), } - return fmt.Sprintf("Role Management Cloud P C Resource Namespace (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Role Management Cloud PC Resource Namespace (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcresourcenamespaceidresourceaction.go b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcresourcenamespaceidresourceaction.go index c2bc98adf25..a1fe49ec38c 100644 --- a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcresourcenamespaceidresourceaction.go +++ b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcresourcenamespaceidresourceaction.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &RoleManagementCloudPCResourceNamespaceIdResourceActionId{} -// RoleManagementCloudPCResourceNamespaceIdResourceActionId is a struct representing the Resource ID for a Role Management Cloud P C Resource Namespace Id Resource Action +// RoleManagementCloudPCResourceNamespaceIdResourceActionId is a struct representing the Resource ID for a Role Management Cloud PC Resource Namespace Id Resource Action type RoleManagementCloudPCResourceNamespaceIdResourceActionId struct { UnifiedRbacResourceNamespaceId string UnifiedRbacResourceActionId string @@ -73,7 +73,7 @@ func (id *RoleManagementCloudPCResourceNamespaceIdResourceActionId) FromParseRes return nil } -// ValidateRoleManagementCloudPCResourceNamespaceIdResourceActionID checks that 'input' can be parsed as a Role Management Cloud P C Resource Namespace Id Resource Action ID +// ValidateRoleManagementCloudPCResourceNamespaceIdResourceActionID checks that 'input' can be parsed as a Role Management Cloud PC Resource Namespace Id Resource Action ID func ValidateRoleManagementCloudPCResourceNamespaceIdResourceActionID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateRoleManagementCloudPCResourceNamespaceIdResourceActionID(input inte return } -// ID returns the formatted Role Management Cloud P C Resource Namespace Id Resource Action ID +// ID returns the formatted Role Management Cloud PC Resource Namespace Id Resource Action ID func (id RoleManagementCloudPCResourceNamespaceIdResourceActionId) ID() string { fmtString := "/roleManagement/cloudPC/resourceNamespaces/%s/resourceActions/%s" return fmt.Sprintf(fmtString, id.UnifiedRbacResourceNamespaceId, id.UnifiedRbacResourceActionId) } -// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud P C Resource Namespace Id Resource Action ID +// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud PC Resource Namespace Id Resource Action ID func (id RoleManagementCloudPCResourceNamespaceIdResourceActionId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("roleManagement", "roleManagement", "roleManagement"), @@ -106,11 +106,11 @@ func (id RoleManagementCloudPCResourceNamespaceIdResourceActionId) Segments() [] } } -// String returns a human-readable description of this Role Management Cloud P C Resource Namespace Id Resource Action ID +// String returns a human-readable description of this Role Management Cloud PC Resource Namespace Id Resource Action ID func (id RoleManagementCloudPCResourceNamespaceIdResourceActionId) String() string { components := []string{ fmt.Sprintf("Unified Rbac Resource Namespace: %q", id.UnifiedRbacResourceNamespaceId), fmt.Sprintf("Unified Rbac Resource Action: %q", id.UnifiedRbacResourceActionId), } - return fmt.Sprintf("Role Management Cloud P C Resource Namespace Id Resource Action (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Role Management Cloud PC Resource Namespace Id Resource Action (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignment.go b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignment.go index 1e789cbc39d..1e6d5b66bb8 100644 --- a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignment.go +++ b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignment.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &RoleManagementCloudPCRoleAssignmentId{} -// RoleManagementCloudPCRoleAssignmentId is a struct representing the Resource ID for a Role Management Cloud P C Role Assignment +// RoleManagementCloudPCRoleAssignmentId is a struct representing the Resource ID for a Role Management Cloud PC Role Assignment type RoleManagementCloudPCRoleAssignmentId struct { UnifiedRoleAssignmentMultipleId string } @@ -67,7 +67,7 @@ func (id *RoleManagementCloudPCRoleAssignmentId) FromParseResult(input resourcei return nil } -// ValidateRoleManagementCloudPCRoleAssignmentID checks that 'input' can be parsed as a Role Management Cloud P C Role Assignment ID +// ValidateRoleManagementCloudPCRoleAssignmentID checks that 'input' can be parsed as a Role Management Cloud PC Role Assignment ID func ValidateRoleManagementCloudPCRoleAssignmentID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateRoleManagementCloudPCRoleAssignmentID(input interface{}, key string return } -// ID returns the formatted Role Management Cloud P C Role Assignment ID +// ID returns the formatted Role Management Cloud PC Role Assignment ID func (id RoleManagementCloudPCRoleAssignmentId) ID() string { fmtString := "/roleManagement/cloudPC/roleAssignments/%s" return fmt.Sprintf(fmtString, id.UnifiedRoleAssignmentMultipleId) } -// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud P C Role Assignment ID +// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud PC Role Assignment ID func (id RoleManagementCloudPCRoleAssignmentId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("roleManagement", "roleManagement", "roleManagement"), @@ -98,10 +98,10 @@ func (id RoleManagementCloudPCRoleAssignmentId) Segments() []resourceids.Segment } } -// String returns a human-readable description of this Role Management Cloud P C Role Assignment ID +// String returns a human-readable description of this Role Management Cloud PC Role Assignment ID func (id RoleManagementCloudPCRoleAssignmentId) String() string { components := []string{ fmt.Sprintf("Unified Role Assignment Multiple: %q", id.UnifiedRoleAssignmentMultipleId), } - return fmt.Sprintf("Role Management Cloud P C Role Assignment (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Role Management Cloud PC Role Assignment (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentidappscope.go b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentidappscope.go index b30e91208af..8c086d338c4 100644 --- a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentidappscope.go +++ b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentidappscope.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &RoleManagementCloudPCRoleAssignmentIdAppScopeId{} -// RoleManagementCloudPCRoleAssignmentIdAppScopeId is a struct representing the Resource ID for a Role Management Cloud P C Role Assignment Id App Scope +// RoleManagementCloudPCRoleAssignmentIdAppScopeId is a struct representing the Resource ID for a Role Management Cloud PC Role Assignment Id App Scope type RoleManagementCloudPCRoleAssignmentIdAppScopeId struct { UnifiedRoleAssignmentMultipleId string AppScopeId string @@ -73,7 +73,7 @@ func (id *RoleManagementCloudPCRoleAssignmentIdAppScopeId) FromParseResult(input return nil } -// ValidateRoleManagementCloudPCRoleAssignmentIdAppScopeID checks that 'input' can be parsed as a Role Management Cloud P C Role Assignment Id App Scope ID +// ValidateRoleManagementCloudPCRoleAssignmentIdAppScopeID checks that 'input' can be parsed as a Role Management Cloud PC Role Assignment Id App Scope ID func ValidateRoleManagementCloudPCRoleAssignmentIdAppScopeID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateRoleManagementCloudPCRoleAssignmentIdAppScopeID(input interface{}, return } -// ID returns the formatted Role Management Cloud P C Role Assignment Id App Scope ID +// ID returns the formatted Role Management Cloud PC Role Assignment Id App Scope ID func (id RoleManagementCloudPCRoleAssignmentIdAppScopeId) ID() string { fmtString := "/roleManagement/cloudPC/roleAssignments/%s/appScopes/%s" return fmt.Sprintf(fmtString, id.UnifiedRoleAssignmentMultipleId, id.AppScopeId) } -// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud P C Role Assignment Id App Scope ID +// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud PC Role Assignment Id App Scope ID func (id RoleManagementCloudPCRoleAssignmentIdAppScopeId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("roleManagement", "roleManagement", "roleManagement"), @@ -106,11 +106,11 @@ func (id RoleManagementCloudPCRoleAssignmentIdAppScopeId) Segments() []resourcei } } -// String returns a human-readable description of this Role Management Cloud P C Role Assignment Id App Scope ID +// String returns a human-readable description of this Role Management Cloud PC Role Assignment Id App Scope ID func (id RoleManagementCloudPCRoleAssignmentIdAppScopeId) String() string { components := []string{ fmt.Sprintf("Unified Role Assignment Multiple: %q", id.UnifiedRoleAssignmentMultipleId), fmt.Sprintf("App Scope: %q", id.AppScopeId), } - return fmt.Sprintf("Role Management Cloud P C Role Assignment Id App Scope (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Role Management Cloud PC Role Assignment Id App Scope (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentiddirectoryscope.go b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentiddirectoryscope.go index b8954c5c361..b47431ba2fd 100644 --- a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentiddirectoryscope.go +++ b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentiddirectoryscope.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &RoleManagementCloudPCRoleAssignmentIdDirectoryScopeId{} -// RoleManagementCloudPCRoleAssignmentIdDirectoryScopeId is a struct representing the Resource ID for a Role Management Cloud P C Role Assignment Id Directory Scope +// RoleManagementCloudPCRoleAssignmentIdDirectoryScopeId is a struct representing the Resource ID for a Role Management Cloud PC Role Assignment Id Directory Scope type RoleManagementCloudPCRoleAssignmentIdDirectoryScopeId struct { UnifiedRoleAssignmentMultipleId string DirectoryObjectId string @@ -73,7 +73,7 @@ func (id *RoleManagementCloudPCRoleAssignmentIdDirectoryScopeId) FromParseResult return nil } -// ValidateRoleManagementCloudPCRoleAssignmentIdDirectoryScopeID checks that 'input' can be parsed as a Role Management Cloud P C Role Assignment Id Directory Scope ID +// ValidateRoleManagementCloudPCRoleAssignmentIdDirectoryScopeID checks that 'input' can be parsed as a Role Management Cloud PC Role Assignment Id Directory Scope ID func ValidateRoleManagementCloudPCRoleAssignmentIdDirectoryScopeID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateRoleManagementCloudPCRoleAssignmentIdDirectoryScopeID(input interfa return } -// ID returns the formatted Role Management Cloud P C Role Assignment Id Directory Scope ID +// ID returns the formatted Role Management Cloud PC Role Assignment Id Directory Scope ID func (id RoleManagementCloudPCRoleAssignmentIdDirectoryScopeId) ID() string { fmtString := "/roleManagement/cloudPC/roleAssignments/%s/directoryScopes/%s" return fmt.Sprintf(fmtString, id.UnifiedRoleAssignmentMultipleId, id.DirectoryObjectId) } -// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud P C Role Assignment Id Directory Scope ID +// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud PC Role Assignment Id Directory Scope ID func (id RoleManagementCloudPCRoleAssignmentIdDirectoryScopeId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("roleManagement", "roleManagement", "roleManagement"), @@ -106,11 +106,11 @@ func (id RoleManagementCloudPCRoleAssignmentIdDirectoryScopeId) Segments() []res } } -// String returns a human-readable description of this Role Management Cloud P C Role Assignment Id Directory Scope ID +// String returns a human-readable description of this Role Management Cloud PC Role Assignment Id Directory Scope ID func (id RoleManagementCloudPCRoleAssignmentIdDirectoryScopeId) String() string { components := []string{ fmt.Sprintf("Unified Role Assignment Multiple: %q", id.UnifiedRoleAssignmentMultipleId), fmt.Sprintf("Directory Object: %q", id.DirectoryObjectId), } - return fmt.Sprintf("Role Management Cloud P C Role Assignment Id Directory Scope (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Role Management Cloud PC Role Assignment Id Directory Scope (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentidprincipal.go b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentidprincipal.go index 2143d1dac62..dc2a742cf11 100644 --- a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentidprincipal.go +++ b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroleassignmentidprincipal.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &RoleManagementCloudPCRoleAssignmentIdPrincipalId{} -// RoleManagementCloudPCRoleAssignmentIdPrincipalId is a struct representing the Resource ID for a Role Management Cloud P C Role Assignment Id Principal +// RoleManagementCloudPCRoleAssignmentIdPrincipalId is a struct representing the Resource ID for a Role Management Cloud PC Role Assignment Id Principal type RoleManagementCloudPCRoleAssignmentIdPrincipalId struct { UnifiedRoleAssignmentMultipleId string DirectoryObjectId string @@ -73,7 +73,7 @@ func (id *RoleManagementCloudPCRoleAssignmentIdPrincipalId) FromParseResult(inpu return nil } -// ValidateRoleManagementCloudPCRoleAssignmentIdPrincipalID checks that 'input' can be parsed as a Role Management Cloud P C Role Assignment Id Principal ID +// ValidateRoleManagementCloudPCRoleAssignmentIdPrincipalID checks that 'input' can be parsed as a Role Management Cloud PC Role Assignment Id Principal ID func ValidateRoleManagementCloudPCRoleAssignmentIdPrincipalID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateRoleManagementCloudPCRoleAssignmentIdPrincipalID(input interface{}, return } -// ID returns the formatted Role Management Cloud P C Role Assignment Id Principal ID +// ID returns the formatted Role Management Cloud PC Role Assignment Id Principal ID func (id RoleManagementCloudPCRoleAssignmentIdPrincipalId) ID() string { fmtString := "/roleManagement/cloudPC/roleAssignments/%s/principals/%s" return fmt.Sprintf(fmtString, id.UnifiedRoleAssignmentMultipleId, id.DirectoryObjectId) } -// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud P C Role Assignment Id Principal ID +// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud PC Role Assignment Id Principal ID func (id RoleManagementCloudPCRoleAssignmentIdPrincipalId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("roleManagement", "roleManagement", "roleManagement"), @@ -106,11 +106,11 @@ func (id RoleManagementCloudPCRoleAssignmentIdPrincipalId) Segments() []resource } } -// String returns a human-readable description of this Role Management Cloud P C Role Assignment Id Principal ID +// String returns a human-readable description of this Role Management Cloud PC Role Assignment Id Principal ID func (id RoleManagementCloudPCRoleAssignmentIdPrincipalId) String() string { components := []string{ fmt.Sprintf("Unified Role Assignment Multiple: %q", id.UnifiedRoleAssignmentMultipleId), fmt.Sprintf("Directory Object: %q", id.DirectoryObjectId), } - return fmt.Sprintf("Role Management Cloud P C Role Assignment Id Principal (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Role Management Cloud PC Role Assignment Id Principal (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroledefinition.go b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroledefinition.go index b8b828c50ed..059284ce5bd 100644 --- a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroledefinition.go +++ b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroledefinition.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &RoleManagementCloudPCRoleDefinitionId{} -// RoleManagementCloudPCRoleDefinitionId is a struct representing the Resource ID for a Role Management Cloud P C Role Definition +// RoleManagementCloudPCRoleDefinitionId is a struct representing the Resource ID for a Role Management Cloud PC Role Definition type RoleManagementCloudPCRoleDefinitionId struct { UnifiedRoleDefinitionId string } @@ -67,7 +67,7 @@ func (id *RoleManagementCloudPCRoleDefinitionId) FromParseResult(input resourcei return nil } -// ValidateRoleManagementCloudPCRoleDefinitionID checks that 'input' can be parsed as a Role Management Cloud P C Role Definition ID +// ValidateRoleManagementCloudPCRoleDefinitionID checks that 'input' can be parsed as a Role Management Cloud PC Role Definition ID func ValidateRoleManagementCloudPCRoleDefinitionID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateRoleManagementCloudPCRoleDefinitionID(input interface{}, key string return } -// ID returns the formatted Role Management Cloud P C Role Definition ID +// ID returns the formatted Role Management Cloud PC Role Definition ID func (id RoleManagementCloudPCRoleDefinitionId) ID() string { fmtString := "/roleManagement/cloudPC/roleDefinitions/%s" return fmt.Sprintf(fmtString, id.UnifiedRoleDefinitionId) } -// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud P C Role Definition ID +// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud PC Role Definition ID func (id RoleManagementCloudPCRoleDefinitionId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("roleManagement", "roleManagement", "roleManagement"), @@ -98,10 +98,10 @@ func (id RoleManagementCloudPCRoleDefinitionId) Segments() []resourceids.Segment } } -// String returns a human-readable description of this Role Management Cloud P C Role Definition ID +// String returns a human-readable description of this Role Management Cloud PC Role Definition ID func (id RoleManagementCloudPCRoleDefinitionId) String() string { components := []string{ fmt.Sprintf("Unified Role Definition: %q", id.UnifiedRoleDefinitionId), } - return fmt.Sprintf("Role Management Cloud P C Role Definition (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Role Management Cloud PC Role Definition (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroledefinitionidinheritspermissionsfrom.go b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroledefinitionidinheritspermissionsfrom.go index fe2491cbafb..64465cf9128 100644 --- a/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroledefinitionidinheritspermissionsfrom.go +++ b/microsoft-graph/common-types/beta/id_rolemanagementcloudpcroledefinitionidinheritspermissionsfrom.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &RoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromId{} -// RoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromId is a struct representing the Resource ID for a Role Management Cloud P C Role Definition Id Inherits Permissions From +// RoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromId is a struct representing the Resource ID for a Role Management Cloud PC Role Definition Id Inherits Permissions From type RoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromId struct { UnifiedRoleDefinitionId string UnifiedRoleDefinitionId1 string @@ -73,7 +73,7 @@ func (id *RoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromId) FromPa return nil } -// ValidateRoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromID checks that 'input' can be parsed as a Role Management Cloud P C Role Definition Id Inherits Permissions From ID +// ValidateRoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromID checks that 'input' can be parsed as a Role Management Cloud PC Role Definition Id Inherits Permissions From ID func ValidateRoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateRoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromID(inpu return } -// ID returns the formatted Role Management Cloud P C Role Definition Id Inherits Permissions From ID +// ID returns the formatted Role Management Cloud PC Role Definition Id Inherits Permissions From ID func (id RoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromId) ID() string { fmtString := "/roleManagement/cloudPC/roleDefinitions/%s/inheritsPermissionsFrom/%s" return fmt.Sprintf(fmtString, id.UnifiedRoleDefinitionId, id.UnifiedRoleDefinitionId1) } -// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud P C Role Definition Id Inherits Permissions From ID +// Segments returns a slice of Resource ID Segments which comprise this Role Management Cloud PC Role Definition Id Inherits Permissions From ID func (id RoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("roleManagement", "roleManagement", "roleManagement"), @@ -106,11 +106,11 @@ func (id RoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromId) Segment } } -// String returns a human-readable description of this Role Management Cloud P C Role Definition Id Inherits Permissions From ID +// String returns a human-readable description of this Role Management Cloud PC Role Definition Id Inherits Permissions From ID func (id RoleManagementCloudPCRoleDefinitionIdInheritsPermissionsFromId) String() string { components := []string{ fmt.Sprintf("Unified Role Definition: %q", id.UnifiedRoleDefinitionId), fmt.Sprintf("Unified Role Definition Id 1: %q", id.UnifiedRoleDefinitionId1), } - return fmt.Sprintf("Role Management Cloud P C Role Definition Id Inherits Permissions From (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Role Management Cloud PC Role Definition Id Inherits Permissions From (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_useridcloudpc.go b/microsoft-graph/common-types/beta/id_useridcloudpc.go index 530d01698d2..98e93ec6fa5 100644 --- a/microsoft-graph/common-types/beta/id_useridcloudpc.go +++ b/microsoft-graph/common-types/beta/id_useridcloudpc.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &UserIdCloudPCId{} -// UserIdCloudPCId is a struct representing the Resource ID for a User Id Cloud P C +// UserIdCloudPCId is a struct representing the Resource ID for a User Id Cloud PC type UserIdCloudPCId struct { UserId string CloudPCId string @@ -73,7 +73,7 @@ func (id *UserIdCloudPCId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidateUserIdCloudPCID checks that 'input' can be parsed as a User Id Cloud P C ID +// ValidateUserIdCloudPCID checks that 'input' can be parsed as a User Id Cloud PC ID func ValidateUserIdCloudPCID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateUserIdCloudPCID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted User Id Cloud P C ID +// ID returns the formatted User Id Cloud PC ID func (id UserIdCloudPCId) ID() string { fmtString := "/users/%s/cloudPCs/%s" return fmt.Sprintf(fmtString, id.UserId, id.CloudPCId) } -// Segments returns a slice of Resource ID Segments which comprise this User Id Cloud P C ID +// Segments returns a slice of Resource ID Segments which comprise this User Id Cloud PC ID func (id UserIdCloudPCId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("users", "users", "users"), @@ -104,11 +104,11 @@ func (id UserIdCloudPCId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this User Id Cloud P C ID +// String returns a human-readable description of this User Id Cloud PC ID func (id UserIdCloudPCId) String() string { components := []string{ fmt.Sprintf("User: %q", id.UserId), - fmt.Sprintf("Cloud P C: %q", id.CloudPCId), + fmt.Sprintf("Cloud PC: %q", id.CloudPCId), } - return fmt.Sprintf("User Id Cloud P C (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("User Id Cloud PC (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_useriddriveidactivity.go b/microsoft-graph/common-types/beta/id_useriddriveidactivity.go index 29389023678..156e51e68a9 100644 --- a/microsoft-graph/common-types/beta/id_useriddriveidactivity.go +++ b/microsoft-graph/common-types/beta/id_useriddriveidactivity.go @@ -117,7 +117,7 @@ func (id UserIdDriveIdActivityId) String() string { components := []string{ fmt.Sprintf("User: %q", id.UserId), fmt.Sprintf("Drive: %q", id.DriveId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("User Id Drive Id Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_useriddriveiditemidactivity.go b/microsoft-graph/common-types/beta/id_useriddriveiditemidactivity.go index d13ffaea1da..38a9e29f6c3 100644 --- a/microsoft-graph/common-types/beta/id_useriddriveiditemidactivity.go +++ b/microsoft-graph/common-types/beta/id_useriddriveiditemidactivity.go @@ -126,7 +126,7 @@ func (id UserIdDriveIdItemIdActivityId) String() string { fmt.Sprintf("User: %q", id.UserId), fmt.Sprintf("Drive: %q", id.DriveId), fmt.Sprintf("Drive Item: %q", id.DriveItemId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("User Id Drive Id Item Id Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_useriddriveiditemidlistitemactivity.go b/microsoft-graph/common-types/beta/id_useriddriveiditemidlistitemactivity.go index 116e2bc66f5..850c27d5391 100644 --- a/microsoft-graph/common-types/beta/id_useriddriveiditemidlistitemactivity.go +++ b/microsoft-graph/common-types/beta/id_useriddriveiditemidlistitemactivity.go @@ -127,7 +127,7 @@ func (id UserIdDriveIdItemIdListItemActivityId) String() string { fmt.Sprintf("User: %q", id.UserId), fmt.Sprintf("Drive: %q", id.DriveId), fmt.Sprintf("Drive Item: %q", id.DriveItemId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("User Id Drive Id Item Id List Item Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_useriddriveidlistitemidactivity.go b/microsoft-graph/common-types/beta/id_useriddriveidlistitemidactivity.go index c15c443ee23..ab5d6e3b181 100644 --- a/microsoft-graph/common-types/beta/id_useriddriveidlistitemidactivity.go +++ b/microsoft-graph/common-types/beta/id_useriddriveidlistitemidactivity.go @@ -127,7 +127,7 @@ func (id UserIdDriveIdListItemIdActivityId) String() string { fmt.Sprintf("User: %q", id.UserId), fmt.Sprintf("Drive: %q", id.DriveId), fmt.Sprintf("List Item: %q", id.ListItemId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("User Id Drive Id List Item Id Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_useriddriveidrootactivity.go b/microsoft-graph/common-types/beta/id_useriddriveidrootactivity.go index 4694a563630..9cb86edfa4f 100644 --- a/microsoft-graph/common-types/beta/id_useriddriveidrootactivity.go +++ b/microsoft-graph/common-types/beta/id_useriddriveidrootactivity.go @@ -118,7 +118,7 @@ func (id UserIdDriveIdRootActivityId) String() string { components := []string{ fmt.Sprintf("User: %q", id.UserId), fmt.Sprintf("Drive: %q", id.DriveId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("User Id Drive Id Root Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/beta/id_useriddriveidrootlistitemactivity.go b/microsoft-graph/common-types/beta/id_useriddriveidrootlistitemactivity.go index 124d51b8c43..a8fdda352cd 100644 --- a/microsoft-graph/common-types/beta/id_useriddriveidrootlistitemactivity.go +++ b/microsoft-graph/common-types/beta/id_useriddriveidrootlistitemactivity.go @@ -119,7 +119,7 @@ func (id UserIdDriveIdRootListItemActivityId) String() string { components := []string{ fmt.Sprintf("User: %q", id.UserId), fmt.Sprintf("Drive: %q", id.DriveId), - fmt.Sprintf("Item Activity O L D: %q", id.ItemActivityOLDId), + fmt.Sprintf("Item Activity OLD: %q", id.ItemActivityOLDId), } return fmt.Sprintf("User Id Drive Id Root List Item Activity (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_devicemanagementuserexperienceanalyticsapphealthapplicationperformancebyosversion.go b/microsoft-graph/common-types/stable/id_devicemanagementuserexperienceanalyticsapphealthapplicationperformancebyosversion.go index 5e91209f15d..41541ac37ff 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementuserexperienceanalyticsapphealthapplicationperformancebyosversion.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementuserexperienceanalyticsapphealthapplicationperformancebyosversion.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId{} -// DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId is a struct representing the Resource ID for a Device Management User Experience Analytics App Health Application Performance By O S Version +// DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId is a struct representing the Resource ID for a Device Management User Experience Analytics App Health Application Performance By OS Version type DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId struct { UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionId string } @@ -67,7 +67,7 @@ func (id *DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformance return nil } -// ValidateDeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionID checks that 'input' can be parsed as a Device Management User Experience Analytics App Health Application Performance By O S Version ID +// ValidateDeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionID checks that 'input' can be parsed as a Device Management User Experience Analytics App Health Application Performance By OS Version ID func ValidateDeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateDeviceManagementUserExperienceAnalyticsAppHealthApplicationPerforma return } -// ID returns the formatted Device Management User Experience Analytics App Health Application Performance By O S Version ID +// ID returns the formatted Device Management User Experience Analytics App Health Application Performance By OS Version ID func (id DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId) ID() string { fmtString := "/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/%s" return fmt.Sprintf(fmtString, id.UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management User Experience Analytics App Health Application Performance By O S Version ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management User Experience Analytics App Health Application Performance By OS Version ID func (id DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -97,10 +97,10 @@ func (id DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceB } } -// String returns a human-readable description of this Device Management User Experience Analytics App Health Application Performance By O S Version ID +// String returns a human-readable description of this Device Management User Experience Analytics App Health Application Performance By OS Version ID func (id DeviceManagementUserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionId) String() string { components := []string{ - fmt.Sprintf("User Experience Analytics App Health App Performance By O S Version: %q", id.UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionId), + fmt.Sprintf("User Experience Analytics App Health App Performance By OS Version: %q", id.UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionId), } - return fmt.Sprintf("Device Management User Experience Analytics App Health Application Performance By O S Version (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management User Experience Analytics App Health Application Performance By OS Version (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_devicemanagementuserexperienceanalyticsapphealthosversionperformance.go b/microsoft-graph/common-types/stable/id_devicemanagementuserexperienceanalyticsapphealthosversionperformance.go index a96fd5b57a6..d6805707353 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementuserexperienceanalyticsapphealthosversionperformance.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementuserexperienceanalyticsapphealthosversionperformance.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId{} -// DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId is a struct representing the Resource ID for a Device Management User Experience Analytics App Health O S Version Performance +// DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId is a struct representing the Resource ID for a Device Management User Experience Analytics App Health OS Version Performance type DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId struct { UserExperienceAnalyticsAppHealthOSVersionPerformanceId string } @@ -67,7 +67,7 @@ func (id *DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId return nil } -// ValidateDeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceID checks that 'input' can be parsed as a Device Management User Experience Analytics App Health O S Version Performance ID +// ValidateDeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceID checks that 'input' can be parsed as a Device Management User Experience Analytics App Health OS Version Performance ID func ValidateDeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateDeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanc return } -// ID returns the formatted Device Management User Experience Analytics App Health O S Version Performance ID +// ID returns the formatted Device Management User Experience Analytics App Health OS Version Performance ID func (id DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId) ID() string { fmtString := "/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/%s" return fmt.Sprintf(fmtString, id.UserExperienceAnalyticsAppHealthOSVersionPerformanceId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management User Experience Analytics App Health O S Version Performance ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management User Experience Analytics App Health OS Version Performance ID func (id DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -97,10 +97,10 @@ func (id DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId) } } -// String returns a human-readable description of this Device Management User Experience Analytics App Health O S Version Performance ID +// String returns a human-readable description of this Device Management User Experience Analytics App Health OS Version Performance ID func (id DeviceManagementUserExperienceAnalyticsAppHealthOSVersionPerformanceId) String() string { components := []string{ - fmt.Sprintf("User Experience Analytics App Health O S Version Performance: %q", id.UserExperienceAnalyticsAppHealthOSVersionPerformanceId), + fmt.Sprintf("User Experience Analytics App Health OS Version Performance: %q", id.UserExperienceAnalyticsAppHealthOSVersionPerformanceId), } - return fmt.Sprintf("Device Management User Experience Analytics App Health O S Version Performance (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management User Experience Analytics App Health OS Version Performance (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointauditevent.go b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointauditevent.go index 4d3fab2ed7b..523f1d4755e 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointauditevent.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointauditevent.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointAuditEventId) Segments() []resourceids.S // String returns a human-readable description of this Device Management Virtual Endpoint Audit Event ID func (id DeviceManagementVirtualEndpointAuditEventId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Audit Event: %q", id.CloudPCAuditEventId), + fmt.Sprintf("Cloud PC Audit Event: %q", id.CloudPCAuditEventId), } return fmt.Sprintf("Device Management Virtual Endpoint Audit Event (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointcloudpc.go b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointcloudpc.go index 44f69e84e99..2a01f89fbc7 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointcloudpc.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointcloudpc.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &DeviceManagementVirtualEndpointCloudPCId{} -// DeviceManagementVirtualEndpointCloudPCId is a struct representing the Resource ID for a Device Management Virtual Endpoint Cloud P C +// DeviceManagementVirtualEndpointCloudPCId is a struct representing the Resource ID for a Device Management Virtual Endpoint Cloud PC type DeviceManagementVirtualEndpointCloudPCId struct { CloudPCId string } @@ -67,7 +67,7 @@ func (id *DeviceManagementVirtualEndpointCloudPCId) FromParseResult(input resour return nil } -// ValidateDeviceManagementVirtualEndpointCloudPCID checks that 'input' can be parsed as a Device Management Virtual Endpoint Cloud P C ID +// ValidateDeviceManagementVirtualEndpointCloudPCID checks that 'input' can be parsed as a Device Management Virtual Endpoint Cloud PC ID func ValidateDeviceManagementVirtualEndpointCloudPCID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateDeviceManagementVirtualEndpointCloudPCID(input interface{}, key str return } -// ID returns the formatted Device Management Virtual Endpoint Cloud P C ID +// ID returns the formatted Device Management Virtual Endpoint Cloud PC ID func (id DeviceManagementVirtualEndpointCloudPCId) ID() string { fmtString := "/deviceManagement/virtualEndpoint/cloudPCs/%s" return fmt.Sprintf(fmtString, id.CloudPCId) } -// Segments returns a slice of Resource ID Segments which comprise this Device Management Virtual Endpoint Cloud P C ID +// Segments returns a slice of Resource ID Segments which comprise this Device Management Virtual Endpoint Cloud PC ID func (id DeviceManagementVirtualEndpointCloudPCId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("deviceManagement", "deviceManagement", "deviceManagement"), @@ -98,10 +98,10 @@ func (id DeviceManagementVirtualEndpointCloudPCId) Segments() []resourceids.Segm } } -// String returns a human-readable description of this Device Management Virtual Endpoint Cloud P C ID +// String returns a human-readable description of this Device Management Virtual Endpoint Cloud PC ID func (id DeviceManagementVirtualEndpointCloudPCId) String() string { components := []string{ - fmt.Sprintf("Cloud P C: %q", id.CloudPCId), + fmt.Sprintf("Cloud PC: %q", id.CloudPCId), } - return fmt.Sprintf("Device Management Virtual Endpoint Cloud P C (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Device Management Virtual Endpoint Cloud PC (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointdeviceimage.go b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointdeviceimage.go index 0cbafe222f0..5c0a4527194 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointdeviceimage.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointdeviceimage.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointDeviceImageId) Segments() []resourceids. // String returns a human-readable description of this Device Management Virtual Endpoint Device Image ID func (id DeviceManagementVirtualEndpointDeviceImageId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Device Image: %q", id.CloudPCDeviceImageId), + fmt.Sprintf("Cloud PC Device Image: %q", id.CloudPCDeviceImageId), } return fmt.Sprintf("Device Management Virtual Endpoint Device Image (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointgalleryimage.go b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointgalleryimage.go index e82e9ff81db..099f9d663b8 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointgalleryimage.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointgalleryimage.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointGalleryImageId) Segments() []resourceids // String returns a human-readable description of this Device Management Virtual Endpoint Gallery Image ID func (id DeviceManagementVirtualEndpointGalleryImageId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Gallery Image: %q", id.CloudPCGalleryImageId), + fmt.Sprintf("Cloud PC Gallery Image: %q", id.CloudPCGalleryImageId), } return fmt.Sprintf("Device Management Virtual Endpoint Gallery Image (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointonpremisesconnection.go b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointonpremisesconnection.go index 18eb3c53efd..4e6061612dd 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointonpremisesconnection.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointonpremisesconnection.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointOnPremisesConnectionId) Segments() []res // String returns a human-readable description of this Device Management Virtual Endpoint On Premises Connection ID func (id DeviceManagementVirtualEndpointOnPremisesConnectionId) String() string { components := []string{ - fmt.Sprintf("Cloud P C On Premises Connection: %q", id.CloudPCOnPremisesConnectionId), + fmt.Sprintf("Cloud PC On Premises Connection: %q", id.CloudPCOnPremisesConnectionId), } return fmt.Sprintf("Device Management Virtual Endpoint On Premises Connection (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicy.go b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicy.go index 82562cf6e6f..06d4426f85f 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicy.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicy.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointProvisioningPolicyId) Segments() []resou // String returns a human-readable description of this Device Management Virtual Endpoint Provisioning Policy ID func (id DeviceManagementVirtualEndpointProvisioningPolicyId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), + fmt.Sprintf("Cloud PC Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), } return fmt.Sprintf("Device Management Virtual Endpoint Provisioning Policy (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicyidassignment.go b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicyidassignment.go index 6c803f6ba83..556d1e3985f 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicyidassignment.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicyidassignment.go @@ -109,8 +109,8 @@ func (id DeviceManagementVirtualEndpointProvisioningPolicyIdAssignmentId) Segmen // String returns a human-readable description of this Device Management Virtual Endpoint Provisioning Policy Id Assignment ID func (id DeviceManagementVirtualEndpointProvisioningPolicyIdAssignmentId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), - fmt.Sprintf("Cloud P C Provisioning Policy Assignment: %q", id.CloudPCProvisioningPolicyAssignmentId), + fmt.Sprintf("Cloud PC Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), + fmt.Sprintf("Cloud PC Provisioning Policy Assignment: %q", id.CloudPCProvisioningPolicyAssignmentId), } return fmt.Sprintf("Device Management Virtual Endpoint Provisioning Policy Id Assignment (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicyidassignmentidassigneduser.go b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicyidassignmentidassigneduser.go index 9265ccbbc53..e38a75699ce 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicyidassignmentidassigneduser.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointprovisioningpolicyidassignmentidassigneduser.go @@ -117,8 +117,8 @@ func (id DeviceManagementVirtualEndpointProvisioningPolicyIdAssignmentIdAssigned // String returns a human-readable description of this Device Management Virtual Endpoint Provisioning Policy Id Assignment Id Assigned User ID func (id DeviceManagementVirtualEndpointProvisioningPolicyIdAssignmentIdAssignedUserId) String() string { components := []string{ - fmt.Sprintf("Cloud P C Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), - fmt.Sprintf("Cloud P C Provisioning Policy Assignment: %q", id.CloudPCProvisioningPolicyAssignmentId), + fmt.Sprintf("Cloud PC Provisioning Policy: %q", id.CloudPCProvisioningPolicyId), + fmt.Sprintf("Cloud PC Provisioning Policy Assignment: %q", id.CloudPCProvisioningPolicyAssignmentId), fmt.Sprintf("User: %q", id.UserId), } return fmt.Sprintf("Device Management Virtual Endpoint Provisioning Policy Id Assignment Id Assigned User (%s)", strings.Join(components, "\n")) diff --git a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointusersetting.go b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointusersetting.go index d94c9be09f1..cd5a3ef9969 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointusersetting.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointusersetting.go @@ -101,7 +101,7 @@ func (id DeviceManagementVirtualEndpointUserSettingId) Segments() []resourceids. // String returns a human-readable description of this Device Management Virtual Endpoint User Setting ID func (id DeviceManagementVirtualEndpointUserSettingId) String() string { components := []string{ - fmt.Sprintf("Cloud P C User Setting: %q", id.CloudPCUserSettingId), + fmt.Sprintf("Cloud PC User Setting: %q", id.CloudPCUserSettingId), } return fmt.Sprintf("Device Management Virtual Endpoint User Setting (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointusersettingidassignment.go b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointusersettingidassignment.go index 9ac72bebc7c..4e1cb8b093f 100644 --- a/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointusersettingidassignment.go +++ b/microsoft-graph/common-types/stable/id_devicemanagementvirtualendpointusersettingidassignment.go @@ -109,8 +109,8 @@ func (id DeviceManagementVirtualEndpointUserSettingIdAssignmentId) Segments() [] // String returns a human-readable description of this Device Management Virtual Endpoint User Setting Id Assignment ID func (id DeviceManagementVirtualEndpointUserSettingIdAssignmentId) String() string { components := []string{ - fmt.Sprintf("Cloud P C User Setting: %q", id.CloudPCUserSettingId), - fmt.Sprintf("Cloud P C User Setting Assignment: %q", id.CloudPCUserSettingAssignmentId), + fmt.Sprintf("Cloud PC User Setting: %q", id.CloudPCUserSettingId), + fmt.Sprintf("Cloud PC User Setting Assignment: %q", id.CloudPCUserSettingAssignmentId), } return fmt.Sprintf("Device Management Virtual Endpoint User Setting Id Assignment (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_identityb2xuserflow.go b/microsoft-graph/common-types/stable/id_identityb2xuserflow.go index 09086dfd9f4..8d6ee1c818c 100644 --- a/microsoft-graph/common-types/stable/id_identityb2xuserflow.go +++ b/microsoft-graph/common-types/stable/id_identityb2xuserflow.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &IdentityB2xUserFlowId{} -// IdentityB2xUserFlowId is a struct representing the Resource ID for a Identity B 2x User Flow +// IdentityB2xUserFlowId is a struct representing the Resource ID for a Identity B 2 x User Flow type IdentityB2xUserFlowId struct { B2xIdentityUserFlowId string } @@ -67,7 +67,7 @@ func (id *IdentityB2xUserFlowId) FromParseResult(input resourceids.ParseResult) return nil } -// ValidateIdentityB2xUserFlowID checks that 'input' can be parsed as a Identity B 2x User Flow ID +// ValidateIdentityB2xUserFlowID checks that 'input' can be parsed as a Identity B 2 x User Flow ID func ValidateIdentityB2xUserFlowID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -82,13 +82,13 @@ func ValidateIdentityB2xUserFlowID(input interface{}, key string) (warnings []st return } -// ID returns the formatted Identity B 2x User Flow ID +// ID returns the formatted Identity B 2 x User Flow ID func (id IdentityB2xUserFlowId) ID() string { fmtString := "/identity/b2xUserFlows/%s" return fmt.Sprintf(fmtString, id.B2xIdentityUserFlowId) } -// Segments returns a slice of Resource ID Segments which comprise this Identity B 2x User Flow ID +// Segments returns a slice of Resource ID Segments which comprise this Identity B 2 x User Flow ID func (id IdentityB2xUserFlowId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("identity", "identity", "identity"), @@ -97,10 +97,10 @@ func (id IdentityB2xUserFlowId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Identity B 2x User Flow ID +// String returns a human-readable description of this Identity B 2 x User Flow ID func (id IdentityB2xUserFlowId) String() string { components := []string{ - fmt.Sprintf("B 2x Identity User Flow: %q", id.B2xIdentityUserFlowId), + fmt.Sprintf("B 2 x Identity User Flow: %q", id.B2xIdentityUserFlowId), } - return fmt.Sprintf("Identity B 2x User Flow (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Identity B 2 x User Flow (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_identityb2xuserflowididentityprovider.go b/microsoft-graph/common-types/stable/id_identityb2xuserflowididentityprovider.go index e85142a7812..c9756d59b43 100644 --- a/microsoft-graph/common-types/stable/id_identityb2xuserflowididentityprovider.go +++ b/microsoft-graph/common-types/stable/id_identityb2xuserflowididentityprovider.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &IdentityB2xUserFlowIdIdentityProviderId{} -// IdentityB2xUserFlowIdIdentityProviderId is a struct representing the Resource ID for a Identity B 2x User Flow Id Identity Provider +// IdentityB2xUserFlowIdIdentityProviderId is a struct representing the Resource ID for a Identity B 2 x User Flow Id Identity Provider type IdentityB2xUserFlowIdIdentityProviderId struct { B2xIdentityUserFlowId string IdentityProviderId string @@ -73,7 +73,7 @@ func (id *IdentityB2xUserFlowIdIdentityProviderId) FromParseResult(input resourc return nil } -// ValidateIdentityB2xUserFlowIdIdentityProviderID checks that 'input' can be parsed as a Identity B 2x User Flow Id Identity Provider ID +// ValidateIdentityB2xUserFlowIdIdentityProviderID checks that 'input' can be parsed as a Identity B 2 x User Flow Id Identity Provider ID func ValidateIdentityB2xUserFlowIdIdentityProviderID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateIdentityB2xUserFlowIdIdentityProviderID(input interface{}, key stri return } -// ID returns the formatted Identity B 2x User Flow Id Identity Provider ID +// ID returns the formatted Identity B 2 x User Flow Id Identity Provider ID func (id IdentityB2xUserFlowIdIdentityProviderId) ID() string { fmtString := "/identity/b2xUserFlows/%s/identityProviders/%s" return fmt.Sprintf(fmtString, id.B2xIdentityUserFlowId, id.IdentityProviderId) } -// Segments returns a slice of Resource ID Segments which comprise this Identity B 2x User Flow Id Identity Provider ID +// Segments returns a slice of Resource ID Segments which comprise this Identity B 2 x User Flow Id Identity Provider ID func (id IdentityB2xUserFlowIdIdentityProviderId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("identity", "identity", "identity"), @@ -105,11 +105,11 @@ func (id IdentityB2xUserFlowIdIdentityProviderId) Segments() []resourceids.Segme } } -// String returns a human-readable description of this Identity B 2x User Flow Id Identity Provider ID +// String returns a human-readable description of this Identity B 2 x User Flow Id Identity Provider ID func (id IdentityB2xUserFlowIdIdentityProviderId) String() string { components := []string{ - fmt.Sprintf("B 2x Identity User Flow: %q", id.B2xIdentityUserFlowId), + fmt.Sprintf("B 2 x Identity User Flow: %q", id.B2xIdentityUserFlowId), fmt.Sprintf("Identity Provider: %q", id.IdentityProviderId), } - return fmt.Sprintf("Identity B 2x User Flow Id Identity Provider (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Identity B 2 x User Flow Id Identity Provider (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguage.go b/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguage.go index 4d1c5df77bc..87492333515 100644 --- a/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguage.go +++ b/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguage.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &IdentityB2xUserFlowIdLanguageId{} -// IdentityB2xUserFlowIdLanguageId is a struct representing the Resource ID for a Identity B 2x User Flow Id Language +// IdentityB2xUserFlowIdLanguageId is a struct representing the Resource ID for a Identity B 2 x User Flow Id Language type IdentityB2xUserFlowIdLanguageId struct { B2xIdentityUserFlowId string UserFlowLanguageConfigurationId string @@ -73,7 +73,7 @@ func (id *IdentityB2xUserFlowIdLanguageId) FromParseResult(input resourceids.Par return nil } -// ValidateIdentityB2xUserFlowIdLanguageID checks that 'input' can be parsed as a Identity B 2x User Flow Id Language ID +// ValidateIdentityB2xUserFlowIdLanguageID checks that 'input' can be parsed as a Identity B 2 x User Flow Id Language ID func ValidateIdentityB2xUserFlowIdLanguageID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateIdentityB2xUserFlowIdLanguageID(input interface{}, key string) (war return } -// ID returns the formatted Identity B 2x User Flow Id Language ID +// ID returns the formatted Identity B 2 x User Flow Id Language ID func (id IdentityB2xUserFlowIdLanguageId) ID() string { fmtString := "/identity/b2xUserFlows/%s/languages/%s" return fmt.Sprintf(fmtString, id.B2xIdentityUserFlowId, id.UserFlowLanguageConfigurationId) } -// Segments returns a slice of Resource ID Segments which comprise this Identity B 2x User Flow Id Language ID +// Segments returns a slice of Resource ID Segments which comprise this Identity B 2 x User Flow Id Language ID func (id IdentityB2xUserFlowIdLanguageId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("identity", "identity", "identity"), @@ -105,11 +105,11 @@ func (id IdentityB2xUserFlowIdLanguageId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Identity B 2x User Flow Id Language ID +// String returns a human-readable description of this Identity B 2 x User Flow Id Language ID func (id IdentityB2xUserFlowIdLanguageId) String() string { components := []string{ - fmt.Sprintf("B 2x Identity User Flow: %q", id.B2xIdentityUserFlowId), + fmt.Sprintf("B 2 x Identity User Flow: %q", id.B2xIdentityUserFlowId), fmt.Sprintf("User Flow Language Configuration: %q", id.UserFlowLanguageConfigurationId), } - return fmt.Sprintf("Identity B 2x User Flow Id Language (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Identity B 2 x User Flow Id Language (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguageiddefaultpage.go b/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguageiddefaultpage.go index fe6a0f77dfa..45bd11a4b96 100644 --- a/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguageiddefaultpage.go +++ b/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguageiddefaultpage.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &IdentityB2xUserFlowIdLanguageIdDefaultPageId{} -// IdentityB2xUserFlowIdLanguageIdDefaultPageId is a struct representing the Resource ID for a Identity B 2x User Flow Id Language Id Default Page +// IdentityB2xUserFlowIdLanguageIdDefaultPageId is a struct representing the Resource ID for a Identity B 2 x User Flow Id Language Id Default Page type IdentityB2xUserFlowIdLanguageIdDefaultPageId struct { B2xIdentityUserFlowId string UserFlowLanguageConfigurationId string @@ -79,7 +79,7 @@ func (id *IdentityB2xUserFlowIdLanguageIdDefaultPageId) FromParseResult(input re return nil } -// ValidateIdentityB2xUserFlowIdLanguageIdDefaultPageID checks that 'input' can be parsed as a Identity B 2x User Flow Id Language Id Default Page ID +// ValidateIdentityB2xUserFlowIdLanguageIdDefaultPageID checks that 'input' can be parsed as a Identity B 2 x User Flow Id Language Id Default Page ID func ValidateIdentityB2xUserFlowIdLanguageIdDefaultPageID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -94,13 +94,13 @@ func ValidateIdentityB2xUserFlowIdLanguageIdDefaultPageID(input interface{}, key return } -// ID returns the formatted Identity B 2x User Flow Id Language Id Default Page ID +// ID returns the formatted Identity B 2 x User Flow Id Language Id Default Page ID func (id IdentityB2xUserFlowIdLanguageIdDefaultPageId) ID() string { fmtString := "/identity/b2xUserFlows/%s/languages/%s/defaultPages/%s" return fmt.Sprintf(fmtString, id.B2xIdentityUserFlowId, id.UserFlowLanguageConfigurationId, id.UserFlowLanguagePageId) } -// Segments returns a slice of Resource ID Segments which comprise this Identity B 2x User Flow Id Language Id Default Page ID +// Segments returns a slice of Resource ID Segments which comprise this Identity B 2 x User Flow Id Language Id Default Page ID func (id IdentityB2xUserFlowIdLanguageIdDefaultPageId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("identity", "identity", "identity"), @@ -113,12 +113,12 @@ func (id IdentityB2xUserFlowIdLanguageIdDefaultPageId) Segments() []resourceids. } } -// String returns a human-readable description of this Identity B 2x User Flow Id Language Id Default Page ID +// String returns a human-readable description of this Identity B 2 x User Flow Id Language Id Default Page ID func (id IdentityB2xUserFlowIdLanguageIdDefaultPageId) String() string { components := []string{ - fmt.Sprintf("B 2x Identity User Flow: %q", id.B2xIdentityUserFlowId), + fmt.Sprintf("B 2 x Identity User Flow: %q", id.B2xIdentityUserFlowId), fmt.Sprintf("User Flow Language Configuration: %q", id.UserFlowLanguageConfigurationId), fmt.Sprintf("User Flow Language Page: %q", id.UserFlowLanguagePageId), } - return fmt.Sprintf("Identity B 2x User Flow Id Language Id Default Page (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Identity B 2 x User Flow Id Language Id Default Page (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguageidoverridespage.go b/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguageidoverridespage.go index d6e76faf405..adf9a331df7 100644 --- a/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguageidoverridespage.go +++ b/microsoft-graph/common-types/stable/id_identityb2xuserflowidlanguageidoverridespage.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &IdentityB2xUserFlowIdLanguageIdOverridesPageId{} -// IdentityB2xUserFlowIdLanguageIdOverridesPageId is a struct representing the Resource ID for a Identity B 2x User Flow Id Language Id Overrides Page +// IdentityB2xUserFlowIdLanguageIdOverridesPageId is a struct representing the Resource ID for a Identity B 2 x User Flow Id Language Id Overrides Page type IdentityB2xUserFlowIdLanguageIdOverridesPageId struct { B2xIdentityUserFlowId string UserFlowLanguageConfigurationId string @@ -79,7 +79,7 @@ func (id *IdentityB2xUserFlowIdLanguageIdOverridesPageId) FromParseResult(input return nil } -// ValidateIdentityB2xUserFlowIdLanguageIdOverridesPageID checks that 'input' can be parsed as a Identity B 2x User Flow Id Language Id Overrides Page ID +// ValidateIdentityB2xUserFlowIdLanguageIdOverridesPageID checks that 'input' can be parsed as a Identity B 2 x User Flow Id Language Id Overrides Page ID func ValidateIdentityB2xUserFlowIdLanguageIdOverridesPageID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -94,13 +94,13 @@ func ValidateIdentityB2xUserFlowIdLanguageIdOverridesPageID(input interface{}, k return } -// ID returns the formatted Identity B 2x User Flow Id Language Id Overrides Page ID +// ID returns the formatted Identity B 2 x User Flow Id Language Id Overrides Page ID func (id IdentityB2xUserFlowIdLanguageIdOverridesPageId) ID() string { fmtString := "/identity/b2xUserFlows/%s/languages/%s/overridesPages/%s" return fmt.Sprintf(fmtString, id.B2xIdentityUserFlowId, id.UserFlowLanguageConfigurationId, id.UserFlowLanguagePageId) } -// Segments returns a slice of Resource ID Segments which comprise this Identity B 2x User Flow Id Language Id Overrides Page ID +// Segments returns a slice of Resource ID Segments which comprise this Identity B 2 x User Flow Id Language Id Overrides Page ID func (id IdentityB2xUserFlowIdLanguageIdOverridesPageId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("identity", "identity", "identity"), @@ -113,12 +113,12 @@ func (id IdentityB2xUserFlowIdLanguageIdOverridesPageId) Segments() []resourceid } } -// String returns a human-readable description of this Identity B 2x User Flow Id Language Id Overrides Page ID +// String returns a human-readable description of this Identity B 2 x User Flow Id Language Id Overrides Page ID func (id IdentityB2xUserFlowIdLanguageIdOverridesPageId) String() string { components := []string{ - fmt.Sprintf("B 2x Identity User Flow: %q", id.B2xIdentityUserFlowId), + fmt.Sprintf("B 2 x Identity User Flow: %q", id.B2xIdentityUserFlowId), fmt.Sprintf("User Flow Language Configuration: %q", id.UserFlowLanguageConfigurationId), fmt.Sprintf("User Flow Language Page: %q", id.UserFlowLanguagePageId), } - return fmt.Sprintf("Identity B 2x User Flow Id Language Id Overrides Page (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Identity B 2 x User Flow Id Language Id Overrides Page (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_identityb2xuserflowiduserattributeassignment.go b/microsoft-graph/common-types/stable/id_identityb2xuserflowiduserattributeassignment.go index d1385bd0d66..e7f9662d862 100644 --- a/microsoft-graph/common-types/stable/id_identityb2xuserflowiduserattributeassignment.go +++ b/microsoft-graph/common-types/stable/id_identityb2xuserflowiduserattributeassignment.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &IdentityB2xUserFlowIdUserAttributeAssignmentId{} -// IdentityB2xUserFlowIdUserAttributeAssignmentId is a struct representing the Resource ID for a Identity B 2x User Flow Id User Attribute Assignment +// IdentityB2xUserFlowIdUserAttributeAssignmentId is a struct representing the Resource ID for a Identity B 2 x User Flow Id User Attribute Assignment type IdentityB2xUserFlowIdUserAttributeAssignmentId struct { B2xIdentityUserFlowId string IdentityUserFlowAttributeAssignmentId string @@ -73,7 +73,7 @@ func (id *IdentityB2xUserFlowIdUserAttributeAssignmentId) FromParseResult(input return nil } -// ValidateIdentityB2xUserFlowIdUserAttributeAssignmentID checks that 'input' can be parsed as a Identity B 2x User Flow Id User Attribute Assignment ID +// ValidateIdentityB2xUserFlowIdUserAttributeAssignmentID checks that 'input' can be parsed as a Identity B 2 x User Flow Id User Attribute Assignment ID func ValidateIdentityB2xUserFlowIdUserAttributeAssignmentID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateIdentityB2xUserFlowIdUserAttributeAssignmentID(input interface{}, k return } -// ID returns the formatted Identity B 2x User Flow Id User Attribute Assignment ID +// ID returns the formatted Identity B 2 x User Flow Id User Attribute Assignment ID func (id IdentityB2xUserFlowIdUserAttributeAssignmentId) ID() string { fmtString := "/identity/b2xUserFlows/%s/userAttributeAssignments/%s" return fmt.Sprintf(fmtString, id.B2xIdentityUserFlowId, id.IdentityUserFlowAttributeAssignmentId) } -// Segments returns a slice of Resource ID Segments which comprise this Identity B 2x User Flow Id User Attribute Assignment ID +// Segments returns a slice of Resource ID Segments which comprise this Identity B 2 x User Flow Id User Attribute Assignment ID func (id IdentityB2xUserFlowIdUserAttributeAssignmentId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("identity", "identity", "identity"), @@ -105,11 +105,11 @@ func (id IdentityB2xUserFlowIdUserAttributeAssignmentId) Segments() []resourceid } } -// String returns a human-readable description of this Identity B 2x User Flow Id User Attribute Assignment ID +// String returns a human-readable description of this Identity B 2 x User Flow Id User Attribute Assignment ID func (id IdentityB2xUserFlowIdUserAttributeAssignmentId) String() string { components := []string{ - fmt.Sprintf("B 2x Identity User Flow: %q", id.B2xIdentityUserFlowId), + fmt.Sprintf("B 2 x Identity User Flow: %q", id.B2xIdentityUserFlowId), fmt.Sprintf("Identity User Flow Attribute Assignment: %q", id.IdentityUserFlowAttributeAssignmentId), } - return fmt.Sprintf("Identity B 2x User Flow Id User Attribute Assignment (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Identity B 2 x User Flow Id User Attribute Assignment (%s)", strings.Join(components, "\n")) } diff --git a/microsoft-graph/common-types/stable/id_identityb2xuserflowiduserflowidentityprovider.go b/microsoft-graph/common-types/stable/id_identityb2xuserflowiduserflowidentityprovider.go index 5dec6621b30..d55e6d130a0 100644 --- a/microsoft-graph/common-types/stable/id_identityb2xuserflowiduserflowidentityprovider.go +++ b/microsoft-graph/common-types/stable/id_identityb2xuserflowiduserflowidentityprovider.go @@ -12,7 +12,7 @@ import ( var _ resourceids.ResourceId = &IdentityB2xUserFlowIdUserFlowIdentityProviderId{} -// IdentityB2xUserFlowIdUserFlowIdentityProviderId is a struct representing the Resource ID for a Identity B 2x User Flow Id User Flow Identity Provider +// IdentityB2xUserFlowIdUserFlowIdentityProviderId is a struct representing the Resource ID for a Identity B 2 x User Flow Id User Flow Identity Provider type IdentityB2xUserFlowIdUserFlowIdentityProviderId struct { B2xIdentityUserFlowId string IdentityProviderBaseId string @@ -73,7 +73,7 @@ func (id *IdentityB2xUserFlowIdUserFlowIdentityProviderId) FromParseResult(input return nil } -// ValidateIdentityB2xUserFlowIdUserFlowIdentityProviderID checks that 'input' can be parsed as a Identity B 2x User Flow Id User Flow Identity Provider ID +// ValidateIdentityB2xUserFlowIdUserFlowIdentityProviderID checks that 'input' can be parsed as a Identity B 2 x User Flow Id User Flow Identity Provider ID func ValidateIdentityB2xUserFlowIdUserFlowIdentityProviderID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -88,13 +88,13 @@ func ValidateIdentityB2xUserFlowIdUserFlowIdentityProviderID(input interface{}, return } -// ID returns the formatted Identity B 2x User Flow Id User Flow Identity Provider ID +// ID returns the formatted Identity B 2 x User Flow Id User Flow Identity Provider ID func (id IdentityB2xUserFlowIdUserFlowIdentityProviderId) ID() string { fmtString := "/identity/b2xUserFlows/%s/userFlowIdentityProviders/%s" return fmt.Sprintf(fmtString, id.B2xIdentityUserFlowId, id.IdentityProviderBaseId) } -// Segments returns a slice of Resource ID Segments which comprise this Identity B 2x User Flow Id User Flow Identity Provider ID +// Segments returns a slice of Resource ID Segments which comprise this Identity B 2 x User Flow Id User Flow Identity Provider ID func (id IdentityB2xUserFlowIdUserFlowIdentityProviderId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("identity", "identity", "identity"), @@ -105,11 +105,11 @@ func (id IdentityB2xUserFlowIdUserFlowIdentityProviderId) Segments() []resourcei } } -// String returns a human-readable description of this Identity B 2x User Flow Id User Flow Identity Provider ID +// String returns a human-readable description of this Identity B 2 x User Flow Id User Flow Identity Provider ID func (id IdentityB2xUserFlowIdUserFlowIdentityProviderId) String() string { components := []string{ - fmt.Sprintf("B 2x Identity User Flow: %q", id.B2xIdentityUserFlowId), + fmt.Sprintf("B 2 x Identity User Flow: %q", id.B2xIdentityUserFlowId), fmt.Sprintf("Identity Provider Base: %q", id.IdentityProviderBaseId), } - return fmt.Sprintf("Identity B 2x User Flow Id User Flow Identity Provider (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Identity B 2 x User Flow Id User Flow Identity Provider (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/automation/2023-11-01/module/id_powershell72module.go b/resource-manager/automation/2023-11-01/module/id_powershell72module.go index a61346f1005..b1718a99b8c 100644 --- a/resource-manager/automation/2023-11-01/module/id_powershell72module.go +++ b/resource-manager/automation/2023-11-01/module/id_powershell72module.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &PowerShell72ModuleId{} -// PowerShell72ModuleId is a struct representing the Resource ID for a Power Shell 7 2 Module +// PowerShell72ModuleId is a struct representing the Resource ID for a Power Shell 72 Module type PowerShell72ModuleId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *PowerShell72ModuleId) FromParseResult(input resourceids.ParseResult) e return nil } -// ValidatePowerShell72ModuleID checks that 'input' can be parsed as a Power Shell 7 2 Module ID +// ValidatePowerShell72ModuleID checks that 'input' can be parsed as a Power Shell 72 Module ID func ValidatePowerShell72ModuleID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidatePowerShell72ModuleID(input interface{}, key string) (warnings []str return } -// ID returns the formatted Power Shell 7 2 Module ID +// ID returns the formatted Power Shell 72 Module ID func (id PowerShell72ModuleId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Automation/automationAccounts/%s/powerShell72Modules/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.AutomationAccountName, id.PowerShell72ModuleName) } -// Segments returns a slice of Resource ID Segments which comprise this Power Shell 7 2 Module ID +// Segments returns a slice of Resource ID Segments which comprise this Power Shell 72 Module ID func (id PowerShell72ModuleId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id PowerShell72ModuleId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Power Shell 7 2 Module ID +// String returns a human-readable description of this Power Shell 72 Module ID func (id PowerShell72ModuleId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Automation Account Name: %q", id.AutomationAccountName), - fmt.Sprintf("Power Shell 7 2 Module Name: %q", id.PowerShell72ModuleName), + fmt.Sprintf("Power Shell 72 Module Name: %q", id.PowerShell72ModuleName), } - return fmt.Sprintf("Power Shell 7 2 Module (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Power Shell 72 Module (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/cognitive/2024-10-01/defenderforaisettings/id_defenderforaisetting.go b/resource-manager/cognitive/2024-10-01/defenderforaisettings/id_defenderforaisetting.go index 8b1be87a385..26757885847 100644 --- a/resource-manager/cognitive/2024-10-01/defenderforaisettings/id_defenderforaisetting.go +++ b/resource-manager/cognitive/2024-10-01/defenderforaisettings/id_defenderforaisetting.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &DefenderForAISettingId{} -// DefenderForAISettingId is a struct representing the Resource ID for a Defender For A I Setting +// DefenderForAISettingId is a struct representing the Resource ID for a Defender For AI Setting type DefenderForAISettingId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *DefenderForAISettingId) FromParseResult(input resourceids.ParseResult) return nil } -// ValidateDefenderForAISettingID checks that 'input' can be parsed as a Defender For A I Setting ID +// ValidateDefenderForAISettingID checks that 'input' can be parsed as a Defender For AI Setting ID func ValidateDefenderForAISettingID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateDefenderForAISettingID(input interface{}, key string) (warnings []s return } -// ID returns the formatted Defender For A I Setting ID +// ID returns the formatted Defender For AI Setting ID func (id DefenderForAISettingId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.CognitiveServices/accounts/%s/defenderForAISettings/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.AccountName, id.DefenderForAISettingName) } -// Segments returns a slice of Resource ID Segments which comprise this Defender For A I Setting ID +// Segments returns a slice of Resource ID Segments which comprise this Defender For AI Setting ID func (id DefenderForAISettingId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id DefenderForAISettingId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Defender For A I Setting ID +// String returns a human-readable description of this Defender For AI Setting ID func (id DefenderForAISettingId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Account Name: %q", id.AccountName), - fmt.Sprintf("Defender For A I Setting Name: %q", id.DefenderForAISettingName), + fmt.Sprintf("Defender For AI Setting Name: %q", id.DefenderForAISettingName), } - return fmt.Sprintf("Defender For A I Setting (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Defender For AI Setting (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts/model_accountproperties.go b/resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts/model_accountproperties.go index 1b8d31ba7fb..fbab2dc60e2 100644 --- a/resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts/model_accountproperties.go +++ b/resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts/model_accountproperties.go @@ -27,7 +27,7 @@ type AccountProperties struct { Locations *MultiRegionSettings `json:"locations,omitempty"` MigrationToken *string `json:"migrationToken,omitempty"` NetworkAcls *NetworkRuleSet `json:"networkAcls,omitempty"` - NetworkInjections *NetworkInjections `json:"networkInjections,omitempty"` + NetworkInjections *[]NetworkInjection `json:"networkInjections,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` diff --git a/resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts/model_networkinjections.go b/resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts/model_networkinjection.go similarity index 92% rename from resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts/model_networkinjections.go rename to resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts/model_networkinjection.go index d2cf8638aea..2eddbcb2b1f 100644 --- a/resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts/model_networkinjections.go +++ b/resource-manager/cognitive/2025-06-01/cognitiveservicesaccounts/model_networkinjection.go @@ -3,7 +3,7 @@ package cognitiveservicesaccounts // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. -type NetworkInjections struct { +type NetworkInjection struct { Scenario *ScenarioType `json:"scenario,omitempty"` SubnetArmId *string `json:"subnetArmId,omitempty"` UseMicrosoftManagedNetwork *bool `json:"useMicrosoftManagedNetwork,omitempty"` diff --git a/resource-manager/cognitive/2025-06-01/defenderforaisettings/id_defenderforaisetting.go b/resource-manager/cognitive/2025-06-01/defenderforaisettings/id_defenderforaisetting.go index 8b1be87a385..26757885847 100644 --- a/resource-manager/cognitive/2025-06-01/defenderforaisettings/id_defenderforaisetting.go +++ b/resource-manager/cognitive/2025-06-01/defenderforaisettings/id_defenderforaisetting.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &DefenderForAISettingId{} -// DefenderForAISettingId is a struct representing the Resource ID for a Defender For A I Setting +// DefenderForAISettingId is a struct representing the Resource ID for a Defender For AI Setting type DefenderForAISettingId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *DefenderForAISettingId) FromParseResult(input resourceids.ParseResult) return nil } -// ValidateDefenderForAISettingID checks that 'input' can be parsed as a Defender For A I Setting ID +// ValidateDefenderForAISettingID checks that 'input' can be parsed as a Defender For AI Setting ID func ValidateDefenderForAISettingID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateDefenderForAISettingID(input interface{}, key string) (warnings []s return } -// ID returns the formatted Defender For A I Setting ID +// ID returns the formatted Defender For AI Setting ID func (id DefenderForAISettingId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.CognitiveServices/accounts/%s/defenderForAISettings/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.AccountName, id.DefenderForAISettingName) } -// Segments returns a slice of Resource ID Segments which comprise this Defender For A I Setting ID +// Segments returns a slice of Resource ID Segments which comprise this Defender For AI Setting ID func (id DefenderForAISettingId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id DefenderForAISettingId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Defender For A I Setting ID +// String returns a human-readable description of this Defender For AI Setting ID func (id DefenderForAISettingId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Account Name: %q", id.AccountName), - fmt.Sprintf("Defender For A I Setting Name: %q", id.DefenderForAISettingName), + fmt.Sprintf("Defender For AI Setting Name: %q", id.DefenderForAISettingName), } - return fmt.Sprintf("Defender For A I Setting (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Defender For AI Setting (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/compute/2021-07-01/virtualmachineimages/id_vmimageoffer.go b/resource-manager/compute/2021-07-01/virtualmachineimages/id_vmimageoffer.go index 2739d80c546..72a84e34d62 100644 --- a/resource-manager/compute/2021-07-01/virtualmachineimages/id_vmimageoffer.go +++ b/resource-manager/compute/2021-07-01/virtualmachineimages/id_vmimageoffer.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VMImageOfferId{} -// VMImageOfferId is a struct representing the Resource ID for a V M Image Offer +// VMImageOfferId is a struct representing the Resource ID for a VM Image Offer type VMImageOfferId struct { SubscriptionId string LocationName string @@ -96,7 +96,7 @@ func (id *VMImageOfferId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVMImageOfferID checks that 'input' can be parsed as a V M Image Offer ID +// ValidateVMImageOfferID checks that 'input' can be parsed as a VM Image Offer ID func ValidateVMImageOfferID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -111,13 +111,13 @@ func ValidateVMImageOfferID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted V M Image Offer ID +// ID returns the formatted VM Image Offer ID func (id VMImageOfferId) ID() string { fmtString := "/subscriptions/%s/providers/Microsoft.Compute/locations/%s/edgeZones/%s/publishers/%s/artifactTypes/vmImage/offers/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.EdgeZoneName, id.PublisherName, id.OfferName) } -// Segments returns a slice of Resource ID Segments which comprise this V M Image Offer ID +// Segments returns a slice of Resource ID Segments which comprise this VM Image Offer ID func (id VMImageOfferId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -137,7 +137,7 @@ func (id VMImageOfferId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this V M Image Offer ID +// String returns a human-readable description of this VM Image Offer ID func (id VMImageOfferId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), @@ -146,5 +146,5 @@ func (id VMImageOfferId) String() string { fmt.Sprintf("Publisher Name: %q", id.PublisherName), fmt.Sprintf("Offer Name: %q", id.OfferName), } - return fmt.Sprintf("V M Image Offer (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("VM Image Offer (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/compute/2022-03-01/virtualmachineimages/id_vmimageoffer.go b/resource-manager/compute/2022-03-01/virtualmachineimages/id_vmimageoffer.go index 2739d80c546..72a84e34d62 100644 --- a/resource-manager/compute/2022-03-01/virtualmachineimages/id_vmimageoffer.go +++ b/resource-manager/compute/2022-03-01/virtualmachineimages/id_vmimageoffer.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VMImageOfferId{} -// VMImageOfferId is a struct representing the Resource ID for a V M Image Offer +// VMImageOfferId is a struct representing the Resource ID for a VM Image Offer type VMImageOfferId struct { SubscriptionId string LocationName string @@ -96,7 +96,7 @@ func (id *VMImageOfferId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVMImageOfferID checks that 'input' can be parsed as a V M Image Offer ID +// ValidateVMImageOfferID checks that 'input' can be parsed as a VM Image Offer ID func ValidateVMImageOfferID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -111,13 +111,13 @@ func ValidateVMImageOfferID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted V M Image Offer ID +// ID returns the formatted VM Image Offer ID func (id VMImageOfferId) ID() string { fmtString := "/subscriptions/%s/providers/Microsoft.Compute/locations/%s/edgeZones/%s/publishers/%s/artifactTypes/vmImage/offers/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.EdgeZoneName, id.PublisherName, id.OfferName) } -// Segments returns a slice of Resource ID Segments which comprise this V M Image Offer ID +// Segments returns a slice of Resource ID Segments which comprise this VM Image Offer ID func (id VMImageOfferId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -137,7 +137,7 @@ func (id VMImageOfferId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this V M Image Offer ID +// String returns a human-readable description of this VM Image Offer ID func (id VMImageOfferId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), @@ -146,5 +146,5 @@ func (id VMImageOfferId) String() string { fmt.Sprintf("Publisher Name: %q", id.PublisherName), fmt.Sprintf("Offer Name: %q", id.OfferName), } - return fmt.Sprintf("V M Image Offer (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("VM Image Offer (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/compute/2023-03-01/virtualmachineimages/id_vmimageoffer.go b/resource-manager/compute/2023-03-01/virtualmachineimages/id_vmimageoffer.go index 2739d80c546..72a84e34d62 100644 --- a/resource-manager/compute/2023-03-01/virtualmachineimages/id_vmimageoffer.go +++ b/resource-manager/compute/2023-03-01/virtualmachineimages/id_vmimageoffer.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VMImageOfferId{} -// VMImageOfferId is a struct representing the Resource ID for a V M Image Offer +// VMImageOfferId is a struct representing the Resource ID for a VM Image Offer type VMImageOfferId struct { SubscriptionId string LocationName string @@ -96,7 +96,7 @@ func (id *VMImageOfferId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVMImageOfferID checks that 'input' can be parsed as a V M Image Offer ID +// ValidateVMImageOfferID checks that 'input' can be parsed as a VM Image Offer ID func ValidateVMImageOfferID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -111,13 +111,13 @@ func ValidateVMImageOfferID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted V M Image Offer ID +// ID returns the formatted VM Image Offer ID func (id VMImageOfferId) ID() string { fmtString := "/subscriptions/%s/providers/Microsoft.Compute/locations/%s/edgeZones/%s/publishers/%s/artifactTypes/vmImage/offers/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.EdgeZoneName, id.PublisherName, id.OfferName) } -// Segments returns a slice of Resource ID Segments which comprise this V M Image Offer ID +// Segments returns a slice of Resource ID Segments which comprise this VM Image Offer ID func (id VMImageOfferId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -137,7 +137,7 @@ func (id VMImageOfferId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this V M Image Offer ID +// String returns a human-readable description of this VM Image Offer ID func (id VMImageOfferId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), @@ -146,5 +146,5 @@ func (id VMImageOfferId) String() string { fmt.Sprintf("Publisher Name: %q", id.PublisherName), fmt.Sprintf("Offer Name: %q", id.OfferName), } - return fmt.Sprintf("V M Image Offer (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("VM Image Offer (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/compute/2024-03-01/virtualmachineimages/id_vmimageoffer.go b/resource-manager/compute/2024-03-01/virtualmachineimages/id_vmimageoffer.go index 2739d80c546..72a84e34d62 100644 --- a/resource-manager/compute/2024-03-01/virtualmachineimages/id_vmimageoffer.go +++ b/resource-manager/compute/2024-03-01/virtualmachineimages/id_vmimageoffer.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VMImageOfferId{} -// VMImageOfferId is a struct representing the Resource ID for a V M Image Offer +// VMImageOfferId is a struct representing the Resource ID for a VM Image Offer type VMImageOfferId struct { SubscriptionId string LocationName string @@ -96,7 +96,7 @@ func (id *VMImageOfferId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVMImageOfferID checks that 'input' can be parsed as a V M Image Offer ID +// ValidateVMImageOfferID checks that 'input' can be parsed as a VM Image Offer ID func ValidateVMImageOfferID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -111,13 +111,13 @@ func ValidateVMImageOfferID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted V M Image Offer ID +// ID returns the formatted VM Image Offer ID func (id VMImageOfferId) ID() string { fmtString := "/subscriptions/%s/providers/Microsoft.Compute/locations/%s/edgeZones/%s/publishers/%s/artifactTypes/vmImage/offers/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.EdgeZoneName, id.PublisherName, id.OfferName) } -// Segments returns a slice of Resource ID Segments which comprise this V M Image Offer ID +// Segments returns a slice of Resource ID Segments which comprise this VM Image Offer ID func (id VMImageOfferId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -137,7 +137,7 @@ func (id VMImageOfferId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this V M Image Offer ID +// String returns a human-readable description of this VM Image Offer ID func (id VMImageOfferId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), @@ -146,5 +146,5 @@ func (id VMImageOfferId) String() string { fmt.Sprintf("Publisher Name: %q", id.PublisherName), fmt.Sprintf("Offer Name: %q", id.OfferName), } - return fmt.Sprintf("V M Image Offer (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("VM Image Offer (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/compute/2024-11-01/computerps/id_vmimageoffer.go b/resource-manager/compute/2024-11-01/computerps/id_vmimageoffer.go index 152083add51..c5caaf211d0 100644 --- a/resource-manager/compute/2024-11-01/computerps/id_vmimageoffer.go +++ b/resource-manager/compute/2024-11-01/computerps/id_vmimageoffer.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VMImageOfferId{} -// VMImageOfferId is a struct representing the Resource ID for a V M Image Offer +// VMImageOfferId is a struct representing the Resource ID for a VM Image Offer type VMImageOfferId struct { SubscriptionId string LocationName string @@ -96,7 +96,7 @@ func (id *VMImageOfferId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVMImageOfferID checks that 'input' can be parsed as a V M Image Offer ID +// ValidateVMImageOfferID checks that 'input' can be parsed as a VM Image Offer ID func ValidateVMImageOfferID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -111,13 +111,13 @@ func ValidateVMImageOfferID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted V M Image Offer ID +// ID returns the formatted VM Image Offer ID func (id VMImageOfferId) ID() string { fmtString := "/subscriptions/%s/providers/Microsoft.Compute/locations/%s/edgeZones/%s/publishers/%s/artifactTypes/vmImage/offers/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.EdgeZoneName, id.PublisherName, id.OfferName) } -// Segments returns a slice of Resource ID Segments which comprise this V M Image Offer ID +// Segments returns a slice of Resource ID Segments which comprise this VM Image Offer ID func (id VMImageOfferId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -137,7 +137,7 @@ func (id VMImageOfferId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this V M Image Offer ID +// String returns a human-readable description of this VM Image Offer ID func (id VMImageOfferId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), @@ -146,5 +146,5 @@ func (id VMImageOfferId) String() string { fmt.Sprintf("Publisher Name: %q", id.PublisherName), fmt.Sprintf("Offer Name: %q", id.OfferName), } - return fmt.Sprintf("V M Image Offer (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("VM Image Offer (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/datafactory/2018-06-01/dataflowdebugsession/constants.go b/resource-manager/datafactory/2018-06-01/dataflowdebugsession/constants.go index edb054d133b..91e185a123c 100644 --- a/resource-manager/datafactory/2018-06-01/dataflowdebugsession/constants.go +++ b/resource-manager/datafactory/2018-06-01/dataflowdebugsession/constants.go @@ -803,6 +803,50 @@ func parseHBaseAuthenticationType(input string) (*HBaseAuthenticationType, error return &out, nil } +type HDInsightClusterAuthenticationType string + +const ( + HDInsightClusterAuthenticationTypeBasicAuth HDInsightClusterAuthenticationType = "BasicAuth" + HDInsightClusterAuthenticationTypeSystemAssignedManagedIdentity HDInsightClusterAuthenticationType = "SystemAssignedManagedIdentity" + HDInsightClusterAuthenticationTypeUserAssignedManagedIdentity HDInsightClusterAuthenticationType = "UserAssignedManagedIdentity" +) + +func PossibleValuesForHDInsightClusterAuthenticationType() []string { + return []string{ + string(HDInsightClusterAuthenticationTypeBasicAuth), + string(HDInsightClusterAuthenticationTypeSystemAssignedManagedIdentity), + string(HDInsightClusterAuthenticationTypeUserAssignedManagedIdentity), + } +} + +func (s *HDInsightClusterAuthenticationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseHDInsightClusterAuthenticationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseHDInsightClusterAuthenticationType(input string) (*HDInsightClusterAuthenticationType, error) { + vals := map[string]HDInsightClusterAuthenticationType{ + "basicauth": HDInsightClusterAuthenticationTypeBasicAuth, + "systemassignedmanagedidentity": HDInsightClusterAuthenticationTypeSystemAssignedManagedIdentity, + "userassignedmanagedidentity": HDInsightClusterAuthenticationTypeUserAssignedManagedIdentity, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := HDInsightClusterAuthenticationType(input) + return &out, nil +} + type HTTPAuthenticationType string const ( @@ -1349,6 +1393,50 @@ func parseIntegrationRuntimeType(input string) (*IntegrationRuntimeType, error) return &out, nil } +type LakehouseAuthenticationType string + +const ( + LakehouseAuthenticationTypeServicePrincipal LakehouseAuthenticationType = "ServicePrincipal" + LakehouseAuthenticationTypeSystemAssignedManagedIdentity LakehouseAuthenticationType = "SystemAssignedManagedIdentity" + LakehouseAuthenticationTypeUserAssignedManagedIdentity LakehouseAuthenticationType = "UserAssignedManagedIdentity" +) + +func PossibleValuesForLakehouseAuthenticationType() []string { + return []string{ + string(LakehouseAuthenticationTypeServicePrincipal), + string(LakehouseAuthenticationTypeSystemAssignedManagedIdentity), + string(LakehouseAuthenticationTypeUserAssignedManagedIdentity), + } +} + +func (s *LakehouseAuthenticationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLakehouseAuthenticationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLakehouseAuthenticationType(input string) (*LakehouseAuthenticationType, error) { + vals := map[string]LakehouseAuthenticationType{ + "serviceprincipal": LakehouseAuthenticationTypeServicePrincipal, + "systemassignedmanagedidentity": LakehouseAuthenticationTypeSystemAssignedManagedIdentity, + "userassignedmanagedidentity": LakehouseAuthenticationTypeUserAssignedManagedIdentity, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LakehouseAuthenticationType(input) + return &out, nil +} + type ManagedVirtualNetworkReferenceType string const ( @@ -2346,6 +2434,50 @@ func parseValueType(input string) (*ValueType, error) { return &out, nil } +type WarehouseAuthenticationType string + +const ( + WarehouseAuthenticationTypeServicePrincipal WarehouseAuthenticationType = "ServicePrincipal" + WarehouseAuthenticationTypeSystemAssignedManagedIdentity WarehouseAuthenticationType = "SystemAssignedManagedIdentity" + WarehouseAuthenticationTypeUserAssignedManagedIdentity WarehouseAuthenticationType = "UserAssignedManagedIdentity" +) + +func PossibleValuesForWarehouseAuthenticationType() []string { + return []string{ + string(WarehouseAuthenticationTypeServicePrincipal), + string(WarehouseAuthenticationTypeSystemAssignedManagedIdentity), + string(WarehouseAuthenticationTypeUserAssignedManagedIdentity), + } +} + +func (s *WarehouseAuthenticationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWarehouseAuthenticationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWarehouseAuthenticationType(input string) (*WarehouseAuthenticationType, error) { + vals := map[string]WarehouseAuthenticationType{ + "serviceprincipal": WarehouseAuthenticationTypeServicePrincipal, + "systemassignedmanagedidentity": WarehouseAuthenticationTypeSystemAssignedManagedIdentity, + "userassignedmanagedidentity": WarehouseAuthenticationTypeUserAssignedManagedIdentity, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WarehouseAuthenticationType(input) + return &out, nil +} + type WebAuthenticationType string const ( diff --git a/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_hdinsightlinkedservicetypeproperties.go b/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_hdinsightlinkedservicetypeproperties.go index ab9d2f183f6..0835d401db6 100644 --- a/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_hdinsightlinkedservicetypeproperties.go +++ b/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_hdinsightlinkedservicetypeproperties.go @@ -9,33 +9,39 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type HDInsightLinkedServiceTypeProperties struct { - ClusterUri interface{} `json:"clusterUri"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - FileSystem *interface{} `json:"fileSystem,omitempty"` - HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` - IsEspEnabled *bool `json:"isEspEnabled,omitempty"` - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - Password SecretBase `json:"password"` - UserName *interface{} `json:"userName,omitempty"` + ClusterAuthType *HDInsightClusterAuthenticationType `json:"clusterAuthType,omitempty"` + ClusterUri interface{} `json:"clusterUri"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + FileSystem *interface{} `json:"fileSystem,omitempty"` + HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` + IsEspEnabled *bool `json:"isEspEnabled,omitempty"` + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + Password SecretBase `json:"password"` + UserName *interface{} `json:"userName,omitempty"` } var _ json.Unmarshaler = &HDInsightLinkedServiceTypeProperties{} func (s *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(bytes []byte) error { var decoded struct { - ClusterUri interface{} `json:"clusterUri"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - FileSystem *interface{} `json:"fileSystem,omitempty"` - HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` - IsEspEnabled *bool `json:"isEspEnabled,omitempty"` - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - UserName *interface{} `json:"userName,omitempty"` + ClusterAuthType *HDInsightClusterAuthenticationType `json:"clusterAuthType,omitempty"` + ClusterUri interface{} `json:"clusterUri"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + FileSystem *interface{} `json:"fileSystem,omitempty"` + HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` + IsEspEnabled *bool `json:"isEspEnabled,omitempty"` + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + UserName *interface{} `json:"userName,omitempty"` } if err := json.Unmarshal(bytes, &decoded); err != nil { return fmt.Errorf("unmarshaling: %+v", err) } + s.ClusterAuthType = decoded.ClusterAuthType s.ClusterUri = decoded.ClusterUri + s.Credential = decoded.Credential s.EncryptedCredential = decoded.EncryptedCredential s.FileSystem = decoded.FileSystem s.HcatalogLinkedServiceName = decoded.HcatalogLinkedServiceName diff --git a/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_lakehouselinkedservicetypeproperties.go b/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_lakehouselinkedservicetypeproperties.go index 6a0be687ef7..8a3254c3b56 100644 --- a/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_lakehouselinkedservicetypeproperties.go +++ b/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_lakehouselinkedservicetypeproperties.go @@ -9,32 +9,38 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type LakeHouseLinkedServiceTypeProperties struct { - ArtifactId *interface{} `json:"artifactId,omitempty"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - ServicePrincipalCredential SecretBase `json:"servicePrincipalCredential"` - ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` - ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` - ServicePrincipalKey SecretBase `json:"servicePrincipalKey"` - Tenant *interface{} `json:"tenant,omitempty"` - WorkspaceId *interface{} `json:"workspaceId,omitempty"` + ArtifactId *interface{} `json:"artifactId,omitempty"` + AuthenticationType *LakehouseAuthenticationType `json:"authenticationType,omitempty"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + ServicePrincipalCredential SecretBase `json:"servicePrincipalCredential"` + ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` + ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` + ServicePrincipalKey SecretBase `json:"servicePrincipalKey"` + Tenant *interface{} `json:"tenant,omitempty"` + WorkspaceId *interface{} `json:"workspaceId,omitempty"` } var _ json.Unmarshaler = &LakeHouseLinkedServiceTypeProperties{} func (s *LakeHouseLinkedServiceTypeProperties) UnmarshalJSON(bytes []byte) error { var decoded struct { - ArtifactId *interface{} `json:"artifactId,omitempty"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` - ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` - Tenant *interface{} `json:"tenant,omitempty"` - WorkspaceId *interface{} `json:"workspaceId,omitempty"` + ArtifactId *interface{} `json:"artifactId,omitempty"` + AuthenticationType *LakehouseAuthenticationType `json:"authenticationType,omitempty"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` + ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` + Tenant *interface{} `json:"tenant,omitempty"` + WorkspaceId *interface{} `json:"workspaceId,omitempty"` } if err := json.Unmarshal(bytes, &decoded); err != nil { return fmt.Errorf("unmarshaling: %+v", err) } s.ArtifactId = decoded.ArtifactId + s.AuthenticationType = decoded.AuthenticationType + s.Credential = decoded.Credential s.EncryptedCredential = decoded.EncryptedCredential s.ServicePrincipalCredentialType = decoded.ServicePrincipalCredentialType s.ServicePrincipalId = decoded.ServicePrincipalId diff --git a/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_warehouselinkedservicetypeproperties.go b/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_warehouselinkedservicetypeproperties.go index 4b91d84a657..2d9e41070fa 100644 --- a/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_warehouselinkedservicetypeproperties.go +++ b/resource-manager/datafactory/2018-06-01/dataflowdebugsession/model_warehouselinkedservicetypeproperties.go @@ -9,34 +9,40 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type WarehouseLinkedServiceTypeProperties struct { - ArtifactId interface{} `json:"artifactId"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - Endpoint interface{} `json:"endpoint"` - ServicePrincipalCredential SecretBase `json:"servicePrincipalCredential"` - ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` - ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` - ServicePrincipalKey SecretBase `json:"servicePrincipalKey"` - Tenant *interface{} `json:"tenant,omitempty"` - WorkspaceId *interface{} `json:"workspaceId,omitempty"` + ArtifactId interface{} `json:"artifactId"` + AuthenticationType *WarehouseAuthenticationType `json:"authenticationType,omitempty"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + Endpoint interface{} `json:"endpoint"` + ServicePrincipalCredential SecretBase `json:"servicePrincipalCredential"` + ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` + ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` + ServicePrincipalKey SecretBase `json:"servicePrincipalKey"` + Tenant *interface{} `json:"tenant,omitempty"` + WorkspaceId *interface{} `json:"workspaceId,omitempty"` } var _ json.Unmarshaler = &WarehouseLinkedServiceTypeProperties{} func (s *WarehouseLinkedServiceTypeProperties) UnmarshalJSON(bytes []byte) error { var decoded struct { - ArtifactId interface{} `json:"artifactId"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - Endpoint interface{} `json:"endpoint"` - ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` - ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` - Tenant *interface{} `json:"tenant,omitempty"` - WorkspaceId *interface{} `json:"workspaceId,omitempty"` + ArtifactId interface{} `json:"artifactId"` + AuthenticationType *WarehouseAuthenticationType `json:"authenticationType,omitempty"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + Endpoint interface{} `json:"endpoint"` + ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` + ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` + Tenant *interface{} `json:"tenant,omitempty"` + WorkspaceId *interface{} `json:"workspaceId,omitempty"` } if err := json.Unmarshal(bytes, &decoded); err != nil { return fmt.Errorf("unmarshaling: %+v", err) } s.ArtifactId = decoded.ArtifactId + s.AuthenticationType = decoded.AuthenticationType + s.Credential = decoded.Credential s.EncryptedCredential = decoded.EncryptedCredential s.Endpoint = decoded.Endpoint s.ServicePrincipalCredentialType = decoded.ServicePrincipalCredentialType diff --git a/resource-manager/datafactory/2018-06-01/linkedservices/constants.go b/resource-manager/datafactory/2018-06-01/linkedservices/constants.go index 1d8a53c6e72..cfb35a8145c 100644 --- a/resource-manager/datafactory/2018-06-01/linkedservices/constants.go +++ b/resource-manager/datafactory/2018-06-01/linkedservices/constants.go @@ -639,6 +639,50 @@ func parseHBaseAuthenticationType(input string) (*HBaseAuthenticationType, error return &out, nil } +type HDInsightClusterAuthenticationType string + +const ( + HDInsightClusterAuthenticationTypeBasicAuth HDInsightClusterAuthenticationType = "BasicAuth" + HDInsightClusterAuthenticationTypeSystemAssignedManagedIdentity HDInsightClusterAuthenticationType = "SystemAssignedManagedIdentity" + HDInsightClusterAuthenticationTypeUserAssignedManagedIdentity HDInsightClusterAuthenticationType = "UserAssignedManagedIdentity" +) + +func PossibleValuesForHDInsightClusterAuthenticationType() []string { + return []string{ + string(HDInsightClusterAuthenticationTypeBasicAuth), + string(HDInsightClusterAuthenticationTypeSystemAssignedManagedIdentity), + string(HDInsightClusterAuthenticationTypeUserAssignedManagedIdentity), + } +} + +func (s *HDInsightClusterAuthenticationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseHDInsightClusterAuthenticationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseHDInsightClusterAuthenticationType(input string) (*HDInsightClusterAuthenticationType, error) { + vals := map[string]HDInsightClusterAuthenticationType{ + "basicauth": HDInsightClusterAuthenticationTypeBasicAuth, + "systemassignedmanagedidentity": HDInsightClusterAuthenticationTypeSystemAssignedManagedIdentity, + "userassignedmanagedidentity": HDInsightClusterAuthenticationTypeUserAssignedManagedIdentity, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := HDInsightClusterAuthenticationType(input) + return &out, nil +} + type HTTPAuthenticationType string const ( @@ -947,6 +991,50 @@ func parseIntegrationRuntimeReferenceType(input string) (*IntegrationRuntimeRefe return &out, nil } +type LakehouseAuthenticationType string + +const ( + LakehouseAuthenticationTypeServicePrincipal LakehouseAuthenticationType = "ServicePrincipal" + LakehouseAuthenticationTypeSystemAssignedManagedIdentity LakehouseAuthenticationType = "SystemAssignedManagedIdentity" + LakehouseAuthenticationTypeUserAssignedManagedIdentity LakehouseAuthenticationType = "UserAssignedManagedIdentity" +) + +func PossibleValuesForLakehouseAuthenticationType() []string { + return []string{ + string(LakehouseAuthenticationTypeServicePrincipal), + string(LakehouseAuthenticationTypeSystemAssignedManagedIdentity), + string(LakehouseAuthenticationTypeUserAssignedManagedIdentity), + } +} + +func (s *LakehouseAuthenticationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseLakehouseAuthenticationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseLakehouseAuthenticationType(input string) (*LakehouseAuthenticationType, error) { + vals := map[string]LakehouseAuthenticationType{ + "serviceprincipal": LakehouseAuthenticationTypeServicePrincipal, + "systemassignedmanagedidentity": LakehouseAuthenticationTypeSystemAssignedManagedIdentity, + "userassignedmanagedidentity": LakehouseAuthenticationTypeUserAssignedManagedIdentity, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := LakehouseAuthenticationType(input) + return &out, nil +} + type MongoDbAuthenticationType string const ( @@ -1903,6 +1991,50 @@ func parseType(input string) (*Type, error) { return &out, nil } +type WarehouseAuthenticationType string + +const ( + WarehouseAuthenticationTypeServicePrincipal WarehouseAuthenticationType = "ServicePrincipal" + WarehouseAuthenticationTypeSystemAssignedManagedIdentity WarehouseAuthenticationType = "SystemAssignedManagedIdentity" + WarehouseAuthenticationTypeUserAssignedManagedIdentity WarehouseAuthenticationType = "UserAssignedManagedIdentity" +) + +func PossibleValuesForWarehouseAuthenticationType() []string { + return []string{ + string(WarehouseAuthenticationTypeServicePrincipal), + string(WarehouseAuthenticationTypeSystemAssignedManagedIdentity), + string(WarehouseAuthenticationTypeUserAssignedManagedIdentity), + } +} + +func (s *WarehouseAuthenticationType) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseWarehouseAuthenticationType(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseWarehouseAuthenticationType(input string) (*WarehouseAuthenticationType, error) { + vals := map[string]WarehouseAuthenticationType{ + "serviceprincipal": WarehouseAuthenticationTypeServicePrincipal, + "systemassignedmanagedidentity": WarehouseAuthenticationTypeSystemAssignedManagedIdentity, + "userassignedmanagedidentity": WarehouseAuthenticationTypeUserAssignedManagedIdentity, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := WarehouseAuthenticationType(input) + return &out, nil +} + type WebAuthenticationType string const ( diff --git a/resource-manager/datafactory/2018-06-01/linkedservices/model_hdinsightlinkedservicetypeproperties.go b/resource-manager/datafactory/2018-06-01/linkedservices/model_hdinsightlinkedservicetypeproperties.go index e095b201458..feca9b1b66f 100644 --- a/resource-manager/datafactory/2018-06-01/linkedservices/model_hdinsightlinkedservicetypeproperties.go +++ b/resource-manager/datafactory/2018-06-01/linkedservices/model_hdinsightlinkedservicetypeproperties.go @@ -9,33 +9,39 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type HDInsightLinkedServiceTypeProperties struct { - ClusterUri interface{} `json:"clusterUri"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - FileSystem *interface{} `json:"fileSystem,omitempty"` - HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` - IsEspEnabled *bool `json:"isEspEnabled,omitempty"` - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - Password SecretBase `json:"password"` - UserName *interface{} `json:"userName,omitempty"` + ClusterAuthType *HDInsightClusterAuthenticationType `json:"clusterAuthType,omitempty"` + ClusterUri interface{} `json:"clusterUri"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + FileSystem *interface{} `json:"fileSystem,omitempty"` + HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` + IsEspEnabled *bool `json:"isEspEnabled,omitempty"` + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + Password SecretBase `json:"password"` + UserName *interface{} `json:"userName,omitempty"` } var _ json.Unmarshaler = &HDInsightLinkedServiceTypeProperties{} func (s *HDInsightLinkedServiceTypeProperties) UnmarshalJSON(bytes []byte) error { var decoded struct { - ClusterUri interface{} `json:"clusterUri"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - FileSystem *interface{} `json:"fileSystem,omitempty"` - HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` - IsEspEnabled *bool `json:"isEspEnabled,omitempty"` - LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` - UserName *interface{} `json:"userName,omitempty"` + ClusterAuthType *HDInsightClusterAuthenticationType `json:"clusterAuthType,omitempty"` + ClusterUri interface{} `json:"clusterUri"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + FileSystem *interface{} `json:"fileSystem,omitempty"` + HcatalogLinkedServiceName *LinkedServiceReference `json:"hcatalogLinkedServiceName,omitempty"` + IsEspEnabled *bool `json:"isEspEnabled,omitempty"` + LinkedServiceName *LinkedServiceReference `json:"linkedServiceName,omitempty"` + UserName *interface{} `json:"userName,omitempty"` } if err := json.Unmarshal(bytes, &decoded); err != nil { return fmt.Errorf("unmarshaling: %+v", err) } + s.ClusterAuthType = decoded.ClusterAuthType s.ClusterUri = decoded.ClusterUri + s.Credential = decoded.Credential s.EncryptedCredential = decoded.EncryptedCredential s.FileSystem = decoded.FileSystem s.HcatalogLinkedServiceName = decoded.HcatalogLinkedServiceName diff --git a/resource-manager/datafactory/2018-06-01/linkedservices/model_lakehouselinkedservicetypeproperties.go b/resource-manager/datafactory/2018-06-01/linkedservices/model_lakehouselinkedservicetypeproperties.go index d96f2d3e7e6..4a3c564c133 100644 --- a/resource-manager/datafactory/2018-06-01/linkedservices/model_lakehouselinkedservicetypeproperties.go +++ b/resource-manager/datafactory/2018-06-01/linkedservices/model_lakehouselinkedservicetypeproperties.go @@ -9,32 +9,38 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type LakeHouseLinkedServiceTypeProperties struct { - ArtifactId *interface{} `json:"artifactId,omitempty"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - ServicePrincipalCredential SecretBase `json:"servicePrincipalCredential"` - ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` - ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` - ServicePrincipalKey SecretBase `json:"servicePrincipalKey"` - Tenant *interface{} `json:"tenant,omitempty"` - WorkspaceId *interface{} `json:"workspaceId,omitempty"` + ArtifactId *interface{} `json:"artifactId,omitempty"` + AuthenticationType *LakehouseAuthenticationType `json:"authenticationType,omitempty"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + ServicePrincipalCredential SecretBase `json:"servicePrincipalCredential"` + ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` + ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` + ServicePrincipalKey SecretBase `json:"servicePrincipalKey"` + Tenant *interface{} `json:"tenant,omitempty"` + WorkspaceId *interface{} `json:"workspaceId,omitempty"` } var _ json.Unmarshaler = &LakeHouseLinkedServiceTypeProperties{} func (s *LakeHouseLinkedServiceTypeProperties) UnmarshalJSON(bytes []byte) error { var decoded struct { - ArtifactId *interface{} `json:"artifactId,omitempty"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` - ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` - Tenant *interface{} `json:"tenant,omitempty"` - WorkspaceId *interface{} `json:"workspaceId,omitempty"` + ArtifactId *interface{} `json:"artifactId,omitempty"` + AuthenticationType *LakehouseAuthenticationType `json:"authenticationType,omitempty"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` + ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` + Tenant *interface{} `json:"tenant,omitempty"` + WorkspaceId *interface{} `json:"workspaceId,omitempty"` } if err := json.Unmarshal(bytes, &decoded); err != nil { return fmt.Errorf("unmarshaling: %+v", err) } s.ArtifactId = decoded.ArtifactId + s.AuthenticationType = decoded.AuthenticationType + s.Credential = decoded.Credential s.EncryptedCredential = decoded.EncryptedCredential s.ServicePrincipalCredentialType = decoded.ServicePrincipalCredentialType s.ServicePrincipalId = decoded.ServicePrincipalId diff --git a/resource-manager/datafactory/2018-06-01/linkedservices/model_warehouselinkedservicetypeproperties.go b/resource-manager/datafactory/2018-06-01/linkedservices/model_warehouselinkedservicetypeproperties.go index c5d1561f8e0..7a623658829 100644 --- a/resource-manager/datafactory/2018-06-01/linkedservices/model_warehouselinkedservicetypeproperties.go +++ b/resource-manager/datafactory/2018-06-01/linkedservices/model_warehouselinkedservicetypeproperties.go @@ -9,34 +9,40 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type WarehouseLinkedServiceTypeProperties struct { - ArtifactId interface{} `json:"artifactId"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - Endpoint interface{} `json:"endpoint"` - ServicePrincipalCredential SecretBase `json:"servicePrincipalCredential"` - ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` - ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` - ServicePrincipalKey SecretBase `json:"servicePrincipalKey"` - Tenant *interface{} `json:"tenant,omitempty"` - WorkspaceId *interface{} `json:"workspaceId,omitempty"` + ArtifactId interface{} `json:"artifactId"` + AuthenticationType *WarehouseAuthenticationType `json:"authenticationType,omitempty"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + Endpoint interface{} `json:"endpoint"` + ServicePrincipalCredential SecretBase `json:"servicePrincipalCredential"` + ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` + ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` + ServicePrincipalKey SecretBase `json:"servicePrincipalKey"` + Tenant *interface{} `json:"tenant,omitempty"` + WorkspaceId *interface{} `json:"workspaceId,omitempty"` } var _ json.Unmarshaler = &WarehouseLinkedServiceTypeProperties{} func (s *WarehouseLinkedServiceTypeProperties) UnmarshalJSON(bytes []byte) error { var decoded struct { - ArtifactId interface{} `json:"artifactId"` - EncryptedCredential *string `json:"encryptedCredential,omitempty"` - Endpoint interface{} `json:"endpoint"` - ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` - ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` - Tenant *interface{} `json:"tenant,omitempty"` - WorkspaceId *interface{} `json:"workspaceId,omitempty"` + ArtifactId interface{} `json:"artifactId"` + AuthenticationType *WarehouseAuthenticationType `json:"authenticationType,omitempty"` + Credential *CredentialReference `json:"credential,omitempty"` + EncryptedCredential *string `json:"encryptedCredential,omitempty"` + Endpoint interface{} `json:"endpoint"` + ServicePrincipalCredentialType *interface{} `json:"servicePrincipalCredentialType,omitempty"` + ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` + Tenant *interface{} `json:"tenant,omitempty"` + WorkspaceId *interface{} `json:"workspaceId,omitempty"` } if err := json.Unmarshal(bytes, &decoded); err != nil { return fmt.Errorf("unmarshaling: %+v", err) } s.ArtifactId = decoded.ArtifactId + s.AuthenticationType = decoded.AuthenticationType + s.Credential = decoded.Credential s.EncryptedCredential = decoded.EncryptedCredential s.Endpoint = decoded.Endpoint s.ServicePrincipalCredentialType = decoded.ServicePrincipalCredentialType diff --git a/resource-manager/datamigration/2025-06-30/get/model_connectioninfo.go b/resource-manager/datamigration/2025-06-30/get/model_connectioninfo.go index 17449325861..7f4ef6edd53 100644 --- a/resource-manager/datamigration/2025-06-30/get/model_connectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/get/model_connectioninfo.go @@ -63,7 +63,7 @@ func UnmarshalConnectionInfoImplementation(input []byte) (ConnectionInfo, error) return out, nil } - if strings.EqualFold(value, "mongoDbConnectionInfo") { + if strings.EqualFold(value, "MongoDbConnectionInfo") { var out MongoDbConnectionInfo if err := json.Unmarshal(input, &out); err != nil { return nil, fmt.Errorf("unmarshaling into MongoDbConnectionInfo: %+v", err) diff --git a/resource-manager/datamigration/2025-06-30/get/model_mongodbconnectioninfo.go b/resource-manager/datamigration/2025-06-30/get/model_mongodbconnectioninfo.go index 04df0597abd..f4b03f64482 100644 --- a/resource-manager/datamigration/2025-06-30/get/model_mongodbconnectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/get/model_mongodbconnectioninfo.go @@ -53,7 +53,7 @@ func (s MongoDbConnectionInfo) MarshalJSON() ([]byte, error) { return nil, fmt.Errorf("unmarshaling MongoDbConnectionInfo: %+v", err) } - decoded["type"] = "mongoDbConnectionInfo" + decoded["type"] = "MongoDbConnectionInfo" encoded, err = json.Marshal(decoded) if err != nil { diff --git a/resource-manager/datamigration/2025-06-30/patch/model_connectioninfo.go b/resource-manager/datamigration/2025-06-30/patch/model_connectioninfo.go index c2f31e4cfc7..d4e2552112f 100644 --- a/resource-manager/datamigration/2025-06-30/patch/model_connectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/patch/model_connectioninfo.go @@ -63,7 +63,7 @@ func UnmarshalConnectionInfoImplementation(input []byte) (ConnectionInfo, error) return out, nil } - if strings.EqualFold(value, "mongoDbConnectionInfo") { + if strings.EqualFold(value, "MongoDbConnectionInfo") { var out MongoDbConnectionInfo if err := json.Unmarshal(input, &out); err != nil { return nil, fmt.Errorf("unmarshaling into MongoDbConnectionInfo: %+v", err) diff --git a/resource-manager/datamigration/2025-06-30/patch/model_mongodbconnectioninfo.go b/resource-manager/datamigration/2025-06-30/patch/model_mongodbconnectioninfo.go index 00b80cf489b..15d26059cff 100644 --- a/resource-manager/datamigration/2025-06-30/patch/model_mongodbconnectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/patch/model_mongodbconnectioninfo.go @@ -53,7 +53,7 @@ func (s MongoDbConnectionInfo) MarshalJSON() ([]byte, error) { return nil, fmt.Errorf("unmarshaling MongoDbConnectionInfo: %+v", err) } - decoded["type"] = "mongoDbConnectionInfo" + decoded["type"] = "MongoDbConnectionInfo" encoded, err = json.Marshal(decoded) if err != nil { diff --git a/resource-manager/datamigration/2025-06-30/post/model_connectioninfo.go b/resource-manager/datamigration/2025-06-30/post/model_connectioninfo.go index 7669b6ae78d..700e7f47af0 100644 --- a/resource-manager/datamigration/2025-06-30/post/model_connectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/post/model_connectioninfo.go @@ -63,7 +63,7 @@ func UnmarshalConnectionInfoImplementation(input []byte) (ConnectionInfo, error) return out, nil } - if strings.EqualFold(value, "mongoDbConnectionInfo") { + if strings.EqualFold(value, "MongoDbConnectionInfo") { var out MongoDbConnectionInfo if err := json.Unmarshal(input, &out); err != nil { return nil, fmt.Errorf("unmarshaling into MongoDbConnectionInfo: %+v", err) diff --git a/resource-manager/datamigration/2025-06-30/post/model_mongodbconnectioninfo.go b/resource-manager/datamigration/2025-06-30/post/model_mongodbconnectioninfo.go index a400b59b083..ab557aada0c 100644 --- a/resource-manager/datamigration/2025-06-30/post/model_mongodbconnectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/post/model_mongodbconnectioninfo.go @@ -53,7 +53,7 @@ func (s MongoDbConnectionInfo) MarshalJSON() ([]byte, error) { return nil, fmt.Errorf("unmarshaling MongoDbConnectionInfo: %+v", err) } - decoded["type"] = "mongoDbConnectionInfo" + decoded["type"] = "MongoDbConnectionInfo" encoded, err = json.Marshal(decoded) if err != nil { diff --git a/resource-manager/datamigration/2025-06-30/put/model_connectioninfo.go b/resource-manager/datamigration/2025-06-30/put/model_connectioninfo.go index aab36e3c9aa..f6fdab8b586 100644 --- a/resource-manager/datamigration/2025-06-30/put/model_connectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/put/model_connectioninfo.go @@ -63,7 +63,7 @@ func UnmarshalConnectionInfoImplementation(input []byte) (ConnectionInfo, error) return out, nil } - if strings.EqualFold(value, "mongoDbConnectionInfo") { + if strings.EqualFold(value, "MongoDbConnectionInfo") { var out MongoDbConnectionInfo if err := json.Unmarshal(input, &out); err != nil { return nil, fmt.Errorf("unmarshaling into MongoDbConnectionInfo: %+v", err) diff --git a/resource-manager/datamigration/2025-06-30/put/model_mongodbconnectioninfo.go b/resource-manager/datamigration/2025-06-30/put/model_mongodbconnectioninfo.go index 8f0fa9efafe..c6c4a84ac0e 100644 --- a/resource-manager/datamigration/2025-06-30/put/model_mongodbconnectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/put/model_mongodbconnectioninfo.go @@ -53,7 +53,7 @@ func (s MongoDbConnectionInfo) MarshalJSON() ([]byte, error) { return nil, fmt.Errorf("unmarshaling MongoDbConnectionInfo: %+v", err) } - decoded["type"] = "mongoDbConnectionInfo" + decoded["type"] = "MongoDbConnectionInfo" encoded, err = json.Marshal(decoded) if err != nil { diff --git a/resource-manager/datamigration/2025-06-30/servicetaskresource/model_connectioninfo.go b/resource-manager/datamigration/2025-06-30/servicetaskresource/model_connectioninfo.go index ec590fac48b..a2c64b788f0 100644 --- a/resource-manager/datamigration/2025-06-30/servicetaskresource/model_connectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/servicetaskresource/model_connectioninfo.go @@ -63,7 +63,7 @@ func UnmarshalConnectionInfoImplementation(input []byte) (ConnectionInfo, error) return out, nil } - if strings.EqualFold(value, "mongoDbConnectionInfo") { + if strings.EqualFold(value, "MongoDbConnectionInfo") { var out MongoDbConnectionInfo if err := json.Unmarshal(input, &out); err != nil { return nil, fmt.Errorf("unmarshaling into MongoDbConnectionInfo: %+v", err) diff --git a/resource-manager/datamigration/2025-06-30/servicetaskresource/model_mongodbconnectioninfo.go b/resource-manager/datamigration/2025-06-30/servicetaskresource/model_mongodbconnectioninfo.go index 65db8947ef2..1e1be2df7fa 100644 --- a/resource-manager/datamigration/2025-06-30/servicetaskresource/model_mongodbconnectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/servicetaskresource/model_mongodbconnectioninfo.go @@ -53,7 +53,7 @@ func (s MongoDbConnectionInfo) MarshalJSON() ([]byte, error) { return nil, fmt.Errorf("unmarshaling MongoDbConnectionInfo: %+v", err) } - decoded["type"] = "mongoDbConnectionInfo" + decoded["type"] = "MongoDbConnectionInfo" encoded, err = json.Marshal(decoded) if err != nil { diff --git a/resource-manager/datamigration/2025-06-30/standardoperation/model_connectioninfo.go b/resource-manager/datamigration/2025-06-30/standardoperation/model_connectioninfo.go index a817745d831..ec4f109cdf0 100644 --- a/resource-manager/datamigration/2025-06-30/standardoperation/model_connectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/standardoperation/model_connectioninfo.go @@ -63,7 +63,7 @@ func UnmarshalConnectionInfoImplementation(input []byte) (ConnectionInfo, error) return out, nil } - if strings.EqualFold(value, "MongoDbConnectionInfo") { + if strings.EqualFold(value, "mongoDbConnectionInfo") { var out MongoDbConnectionInfo if err := json.Unmarshal(input, &out); err != nil { return nil, fmt.Errorf("unmarshaling into MongoDbConnectionInfo: %+v", err) diff --git a/resource-manager/datamigration/2025-06-30/standardoperation/model_mongodbconnectioninfo.go b/resource-manager/datamigration/2025-06-30/standardoperation/model_mongodbconnectioninfo.go index 9f647ecb19e..c218c28c2d8 100644 --- a/resource-manager/datamigration/2025-06-30/standardoperation/model_mongodbconnectioninfo.go +++ b/resource-manager/datamigration/2025-06-30/standardoperation/model_mongodbconnectioninfo.go @@ -53,7 +53,7 @@ func (s MongoDbConnectionInfo) MarshalJSON() ([]byte, error) { return nil, fmt.Errorf("unmarshaling MongoDbConnectionInfo: %+v", err) } - decoded["type"] = "MongoDbConnectionInfo" + decoded["type"] = "mongoDbConnectionInfo" encoded, err = json.Marshal(decoded) if err != nil { diff --git a/resource-manager/dataprotection/2024-04-01/resourceguards/id_getbackupsecuritypinrequest.go b/resource-manager/dataprotection/2024-04-01/resourceguards/id_getbackupsecuritypinrequest.go index 73508192a58..44b40fc3468 100644 --- a/resource-manager/dataprotection/2024-04-01/resourceguards/id_getbackupsecuritypinrequest.go +++ b/resource-manager/dataprotection/2024-04-01/resourceguards/id_getbackupsecuritypinrequest.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &GetBackupSecurityPINRequestId{} -// GetBackupSecurityPINRequestId is a struct representing the Resource ID for a Get Backup Security P I N Request +// GetBackupSecurityPINRequestId is a struct representing the Resource ID for a Get Backup Security PIN Request type GetBackupSecurityPINRequestId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *GetBackupSecurityPINRequestId) FromParseResult(input resourceids.Parse return nil } -// ValidateGetBackupSecurityPINRequestID checks that 'input' can be parsed as a Get Backup Security P I N Request ID +// ValidateGetBackupSecurityPINRequestID checks that 'input' can be parsed as a Get Backup Security PIN Request ID func ValidateGetBackupSecurityPINRequestID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateGetBackupSecurityPINRequestID(input interface{}, key string) (warni return } -// ID returns the formatted Get Backup Security P I N Request ID +// ID returns the formatted Get Backup Security PIN Request ID func (id GetBackupSecurityPINRequestId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.DataProtection/resourceGuards/%s/getBackupSecurityPINRequests/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ResourceGuardName, id.GetBackupSecurityPINRequestName) } -// Segments returns a slice of Resource ID Segments which comprise this Get Backup Security P I N Request ID +// Segments returns a slice of Resource ID Segments which comprise this Get Backup Security PIN Request ID func (id GetBackupSecurityPINRequestId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id GetBackupSecurityPINRequestId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Get Backup Security P I N Request ID +// String returns a human-readable description of this Get Backup Security PIN Request ID func (id GetBackupSecurityPINRequestId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Resource Guard Name: %q", id.ResourceGuardName), - fmt.Sprintf("Get Backup Security P I N Request Name: %q", id.GetBackupSecurityPINRequestName), + fmt.Sprintf("Get Backup Security PIN Request Name: %q", id.GetBackupSecurityPINRequestName), } - return fmt.Sprintf("Get Backup Security P I N Request (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Get Backup Security PIN Request (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/dataprotection/2025-07-01/resourceguards/id_getbackupsecuritypinrequest.go b/resource-manager/dataprotection/2025-07-01/resourceguards/id_getbackupsecuritypinrequest.go index 73508192a58..44b40fc3468 100644 --- a/resource-manager/dataprotection/2025-07-01/resourceguards/id_getbackupsecuritypinrequest.go +++ b/resource-manager/dataprotection/2025-07-01/resourceguards/id_getbackupsecuritypinrequest.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &GetBackupSecurityPINRequestId{} -// GetBackupSecurityPINRequestId is a struct representing the Resource ID for a Get Backup Security P I N Request +// GetBackupSecurityPINRequestId is a struct representing the Resource ID for a Get Backup Security PIN Request type GetBackupSecurityPINRequestId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *GetBackupSecurityPINRequestId) FromParseResult(input resourceids.Parse return nil } -// ValidateGetBackupSecurityPINRequestID checks that 'input' can be parsed as a Get Backup Security P I N Request ID +// ValidateGetBackupSecurityPINRequestID checks that 'input' can be parsed as a Get Backup Security PIN Request ID func ValidateGetBackupSecurityPINRequestID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateGetBackupSecurityPINRequestID(input interface{}, key string) (warni return } -// ID returns the formatted Get Backup Security P I N Request ID +// ID returns the formatted Get Backup Security PIN Request ID func (id GetBackupSecurityPINRequestId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.DataProtection/resourceGuards/%s/getBackupSecurityPINRequests/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ResourceGuardName, id.GetBackupSecurityPINRequestName) } -// Segments returns a slice of Resource ID Segments which comprise this Get Backup Security P I N Request ID +// Segments returns a slice of Resource ID Segments which comprise this Get Backup Security PIN Request ID func (id GetBackupSecurityPINRequestId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id GetBackupSecurityPINRequestId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Get Backup Security P I N Request ID +// String returns a human-readable description of this Get Backup Security PIN Request ID func (id GetBackupSecurityPINRequestId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Resource Guard Name: %q", id.ResourceGuardName), - fmt.Sprintf("Get Backup Security P I N Request Name: %q", id.GetBackupSecurityPINRequestName), + fmt.Sprintf("Get Backup Security PIN Request Name: %q", id.GetBackupSecurityPINRequestName), } - return fmt.Sprintf("Get Backup Security P I N Request (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Get Backup Security PIN Request (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/dnsresolver/2025-05-01/client.go b/resource-manager/dnsresolver/2025-05-01/client.go index 10f702ab9bb..0adc3a7781c 100644 --- a/resource-manager/dnsresolver/2025-05-01/client.go +++ b/resource-manager/dnsresolver/2025-05-01/client.go @@ -14,6 +14,7 @@ import ( "github.com/hashicorp/go-azure-sdk/resource-manager/dnsresolver/2025-05-01/dnssecurityrules" "github.com/hashicorp/go-azure-sdk/resource-manager/dnsresolver/2025-05-01/forwardingrules" "github.com/hashicorp/go-azure-sdk/resource-manager/dnsresolver/2025-05-01/inboundendpoints" + "github.com/hashicorp/go-azure-sdk/resource-manager/dnsresolver/2025-05-01/openapis" "github.com/hashicorp/go-azure-sdk/resource-manager/dnsresolver/2025-05-01/outboundendpoints" "github.com/hashicorp/go-azure-sdk/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks" "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" @@ -29,6 +30,7 @@ type Client struct { DnsSecurityRules *dnssecurityrules.DnsSecurityRulesClient ForwardingRules *forwardingrules.ForwardingRulesClient InboundEndpoints *inboundendpoints.InboundEndpointsClient + Openapis *openapis.OpenapisClient OutboundEndpoints *outboundendpoints.OutboundEndpointsClient VirtualNetworkLinks *virtualnetworklinks.VirtualNetworkLinksClient } @@ -82,6 +84,12 @@ func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanag } configureFunc(inboundEndpointsClient.Client) + openapisClient, err := openapis.NewOpenapisClientWithBaseURI(sdkApi) + if err != nil { + return nil, fmt.Errorf("building Openapis client: %+v", err) + } + configureFunc(openapisClient.Client) + outboundEndpointsClient, err := outboundendpoints.NewOutboundEndpointsClientWithBaseURI(sdkApi) if err != nil { return nil, fmt.Errorf("building OutboundEndpoints client: %+v", err) @@ -103,6 +111,7 @@ func NewClientWithBaseURI(sdkApi sdkEnv.Api, configureFunc func(c *resourcemanag DnsSecurityRules: dnsSecurityRulesClient, ForwardingRules: forwardingRulesClient, InboundEndpoints: inboundEndpointsClient, + Openapis: openapisClient, OutboundEndpoints: outboundEndpointsClient, VirtualNetworkLinks: virtualNetworkLinksClient, }, nil diff --git a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/README.md b/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/README.md index f07fc66d5ca..9b11336b3f8 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/README.md +++ b/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/README.md @@ -100,23 +100,6 @@ for _, item := range items { ``` -### Example Usage: `DnsForwardingRulesetsClient.ListByVirtualNetwork` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -// alternatively `client.ListByVirtualNetwork(ctx, id, dnsforwardingrulesets.DefaultListByVirtualNetworkOperationOptions())` can be used to do batched pagination -items, err := client.ListByVirtualNetworkComplete(ctx, id, dnsforwardingrulesets.DefaultListByVirtualNetworkOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - ### Example Usage: `DnsForwardingRulesetsClient.Update` ```go diff --git a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_createorupdate.go b/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_createorupdate.go index 10a7e797dde..07b5f03e53c 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_createorupdate.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_createorupdate.go @@ -33,10 +33,10 @@ func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions { func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } if o.IfNoneMatch != nil { - out.Append("If-None-Match", fmt.Sprintf("%v", *o.IfNoneMatch)) + out.Append("if-none-match", fmt.Sprintf("%v", *o.IfNoneMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_delete.go b/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_delete.go index 39432e2ee57..72b975437b2 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_delete.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_delete.go @@ -31,7 +31,7 @@ func DefaultDeleteOperationOptions() DeleteOperationOptions { func (o DeleteOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_listbyvirtualnetwork.go b/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_listbyvirtualnetwork.go deleted file mode 100644 index b62d8934933..00000000000 --- a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_listbyvirtualnetwork.go +++ /dev/null @@ -1,135 +0,0 @@ -package dnsforwardingrulesets - -import ( - "context" - "fmt" - "net/http" - - "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/odata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ListByVirtualNetworkOperationResponse struct { - HttpResponse *http.Response - OData *odata.OData - Model *[]VirtualNetworkDnsForwardingRuleset -} - -type ListByVirtualNetworkCompleteResult struct { - LatestHttpResponse *http.Response - Items []VirtualNetworkDnsForwardingRuleset -} - -type ListByVirtualNetworkOperationOptions struct { - Top *int64 -} - -func DefaultListByVirtualNetworkOperationOptions() ListByVirtualNetworkOperationOptions { - return ListByVirtualNetworkOperationOptions{} -} - -func (o ListByVirtualNetworkOperationOptions) ToHeaders() *client.Headers { - out := client.Headers{} - - return &out -} - -func (o ListByVirtualNetworkOperationOptions) ToOData() *odata.Query { - out := odata.Query{} - - return &out -} - -func (o ListByVirtualNetworkOperationOptions) ToQuery() *client.QueryParams { - out := client.QueryParams{} - if o.Top != nil { - out.Append("$top", fmt.Sprintf("%v", *o.Top)) - } - return &out -} - -type ListByVirtualNetworkCustomPager struct { - NextLink *odata.Link `json:"nextLink"` -} - -func (p *ListByVirtualNetworkCustomPager) NextPageLink() *odata.Link { - defer func() { - p.NextLink = nil - }() - - return p.NextLink -} - -// ListByVirtualNetwork ... -func (c DnsForwardingRulesetsClient) ListByVirtualNetwork(ctx context.Context, id commonids.VirtualNetworkId, options ListByVirtualNetworkOperationOptions) (result ListByVirtualNetworkOperationResponse, err error) { - opts := client.RequestOptions{ - ContentType: "application/json; charset=utf-8", - ExpectedStatusCodes: []int{ - http.StatusOK, - }, - HttpMethod: http.MethodPost, - OptionsObject: options, - Pager: &ListByVirtualNetworkCustomPager{}, - Path: fmt.Sprintf("%s/listDnsForwardingRulesets", id.ID()), - } - - req, err := c.Client.NewRequest(ctx, opts) - if err != nil { - return - } - - var resp *client.Response - resp, err = req.ExecutePaged(ctx) - if resp != nil { - result.OData = resp.OData - result.HttpResponse = resp.Response - } - if err != nil { - return - } - - var values struct { - Values *[]VirtualNetworkDnsForwardingRuleset `json:"value"` - } - if err = resp.Unmarshal(&values); err != nil { - return - } - - result.Model = values.Values - - return -} - -// ListByVirtualNetworkComplete retrieves all the results into a single object -func (c DnsForwardingRulesetsClient) ListByVirtualNetworkComplete(ctx context.Context, id commonids.VirtualNetworkId, options ListByVirtualNetworkOperationOptions) (ListByVirtualNetworkCompleteResult, error) { - return c.ListByVirtualNetworkCompleteMatchingPredicate(ctx, id, options, VirtualNetworkDnsForwardingRulesetOperationPredicate{}) -} - -// ListByVirtualNetworkCompleteMatchingPredicate retrieves all the results and then applies the predicate -func (c DnsForwardingRulesetsClient) ListByVirtualNetworkCompleteMatchingPredicate(ctx context.Context, id commonids.VirtualNetworkId, options ListByVirtualNetworkOperationOptions, predicate VirtualNetworkDnsForwardingRulesetOperationPredicate) (result ListByVirtualNetworkCompleteResult, err error) { - items := make([]VirtualNetworkDnsForwardingRuleset, 0) - - resp, err := c.ListByVirtualNetwork(ctx, id, options) - if err != nil { - result.LatestHttpResponse = resp.HttpResponse - err = fmt.Errorf("loading results: %+v", err) - return - } - if resp.Model != nil { - for _, v := range *resp.Model { - if predicate.Matches(v) { - items = append(items, v) - } - } - } - - result = ListByVirtualNetworkCompleteResult{ - LatestHttpResponse: resp.HttpResponse, - Items: items, - } - return -} diff --git a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_update.go b/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_update.go index 79b4f485af8..9eb62dff0aa 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_update.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/method_update.go @@ -32,7 +32,7 @@ func DefaultUpdateOperationOptions() UpdateOperationOptions { func (o UpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/predicates.go b/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/predicates.go index c52c3230e2a..7171ba46745 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/predicates.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/predicates.go @@ -35,16 +35,3 @@ func (p DnsForwardingRulesetOperationPredicate) Matches(input DnsForwardingRules return true } - -type VirtualNetworkDnsForwardingRulesetOperationPredicate struct { - Id *string -} - -func (p VirtualNetworkDnsForwardingRulesetOperationPredicate) Matches(input VirtualNetworkDnsForwardingRuleset) bool { - - if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { - return false - } - - return true -} diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_bulk.go b/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_bulk.go index e41da82b662..93143f158ff 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_bulk.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_bulk.go @@ -33,10 +33,10 @@ func DefaultBulkOperationOptions() BulkOperationOptions { func (o BulkOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } if o.IfNoneMatch != nil { - out.Append("If-None-Match", fmt.Sprintf("%v", *o.IfNoneMatch)) + out.Append("if-none-match", fmt.Sprintf("%v", *o.IfNoneMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_createorupdate.go b/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_createorupdate.go index 113e5488bb5..c66f4ab9c53 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_createorupdate.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_createorupdate.go @@ -33,10 +33,10 @@ func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions { func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } if o.IfNoneMatch != nil { - out.Append("If-None-Match", fmt.Sprintf("%v", *o.IfNoneMatch)) + out.Append("if-none-match", fmt.Sprintf("%v", *o.IfNoneMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_delete.go b/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_delete.go index 068fc01e0f3..6c5d59156da 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_delete.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_delete.go @@ -31,7 +31,7 @@ func DefaultDeleteOperationOptions() DeleteOperationOptions { func (o DeleteOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_update.go b/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_update.go index 61763084a1a..4ce2ae954d4 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_update.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverdomainlists/method_update.go @@ -32,7 +32,7 @@ func DefaultUpdateOperationOptions() UpdateOperationOptions { func (o UpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/README.md b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/README.md index de68b941169..319c8128846 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/README.md +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/README.md @@ -100,23 +100,6 @@ for _, item := range items { ``` -### Example Usage: `DnsResolverPoliciesClient.ListByVirtualNetwork` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -// alternatively `client.ListByVirtualNetwork(ctx, id)` can be used to do batched pagination -items, err := client.ListByVirtualNetworkComplete(ctx, id) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - ### Example Usage: `DnsResolverPoliciesClient.Update` ```go diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_createorupdate.go b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_createorupdate.go index 80ce4c50948..077a8aee933 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_createorupdate.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_createorupdate.go @@ -33,10 +33,10 @@ func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions { func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } if o.IfNoneMatch != nil { - out.Append("If-None-Match", fmt.Sprintf("%v", *o.IfNoneMatch)) + out.Append("if-none-match", fmt.Sprintf("%v", *o.IfNoneMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_delete.go b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_delete.go index 07ad3d72031..f35ae47eecc 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_delete.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_delete.go @@ -31,7 +31,7 @@ func DefaultDeleteOperationOptions() DeleteOperationOptions { func (o DeleteOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_update.go b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_update.go index f2d7be287cb..48d9047d289 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_update.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_update.go @@ -32,7 +32,7 @@ func DefaultUpdateOperationOptions() UpdateOperationOptions { func (o UpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/predicates.go b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/predicates.go index a2573365a76..1de763789e8 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/predicates.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/predicates.go @@ -35,16 +35,3 @@ func (p DnsResolverPolicyOperationPredicate) Matches(input DnsResolverPolicy) bo return true } - -type SubResourceOperationPredicate struct { - Id *string -} - -func (p SubResourceOperationPredicate) Matches(input SubResource) bool { - - if p.Id != nil && *p.Id != input.Id { - return false - } - - return true -} diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_createorupdate.go b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_createorupdate.go index ec900b0708b..9565a253ded 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_createorupdate.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_createorupdate.go @@ -33,10 +33,10 @@ func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions { func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } if o.IfNoneMatch != nil { - out.Append("If-None-Match", fmt.Sprintf("%v", *o.IfNoneMatch)) + out.Append("if-none-match", fmt.Sprintf("%v", *o.IfNoneMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_delete.go b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_delete.go index 25e777a72d1..acf28210d88 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_delete.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_delete.go @@ -31,7 +31,7 @@ func DefaultDeleteOperationOptions() DeleteOperationOptions { func (o DeleteOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_update.go b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_update.go index ea848f04fd9..d8bec1b3e7a 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_update.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicyvirtualnetworklinks/method_update.go @@ -32,7 +32,7 @@ func DefaultUpdateOperationOptions() UpdateOperationOptions { func (o UpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/README.md b/resource-manager/dnsresolver/2025-05-01/dnsresolvers/README.md index 55e80bb78cc..ccfd71a46f2 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/README.md +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolvers/README.md @@ -100,23 +100,6 @@ for _, item := range items { ``` -### Example Usage: `DnsResolversClient.ListByVirtualNetwork` - -```go -ctx := context.TODO() -id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") - -// alternatively `client.ListByVirtualNetwork(ctx, id, dnsresolvers.DefaultListByVirtualNetworkOperationOptions())` can be used to do batched pagination -items, err := client.ListByVirtualNetworkComplete(ctx, id, dnsresolvers.DefaultListByVirtualNetworkOperationOptions()) -if err != nil { - // handle the error -} -for _, item := range items { - // do something -} -``` - - ### Example Usage: `DnsResolversClient.Update` ```go diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_createorupdate.go b/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_createorupdate.go index 364ce6bc73e..eb711cd7512 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_createorupdate.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_createorupdate.go @@ -33,10 +33,10 @@ func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions { func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } if o.IfNoneMatch != nil { - out.Append("If-None-Match", fmt.Sprintf("%v", *o.IfNoneMatch)) + out.Append("if-none-match", fmt.Sprintf("%v", *o.IfNoneMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_delete.go b/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_delete.go index a0a7c136f36..83ebabd4f68 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_delete.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_delete.go @@ -31,7 +31,7 @@ func DefaultDeleteOperationOptions() DeleteOperationOptions { func (o DeleteOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_listbyvirtualnetwork.go b/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_listbyvirtualnetwork.go deleted file mode 100644 index 02ec5695882..00000000000 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_listbyvirtualnetwork.go +++ /dev/null @@ -1,135 +0,0 @@ -package dnsresolvers - -import ( - "context" - "fmt" - "net/http" - - "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/sdk/client" - "github.com/hashicorp/go-azure-sdk/sdk/odata" -) - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ListByVirtualNetworkOperationResponse struct { - HttpResponse *http.Response - OData *odata.OData - Model *[]SubResource -} - -type ListByVirtualNetworkCompleteResult struct { - LatestHttpResponse *http.Response - Items []SubResource -} - -type ListByVirtualNetworkOperationOptions struct { - Top *int64 -} - -func DefaultListByVirtualNetworkOperationOptions() ListByVirtualNetworkOperationOptions { - return ListByVirtualNetworkOperationOptions{} -} - -func (o ListByVirtualNetworkOperationOptions) ToHeaders() *client.Headers { - out := client.Headers{} - - return &out -} - -func (o ListByVirtualNetworkOperationOptions) ToOData() *odata.Query { - out := odata.Query{} - - return &out -} - -func (o ListByVirtualNetworkOperationOptions) ToQuery() *client.QueryParams { - out := client.QueryParams{} - if o.Top != nil { - out.Append("$top", fmt.Sprintf("%v", *o.Top)) - } - return &out -} - -type ListByVirtualNetworkCustomPager struct { - NextLink *odata.Link `json:"nextLink"` -} - -func (p *ListByVirtualNetworkCustomPager) NextPageLink() *odata.Link { - defer func() { - p.NextLink = nil - }() - - return p.NextLink -} - -// ListByVirtualNetwork ... -func (c DnsResolversClient) ListByVirtualNetwork(ctx context.Context, id commonids.VirtualNetworkId, options ListByVirtualNetworkOperationOptions) (result ListByVirtualNetworkOperationResponse, err error) { - opts := client.RequestOptions{ - ContentType: "application/json; charset=utf-8", - ExpectedStatusCodes: []int{ - http.StatusOK, - }, - HttpMethod: http.MethodPost, - OptionsObject: options, - Pager: &ListByVirtualNetworkCustomPager{}, - Path: fmt.Sprintf("%s/listDnsResolvers", id.ID()), - } - - req, err := c.Client.NewRequest(ctx, opts) - if err != nil { - return - } - - var resp *client.Response - resp, err = req.ExecutePaged(ctx) - if resp != nil { - result.OData = resp.OData - result.HttpResponse = resp.Response - } - if err != nil { - return - } - - var values struct { - Values *[]SubResource `json:"value"` - } - if err = resp.Unmarshal(&values); err != nil { - return - } - - result.Model = values.Values - - return -} - -// ListByVirtualNetworkComplete retrieves all the results into a single object -func (c DnsResolversClient) ListByVirtualNetworkComplete(ctx context.Context, id commonids.VirtualNetworkId, options ListByVirtualNetworkOperationOptions) (ListByVirtualNetworkCompleteResult, error) { - return c.ListByVirtualNetworkCompleteMatchingPredicate(ctx, id, options, SubResourceOperationPredicate{}) -} - -// ListByVirtualNetworkCompleteMatchingPredicate retrieves all the results and then applies the predicate -func (c DnsResolversClient) ListByVirtualNetworkCompleteMatchingPredicate(ctx context.Context, id commonids.VirtualNetworkId, options ListByVirtualNetworkOperationOptions, predicate SubResourceOperationPredicate) (result ListByVirtualNetworkCompleteResult, err error) { - items := make([]SubResource, 0) - - resp, err := c.ListByVirtualNetwork(ctx, id, options) - if err != nil { - result.LatestHttpResponse = resp.HttpResponse - err = fmt.Errorf("loading results: %+v", err) - return - } - if resp.Model != nil { - for _, v := range *resp.Model { - if predicate.Matches(v) { - items = append(items, v) - } - } - } - - result = ListByVirtualNetworkCompleteResult{ - LatestHttpResponse: resp.HttpResponse, - Items: items, - } - return -} diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_update.go b/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_update.go index 89e0f57804d..ba5a8e2f133 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_update.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolvers/method_update.go @@ -32,7 +32,7 @@ func DefaultUpdateOperationOptions() UpdateOperationOptions { func (o UpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/predicates.go b/resource-manager/dnsresolver/2025-05-01/dnsresolvers/predicates.go index f0c5d490d4a..8c7744c5e65 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolvers/predicates.go +++ b/resource-manager/dnsresolver/2025-05-01/dnsresolvers/predicates.go @@ -35,16 +35,3 @@ func (p DnsResolverOperationPredicate) Matches(input DnsResolver) bool { return true } - -type SubResourceOperationPredicate struct { - Id *string -} - -func (p SubResourceOperationPredicate) Matches(input SubResource) bool { - - if p.Id != nil && *p.Id != input.Id { - return false - } - - return true -} diff --git a/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_createorupdate.go b/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_createorupdate.go index 7e84f85446d..2b7fc8e0c2d 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_createorupdate.go +++ b/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_createorupdate.go @@ -33,10 +33,10 @@ func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions { func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } if o.IfNoneMatch != nil { - out.Append("If-None-Match", fmt.Sprintf("%v", *o.IfNoneMatch)) + out.Append("if-none-match", fmt.Sprintf("%v", *o.IfNoneMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_delete.go b/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_delete.go index 1cc21d34005..3c844d2a6a6 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_delete.go +++ b/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_delete.go @@ -31,7 +31,7 @@ func DefaultDeleteOperationOptions() DeleteOperationOptions { func (o DeleteOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_update.go b/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_update.go index 90dda4c139f..4e1433135ea 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_update.go +++ b/resource-manager/dnsresolver/2025-05-01/dnssecurityrules/method_update.go @@ -32,7 +32,7 @@ func DefaultUpdateOperationOptions() UpdateOperationOptions { func (o UpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_createorupdate.go b/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_createorupdate.go index ef40afa0cd9..0d8a7eb4af4 100644 --- a/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_createorupdate.go +++ b/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_createorupdate.go @@ -30,10 +30,10 @@ func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions { func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } if o.IfNoneMatch != nil { - out.Append("If-None-Match", fmt.Sprintf("%v", *o.IfNoneMatch)) + out.Append("if-none-match", fmt.Sprintf("%v", *o.IfNoneMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_delete.go b/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_delete.go index 96fab02ca69..af7a6a30052 100644 --- a/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_delete.go +++ b/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_delete.go @@ -28,7 +28,7 @@ func DefaultDeleteOperationOptions() DeleteOperationOptions { func (o DeleteOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_update.go b/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_update.go index 7d23c91b9be..bfc715bc4f9 100644 --- a/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_update.go +++ b/resource-manager/dnsresolver/2025-05-01/forwardingrules/method_update.go @@ -29,7 +29,7 @@ func DefaultUpdateOperationOptions() UpdateOperationOptions { func (o UpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_createorupdate.go b/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_createorupdate.go index 64642fa340a..37d2e03b732 100644 --- a/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_createorupdate.go +++ b/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_createorupdate.go @@ -33,10 +33,10 @@ func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions { func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } if o.IfNoneMatch != nil { - out.Append("If-None-Match", fmt.Sprintf("%v", *o.IfNoneMatch)) + out.Append("if-none-match", fmt.Sprintf("%v", *o.IfNoneMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_delete.go b/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_delete.go index 8505b20c5f6..ac536f72205 100644 --- a/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_delete.go +++ b/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_delete.go @@ -31,7 +31,7 @@ func DefaultDeleteOperationOptions() DeleteOperationOptions { func (o DeleteOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_update.go b/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_update.go index da5c738c318..a09fe96314f 100644 --- a/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_update.go +++ b/resource-manager/dnsresolver/2025-05-01/inboundendpoints/method_update.go @@ -32,7 +32,7 @@ func DefaultUpdateOperationOptions() UpdateOperationOptions { func (o UpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/openapis/README.md b/resource-manager/dnsresolver/2025-05-01/openapis/README.md new file mode 100644 index 00000000000..d12673544a7 --- /dev/null +++ b/resource-manager/dnsresolver/2025-05-01/openapis/README.md @@ -0,0 +1,72 @@ + +## `github.com/hashicorp/go-azure-sdk/resource-manager/dnsresolver/2025-05-01/openapis` Documentation + +The `openapis` SDK allows for interaction with Azure Resource Manager `dnsresolver` (API Version `2025-05-01`). + +This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). + +### Import Path + +```go +import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" +import "github.com/hashicorp/go-azure-sdk/resource-manager/dnsresolver/2025-05-01/openapis" +``` + + +### Client Initialization + +```go +client := openapis.NewOpenapisClientWithBaseURI("https://management.azure.com") +client.Client.Authorizer = authorizer +``` + + +### Example Usage: `OpenapisClient.DnsForwardingRulesetsListByVirtualNetwork` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +// alternatively `client.DnsForwardingRulesetsListByVirtualNetwork(ctx, id, openapis.DefaultDnsForwardingRulesetsListByVirtualNetworkOperationOptions())` can be used to do batched pagination +items, err := client.DnsForwardingRulesetsListByVirtualNetworkComplete(ctx, id, openapis.DefaultDnsForwardingRulesetsListByVirtualNetworkOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `OpenapisClient.DnsResolverPoliciesListByVirtualNetwork` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +// alternatively `client.DnsResolverPoliciesListByVirtualNetwork(ctx, id)` can be used to do batched pagination +items, err := client.DnsResolverPoliciesListByVirtualNetworkComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + +### Example Usage: `OpenapisClient.DnsResolversListByVirtualNetwork` + +```go +ctx := context.TODO() +id := commonids.NewVirtualNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkName") + +// alternatively `client.DnsResolversListByVirtualNetwork(ctx, id, openapis.DefaultDnsResolversListByVirtualNetworkOperationOptions())` can be used to do batched pagination +items, err := client.DnsResolversListByVirtualNetworkComplete(ctx, id, openapis.DefaultDnsResolversListByVirtualNetworkOperationOptions()) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` diff --git a/resource-manager/dnsresolver/2025-05-01/openapis/client.go b/resource-manager/dnsresolver/2025-05-01/openapis/client.go new file mode 100644 index 00000000000..497a88776d1 --- /dev/null +++ b/resource-manager/dnsresolver/2025-05-01/openapis/client.go @@ -0,0 +1,26 @@ +package openapis + +import ( + "fmt" + + "github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager" + sdkEnv "github.com/hashicorp/go-azure-sdk/sdk/environments" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OpenapisClient struct { + Client *resourcemanager.Client +} + +func NewOpenapisClientWithBaseURI(sdkApi sdkEnv.Api) (*OpenapisClient, error) { + client, err := resourcemanager.NewClient(sdkApi, "openapis", defaultApiVersion) + if err != nil { + return nil, fmt.Errorf("instantiating OpenapisClient: %+v", err) + } + + return &OpenapisClient{ + Client: client, + }, nil +} diff --git a/resource-manager/dnsresolver/2025-05-01/openapis/method_dnsforwardingrulesetslistbyvirtualnetwork.go b/resource-manager/dnsresolver/2025-05-01/openapis/method_dnsforwardingrulesetslistbyvirtualnetwork.go new file mode 100644 index 00000000000..f8f8924effa --- /dev/null +++ b/resource-manager/dnsresolver/2025-05-01/openapis/method_dnsforwardingrulesetslistbyvirtualnetwork.go @@ -0,0 +1,135 @@ +package openapis + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DnsForwardingRulesetsListByVirtualNetworkOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]VirtualNetworkDnsForwardingRuleset +} + +type DnsForwardingRulesetsListByVirtualNetworkCompleteResult struct { + LatestHttpResponse *http.Response + Items []VirtualNetworkDnsForwardingRuleset +} + +type DnsForwardingRulesetsListByVirtualNetworkOperationOptions struct { + Top *int64 +} + +func DefaultDnsForwardingRulesetsListByVirtualNetworkOperationOptions() DnsForwardingRulesetsListByVirtualNetworkOperationOptions { + return DnsForwardingRulesetsListByVirtualNetworkOperationOptions{} +} + +func (o DnsForwardingRulesetsListByVirtualNetworkOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o DnsForwardingRulesetsListByVirtualNetworkOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o DnsForwardingRulesetsListByVirtualNetworkOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Top != nil { + out.Append("$top", fmt.Sprintf("%v", *o.Top)) + } + return &out +} + +type DnsForwardingRulesetsListByVirtualNetworkCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *DnsForwardingRulesetsListByVirtualNetworkCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// DnsForwardingRulesetsListByVirtualNetwork ... +func (c OpenapisClient) DnsForwardingRulesetsListByVirtualNetwork(ctx context.Context, id commonids.VirtualNetworkId, options DnsForwardingRulesetsListByVirtualNetworkOperationOptions) (result DnsForwardingRulesetsListByVirtualNetworkOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPost, + OptionsObject: options, + Pager: &DnsForwardingRulesetsListByVirtualNetworkCustomPager{}, + Path: fmt.Sprintf("%s/listDnsForwardingRulesets", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]VirtualNetworkDnsForwardingRuleset `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// DnsForwardingRulesetsListByVirtualNetworkComplete retrieves all the results into a single object +func (c OpenapisClient) DnsForwardingRulesetsListByVirtualNetworkComplete(ctx context.Context, id commonids.VirtualNetworkId, options DnsForwardingRulesetsListByVirtualNetworkOperationOptions) (DnsForwardingRulesetsListByVirtualNetworkCompleteResult, error) { + return c.DnsForwardingRulesetsListByVirtualNetworkCompleteMatchingPredicate(ctx, id, options, VirtualNetworkDnsForwardingRulesetOperationPredicate{}) +} + +// DnsForwardingRulesetsListByVirtualNetworkCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c OpenapisClient) DnsForwardingRulesetsListByVirtualNetworkCompleteMatchingPredicate(ctx context.Context, id commonids.VirtualNetworkId, options DnsForwardingRulesetsListByVirtualNetworkOperationOptions, predicate VirtualNetworkDnsForwardingRulesetOperationPredicate) (result DnsForwardingRulesetsListByVirtualNetworkCompleteResult, err error) { + items := make([]VirtualNetworkDnsForwardingRuleset, 0) + + resp, err := c.DnsForwardingRulesetsListByVirtualNetwork(ctx, id, options) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = DnsForwardingRulesetsListByVirtualNetworkCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_listbyvirtualnetwork.go b/resource-manager/dnsresolver/2025-05-01/openapis/method_dnsresolverpolicieslistbyvirtualnetwork.go similarity index 51% rename from resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_listbyvirtualnetwork.go rename to resource-manager/dnsresolver/2025-05-01/openapis/method_dnsresolverpolicieslistbyvirtualnetwork.go index f76faec0fee..ecad20dc73e 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/method_listbyvirtualnetwork.go +++ b/resource-manager/dnsresolver/2025-05-01/openapis/method_dnsresolverpolicieslistbyvirtualnetwork.go @@ -1,4 +1,4 @@ -package dnsresolverpolicies +package openapis import ( "context" @@ -13,22 +13,22 @@ import ( // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. -type ListByVirtualNetworkOperationResponse struct { +type DnsResolverPoliciesListByVirtualNetworkOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SubResource } -type ListByVirtualNetworkCompleteResult struct { +type DnsResolverPoliciesListByVirtualNetworkCompleteResult struct { LatestHttpResponse *http.Response Items []SubResource } -type ListByVirtualNetworkCustomPager struct { +type DnsResolverPoliciesListByVirtualNetworkCustomPager struct { NextLink *odata.Link `json:"nextLink"` } -func (p *ListByVirtualNetworkCustomPager) NextPageLink() *odata.Link { +func (p *DnsResolverPoliciesListByVirtualNetworkCustomPager) NextPageLink() *odata.Link { defer func() { p.NextLink = nil }() @@ -36,15 +36,15 @@ func (p *ListByVirtualNetworkCustomPager) NextPageLink() *odata.Link { return p.NextLink } -// ListByVirtualNetwork ... -func (c DnsResolverPoliciesClient) ListByVirtualNetwork(ctx context.Context, id commonids.VirtualNetworkId) (result ListByVirtualNetworkOperationResponse, err error) { +// DnsResolverPoliciesListByVirtualNetwork ... +func (c OpenapisClient) DnsResolverPoliciesListByVirtualNetwork(ctx context.Context, id commonids.VirtualNetworkId) (result DnsResolverPoliciesListByVirtualNetworkOperationResponse, err error) { opts := client.RequestOptions{ ContentType: "application/json; charset=utf-8", ExpectedStatusCodes: []int{ http.StatusOK, }, HttpMethod: http.MethodPost, - Pager: &ListByVirtualNetworkCustomPager{}, + Pager: &DnsResolverPoliciesListByVirtualNetworkCustomPager{}, Path: fmt.Sprintf("%s/listDnsResolverPolicies", id.ID()), } @@ -75,16 +75,16 @@ func (c DnsResolverPoliciesClient) ListByVirtualNetwork(ctx context.Context, id return } -// ListByVirtualNetworkComplete retrieves all the results into a single object -func (c DnsResolverPoliciesClient) ListByVirtualNetworkComplete(ctx context.Context, id commonids.VirtualNetworkId) (ListByVirtualNetworkCompleteResult, error) { - return c.ListByVirtualNetworkCompleteMatchingPredicate(ctx, id, SubResourceOperationPredicate{}) +// DnsResolverPoliciesListByVirtualNetworkComplete retrieves all the results into a single object +func (c OpenapisClient) DnsResolverPoliciesListByVirtualNetworkComplete(ctx context.Context, id commonids.VirtualNetworkId) (DnsResolverPoliciesListByVirtualNetworkCompleteResult, error) { + return c.DnsResolverPoliciesListByVirtualNetworkCompleteMatchingPredicate(ctx, id, SubResourceOperationPredicate{}) } -// ListByVirtualNetworkCompleteMatchingPredicate retrieves all the results and then applies the predicate -func (c DnsResolverPoliciesClient) ListByVirtualNetworkCompleteMatchingPredicate(ctx context.Context, id commonids.VirtualNetworkId, predicate SubResourceOperationPredicate) (result ListByVirtualNetworkCompleteResult, err error) { +// DnsResolverPoliciesListByVirtualNetworkCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c OpenapisClient) DnsResolverPoliciesListByVirtualNetworkCompleteMatchingPredicate(ctx context.Context, id commonids.VirtualNetworkId, predicate SubResourceOperationPredicate) (result DnsResolverPoliciesListByVirtualNetworkCompleteResult, err error) { items := make([]SubResource, 0) - resp, err := c.ListByVirtualNetwork(ctx, id) + resp, err := c.DnsResolverPoliciesListByVirtualNetwork(ctx, id) if err != nil { result.LatestHttpResponse = resp.HttpResponse err = fmt.Errorf("loading results: %+v", err) @@ -98,7 +98,7 @@ func (c DnsResolverPoliciesClient) ListByVirtualNetworkCompleteMatchingPredicate } } - result = ListByVirtualNetworkCompleteResult{ + result = DnsResolverPoliciesListByVirtualNetworkCompleteResult{ LatestHttpResponse: resp.HttpResponse, Items: items, } diff --git a/resource-manager/dnsresolver/2025-05-01/openapis/method_dnsresolverslistbyvirtualnetwork.go b/resource-manager/dnsresolver/2025-05-01/openapis/method_dnsresolverslistbyvirtualnetwork.go new file mode 100644 index 00000000000..4a56f6ec398 --- /dev/null +++ b/resource-manager/dnsresolver/2025-05-01/openapis/method_dnsresolverslistbyvirtualnetwork.go @@ -0,0 +1,135 @@ +package openapis + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type DnsResolversListByVirtualNetworkOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]SubResource +} + +type DnsResolversListByVirtualNetworkCompleteResult struct { + LatestHttpResponse *http.Response + Items []SubResource +} + +type DnsResolversListByVirtualNetworkOperationOptions struct { + Top *int64 +} + +func DefaultDnsResolversListByVirtualNetworkOperationOptions() DnsResolversListByVirtualNetworkOperationOptions { + return DnsResolversListByVirtualNetworkOperationOptions{} +} + +func (o DnsResolversListByVirtualNetworkOperationOptions) ToHeaders() *client.Headers { + out := client.Headers{} + + return &out +} + +func (o DnsResolversListByVirtualNetworkOperationOptions) ToOData() *odata.Query { + out := odata.Query{} + + return &out +} + +func (o DnsResolversListByVirtualNetworkOperationOptions) ToQuery() *client.QueryParams { + out := client.QueryParams{} + if o.Top != nil { + out.Append("$top", fmt.Sprintf("%v", *o.Top)) + } + return &out +} + +type DnsResolversListByVirtualNetworkCustomPager struct { + NextLink *odata.Link `json:"nextLink"` +} + +func (p *DnsResolversListByVirtualNetworkCustomPager) NextPageLink() *odata.Link { + defer func() { + p.NextLink = nil + }() + + return p.NextLink +} + +// DnsResolversListByVirtualNetwork ... +func (c OpenapisClient) DnsResolversListByVirtualNetwork(ctx context.Context, id commonids.VirtualNetworkId, options DnsResolversListByVirtualNetworkOperationOptions) (result DnsResolversListByVirtualNetworkOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodPost, + OptionsObject: options, + Pager: &DnsResolversListByVirtualNetworkCustomPager{}, + Path: fmt.Sprintf("%s/listDnsResolvers", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]SubResource `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// DnsResolversListByVirtualNetworkComplete retrieves all the results into a single object +func (c OpenapisClient) DnsResolversListByVirtualNetworkComplete(ctx context.Context, id commonids.VirtualNetworkId, options DnsResolversListByVirtualNetworkOperationOptions) (DnsResolversListByVirtualNetworkCompleteResult, error) { + return c.DnsResolversListByVirtualNetworkCompleteMatchingPredicate(ctx, id, options, SubResourceOperationPredicate{}) +} + +// DnsResolversListByVirtualNetworkCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c OpenapisClient) DnsResolversListByVirtualNetworkCompleteMatchingPredicate(ctx context.Context, id commonids.VirtualNetworkId, options DnsResolversListByVirtualNetworkOperationOptions, predicate SubResourceOperationPredicate) (result DnsResolversListByVirtualNetworkCompleteResult, err error) { + items := make([]SubResource, 0) + + resp, err := c.DnsResolversListByVirtualNetwork(ctx, id, options) + if err != nil { + result.LatestHttpResponse = resp.HttpResponse + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = DnsResolversListByVirtualNetworkCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/model_subresource.go b/resource-manager/dnsresolver/2025-05-01/openapis/model_subresource.go similarity index 88% rename from resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/model_subresource.go rename to resource-manager/dnsresolver/2025-05-01/openapis/model_subresource.go index 0dc660cd567..ccd6a9dde04 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsresolverpolicies/model_subresource.go +++ b/resource-manager/dnsresolver/2025-05-01/openapis/model_subresource.go @@ -1,4 +1,4 @@ -package dnsresolverpolicies +package openapis // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. diff --git a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/model_virtualnetworkdnsforwardingruleset.go b/resource-manager/dnsresolver/2025-05-01/openapis/model_virtualnetworkdnsforwardingruleset.go similarity index 92% rename from resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/model_virtualnetworkdnsforwardingruleset.go rename to resource-manager/dnsresolver/2025-05-01/openapis/model_virtualnetworkdnsforwardingruleset.go index 42ca0d3d68f..7d50d246edd 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/model_virtualnetworkdnsforwardingruleset.go +++ b/resource-manager/dnsresolver/2025-05-01/openapis/model_virtualnetworkdnsforwardingruleset.go @@ -1,4 +1,4 @@ -package dnsforwardingrulesets +package openapis // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. diff --git a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/model_virtualnetworklinksubresourceproperties.go b/resource-manager/dnsresolver/2025-05-01/openapis/model_virtualnetworklinksubresourceproperties.go similarity index 90% rename from resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/model_virtualnetworklinksubresourceproperties.go rename to resource-manager/dnsresolver/2025-05-01/openapis/model_virtualnetworklinksubresourceproperties.go index c44359fe9e9..2f349eb5181 100644 --- a/resource-manager/dnsresolver/2025-05-01/dnsforwardingrulesets/model_virtualnetworklinksubresourceproperties.go +++ b/resource-manager/dnsresolver/2025-05-01/openapis/model_virtualnetworklinksubresourceproperties.go @@ -1,4 +1,4 @@ -package dnsforwardingrulesets +package openapis // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. diff --git a/resource-manager/dnsresolver/2025-05-01/openapis/predicates.go b/resource-manager/dnsresolver/2025-05-01/openapis/predicates.go new file mode 100644 index 00000000000..5f5f8cf303e --- /dev/null +++ b/resource-manager/dnsresolver/2025-05-01/openapis/predicates.go @@ -0,0 +1,30 @@ +package openapis + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SubResourceOperationPredicate struct { + Id *string +} + +func (p SubResourceOperationPredicate) Matches(input SubResource) bool { + + if p.Id != nil && *p.Id != input.Id { + return false + } + + return true +} + +type VirtualNetworkDnsForwardingRulesetOperationPredicate struct { + Id *string +} + +func (p VirtualNetworkDnsForwardingRulesetOperationPredicate) Matches(input VirtualNetworkDnsForwardingRuleset) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + return true +} diff --git a/resource-manager/dnsresolver/2025-05-01/openapis/version.go b/resource-manager/dnsresolver/2025-05-01/openapis/version.go new file mode 100644 index 00000000000..c7f2c345ad7 --- /dev/null +++ b/resource-manager/dnsresolver/2025-05-01/openapis/version.go @@ -0,0 +1,10 @@ +package openapis + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +const defaultApiVersion = "2025-05-01" + +func userAgent() string { + return "hashicorp/go-azure-sdk/openapis/2025-05-01" +} diff --git a/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_createorupdate.go b/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_createorupdate.go index 1eed061313d..2dc950c7318 100644 --- a/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_createorupdate.go +++ b/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_createorupdate.go @@ -33,10 +33,10 @@ func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions { func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } if o.IfNoneMatch != nil { - out.Append("If-None-Match", fmt.Sprintf("%v", *o.IfNoneMatch)) + out.Append("if-none-match", fmt.Sprintf("%v", *o.IfNoneMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_delete.go b/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_delete.go index daec853c887..d9f8e160cb2 100644 --- a/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_delete.go +++ b/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_delete.go @@ -31,7 +31,7 @@ func DefaultDeleteOperationOptions() DeleteOperationOptions { func (o DeleteOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_update.go b/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_update.go index 08d4d904e5e..dbc0813fe72 100644 --- a/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_update.go +++ b/resource-manager/dnsresolver/2025-05-01/outboundendpoints/method_update.go @@ -32,7 +32,7 @@ func DefaultUpdateOperationOptions() UpdateOperationOptions { func (o UpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_createorupdate.go b/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_createorupdate.go index 8f62fdb509b..73273499e8a 100644 --- a/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_createorupdate.go +++ b/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_createorupdate.go @@ -33,10 +33,10 @@ func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions { func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } if o.IfNoneMatch != nil { - out.Append("If-None-Match", fmt.Sprintf("%v", *o.IfNoneMatch)) + out.Append("if-none-match", fmt.Sprintf("%v", *o.IfNoneMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_delete.go b/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_delete.go index 655a60540de..c635cbf5e65 100644 --- a/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_delete.go +++ b/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_delete.go @@ -31,7 +31,7 @@ func DefaultDeleteOperationOptions() DeleteOperationOptions { func (o DeleteOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_update.go b/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_update.go index 6d19c45beaf..ce9db26d6f8 100644 --- a/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_update.go +++ b/resource-manager/dnsresolver/2025-05-01/virtualnetworklinks/method_update.go @@ -32,7 +32,7 @@ func DefaultUpdateOperationOptions() UpdateOperationOptions { func (o UpdateOperationOptions) ToHeaders() *client.Headers { out := client.Headers{} if o.IfMatch != nil { - out.Append("If-Match", fmt.Sprintf("%v", *o.IfMatch)) + out.Append("if-match", fmt.Sprintf("%v", *o.IfMatch)) } return &out } diff --git a/resource-manager/elastic/2024-03-01/openaiintegration/id_openaiintegration.go b/resource-manager/elastic/2024-03-01/openaiintegration/id_openaiintegration.go index d980b3d225d..c3709d3c43c 100644 --- a/resource-manager/elastic/2024-03-01/openaiintegration/id_openaiintegration.go +++ b/resource-manager/elastic/2024-03-01/openaiintegration/id_openaiintegration.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &OpenAIIntegrationId{} -// OpenAIIntegrationId is a struct representing the Resource ID for a Open A I Integration +// OpenAIIntegrationId is a struct representing the Resource ID for a Open AI Integration type OpenAIIntegrationId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *OpenAIIntegrationId) FromParseResult(input resourceids.ParseResult) er return nil } -// ValidateOpenAIIntegrationID checks that 'input' can be parsed as a Open A I Integration ID +// ValidateOpenAIIntegrationID checks that 'input' can be parsed as a Open AI Integration ID func ValidateOpenAIIntegrationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateOpenAIIntegrationID(input interface{}, key string) (warnings []stri return } -// ID returns the formatted Open A I Integration ID +// ID returns the formatted Open AI Integration ID func (id OpenAIIntegrationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Elastic/monitors/%s/openAIIntegrations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.MonitorName, id.OpenAIIntegrationName) } -// Segments returns a slice of Resource ID Segments which comprise this Open A I Integration ID +// Segments returns a slice of Resource ID Segments which comprise this Open AI Integration ID func (id OpenAIIntegrationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id OpenAIIntegrationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Open A I Integration ID +// String returns a human-readable description of this Open AI Integration ID func (id OpenAIIntegrationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Monitor Name: %q", id.MonitorName), - fmt.Sprintf("Open A I Integration Name: %q", id.OpenAIIntegrationName), + fmt.Sprintf("Open AI Integration Name: %q", id.OpenAIIntegrationName), } - return fmt.Sprintf("Open A I Integration (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Open AI Integration (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/elastic/2025-06-01/openaiintegration/id_openaiintegration.go b/resource-manager/elastic/2025-06-01/openaiintegration/id_openaiintegration.go index d980b3d225d..c3709d3c43c 100644 --- a/resource-manager/elastic/2025-06-01/openaiintegration/id_openaiintegration.go +++ b/resource-manager/elastic/2025-06-01/openaiintegration/id_openaiintegration.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &OpenAIIntegrationId{} -// OpenAIIntegrationId is a struct representing the Resource ID for a Open A I Integration +// OpenAIIntegrationId is a struct representing the Resource ID for a Open AI Integration type OpenAIIntegrationId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *OpenAIIntegrationId) FromParseResult(input resourceids.ParseResult) er return nil } -// ValidateOpenAIIntegrationID checks that 'input' can be parsed as a Open A I Integration ID +// ValidateOpenAIIntegrationID checks that 'input' can be parsed as a Open AI Integration ID func ValidateOpenAIIntegrationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateOpenAIIntegrationID(input interface{}, key string) (warnings []stri return } -// ID returns the formatted Open A I Integration ID +// ID returns the formatted Open AI Integration ID func (id OpenAIIntegrationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Elastic/monitors/%s/openAIIntegrations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.MonitorName, id.OpenAIIntegrationName) } -// Segments returns a slice of Resource ID Segments which comprise this Open A I Integration ID +// Segments returns a slice of Resource ID Segments which comprise this Open AI Integration ID func (id OpenAIIntegrationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id OpenAIIntegrationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Open A I Integration ID +// String returns a human-readable description of this Open AI Integration ID func (id OpenAIIntegrationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Monitor Name: %q", id.MonitorName), - fmt.Sprintf("Open A I Integration Name: %q", id.OpenAIIntegrationName), + fmt.Sprintf("Open AI Integration Name: %q", id.OpenAIIntegrationName), } - return fmt.Sprintf("Open A I Integration (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Open AI Integration (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/hardwaresecuritymodules/2021-11-30/dedicatedhsms/id_dedicatedhsm.go b/resource-manager/hardwaresecuritymodules/2021-11-30/dedicatedhsms/id_dedicatedhsm.go index 1e87a60246a..c5c707447ac 100644 --- a/resource-manager/hardwaresecuritymodules/2021-11-30/dedicatedhsms/id_dedicatedhsm.go +++ b/resource-manager/hardwaresecuritymodules/2021-11-30/dedicatedhsms/id_dedicatedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &DedicatedHSMId{} -// DedicatedHSMId is a struct representing the Resource ID for a Dedicated H S M +// DedicatedHSMId is a struct representing the Resource ID for a Dedicated HSM type DedicatedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *DedicatedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateDedicatedHSMID checks that 'input' can be parsed as a Dedicated H S M ID +// ValidateDedicatedHSMID checks that 'input' can be parsed as a Dedicated HSM ID func ValidateDedicatedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateDedicatedHSMID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted Dedicated H S M ID +// ID returns the formatted Dedicated HSM ID func (id DedicatedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.DedicatedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Dedicated H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Dedicated HSM ID func (id DedicatedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id DedicatedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Dedicated H S M ID +// String returns a human-readable description of this Dedicated HSM ID func (id DedicatedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Dedicated H S M Name: %q", id.DedicatedHSMName), + fmt.Sprintf("Dedicated HSM Name: %q", id.DedicatedHSMName), } - return fmt.Sprintf("Dedicated H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Dedicated HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/hardwaresecuritymodules/2025-03-31/dedicatedhsms/id_dedicatedhsm.go b/resource-manager/hardwaresecuritymodules/2025-03-31/dedicatedhsms/id_dedicatedhsm.go index 1e87a60246a..c5c707447ac 100644 --- a/resource-manager/hardwaresecuritymodules/2025-03-31/dedicatedhsms/id_dedicatedhsm.go +++ b/resource-manager/hardwaresecuritymodules/2025-03-31/dedicatedhsms/id_dedicatedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &DedicatedHSMId{} -// DedicatedHSMId is a struct representing the Resource ID for a Dedicated H S M +// DedicatedHSMId is a struct representing the Resource ID for a Dedicated HSM type DedicatedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *DedicatedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateDedicatedHSMID checks that 'input' can be parsed as a Dedicated H S M ID +// ValidateDedicatedHSMID checks that 'input' can be parsed as a Dedicated HSM ID func ValidateDedicatedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateDedicatedHSMID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted Dedicated H S M ID +// ID returns the formatted Dedicated HSM ID func (id DedicatedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.DedicatedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Dedicated H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Dedicated HSM ID func (id DedicatedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id DedicatedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Dedicated H S M ID +// String returns a human-readable description of this Dedicated HSM ID func (id DedicatedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Dedicated H S M Name: %q", id.DedicatedHSMName), + fmt.Sprintf("Dedicated HSM Name: %q", id.DedicatedHSMName), } - return fmt.Sprintf("Dedicated H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Dedicated HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_key.go b/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_key.go index dd39b431e21..dba7547a08c 100644 --- a/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_key.go +++ b/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_key.go @@ -132,7 +132,7 @@ func (id KeyId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), fmt.Sprintf("Key Name: %q", id.KeyName), } return fmt.Sprintf("Key (%s)", strings.Join(components, "\n")) diff --git a/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_managedhsm.go b/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_managedhsm.go index aea1e0c0000..65e558b6156 100644 --- a/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_managedhsm.go +++ b/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_version.go b/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_version.go index fdf99d70b75..fa9ba1b1518 100644 --- a/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_version.go +++ b/resource-manager/keyvault/2023-02-01/managedhsmkeys/id_version.go @@ -140,7 +140,7 @@ func (id VersionId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), fmt.Sprintf("Key Name: %q", id.KeyName), fmt.Sprintf("Version Name: %q", id.VersionName), } diff --git a/resource-manager/keyvault/2023-02-01/managedhsms/id_deletedmanagedhsm.go b/resource-manager/keyvault/2023-02-01/managedhsms/id_deletedmanagedhsm.go index 38f9e319b85..b04c824161e 100644 --- a/resource-manager/keyvault/2023-02-01/managedhsms/id_deletedmanagedhsm.go +++ b/resource-manager/keyvault/2023-02-01/managedhsms/id_deletedmanagedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &DeletedManagedHSMId{} -// DeletedManagedHSMId is a struct representing the Resource ID for a Deleted Managed H S M +// DeletedManagedHSMId is a struct representing the Resource ID for a Deleted Managed HSM type DeletedManagedHSMId struct { SubscriptionId string LocationName string @@ -84,7 +84,7 @@ func (id *DeletedManagedHSMId) FromParseResult(input resourceids.ParseResult) er return nil } -// ValidateDeletedManagedHSMID checks that 'input' can be parsed as a Deleted Managed H S M ID +// ValidateDeletedManagedHSMID checks that 'input' can be parsed as a Deleted Managed HSM ID func ValidateDeletedManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateDeletedManagedHSMID(input interface{}, key string) (warnings []stri return } -// ID returns the formatted Deleted Managed H S M ID +// ID returns the formatted Deleted Managed HSM ID func (id DeletedManagedHSMId) ID() string { fmtString := "/subscriptions/%s/providers/Microsoft.KeyVault/locations/%s/deletedManagedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.DeletedManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Deleted Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Deleted Managed HSM ID func (id DeletedManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id DeletedManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Deleted Managed H S M ID +// String returns a human-readable description of this Deleted Managed HSM ID func (id DeletedManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Location Name: %q", id.LocationName), - fmt.Sprintf("Deleted Managed H S M Name: %q", id.DeletedManagedHSMName), + fmt.Sprintf("Deleted Managed HSM Name: %q", id.DeletedManagedHSMName), } - return fmt.Sprintf("Deleted Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Deleted Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-02-01/managedhsms/id_managedhsm.go b/resource-manager/keyvault/2023-02-01/managedhsms/id_managedhsm.go index 53b05210ec3..3c8b524f88e 100644 --- a/resource-manager/keyvault/2023-02-01/managedhsms/id_managedhsm.go +++ b/resource-manager/keyvault/2023-02-01/managedhsms/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-02-01/mhsmlistprivateendpointconnections/id_managedhsm.go b/resource-manager/keyvault/2023-02-01/mhsmlistprivateendpointconnections/id_managedhsm.go index d6cd800d486..f875377aff3 100644 --- a/resource-manager/keyvault/2023-02-01/mhsmlistprivateendpointconnections/id_managedhsm.go +++ b/resource-manager/keyvault/2023-02-01/mhsmlistprivateendpointconnections/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-02-01/mhsmlistregions/id_managedhsm.go b/resource-manager/keyvault/2023-02-01/mhsmlistregions/id_managedhsm.go index c0f864925b2..3dd779dead7 100644 --- a/resource-manager/keyvault/2023-02-01/mhsmlistregions/id_managedhsm.go +++ b/resource-manager/keyvault/2023-02-01/mhsmlistregions/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-02-01/mhsmprivateendpointconnections/id_privateendpointconnection.go b/resource-manager/keyvault/2023-02-01/mhsmprivateendpointconnections/id_privateendpointconnection.go index 4a79649fb14..15ef8cf5f03 100644 --- a/resource-manager/keyvault/2023-02-01/mhsmprivateendpointconnections/id_privateendpointconnection.go +++ b/resource-manager/keyvault/2023-02-01/mhsmprivateendpointconnections/id_privateendpointconnection.go @@ -132,7 +132,7 @@ func (id PrivateEndpointConnectionId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), fmt.Sprintf("Private Endpoint Connection Name: %q", id.PrivateEndpointConnectionName), } return fmt.Sprintf("Private Endpoint Connection (%s)", strings.Join(components, "\n")) diff --git a/resource-manager/keyvault/2023-02-01/mhsmprivatelinkresources/id_managedhsm.go b/resource-manager/keyvault/2023-02-01/mhsmprivatelinkresources/id_managedhsm.go index 0773a999e3d..a28f728ebb6 100644 --- a/resource-manager/keyvault/2023-02-01/mhsmprivatelinkresources/id_managedhsm.go +++ b/resource-manager/keyvault/2023-02-01/mhsmprivatelinkresources/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_key.go b/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_key.go index dd39b431e21..dba7547a08c 100644 --- a/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_key.go +++ b/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_key.go @@ -132,7 +132,7 @@ func (id KeyId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), fmt.Sprintf("Key Name: %q", id.KeyName), } return fmt.Sprintf("Key (%s)", strings.Join(components, "\n")) diff --git a/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_managedhsm.go b/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_managedhsm.go index aea1e0c0000..65e558b6156 100644 --- a/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_managedhsm.go +++ b/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_version.go b/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_version.go index fdf99d70b75..fa9ba1b1518 100644 --- a/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_version.go +++ b/resource-manager/keyvault/2023-07-01/managedhsmkeys/id_version.go @@ -140,7 +140,7 @@ func (id VersionId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), fmt.Sprintf("Key Name: %q", id.KeyName), fmt.Sprintf("Version Name: %q", id.VersionName), } diff --git a/resource-manager/keyvault/2023-07-01/managedhsms/id_deletedmanagedhsm.go b/resource-manager/keyvault/2023-07-01/managedhsms/id_deletedmanagedhsm.go index 38f9e319b85..b04c824161e 100644 --- a/resource-manager/keyvault/2023-07-01/managedhsms/id_deletedmanagedhsm.go +++ b/resource-manager/keyvault/2023-07-01/managedhsms/id_deletedmanagedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &DeletedManagedHSMId{} -// DeletedManagedHSMId is a struct representing the Resource ID for a Deleted Managed H S M +// DeletedManagedHSMId is a struct representing the Resource ID for a Deleted Managed HSM type DeletedManagedHSMId struct { SubscriptionId string LocationName string @@ -84,7 +84,7 @@ func (id *DeletedManagedHSMId) FromParseResult(input resourceids.ParseResult) er return nil } -// ValidateDeletedManagedHSMID checks that 'input' can be parsed as a Deleted Managed H S M ID +// ValidateDeletedManagedHSMID checks that 'input' can be parsed as a Deleted Managed HSM ID func ValidateDeletedManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateDeletedManagedHSMID(input interface{}, key string) (warnings []stri return } -// ID returns the formatted Deleted Managed H S M ID +// ID returns the formatted Deleted Managed HSM ID func (id DeletedManagedHSMId) ID() string { fmtString := "/subscriptions/%s/providers/Microsoft.KeyVault/locations/%s/deletedManagedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.DeletedManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Deleted Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Deleted Managed HSM ID func (id DeletedManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id DeletedManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Deleted Managed H S M ID +// String returns a human-readable description of this Deleted Managed HSM ID func (id DeletedManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Location Name: %q", id.LocationName), - fmt.Sprintf("Deleted Managed H S M Name: %q", id.DeletedManagedHSMName), + fmt.Sprintf("Deleted Managed HSM Name: %q", id.DeletedManagedHSMName), } - return fmt.Sprintf("Deleted Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Deleted Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-07-01/managedhsms/id_managedhsm.go b/resource-manager/keyvault/2023-07-01/managedhsms/id_managedhsm.go index 53b05210ec3..3c8b524f88e 100644 --- a/resource-manager/keyvault/2023-07-01/managedhsms/id_managedhsm.go +++ b/resource-manager/keyvault/2023-07-01/managedhsms/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-07-01/mhsmlistprivateendpointconnections/id_managedhsm.go b/resource-manager/keyvault/2023-07-01/mhsmlistprivateendpointconnections/id_managedhsm.go index d6cd800d486..f875377aff3 100644 --- a/resource-manager/keyvault/2023-07-01/mhsmlistprivateendpointconnections/id_managedhsm.go +++ b/resource-manager/keyvault/2023-07-01/mhsmlistprivateendpointconnections/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-07-01/mhsmlistregions/id_managedhsm.go b/resource-manager/keyvault/2023-07-01/mhsmlistregions/id_managedhsm.go index c0f864925b2..3dd779dead7 100644 --- a/resource-manager/keyvault/2023-07-01/mhsmlistregions/id_managedhsm.go +++ b/resource-manager/keyvault/2023-07-01/mhsmlistregions/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2023-07-01/mhsmprivateendpointconnections/id_privateendpointconnection.go b/resource-manager/keyvault/2023-07-01/mhsmprivateendpointconnections/id_privateendpointconnection.go index 4a79649fb14..15ef8cf5f03 100644 --- a/resource-manager/keyvault/2023-07-01/mhsmprivateendpointconnections/id_privateendpointconnection.go +++ b/resource-manager/keyvault/2023-07-01/mhsmprivateendpointconnections/id_privateendpointconnection.go @@ -132,7 +132,7 @@ func (id PrivateEndpointConnectionId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), fmt.Sprintf("Private Endpoint Connection Name: %q", id.PrivateEndpointConnectionName), } return fmt.Sprintf("Private Endpoint Connection (%s)", strings.Join(components, "\n")) diff --git a/resource-manager/keyvault/2023-07-01/mhsmprivatelinkresources/id_managedhsm.go b/resource-manager/keyvault/2023-07-01/mhsmprivatelinkresources/id_managedhsm.go index 0773a999e3d..a28f728ebb6 100644 --- a/resource-manager/keyvault/2023-07-01/mhsmprivatelinkresources/id_managedhsm.go +++ b/resource-manager/keyvault/2023-07-01/mhsmprivatelinkresources/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_key.go b/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_key.go index dd39b431e21..dba7547a08c 100644 --- a/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_key.go +++ b/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_key.go @@ -132,7 +132,7 @@ func (id KeyId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), fmt.Sprintf("Key Name: %q", id.KeyName), } return fmt.Sprintf("Key (%s)", strings.Join(components, "\n")) diff --git a/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_managedhsm.go b/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_managedhsm.go index aea1e0c0000..65e558b6156 100644 --- a/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_managedhsm.go +++ b/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_version.go b/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_version.go index fdf99d70b75..fa9ba1b1518 100644 --- a/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_version.go +++ b/resource-manager/keyvault/2024-11-01/managedhsmkeys/id_version.go @@ -140,7 +140,7 @@ func (id VersionId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), fmt.Sprintf("Key Name: %q", id.KeyName), fmt.Sprintf("Version Name: %q", id.VersionName), } diff --git a/resource-manager/keyvault/2024-11-01/managedhsms/id_deletedmanagedhsm.go b/resource-manager/keyvault/2024-11-01/managedhsms/id_deletedmanagedhsm.go index 38f9e319b85..b04c824161e 100644 --- a/resource-manager/keyvault/2024-11-01/managedhsms/id_deletedmanagedhsm.go +++ b/resource-manager/keyvault/2024-11-01/managedhsms/id_deletedmanagedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &DeletedManagedHSMId{} -// DeletedManagedHSMId is a struct representing the Resource ID for a Deleted Managed H S M +// DeletedManagedHSMId is a struct representing the Resource ID for a Deleted Managed HSM type DeletedManagedHSMId struct { SubscriptionId string LocationName string @@ -84,7 +84,7 @@ func (id *DeletedManagedHSMId) FromParseResult(input resourceids.ParseResult) er return nil } -// ValidateDeletedManagedHSMID checks that 'input' can be parsed as a Deleted Managed H S M ID +// ValidateDeletedManagedHSMID checks that 'input' can be parsed as a Deleted Managed HSM ID func ValidateDeletedManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateDeletedManagedHSMID(input interface{}, key string) (warnings []stri return } -// ID returns the formatted Deleted Managed H S M ID +// ID returns the formatted Deleted Managed HSM ID func (id DeletedManagedHSMId) ID() string { fmtString := "/subscriptions/%s/providers/Microsoft.KeyVault/locations/%s/deletedManagedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.DeletedManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Deleted Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Deleted Managed HSM ID func (id DeletedManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id DeletedManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Deleted Managed H S M ID +// String returns a human-readable description of this Deleted Managed HSM ID func (id DeletedManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Location Name: %q", id.LocationName), - fmt.Sprintf("Deleted Managed H S M Name: %q", id.DeletedManagedHSMName), + fmt.Sprintf("Deleted Managed HSM Name: %q", id.DeletedManagedHSMName), } - return fmt.Sprintf("Deleted Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Deleted Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2024-11-01/managedhsms/id_managedhsm.go b/resource-manager/keyvault/2024-11-01/managedhsms/id_managedhsm.go index 53b05210ec3..3c8b524f88e 100644 --- a/resource-manager/keyvault/2024-11-01/managedhsms/id_managedhsm.go +++ b/resource-manager/keyvault/2024-11-01/managedhsms/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2024-11-01/mhsmlistprivateendpointconnections/id_managedhsm.go b/resource-manager/keyvault/2024-11-01/mhsmlistprivateendpointconnections/id_managedhsm.go index d6cd800d486..f875377aff3 100644 --- a/resource-manager/keyvault/2024-11-01/mhsmlistprivateendpointconnections/id_managedhsm.go +++ b/resource-manager/keyvault/2024-11-01/mhsmlistprivateendpointconnections/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2024-11-01/mhsmlistregions/id_managedhsm.go b/resource-manager/keyvault/2024-11-01/mhsmlistregions/id_managedhsm.go index c0f864925b2..3dd779dead7 100644 --- a/resource-manager/keyvault/2024-11-01/mhsmlistregions/id_managedhsm.go +++ b/resource-manager/keyvault/2024-11-01/mhsmlistregions/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/keyvault/2024-11-01/mhsmprivateendpointconnections/id_privateendpointconnection.go b/resource-manager/keyvault/2024-11-01/mhsmprivateendpointconnections/id_privateendpointconnection.go index 4a79649fb14..15ef8cf5f03 100644 --- a/resource-manager/keyvault/2024-11-01/mhsmprivateendpointconnections/id_privateendpointconnection.go +++ b/resource-manager/keyvault/2024-11-01/mhsmprivateendpointconnections/id_privateendpointconnection.go @@ -132,7 +132,7 @@ func (id PrivateEndpointConnectionId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), fmt.Sprintf("Private Endpoint Connection Name: %q", id.PrivateEndpointConnectionName), } return fmt.Sprintf("Private Endpoint Connection (%s)", strings.Join(components, "\n")) diff --git a/resource-manager/keyvault/2024-11-01/mhsmprivatelinkresources/id_managedhsm.go b/resource-manager/keyvault/2024-11-01/mhsmprivatelinkresources/id_managedhsm.go index 0773a999e3d..a28f728ebb6 100644 --- a/resource-manager/keyvault/2024-11-01/mhsmprivatelinkresources/id_managedhsm.go +++ b/resource-manager/keyvault/2024-11-01/mhsmprivatelinkresources/id_managedhsm.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedHSMId{} -// ManagedHSMId is a struct representing the Resource ID for a Managed H S M +// ManagedHSMId is a struct representing the Resource ID for a Managed HSM type ManagedHSMId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID +// ValidateManagedHSMID checks that 'input' can be parsed as a Managed HSM ID func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedHSMID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Managed H S M ID +// ID returns the formatted Managed HSM ID func (id ManagedHSMId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.KeyVault/managedHSMs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ManagedHSMName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID +// Segments returns a slice of Resource ID Segments which comprise this Managed HSM ID func (id ManagedHSMId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedHSMId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed H S M ID +// String returns a human-readable description of this Managed HSM ID func (id ManagedHSMId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Managed H S M Name: %q", id.ManagedHSMName), + fmt.Sprintf("Managed HSM Name: %q", id.ManagedHSMName), } - return fmt.Sprintf("Managed H S M (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed HSM (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-09-01/customipprefixes/id_customipprefix.go b/resource-manager/network/2023-09-01/customipprefixes/id_customipprefix.go index bca85243003..fc1957b1f5b 100644 --- a/resource-manager/network/2023-09-01/customipprefixes/id_customipprefix.go +++ b/resource-manager/network/2023-09-01/customipprefixes/id_customipprefix.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &CustomIPPrefixId{} -// CustomIPPrefixId is a struct representing the Resource ID for a Custom I P Prefix +// CustomIPPrefixId is a struct representing the Resource ID for a Custom IP Prefix type CustomIPPrefixId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *CustomIPPrefixId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidateCustomIPPrefixID checks that 'input' can be parsed as a Custom I P Prefix ID +// ValidateCustomIPPrefixID checks that 'input' can be parsed as a Custom IP Prefix ID func ValidateCustomIPPrefixID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateCustomIPPrefixID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Custom I P Prefix ID +// ID returns the formatted Custom IP Prefix ID func (id CustomIPPrefixId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/customIPPrefixes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.CustomIPPrefixName) } -// Segments returns a slice of Resource ID Segments which comprise this Custom I P Prefix ID +// Segments returns a slice of Resource ID Segments which comprise this Custom IP Prefix ID func (id CustomIPPrefixId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id CustomIPPrefixId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Custom I P Prefix ID +// String returns a human-readable description of this Custom IP Prefix ID func (id CustomIPPrefixId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Custom I P Prefix Name: %q", id.CustomIPPrefixName), + fmt.Sprintf("Custom IP Prefix Name: %q", id.CustomIPPrefixName), } - return fmt.Sprintf("Custom I P Prefix (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Custom IP Prefix (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-09-01/ipallocations/id_ipallocation.go b/resource-manager/network/2023-09-01/ipallocations/id_ipallocation.go index da61235dccb..f73a7a326dd 100644 --- a/resource-manager/network/2023-09-01/ipallocations/id_ipallocation.go +++ b/resource-manager/network/2023-09-01/ipallocations/id_ipallocation.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &IPAllocationId{} -// IPAllocationId is a struct representing the Resource ID for a I P Allocation +// IPAllocationId is a struct representing the Resource ID for a IP Allocation type IPAllocationId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *IPAllocationId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateIPAllocationID checks that 'input' can be parsed as a I P Allocation ID +// ValidateIPAllocationID checks that 'input' can be parsed as a IP Allocation ID func ValidateIPAllocationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateIPAllocationID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted I P Allocation ID +// ID returns the formatted IP Allocation ID func (id IPAllocationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/ipAllocations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.IpAllocationName) } -// Segments returns a slice of Resource ID Segments which comprise this I P Allocation ID +// Segments returns a slice of Resource ID Segments which comprise this IP Allocation ID func (id IPAllocationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id IPAllocationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this I P Allocation ID +// String returns a human-readable description of this IP Allocation ID func (id IPAllocationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Ip Allocation Name: %q", id.IpAllocationName), } - return fmt.Sprintf("I P Allocation (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("IP Allocation (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-09-01/ipgroups/id_ipgroup.go b/resource-manager/network/2023-09-01/ipgroups/id_ipgroup.go index 441c7301b56..cbd5e5a11cf 100644 --- a/resource-manager/network/2023-09-01/ipgroups/id_ipgroup.go +++ b/resource-manager/network/2023-09-01/ipgroups/id_ipgroup.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &IPGroupId{} -// IPGroupId is a struct representing the Resource ID for a I P Group +// IPGroupId is a struct representing the Resource ID for a IP Group type IPGroupId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *IPGroupId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateIPGroupID checks that 'input' can be parsed as a I P Group ID +// ValidateIPGroupID checks that 'input' can be parsed as a IP Group ID func ValidateIPGroupID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateIPGroupID(input interface{}, key string) (warnings []string, errors return } -// ID returns the formatted I P Group ID +// ID returns the formatted IP Group ID func (id IPGroupId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/ipGroups/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.IpGroupName) } -// Segments returns a slice of Resource ID Segments which comprise this I P Group ID +// Segments returns a slice of Resource ID Segments which comprise this IP Group ID func (id IPGroupId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id IPGroupId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this I P Group ID +// String returns a human-readable description of this IP Group ID func (id IPGroupId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Ip Group Name: %q", id.IpGroupName), } - return fmt.Sprintf("I P Group (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("IP Group (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-09-01/loadbalancers/id_frontendipconfiguration.go b/resource-manager/network/2023-09-01/loadbalancers/id_frontendipconfiguration.go index ed800474fe9..35255605855 100644 --- a/resource-manager/network/2023-09-01/loadbalancers/id_frontendipconfiguration.go +++ b/resource-manager/network/2023-09-01/loadbalancers/id_frontendipconfiguration.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &FrontendIPConfigurationId{} -// FrontendIPConfigurationId is a struct representing the Resource ID for a Frontend I P Configuration +// FrontendIPConfigurationId is a struct representing the Resource ID for a Frontend IP Configuration type FrontendIPConfigurationId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *FrontendIPConfigurationId) FromParseResult(input resourceids.ParseResu return nil } -// ValidateFrontendIPConfigurationID checks that 'input' can be parsed as a Frontend I P Configuration ID +// ValidateFrontendIPConfigurationID checks that 'input' can be parsed as a Frontend IP Configuration ID func ValidateFrontendIPConfigurationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateFrontendIPConfigurationID(input interface{}, key string) (warnings return } -// ID returns the formatted Frontend I P Configuration ID +// ID returns the formatted Frontend IP Configuration ID func (id FrontendIPConfigurationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/loadBalancers/%s/frontendIPConfigurations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.LoadBalancerName, id.FrontendIPConfigurationName) } -// Segments returns a slice of Resource ID Segments which comprise this Frontend I P Configuration ID +// Segments returns a slice of Resource ID Segments which comprise this Frontend IP Configuration ID func (id FrontendIPConfigurationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id FrontendIPConfigurationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Frontend I P Configuration ID +// String returns a human-readable description of this Frontend IP Configuration ID func (id FrontendIPConfigurationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Load Balancer Name: %q", id.LoadBalancerName), - fmt.Sprintf("Frontend I P Configuration Name: %q", id.FrontendIPConfigurationName), + fmt.Sprintf("Frontend IP Configuration Name: %q", id.FrontendIPConfigurationName), } - return fmt.Sprintf("Frontend I P Configuration (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Frontend IP Configuration (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-09-01/publicipprefixes/id_publicipprefix.go b/resource-manager/network/2023-09-01/publicipprefixes/id_publicipprefix.go index 35801814a57..04e6e6d91d1 100644 --- a/resource-manager/network/2023-09-01/publicipprefixes/id_publicipprefix.go +++ b/resource-manager/network/2023-09-01/publicipprefixes/id_publicipprefix.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &PublicIPPrefixId{} -// PublicIPPrefixId is a struct representing the Resource ID for a Public I P Prefix +// PublicIPPrefixId is a struct representing the Resource ID for a Public IP Prefix type PublicIPPrefixId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *PublicIPPrefixId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public I P Prefix ID +// ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public IP Prefix ID func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Public I P Prefix ID +// ID returns the formatted Public IP Prefix ID func (id PublicIPPrefixId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/publicIPPrefixes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PublicIPPrefixName) } -// Segments returns a slice of Resource ID Segments which comprise this Public I P Prefix ID +// Segments returns a slice of Resource ID Segments which comprise this Public IP Prefix ID func (id PublicIPPrefixId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id PublicIPPrefixId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Public I P Prefix ID +// String returns a human-readable description of this Public IP Prefix ID func (id PublicIPPrefixId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Public I P Prefix Name: %q", id.PublicIPPrefixName), + fmt.Sprintf("Public IP Prefix Name: %q", id.PublicIPPrefixName), } - return fmt.Sprintf("Public I P Prefix (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Public IP Prefix (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-09-01/virtualwans/id_virtualwan.go b/resource-manager/network/2023-09-01/virtualwans/id_virtualwan.go index fa94d154c26..bafbb9e6669 100644 --- a/resource-manager/network/2023-09-01/virtualwans/id_virtualwan.go +++ b/resource-manager/network/2023-09-01/virtualwans/id_virtualwan.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VirtualWANId{} -// VirtualWANId is a struct representing the Resource ID for a Virtual W A N +// VirtualWANId is a struct representing the Resource ID for a Virtual WAN type VirtualWANId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *VirtualWANId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVirtualWANID checks that 'input' can be parsed as a Virtual W A N ID +// ValidateVirtualWANID checks that 'input' can be parsed as a Virtual WAN ID func ValidateVirtualWANID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateVirtualWANID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Virtual W A N ID +// ID returns the formatted Virtual WAN ID func (id VirtualWANId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualWans/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualWanName) } -// Segments returns a slice of Resource ID Segments which comprise this Virtual W A N ID +// Segments returns a slice of Resource ID Segments which comprise this Virtual WAN ID func (id VirtualWANId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id VirtualWANId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Virtual W A N ID +// String returns a human-readable description of this Virtual WAN ID func (id VirtualWANId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Virtual Wan Name: %q", id.VirtualWanName), } - return fmt.Sprintf("Virtual W A N (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Virtual WAN (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-11-01/customipprefixes/id_customipprefix.go b/resource-manager/network/2023-11-01/customipprefixes/id_customipprefix.go index bca85243003..fc1957b1f5b 100644 --- a/resource-manager/network/2023-11-01/customipprefixes/id_customipprefix.go +++ b/resource-manager/network/2023-11-01/customipprefixes/id_customipprefix.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &CustomIPPrefixId{} -// CustomIPPrefixId is a struct representing the Resource ID for a Custom I P Prefix +// CustomIPPrefixId is a struct representing the Resource ID for a Custom IP Prefix type CustomIPPrefixId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *CustomIPPrefixId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidateCustomIPPrefixID checks that 'input' can be parsed as a Custom I P Prefix ID +// ValidateCustomIPPrefixID checks that 'input' can be parsed as a Custom IP Prefix ID func ValidateCustomIPPrefixID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateCustomIPPrefixID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Custom I P Prefix ID +// ID returns the formatted Custom IP Prefix ID func (id CustomIPPrefixId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/customIPPrefixes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.CustomIPPrefixName) } -// Segments returns a slice of Resource ID Segments which comprise this Custom I P Prefix ID +// Segments returns a slice of Resource ID Segments which comprise this Custom IP Prefix ID func (id CustomIPPrefixId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id CustomIPPrefixId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Custom I P Prefix ID +// String returns a human-readable description of this Custom IP Prefix ID func (id CustomIPPrefixId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Custom I P Prefix Name: %q", id.CustomIPPrefixName), + fmt.Sprintf("Custom IP Prefix Name: %q", id.CustomIPPrefixName), } - return fmt.Sprintf("Custom I P Prefix (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Custom IP Prefix (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-11-01/ipallocations/id_ipallocation.go b/resource-manager/network/2023-11-01/ipallocations/id_ipallocation.go index da61235dccb..f73a7a326dd 100644 --- a/resource-manager/network/2023-11-01/ipallocations/id_ipallocation.go +++ b/resource-manager/network/2023-11-01/ipallocations/id_ipallocation.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &IPAllocationId{} -// IPAllocationId is a struct representing the Resource ID for a I P Allocation +// IPAllocationId is a struct representing the Resource ID for a IP Allocation type IPAllocationId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *IPAllocationId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateIPAllocationID checks that 'input' can be parsed as a I P Allocation ID +// ValidateIPAllocationID checks that 'input' can be parsed as a IP Allocation ID func ValidateIPAllocationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateIPAllocationID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted I P Allocation ID +// ID returns the formatted IP Allocation ID func (id IPAllocationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/ipAllocations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.IpAllocationName) } -// Segments returns a slice of Resource ID Segments which comprise this I P Allocation ID +// Segments returns a slice of Resource ID Segments which comprise this IP Allocation ID func (id IPAllocationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id IPAllocationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this I P Allocation ID +// String returns a human-readable description of this IP Allocation ID func (id IPAllocationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Ip Allocation Name: %q", id.IpAllocationName), } - return fmt.Sprintf("I P Allocation (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("IP Allocation (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-11-01/ipgroups/id_ipgroup.go b/resource-manager/network/2023-11-01/ipgroups/id_ipgroup.go index 441c7301b56..cbd5e5a11cf 100644 --- a/resource-manager/network/2023-11-01/ipgroups/id_ipgroup.go +++ b/resource-manager/network/2023-11-01/ipgroups/id_ipgroup.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &IPGroupId{} -// IPGroupId is a struct representing the Resource ID for a I P Group +// IPGroupId is a struct representing the Resource ID for a IP Group type IPGroupId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *IPGroupId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateIPGroupID checks that 'input' can be parsed as a I P Group ID +// ValidateIPGroupID checks that 'input' can be parsed as a IP Group ID func ValidateIPGroupID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateIPGroupID(input interface{}, key string) (warnings []string, errors return } -// ID returns the formatted I P Group ID +// ID returns the formatted IP Group ID func (id IPGroupId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/ipGroups/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.IpGroupName) } -// Segments returns a slice of Resource ID Segments which comprise this I P Group ID +// Segments returns a slice of Resource ID Segments which comprise this IP Group ID func (id IPGroupId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id IPGroupId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this I P Group ID +// String returns a human-readable description of this IP Group ID func (id IPGroupId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Ip Group Name: %q", id.IpGroupName), } - return fmt.Sprintf("I P Group (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("IP Group (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-11-01/loadbalancers/id_frontendipconfiguration.go b/resource-manager/network/2023-11-01/loadbalancers/id_frontendipconfiguration.go index ed800474fe9..35255605855 100644 --- a/resource-manager/network/2023-11-01/loadbalancers/id_frontendipconfiguration.go +++ b/resource-manager/network/2023-11-01/loadbalancers/id_frontendipconfiguration.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &FrontendIPConfigurationId{} -// FrontendIPConfigurationId is a struct representing the Resource ID for a Frontend I P Configuration +// FrontendIPConfigurationId is a struct representing the Resource ID for a Frontend IP Configuration type FrontendIPConfigurationId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *FrontendIPConfigurationId) FromParseResult(input resourceids.ParseResu return nil } -// ValidateFrontendIPConfigurationID checks that 'input' can be parsed as a Frontend I P Configuration ID +// ValidateFrontendIPConfigurationID checks that 'input' can be parsed as a Frontend IP Configuration ID func ValidateFrontendIPConfigurationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateFrontendIPConfigurationID(input interface{}, key string) (warnings return } -// ID returns the formatted Frontend I P Configuration ID +// ID returns the formatted Frontend IP Configuration ID func (id FrontendIPConfigurationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/loadBalancers/%s/frontendIPConfigurations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.LoadBalancerName, id.FrontendIPConfigurationName) } -// Segments returns a slice of Resource ID Segments which comprise this Frontend I P Configuration ID +// Segments returns a slice of Resource ID Segments which comprise this Frontend IP Configuration ID func (id FrontendIPConfigurationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id FrontendIPConfigurationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Frontend I P Configuration ID +// String returns a human-readable description of this Frontend IP Configuration ID func (id FrontendIPConfigurationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Load Balancer Name: %q", id.LoadBalancerName), - fmt.Sprintf("Frontend I P Configuration Name: %q", id.FrontendIPConfigurationName), + fmt.Sprintf("Frontend IP Configuration Name: %q", id.FrontendIPConfigurationName), } - return fmt.Sprintf("Frontend I P Configuration (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Frontend IP Configuration (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-11-01/publicipprefixes/id_publicipprefix.go b/resource-manager/network/2023-11-01/publicipprefixes/id_publicipprefix.go index 35801814a57..04e6e6d91d1 100644 --- a/resource-manager/network/2023-11-01/publicipprefixes/id_publicipprefix.go +++ b/resource-manager/network/2023-11-01/publicipprefixes/id_publicipprefix.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &PublicIPPrefixId{} -// PublicIPPrefixId is a struct representing the Resource ID for a Public I P Prefix +// PublicIPPrefixId is a struct representing the Resource ID for a Public IP Prefix type PublicIPPrefixId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *PublicIPPrefixId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public I P Prefix ID +// ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public IP Prefix ID func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Public I P Prefix ID +// ID returns the formatted Public IP Prefix ID func (id PublicIPPrefixId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/publicIPPrefixes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PublicIPPrefixName) } -// Segments returns a slice of Resource ID Segments which comprise this Public I P Prefix ID +// Segments returns a slice of Resource ID Segments which comprise this Public IP Prefix ID func (id PublicIPPrefixId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id PublicIPPrefixId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Public I P Prefix ID +// String returns a human-readable description of this Public IP Prefix ID func (id PublicIPPrefixId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Public I P Prefix Name: %q", id.PublicIPPrefixName), + fmt.Sprintf("Public IP Prefix Name: %q", id.PublicIPPrefixName), } - return fmt.Sprintf("Public I P Prefix (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Public IP Prefix (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2023-11-01/virtualwans/id_virtualwan.go b/resource-manager/network/2023-11-01/virtualwans/id_virtualwan.go index fa94d154c26..bafbb9e6669 100644 --- a/resource-manager/network/2023-11-01/virtualwans/id_virtualwan.go +++ b/resource-manager/network/2023-11-01/virtualwans/id_virtualwan.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VirtualWANId{} -// VirtualWANId is a struct representing the Resource ID for a Virtual W A N +// VirtualWANId is a struct representing the Resource ID for a Virtual WAN type VirtualWANId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *VirtualWANId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVirtualWANID checks that 'input' can be parsed as a Virtual W A N ID +// ValidateVirtualWANID checks that 'input' can be parsed as a Virtual WAN ID func ValidateVirtualWANID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateVirtualWANID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Virtual W A N ID +// ID returns the formatted Virtual WAN ID func (id VirtualWANId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualWans/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualWanName) } -// Segments returns a slice of Resource ID Segments which comprise this Virtual W A N ID +// Segments returns a slice of Resource ID Segments which comprise this Virtual WAN ID func (id VirtualWANId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id VirtualWANId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Virtual W A N ID +// String returns a human-readable description of this Virtual WAN ID func (id VirtualWANId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Virtual Wan Name: %q", id.VirtualWanName), } - return fmt.Sprintf("Virtual W A N (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Virtual WAN (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-01-01/customipprefixes/id_customipprefix.go b/resource-manager/network/2024-01-01/customipprefixes/id_customipprefix.go index bca85243003..fc1957b1f5b 100644 --- a/resource-manager/network/2024-01-01/customipprefixes/id_customipprefix.go +++ b/resource-manager/network/2024-01-01/customipprefixes/id_customipprefix.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &CustomIPPrefixId{} -// CustomIPPrefixId is a struct representing the Resource ID for a Custom I P Prefix +// CustomIPPrefixId is a struct representing the Resource ID for a Custom IP Prefix type CustomIPPrefixId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *CustomIPPrefixId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidateCustomIPPrefixID checks that 'input' can be parsed as a Custom I P Prefix ID +// ValidateCustomIPPrefixID checks that 'input' can be parsed as a Custom IP Prefix ID func ValidateCustomIPPrefixID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateCustomIPPrefixID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Custom I P Prefix ID +// ID returns the formatted Custom IP Prefix ID func (id CustomIPPrefixId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/customIPPrefixes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.CustomIPPrefixName) } -// Segments returns a slice of Resource ID Segments which comprise this Custom I P Prefix ID +// Segments returns a slice of Resource ID Segments which comprise this Custom IP Prefix ID func (id CustomIPPrefixId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id CustomIPPrefixId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Custom I P Prefix ID +// String returns a human-readable description of this Custom IP Prefix ID func (id CustomIPPrefixId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Custom I P Prefix Name: %q", id.CustomIPPrefixName), + fmt.Sprintf("Custom IP Prefix Name: %q", id.CustomIPPrefixName), } - return fmt.Sprintf("Custom I P Prefix (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Custom IP Prefix (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-01-01/ipallocations/id_ipallocation.go b/resource-manager/network/2024-01-01/ipallocations/id_ipallocation.go index da61235dccb..f73a7a326dd 100644 --- a/resource-manager/network/2024-01-01/ipallocations/id_ipallocation.go +++ b/resource-manager/network/2024-01-01/ipallocations/id_ipallocation.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &IPAllocationId{} -// IPAllocationId is a struct representing the Resource ID for a I P Allocation +// IPAllocationId is a struct representing the Resource ID for a IP Allocation type IPAllocationId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *IPAllocationId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateIPAllocationID checks that 'input' can be parsed as a I P Allocation ID +// ValidateIPAllocationID checks that 'input' can be parsed as a IP Allocation ID func ValidateIPAllocationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateIPAllocationID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted I P Allocation ID +// ID returns the formatted IP Allocation ID func (id IPAllocationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/ipAllocations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.IpAllocationName) } -// Segments returns a slice of Resource ID Segments which comprise this I P Allocation ID +// Segments returns a slice of Resource ID Segments which comprise this IP Allocation ID func (id IPAllocationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id IPAllocationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this I P Allocation ID +// String returns a human-readable description of this IP Allocation ID func (id IPAllocationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Ip Allocation Name: %q", id.IpAllocationName), } - return fmt.Sprintf("I P Allocation (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("IP Allocation (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-01-01/ipgroups/id_ipgroup.go b/resource-manager/network/2024-01-01/ipgroups/id_ipgroup.go index 441c7301b56..cbd5e5a11cf 100644 --- a/resource-manager/network/2024-01-01/ipgroups/id_ipgroup.go +++ b/resource-manager/network/2024-01-01/ipgroups/id_ipgroup.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &IPGroupId{} -// IPGroupId is a struct representing the Resource ID for a I P Group +// IPGroupId is a struct representing the Resource ID for a IP Group type IPGroupId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *IPGroupId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateIPGroupID checks that 'input' can be parsed as a I P Group ID +// ValidateIPGroupID checks that 'input' can be parsed as a IP Group ID func ValidateIPGroupID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateIPGroupID(input interface{}, key string) (warnings []string, errors return } -// ID returns the formatted I P Group ID +// ID returns the formatted IP Group ID func (id IPGroupId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/ipGroups/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.IpGroupName) } -// Segments returns a slice of Resource ID Segments which comprise this I P Group ID +// Segments returns a slice of Resource ID Segments which comprise this IP Group ID func (id IPGroupId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id IPGroupId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this I P Group ID +// String returns a human-readable description of this IP Group ID func (id IPGroupId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Ip Group Name: %q", id.IpGroupName), } - return fmt.Sprintf("I P Group (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("IP Group (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-01-01/loadbalancers/id_frontendipconfiguration.go b/resource-manager/network/2024-01-01/loadbalancers/id_frontendipconfiguration.go index ed800474fe9..35255605855 100644 --- a/resource-manager/network/2024-01-01/loadbalancers/id_frontendipconfiguration.go +++ b/resource-manager/network/2024-01-01/loadbalancers/id_frontendipconfiguration.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &FrontendIPConfigurationId{} -// FrontendIPConfigurationId is a struct representing the Resource ID for a Frontend I P Configuration +// FrontendIPConfigurationId is a struct representing the Resource ID for a Frontend IP Configuration type FrontendIPConfigurationId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *FrontendIPConfigurationId) FromParseResult(input resourceids.ParseResu return nil } -// ValidateFrontendIPConfigurationID checks that 'input' can be parsed as a Frontend I P Configuration ID +// ValidateFrontendIPConfigurationID checks that 'input' can be parsed as a Frontend IP Configuration ID func ValidateFrontendIPConfigurationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateFrontendIPConfigurationID(input interface{}, key string) (warnings return } -// ID returns the formatted Frontend I P Configuration ID +// ID returns the formatted Frontend IP Configuration ID func (id FrontendIPConfigurationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/loadBalancers/%s/frontendIPConfigurations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.LoadBalancerName, id.FrontendIPConfigurationName) } -// Segments returns a slice of Resource ID Segments which comprise this Frontend I P Configuration ID +// Segments returns a slice of Resource ID Segments which comprise this Frontend IP Configuration ID func (id FrontendIPConfigurationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id FrontendIPConfigurationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Frontend I P Configuration ID +// String returns a human-readable description of this Frontend IP Configuration ID func (id FrontendIPConfigurationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Load Balancer Name: %q", id.LoadBalancerName), - fmt.Sprintf("Frontend I P Configuration Name: %q", id.FrontendIPConfigurationName), + fmt.Sprintf("Frontend IP Configuration Name: %q", id.FrontendIPConfigurationName), } - return fmt.Sprintf("Frontend I P Configuration (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Frontend IP Configuration (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-01-01/publicipprefixes/id_publicipprefix.go b/resource-manager/network/2024-01-01/publicipprefixes/id_publicipprefix.go index 35801814a57..04e6e6d91d1 100644 --- a/resource-manager/network/2024-01-01/publicipprefixes/id_publicipprefix.go +++ b/resource-manager/network/2024-01-01/publicipprefixes/id_publicipprefix.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &PublicIPPrefixId{} -// PublicIPPrefixId is a struct representing the Resource ID for a Public I P Prefix +// PublicIPPrefixId is a struct representing the Resource ID for a Public IP Prefix type PublicIPPrefixId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *PublicIPPrefixId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public I P Prefix ID +// ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public IP Prefix ID func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Public I P Prefix ID +// ID returns the formatted Public IP Prefix ID func (id PublicIPPrefixId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/publicIPPrefixes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PublicIPPrefixName) } -// Segments returns a slice of Resource ID Segments which comprise this Public I P Prefix ID +// Segments returns a slice of Resource ID Segments which comprise this Public IP Prefix ID func (id PublicIPPrefixId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id PublicIPPrefixId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Public I P Prefix ID +// String returns a human-readable description of this Public IP Prefix ID func (id PublicIPPrefixId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Public I P Prefix Name: %q", id.PublicIPPrefixName), + fmt.Sprintf("Public IP Prefix Name: %q", id.PublicIPPrefixName), } - return fmt.Sprintf("Public I P Prefix (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Public IP Prefix (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-01-01/virtualwans/id_virtualwan.go b/resource-manager/network/2024-01-01/virtualwans/id_virtualwan.go index fa94d154c26..bafbb9e6669 100644 --- a/resource-manager/network/2024-01-01/virtualwans/id_virtualwan.go +++ b/resource-manager/network/2024-01-01/virtualwans/id_virtualwan.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VirtualWANId{} -// VirtualWANId is a struct representing the Resource ID for a Virtual W A N +// VirtualWANId is a struct representing the Resource ID for a Virtual WAN type VirtualWANId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *VirtualWANId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVirtualWANID checks that 'input' can be parsed as a Virtual W A N ID +// ValidateVirtualWANID checks that 'input' can be parsed as a Virtual WAN ID func ValidateVirtualWANID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateVirtualWANID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Virtual W A N ID +// ID returns the formatted Virtual WAN ID func (id VirtualWANId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualWans/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualWanName) } -// Segments returns a slice of Resource ID Segments which comprise this Virtual W A N ID +// Segments returns a slice of Resource ID Segments which comprise this Virtual WAN ID func (id VirtualWANId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id VirtualWANId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Virtual W A N ID +// String returns a human-readable description of this Virtual WAN ID func (id VirtualWANId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Virtual Wan Name: %q", id.VirtualWanName), } - return fmt.Sprintf("Virtual W A N (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Virtual WAN (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-05-01/customipprefixes/id_customipprefix.go b/resource-manager/network/2024-05-01/customipprefixes/id_customipprefix.go index bca85243003..fc1957b1f5b 100644 --- a/resource-manager/network/2024-05-01/customipprefixes/id_customipprefix.go +++ b/resource-manager/network/2024-05-01/customipprefixes/id_customipprefix.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &CustomIPPrefixId{} -// CustomIPPrefixId is a struct representing the Resource ID for a Custom I P Prefix +// CustomIPPrefixId is a struct representing the Resource ID for a Custom IP Prefix type CustomIPPrefixId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *CustomIPPrefixId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidateCustomIPPrefixID checks that 'input' can be parsed as a Custom I P Prefix ID +// ValidateCustomIPPrefixID checks that 'input' can be parsed as a Custom IP Prefix ID func ValidateCustomIPPrefixID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateCustomIPPrefixID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Custom I P Prefix ID +// ID returns the formatted Custom IP Prefix ID func (id CustomIPPrefixId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/customIPPrefixes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.CustomIPPrefixName) } -// Segments returns a slice of Resource ID Segments which comprise this Custom I P Prefix ID +// Segments returns a slice of Resource ID Segments which comprise this Custom IP Prefix ID func (id CustomIPPrefixId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id CustomIPPrefixId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Custom I P Prefix ID +// String returns a human-readable description of this Custom IP Prefix ID func (id CustomIPPrefixId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Custom I P Prefix Name: %q", id.CustomIPPrefixName), + fmt.Sprintf("Custom IP Prefix Name: %q", id.CustomIPPrefixName), } - return fmt.Sprintf("Custom I P Prefix (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Custom IP Prefix (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-05-01/ipallocations/id_ipallocation.go b/resource-manager/network/2024-05-01/ipallocations/id_ipallocation.go index da61235dccb..f73a7a326dd 100644 --- a/resource-manager/network/2024-05-01/ipallocations/id_ipallocation.go +++ b/resource-manager/network/2024-05-01/ipallocations/id_ipallocation.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &IPAllocationId{} -// IPAllocationId is a struct representing the Resource ID for a I P Allocation +// IPAllocationId is a struct representing the Resource ID for a IP Allocation type IPAllocationId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *IPAllocationId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateIPAllocationID checks that 'input' can be parsed as a I P Allocation ID +// ValidateIPAllocationID checks that 'input' can be parsed as a IP Allocation ID func ValidateIPAllocationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateIPAllocationID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted I P Allocation ID +// ID returns the formatted IP Allocation ID func (id IPAllocationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/ipAllocations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.IpAllocationName) } -// Segments returns a slice of Resource ID Segments which comprise this I P Allocation ID +// Segments returns a slice of Resource ID Segments which comprise this IP Allocation ID func (id IPAllocationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id IPAllocationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this I P Allocation ID +// String returns a human-readable description of this IP Allocation ID func (id IPAllocationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Ip Allocation Name: %q", id.IpAllocationName), } - return fmt.Sprintf("I P Allocation (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("IP Allocation (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-05-01/ipgroups/id_ipgroup.go b/resource-manager/network/2024-05-01/ipgroups/id_ipgroup.go index 441c7301b56..cbd5e5a11cf 100644 --- a/resource-manager/network/2024-05-01/ipgroups/id_ipgroup.go +++ b/resource-manager/network/2024-05-01/ipgroups/id_ipgroup.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &IPGroupId{} -// IPGroupId is a struct representing the Resource ID for a I P Group +// IPGroupId is a struct representing the Resource ID for a IP Group type IPGroupId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *IPGroupId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateIPGroupID checks that 'input' can be parsed as a I P Group ID +// ValidateIPGroupID checks that 'input' can be parsed as a IP Group ID func ValidateIPGroupID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateIPGroupID(input interface{}, key string) (warnings []string, errors return } -// ID returns the formatted I P Group ID +// ID returns the formatted IP Group ID func (id IPGroupId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/ipGroups/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.IpGroupName) } -// Segments returns a slice of Resource ID Segments which comprise this I P Group ID +// Segments returns a slice of Resource ID Segments which comprise this IP Group ID func (id IPGroupId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id IPGroupId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this I P Group ID +// String returns a human-readable description of this IP Group ID func (id IPGroupId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Ip Group Name: %q", id.IpGroupName), } - return fmt.Sprintf("I P Group (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("IP Group (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-05-01/loadbalancers/id_frontendipconfiguration.go b/resource-manager/network/2024-05-01/loadbalancers/id_frontendipconfiguration.go index ed800474fe9..35255605855 100644 --- a/resource-manager/network/2024-05-01/loadbalancers/id_frontendipconfiguration.go +++ b/resource-manager/network/2024-05-01/loadbalancers/id_frontendipconfiguration.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &FrontendIPConfigurationId{} -// FrontendIPConfigurationId is a struct representing the Resource ID for a Frontend I P Configuration +// FrontendIPConfigurationId is a struct representing the Resource ID for a Frontend IP Configuration type FrontendIPConfigurationId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *FrontendIPConfigurationId) FromParseResult(input resourceids.ParseResu return nil } -// ValidateFrontendIPConfigurationID checks that 'input' can be parsed as a Frontend I P Configuration ID +// ValidateFrontendIPConfigurationID checks that 'input' can be parsed as a Frontend IP Configuration ID func ValidateFrontendIPConfigurationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateFrontendIPConfigurationID(input interface{}, key string) (warnings return } -// ID returns the formatted Frontend I P Configuration ID +// ID returns the formatted Frontend IP Configuration ID func (id FrontendIPConfigurationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/loadBalancers/%s/frontendIPConfigurations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.LoadBalancerName, id.FrontendIPConfigurationName) } -// Segments returns a slice of Resource ID Segments which comprise this Frontend I P Configuration ID +// Segments returns a slice of Resource ID Segments which comprise this Frontend IP Configuration ID func (id FrontendIPConfigurationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id FrontendIPConfigurationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Frontend I P Configuration ID +// String returns a human-readable description of this Frontend IP Configuration ID func (id FrontendIPConfigurationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Load Balancer Name: %q", id.LoadBalancerName), - fmt.Sprintf("Frontend I P Configuration Name: %q", id.FrontendIPConfigurationName), + fmt.Sprintf("Frontend IP Configuration Name: %q", id.FrontendIPConfigurationName), } - return fmt.Sprintf("Frontend I P Configuration (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Frontend IP Configuration (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-05-01/networkmanagereffectiveconnectivityconfiguration/constants.go b/resource-manager/network/2024-05-01/networkmanagereffectiveconnectivityconfiguration/constants.go index caa8b3c8747..9007e4a33df 100644 --- a/resource-manager/network/2024-05-01/networkmanagereffectiveconnectivityconfiguration/constants.go +++ b/resource-manager/network/2024-05-01/networkmanagereffectiveconnectivityconfiguration/constants.go @@ -217,6 +217,8 @@ func parseIsGlobal(input string) (*IsGlobal, error) { type ProvisioningState string const ( + ProvisioningStateCanceled ProvisioningState = "Canceled" + ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" @@ -225,6 +227,8 @@ const ( func PossibleValuesForProvisioningState() []string { return []string{ + string(ProvisioningStateCanceled), + string(ProvisioningStateCreating), string(ProvisioningStateDeleting), string(ProvisioningStateFailed), string(ProvisioningStateSucceeded), @@ -247,6 +251,8 @@ func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { func parseProvisioningState(input string) (*ProvisioningState, error) { vals := map[string]ProvisioningState{ + "canceled": ProvisioningStateCanceled, + "creating": ProvisioningStateCreating, "deleting": ProvisioningStateDeleting, "failed": ProvisioningStateFailed, "succeeded": ProvisioningStateSucceeded, diff --git a/resource-manager/network/2024-05-01/networkmanagereffectivesecurityadminrules/constants.go b/resource-manager/network/2024-05-01/networkmanagereffectivesecurityadminrules/constants.go index 67086d778e3..6dbd1e6db74 100644 --- a/resource-manager/network/2024-05-01/networkmanagereffectivesecurityadminrules/constants.go +++ b/resource-manager/network/2024-05-01/networkmanagereffectivesecurityadminrules/constants.go @@ -138,6 +138,8 @@ func parseGroupMemberType(input string) (*GroupMemberType, error) { type ProvisioningState string const ( + ProvisioningStateCanceled ProvisioningState = "Canceled" + ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" @@ -146,6 +148,8 @@ const ( func PossibleValuesForProvisioningState() []string { return []string{ + string(ProvisioningStateCanceled), + string(ProvisioningStateCreating), string(ProvisioningStateDeleting), string(ProvisioningStateFailed), string(ProvisioningStateSucceeded), @@ -168,6 +172,8 @@ func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { func parseProvisioningState(input string) (*ProvisioningState, error) { vals := map[string]ProvisioningState{ + "canceled": ProvisioningStateCanceled, + "creating": ProvisioningStateCreating, "deleting": ProvisioningStateDeleting, "failed": ProvisioningStateFailed, "succeeded": ProvisioningStateSucceeded, diff --git a/resource-manager/network/2024-05-01/publicipprefixes/id_publicipprefix.go b/resource-manager/network/2024-05-01/publicipprefixes/id_publicipprefix.go index 35801814a57..04e6e6d91d1 100644 --- a/resource-manager/network/2024-05-01/publicipprefixes/id_publicipprefix.go +++ b/resource-manager/network/2024-05-01/publicipprefixes/id_publicipprefix.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &PublicIPPrefixId{} -// PublicIPPrefixId is a struct representing the Resource ID for a Public I P Prefix +// PublicIPPrefixId is a struct representing the Resource ID for a Public IP Prefix type PublicIPPrefixId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *PublicIPPrefixId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public I P Prefix ID +// ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public IP Prefix ID func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Public I P Prefix ID +// ID returns the formatted Public IP Prefix ID func (id PublicIPPrefixId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/publicIPPrefixes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PublicIPPrefixName) } -// Segments returns a slice of Resource ID Segments which comprise this Public I P Prefix ID +// Segments returns a slice of Resource ID Segments which comprise this Public IP Prefix ID func (id PublicIPPrefixId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id PublicIPPrefixId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Public I P Prefix ID +// String returns a human-readable description of this Public IP Prefix ID func (id PublicIPPrefixId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Public I P Prefix Name: %q", id.PublicIPPrefixName), + fmt.Sprintf("Public IP Prefix Name: %q", id.PublicIPPrefixName), } - return fmt.Sprintf("Public I P Prefix (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Public IP Prefix (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-05-01/virtualwans/id_virtualwan.go b/resource-manager/network/2024-05-01/virtualwans/id_virtualwan.go index fa94d154c26..bafbb9e6669 100644 --- a/resource-manager/network/2024-05-01/virtualwans/id_virtualwan.go +++ b/resource-manager/network/2024-05-01/virtualwans/id_virtualwan.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VirtualWANId{} -// VirtualWANId is a struct representing the Resource ID for a Virtual W A N +// VirtualWANId is a struct representing the Resource ID for a Virtual WAN type VirtualWANId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *VirtualWANId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVirtualWANID checks that 'input' can be parsed as a Virtual W A N ID +// ValidateVirtualWANID checks that 'input' can be parsed as a Virtual WAN ID func ValidateVirtualWANID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateVirtualWANID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Virtual W A N ID +// ID returns the formatted Virtual WAN ID func (id VirtualWANId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualWans/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualWanName) } -// Segments returns a slice of Resource ID Segments which comprise this Virtual W A N ID +// Segments returns a slice of Resource ID Segments which comprise this Virtual WAN ID func (id VirtualWANId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id VirtualWANId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Virtual W A N ID +// String returns a human-readable description of this Virtual WAN ID func (id VirtualWANId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Virtual Wan Name: %q", id.VirtualWanName), } - return fmt.Sprintf("Virtual W A N (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Virtual WAN (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-07-01/customipprefixes/id_customipprefix.go b/resource-manager/network/2024-07-01/customipprefixes/id_customipprefix.go index bca85243003..fc1957b1f5b 100644 --- a/resource-manager/network/2024-07-01/customipprefixes/id_customipprefix.go +++ b/resource-manager/network/2024-07-01/customipprefixes/id_customipprefix.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &CustomIPPrefixId{} -// CustomIPPrefixId is a struct representing the Resource ID for a Custom I P Prefix +// CustomIPPrefixId is a struct representing the Resource ID for a Custom IP Prefix type CustomIPPrefixId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *CustomIPPrefixId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidateCustomIPPrefixID checks that 'input' can be parsed as a Custom I P Prefix ID +// ValidateCustomIPPrefixID checks that 'input' can be parsed as a Custom IP Prefix ID func ValidateCustomIPPrefixID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateCustomIPPrefixID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Custom I P Prefix ID +// ID returns the formatted Custom IP Prefix ID func (id CustomIPPrefixId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/customIPPrefixes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.CustomIPPrefixName) } -// Segments returns a slice of Resource ID Segments which comprise this Custom I P Prefix ID +// Segments returns a slice of Resource ID Segments which comprise this Custom IP Prefix ID func (id CustomIPPrefixId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id CustomIPPrefixId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Custom I P Prefix ID +// String returns a human-readable description of this Custom IP Prefix ID func (id CustomIPPrefixId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Custom I P Prefix Name: %q", id.CustomIPPrefixName), + fmt.Sprintf("Custom IP Prefix Name: %q", id.CustomIPPrefixName), } - return fmt.Sprintf("Custom I P Prefix (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Custom IP Prefix (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-07-01/ipallocations/id_ipallocation.go b/resource-manager/network/2024-07-01/ipallocations/id_ipallocation.go index da61235dccb..f73a7a326dd 100644 --- a/resource-manager/network/2024-07-01/ipallocations/id_ipallocation.go +++ b/resource-manager/network/2024-07-01/ipallocations/id_ipallocation.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &IPAllocationId{} -// IPAllocationId is a struct representing the Resource ID for a I P Allocation +// IPAllocationId is a struct representing the Resource ID for a IP Allocation type IPAllocationId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *IPAllocationId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateIPAllocationID checks that 'input' can be parsed as a I P Allocation ID +// ValidateIPAllocationID checks that 'input' can be parsed as a IP Allocation ID func ValidateIPAllocationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateIPAllocationID(input interface{}, key string) (warnings []string, e return } -// ID returns the formatted I P Allocation ID +// ID returns the formatted IP Allocation ID func (id IPAllocationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/ipAllocations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.IpAllocationName) } -// Segments returns a slice of Resource ID Segments which comprise this I P Allocation ID +// Segments returns a slice of Resource ID Segments which comprise this IP Allocation ID func (id IPAllocationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id IPAllocationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this I P Allocation ID +// String returns a human-readable description of this IP Allocation ID func (id IPAllocationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Ip Allocation Name: %q", id.IpAllocationName), } - return fmt.Sprintf("I P Allocation (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("IP Allocation (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-07-01/ipgroups/id_ipgroup.go b/resource-manager/network/2024-07-01/ipgroups/id_ipgroup.go index 441c7301b56..cbd5e5a11cf 100644 --- a/resource-manager/network/2024-07-01/ipgroups/id_ipgroup.go +++ b/resource-manager/network/2024-07-01/ipgroups/id_ipgroup.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &IPGroupId{} -// IPGroupId is a struct representing the Resource ID for a I P Group +// IPGroupId is a struct representing the Resource ID for a IP Group type IPGroupId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *IPGroupId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateIPGroupID checks that 'input' can be parsed as a I P Group ID +// ValidateIPGroupID checks that 'input' can be parsed as a IP Group ID func ValidateIPGroupID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateIPGroupID(input interface{}, key string) (warnings []string, errors return } -// ID returns the formatted I P Group ID +// ID returns the formatted IP Group ID func (id IPGroupId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/ipGroups/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.IpGroupName) } -// Segments returns a slice of Resource ID Segments which comprise this I P Group ID +// Segments returns a slice of Resource ID Segments which comprise this IP Group ID func (id IPGroupId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id IPGroupId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this I P Group ID +// String returns a human-readable description of this IP Group ID func (id IPGroupId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Ip Group Name: %q", id.IpGroupName), } - return fmt.Sprintf("I P Group (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("IP Group (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-07-01/loadbalancers/id_frontendipconfiguration.go b/resource-manager/network/2024-07-01/loadbalancers/id_frontendipconfiguration.go index ed800474fe9..35255605855 100644 --- a/resource-manager/network/2024-07-01/loadbalancers/id_frontendipconfiguration.go +++ b/resource-manager/network/2024-07-01/loadbalancers/id_frontendipconfiguration.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &FrontendIPConfigurationId{} -// FrontendIPConfigurationId is a struct representing the Resource ID for a Frontend I P Configuration +// FrontendIPConfigurationId is a struct representing the Resource ID for a Frontend IP Configuration type FrontendIPConfigurationId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *FrontendIPConfigurationId) FromParseResult(input resourceids.ParseResu return nil } -// ValidateFrontendIPConfigurationID checks that 'input' can be parsed as a Frontend I P Configuration ID +// ValidateFrontendIPConfigurationID checks that 'input' can be parsed as a Frontend IP Configuration ID func ValidateFrontendIPConfigurationID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateFrontendIPConfigurationID(input interface{}, key string) (warnings return } -// ID returns the formatted Frontend I P Configuration ID +// ID returns the formatted Frontend IP Configuration ID func (id FrontendIPConfigurationId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/loadBalancers/%s/frontendIPConfigurations/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.LoadBalancerName, id.FrontendIPConfigurationName) } -// Segments returns a slice of Resource ID Segments which comprise this Frontend I P Configuration ID +// Segments returns a slice of Resource ID Segments which comprise this Frontend IP Configuration ID func (id FrontendIPConfigurationId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id FrontendIPConfigurationId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Frontend I P Configuration ID +// String returns a human-readable description of this Frontend IP Configuration ID func (id FrontendIPConfigurationId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Load Balancer Name: %q", id.LoadBalancerName), - fmt.Sprintf("Frontend I P Configuration Name: %q", id.FrontendIPConfigurationName), + fmt.Sprintf("Frontend IP Configuration Name: %q", id.FrontendIPConfigurationName), } - return fmt.Sprintf("Frontend I P Configuration (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Frontend IP Configuration (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-07-01/networkmanageractiveconfigurations/constants.go b/resource-manager/network/2024-07-01/networkmanageractiveconfigurations/constants.go index 793caeabedc..c9291fb2fab 100644 --- a/resource-manager/network/2024-07-01/networkmanageractiveconfigurations/constants.go +++ b/resource-manager/network/2024-07-01/networkmanageractiveconfigurations/constants.go @@ -138,8 +138,6 @@ func parseGroupMemberType(input string) (*GroupMemberType, error) { type ProvisioningState string const ( - ProvisioningStateCanceled ProvisioningState = "Canceled" - ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" @@ -148,8 +146,6 @@ const ( func PossibleValuesForProvisioningState() []string { return []string{ - string(ProvisioningStateCanceled), - string(ProvisioningStateCreating), string(ProvisioningStateDeleting), string(ProvisioningStateFailed), string(ProvisioningStateSucceeded), @@ -172,8 +168,6 @@ func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { func parseProvisioningState(input string) (*ProvisioningState, error) { vals := map[string]ProvisioningState{ - "canceled": ProvisioningStateCanceled, - "creating": ProvisioningStateCreating, "deleting": ProvisioningStateDeleting, "failed": ProvisioningStateFailed, "succeeded": ProvisioningStateSucceeded, diff --git a/resource-manager/network/2024-07-01/networkmanageractiveconnectivityconfigurations/constants.go b/resource-manager/network/2024-07-01/networkmanageractiveconnectivityconfigurations/constants.go index 451770f8cbb..8195863c49a 100644 --- a/resource-manager/network/2024-07-01/networkmanageractiveconnectivityconfigurations/constants.go +++ b/resource-manager/network/2024-07-01/networkmanageractiveconnectivityconfigurations/constants.go @@ -340,8 +340,6 @@ func parsePeeringEnforcement(input string) (*PeeringEnforcement, error) { type ProvisioningState string const ( - ProvisioningStateCanceled ProvisioningState = "Canceled" - ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" @@ -350,8 +348,6 @@ const ( func PossibleValuesForProvisioningState() []string { return []string{ - string(ProvisioningStateCanceled), - string(ProvisioningStateCreating), string(ProvisioningStateDeleting), string(ProvisioningStateFailed), string(ProvisioningStateSucceeded), @@ -374,8 +370,6 @@ func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { func parseProvisioningState(input string) (*ProvisioningState, error) { vals := map[string]ProvisioningState{ - "canceled": ProvisioningStateCanceled, - "creating": ProvisioningStateCreating, "deleting": ProvisioningStateDeleting, "failed": ProvisioningStateFailed, "succeeded": ProvisioningStateSucceeded, diff --git a/resource-manager/network/2024-07-01/networkmanagereffectiveconnectivityconfiguration/constants.go b/resource-manager/network/2024-07-01/networkmanagereffectiveconnectivityconfiguration/constants.go index c5bc0377dcd..aa292723727 100644 --- a/resource-manager/network/2024-07-01/networkmanagereffectiveconnectivityconfiguration/constants.go +++ b/resource-manager/network/2024-07-01/networkmanagereffectiveconnectivityconfiguration/constants.go @@ -340,8 +340,6 @@ func parsePeeringEnforcement(input string) (*PeeringEnforcement, error) { type ProvisioningState string const ( - ProvisioningStateCanceled ProvisioningState = "Canceled" - ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" @@ -350,8 +348,6 @@ const ( func PossibleValuesForProvisioningState() []string { return []string{ - string(ProvisioningStateCanceled), - string(ProvisioningStateCreating), string(ProvisioningStateDeleting), string(ProvisioningStateFailed), string(ProvisioningStateSucceeded), @@ -374,8 +370,6 @@ func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { func parseProvisioningState(input string) (*ProvisioningState, error) { vals := map[string]ProvisioningState{ - "canceled": ProvisioningStateCanceled, - "creating": ProvisioningStateCreating, "deleting": ProvisioningStateDeleting, "failed": ProvisioningStateFailed, "succeeded": ProvisioningStateSucceeded, diff --git a/resource-manager/network/2024-07-01/networkmanagereffectivesecurityadminrules/constants.go b/resource-manager/network/2024-07-01/networkmanagereffectivesecurityadminrules/constants.go index 6dbd1e6db74..67086d778e3 100644 --- a/resource-manager/network/2024-07-01/networkmanagereffectivesecurityadminrules/constants.go +++ b/resource-manager/network/2024-07-01/networkmanagereffectivesecurityadminrules/constants.go @@ -138,8 +138,6 @@ func parseGroupMemberType(input string) (*GroupMemberType, error) { type ProvisioningState string const ( - ProvisioningStateCanceled ProvisioningState = "Canceled" - ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" @@ -148,8 +146,6 @@ const ( func PossibleValuesForProvisioningState() []string { return []string{ - string(ProvisioningStateCanceled), - string(ProvisioningStateCreating), string(ProvisioningStateDeleting), string(ProvisioningStateFailed), string(ProvisioningStateSucceeded), @@ -172,8 +168,6 @@ func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error { func parseProvisioningState(input string) (*ProvisioningState, error) { vals := map[string]ProvisioningState{ - "canceled": ProvisioningStateCanceled, - "creating": ProvisioningStateCreating, "deleting": ProvisioningStateDeleting, "failed": ProvisioningStateFailed, "succeeded": ProvisioningStateSucceeded, diff --git a/resource-manager/network/2024-07-01/publicipprefixes/id_publicipprefix.go b/resource-manager/network/2024-07-01/publicipprefixes/id_publicipprefix.go index 35801814a57..04e6e6d91d1 100644 --- a/resource-manager/network/2024-07-01/publicipprefixes/id_publicipprefix.go +++ b/resource-manager/network/2024-07-01/publicipprefixes/id_publicipprefix.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &PublicIPPrefixId{} -// PublicIPPrefixId is a struct representing the Resource ID for a Public I P Prefix +// PublicIPPrefixId is a struct representing the Resource ID for a Public IP Prefix type PublicIPPrefixId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *PublicIPPrefixId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public I P Prefix ID +// ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public IP Prefix ID func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Public I P Prefix ID +// ID returns the formatted Public IP Prefix ID func (id PublicIPPrefixId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/publicIPPrefixes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PublicIPPrefixName) } -// Segments returns a slice of Resource ID Segments which comprise this Public I P Prefix ID +// Segments returns a slice of Resource ID Segments which comprise this Public IP Prefix ID func (id PublicIPPrefixId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id PublicIPPrefixId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Public I P Prefix ID +// String returns a human-readable description of this Public IP Prefix ID func (id PublicIPPrefixId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), - fmt.Sprintf("Public I P Prefix Name: %q", id.PublicIPPrefixName), + fmt.Sprintf("Public IP Prefix Name: %q", id.PublicIPPrefixName), } - return fmt.Sprintf("Public I P Prefix (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Public IP Prefix (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/network/2024-07-01/virtualwans/id_virtualwan.go b/resource-manager/network/2024-07-01/virtualwans/id_virtualwan.go index fa94d154c26..bafbb9e6669 100644 --- a/resource-manager/network/2024-07-01/virtualwans/id_virtualwan.go +++ b/resource-manager/network/2024-07-01/virtualwans/id_virtualwan.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VirtualWANId{} -// VirtualWANId is a struct representing the Resource ID for a Virtual W A N +// VirtualWANId is a struct representing the Resource ID for a Virtual WAN type VirtualWANId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *VirtualWANId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVirtualWANID checks that 'input' can be parsed as a Virtual W A N ID +// ValidateVirtualWANID checks that 'input' can be parsed as a Virtual WAN ID func ValidateVirtualWANID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateVirtualWANID(input interface{}, key string) (warnings []string, err return } -// ID returns the formatted Virtual W A N ID +// ID returns the formatted Virtual WAN ID func (id VirtualWANId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualWans/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.VirtualWanName) } -// Segments returns a slice of Resource ID Segments which comprise this Virtual W A N ID +// Segments returns a slice of Resource ID Segments which comprise this Virtual WAN ID func (id VirtualWANId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id VirtualWANId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Virtual W A N ID +// String returns a human-readable description of this Virtual WAN ID func (id VirtualWANId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Virtual Wan Name: %q", id.VirtualWanName), } - return fmt.Sprintf("Virtual W A N (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Virtual WAN (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/oracledatabase/2025-03-01/cloudvmclusters/id_cloudvmcluster.go b/resource-manager/oracledatabase/2025-03-01/cloudvmclusters/id_cloudvmcluster.go index 45457dbb4a3..f575d429e4e 100644 --- a/resource-manager/oracledatabase/2025-03-01/cloudvmclusters/id_cloudvmcluster.go +++ b/resource-manager/oracledatabase/2025-03-01/cloudvmclusters/id_cloudvmcluster.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &CloudVMClusterId{} -// CloudVMClusterId is a struct representing the Resource ID for a Cloud V M Cluster +// CloudVMClusterId is a struct representing the Resource ID for a Cloud VM Cluster type CloudVMClusterId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *CloudVMClusterId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidateCloudVMClusterID checks that 'input' can be parsed as a Cloud V M Cluster ID +// ValidateCloudVMClusterID checks that 'input' can be parsed as a Cloud VM Cluster ID func ValidateCloudVMClusterID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateCloudVMClusterID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Cloud V M Cluster ID +// ID returns the formatted Cloud VM Cluster ID func (id CloudVMClusterId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Oracle.Database/cloudVmClusters/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.CloudVmClusterName) } -// Segments returns a slice of Resource ID Segments which comprise this Cloud V M Cluster ID +// Segments returns a slice of Resource ID Segments which comprise this Cloud VM Cluster ID func (id CloudVMClusterId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id CloudVMClusterId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Cloud V M Cluster ID +// String returns a human-readable description of this Cloud VM Cluster ID func (id CloudVMClusterId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Cloud Vm Cluster Name: %q", id.CloudVmClusterName), } - return fmt.Sprintf("Cloud V M Cluster (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Cloud VM Cluster (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/oracledatabase/2025-03-01/dbnodes/id_cloudvmcluster.go b/resource-manager/oracledatabase/2025-03-01/dbnodes/id_cloudvmcluster.go index cd3b68803c2..467ff1af363 100644 --- a/resource-manager/oracledatabase/2025-03-01/dbnodes/id_cloudvmcluster.go +++ b/resource-manager/oracledatabase/2025-03-01/dbnodes/id_cloudvmcluster.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &CloudVMClusterId{} -// CloudVMClusterId is a struct representing the Resource ID for a Cloud V M Cluster +// CloudVMClusterId is a struct representing the Resource ID for a Cloud VM Cluster type CloudVMClusterId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *CloudVMClusterId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidateCloudVMClusterID checks that 'input' can be parsed as a Cloud V M Cluster ID +// ValidateCloudVMClusterID checks that 'input' can be parsed as a Cloud VM Cluster ID func ValidateCloudVMClusterID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateCloudVMClusterID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Cloud V M Cluster ID +// ID returns the formatted Cloud VM Cluster ID func (id CloudVMClusterId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Oracle.Database/cloudVmClusters/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.CloudVmClusterName) } -// Segments returns a slice of Resource ID Segments which comprise this Cloud V M Cluster ID +// Segments returns a slice of Resource ID Segments which comprise this Cloud VM Cluster ID func (id CloudVMClusterId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id CloudVMClusterId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Cloud V M Cluster ID +// String returns a human-readable description of this Cloud VM Cluster ID func (id CloudVMClusterId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Cloud Vm Cluster Name: %q", id.CloudVmClusterName), } - return fmt.Sprintf("Cloud V M Cluster (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Cloud VM Cluster (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/oracledatabase/2025-03-01/exadbvmclusters/id_exadbvmcluster.go b/resource-manager/oracledatabase/2025-03-01/exadbvmclusters/id_exadbvmcluster.go index 11620a99d1a..2e9ef1c55e0 100644 --- a/resource-manager/oracledatabase/2025-03-01/exadbvmclusters/id_exadbvmcluster.go +++ b/resource-manager/oracledatabase/2025-03-01/exadbvmclusters/id_exadbvmcluster.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ExadbVMClusterId{} -// ExadbVMClusterId is a struct representing the Resource ID for a Exadb V M Cluster +// ExadbVMClusterId is a struct representing the Resource ID for a Exadb VM Cluster type ExadbVMClusterId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ExadbVMClusterId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidateExadbVMClusterID checks that 'input' can be parsed as a Exadb V M Cluster ID +// ValidateExadbVMClusterID checks that 'input' can be parsed as a Exadb VM Cluster ID func ValidateExadbVMClusterID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateExadbVMClusterID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Exadb V M Cluster ID +// ID returns the formatted Exadb VM Cluster ID func (id ExadbVMClusterId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Oracle.Database/exadbVmClusters/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ExadbVmClusterName) } -// Segments returns a slice of Resource ID Segments which comprise this Exadb V M Cluster ID +// Segments returns a slice of Resource ID Segments which comprise this Exadb VM Cluster ID func (id ExadbVMClusterId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ExadbVMClusterId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Exadb V M Cluster ID +// String returns a human-readable description of this Exadb VM Cluster ID func (id ExadbVMClusterId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Exadb Vm Cluster Name: %q", id.ExadbVmClusterName), } - return fmt.Sprintf("Exadb V M Cluster (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Exadb VM Cluster (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/oracledatabase/2025-03-01/exascaledbnodes/id_exadbvmcluster.go b/resource-manager/oracledatabase/2025-03-01/exascaledbnodes/id_exadbvmcluster.go index f9d0ea9f6ad..4181c57e732 100644 --- a/resource-manager/oracledatabase/2025-03-01/exascaledbnodes/id_exadbvmcluster.go +++ b/resource-manager/oracledatabase/2025-03-01/exascaledbnodes/id_exadbvmcluster.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ExadbVMClusterId{} -// ExadbVMClusterId is a struct representing the Resource ID for a Exadb V M Cluster +// ExadbVMClusterId is a struct representing the Resource ID for a Exadb VM Cluster type ExadbVMClusterId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *ExadbVMClusterId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidateExadbVMClusterID checks that 'input' can be parsed as a Exadb V M Cluster ID +// ValidateExadbVMClusterID checks that 'input' can be parsed as a Exadb VM Cluster ID func ValidateExadbVMClusterID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateExadbVMClusterID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Exadb V M Cluster ID +// ID returns the formatted Exadb VM Cluster ID func (id ExadbVMClusterId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Oracle.Database/exadbVmClusters/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ExadbVmClusterName) } -// Segments returns a slice of Resource ID Segments which comprise this Exadb V M Cluster ID +// Segments returns a slice of Resource ID Segments which comprise this Exadb VM Cluster ID func (id ExadbVMClusterId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ExadbVMClusterId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Exadb V M Cluster ID +// String returns a human-readable description of this Exadb VM Cluster ID func (id ExadbVMClusterId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Exadb Vm Cluster Name: %q", id.ExadbVmClusterName), } - return fmt.Sprintf("Exadb V M Cluster (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Exadb VM Cluster (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/oracledatabase/2025-03-01/exascaledbnodes/id_exadbvmclusterdbnode.go b/resource-manager/oracledatabase/2025-03-01/exascaledbnodes/id_exadbvmclusterdbnode.go index 5bee9291ea8..5805db59a18 100644 --- a/resource-manager/oracledatabase/2025-03-01/exascaledbnodes/id_exadbvmclusterdbnode.go +++ b/resource-manager/oracledatabase/2025-03-01/exascaledbnodes/id_exadbvmclusterdbnode.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ExadbVMClusterDbNodeId{} -// ExadbVMClusterDbNodeId is a struct representing the Resource ID for a Exadb V M Cluster Db Node +// ExadbVMClusterDbNodeId is a struct representing the Resource ID for a Exadb VM Cluster Db Node type ExadbVMClusterDbNodeId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *ExadbVMClusterDbNodeId) FromParseResult(input resourceids.ParseResult) return nil } -// ValidateExadbVMClusterDbNodeID checks that 'input' can be parsed as a Exadb V M Cluster Db Node ID +// ValidateExadbVMClusterDbNodeID checks that 'input' can be parsed as a Exadb VM Cluster Db Node ID func ValidateExadbVMClusterDbNodeID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateExadbVMClusterDbNodeID(input interface{}, key string) (warnings []s return } -// ID returns the formatted Exadb V M Cluster Db Node ID +// ID returns the formatted Exadb VM Cluster Db Node ID func (id ExadbVMClusterDbNodeId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Oracle.Database/exadbVmClusters/%s/dbNodes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ExadbVmClusterName, id.DbNodeName) } -// Segments returns a slice of Resource ID Segments which comprise this Exadb V M Cluster Db Node ID +// Segments returns a slice of Resource ID Segments which comprise this Exadb VM Cluster Db Node ID func (id ExadbVMClusterDbNodeId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,7 +127,7 @@ func (id ExadbVMClusterDbNodeId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Exadb V M Cluster Db Node ID +// String returns a human-readable description of this Exadb VM Cluster Db Node ID func (id ExadbVMClusterDbNodeId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), @@ -135,5 +135,5 @@ func (id ExadbVMClusterDbNodeId) String() string { fmt.Sprintf("Exadb Vm Cluster Name: %q", id.ExadbVmClusterName), fmt.Sprintf("Db Node Name: %q", id.DbNodeName), } - return fmt.Sprintf("Exadb V M Cluster Db Node (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Exadb VM Cluster Db Node (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/oracledatabase/2025-03-01/virtualnetworkaddresses/id_cloudvmcluster.go b/resource-manager/oracledatabase/2025-03-01/virtualnetworkaddresses/id_cloudvmcluster.go index 916b2f08848..2d263230224 100644 --- a/resource-manager/oracledatabase/2025-03-01/virtualnetworkaddresses/id_cloudvmcluster.go +++ b/resource-manager/oracledatabase/2025-03-01/virtualnetworkaddresses/id_cloudvmcluster.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &CloudVMClusterId{} -// CloudVMClusterId is a struct representing the Resource ID for a Cloud V M Cluster +// CloudVMClusterId is a struct representing the Resource ID for a Cloud VM Cluster type CloudVMClusterId struct { SubscriptionId string ResourceGroupName string @@ -84,7 +84,7 @@ func (id *CloudVMClusterId) FromParseResult(input resourceids.ParseResult) error return nil } -// ValidateCloudVMClusterID checks that 'input' can be parsed as a Cloud V M Cluster ID +// ValidateCloudVMClusterID checks that 'input' can be parsed as a Cloud VM Cluster ID func ValidateCloudVMClusterID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateCloudVMClusterID(input interface{}, key string) (warnings []string, return } -// ID returns the formatted Cloud V M Cluster ID +// ID returns the formatted Cloud VM Cluster ID func (id CloudVMClusterId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Oracle.Database/cloudVmClusters/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.CloudVmClusterName) } -// Segments returns a slice of Resource ID Segments which comprise this Cloud V M Cluster ID +// Segments returns a slice of Resource ID Segments which comprise this Cloud VM Cluster ID func (id CloudVMClusterId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id CloudVMClusterId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Cloud V M Cluster ID +// String returns a human-readable description of this Cloud VM Cluster ID func (id CloudVMClusterId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Cloud Vm Cluster Name: %q", id.CloudVmClusterName), } - return fmt.Sprintf("Cloud V M Cluster (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Cloud VM Cluster (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/securityinsights/2022-10-01-preview/securitymlanalyticssettings/id_securitymlanalyticssetting.go b/resource-manager/securityinsights/2022-10-01-preview/securitymlanalyticssettings/id_securitymlanalyticssetting.go index 18bac933415..b30d6db3393 100644 --- a/resource-manager/securityinsights/2022-10-01-preview/securitymlanalyticssettings/id_securitymlanalyticssetting.go +++ b/resource-manager/securityinsights/2022-10-01-preview/securitymlanalyticssettings/id_securitymlanalyticssetting.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &SecurityMLAnalyticsSettingId{} -// SecurityMLAnalyticsSettingId is a struct representing the Resource ID for a Security M L Analytics Setting +// SecurityMLAnalyticsSettingId is a struct representing the Resource ID for a Security ML Analytics Setting type SecurityMLAnalyticsSettingId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *SecurityMLAnalyticsSettingId) FromParseResult(input resourceids.ParseR return nil } -// ValidateSecurityMLAnalyticsSettingID checks that 'input' can be parsed as a Security M L Analytics Setting ID +// ValidateSecurityMLAnalyticsSettingID checks that 'input' can be parsed as a Security ML Analytics Setting ID func ValidateSecurityMLAnalyticsSettingID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateSecurityMLAnalyticsSettingID(input interface{}, key string) (warnin return } -// ID returns the formatted Security M L Analytics Setting ID +// ID returns the formatted Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.OperationalInsights/workspaces/%s/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.WorkspaceName, id.SecurityMLAnalyticsSettingName) } -// Segments returns a slice of Resource ID Segments which comprise this Security M L Analytics Setting ID +// Segments returns a slice of Resource ID Segments which comprise this Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -129,13 +129,13 @@ func (id SecurityMLAnalyticsSettingId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Security M L Analytics Setting ID +// String returns a human-readable description of this Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Workspace Name: %q", id.WorkspaceName), - fmt.Sprintf("Security M L Analytics Setting Name: %q", id.SecurityMLAnalyticsSettingName), + fmt.Sprintf("Security ML Analytics Setting Name: %q", id.SecurityMLAnalyticsSettingName), } - return fmt.Sprintf("Security M L Analytics Setting (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Security ML Analytics Setting (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/securityinsights/2022-11-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go b/resource-manager/securityinsights/2022-11-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go index 18bac933415..b30d6db3393 100644 --- a/resource-manager/securityinsights/2022-11-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go +++ b/resource-manager/securityinsights/2022-11-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &SecurityMLAnalyticsSettingId{} -// SecurityMLAnalyticsSettingId is a struct representing the Resource ID for a Security M L Analytics Setting +// SecurityMLAnalyticsSettingId is a struct representing the Resource ID for a Security ML Analytics Setting type SecurityMLAnalyticsSettingId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *SecurityMLAnalyticsSettingId) FromParseResult(input resourceids.ParseR return nil } -// ValidateSecurityMLAnalyticsSettingID checks that 'input' can be parsed as a Security M L Analytics Setting ID +// ValidateSecurityMLAnalyticsSettingID checks that 'input' can be parsed as a Security ML Analytics Setting ID func ValidateSecurityMLAnalyticsSettingID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateSecurityMLAnalyticsSettingID(input interface{}, key string) (warnin return } -// ID returns the formatted Security M L Analytics Setting ID +// ID returns the formatted Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.OperationalInsights/workspaces/%s/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.WorkspaceName, id.SecurityMLAnalyticsSettingName) } -// Segments returns a slice of Resource ID Segments which comprise this Security M L Analytics Setting ID +// Segments returns a slice of Resource ID Segments which comprise this Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -129,13 +129,13 @@ func (id SecurityMLAnalyticsSettingId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Security M L Analytics Setting ID +// String returns a human-readable description of this Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Workspace Name: %q", id.WorkspaceName), - fmt.Sprintf("Security M L Analytics Setting Name: %q", id.SecurityMLAnalyticsSettingName), + fmt.Sprintf("Security ML Analytics Setting Name: %q", id.SecurityMLAnalyticsSettingName), } - return fmt.Sprintf("Security M L Analytics Setting (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Security ML Analytics Setting (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/securityinsights/2023-12-01-preview/securitymlanalyticssettings/id_securitymlanalyticssetting.go b/resource-manager/securityinsights/2023-12-01-preview/securitymlanalyticssettings/id_securitymlanalyticssetting.go index 18bac933415..b30d6db3393 100644 --- a/resource-manager/securityinsights/2023-12-01-preview/securitymlanalyticssettings/id_securitymlanalyticssetting.go +++ b/resource-manager/securityinsights/2023-12-01-preview/securitymlanalyticssettings/id_securitymlanalyticssetting.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &SecurityMLAnalyticsSettingId{} -// SecurityMLAnalyticsSettingId is a struct representing the Resource ID for a Security M L Analytics Setting +// SecurityMLAnalyticsSettingId is a struct representing the Resource ID for a Security ML Analytics Setting type SecurityMLAnalyticsSettingId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *SecurityMLAnalyticsSettingId) FromParseResult(input resourceids.ParseR return nil } -// ValidateSecurityMLAnalyticsSettingID checks that 'input' can be parsed as a Security M L Analytics Setting ID +// ValidateSecurityMLAnalyticsSettingID checks that 'input' can be parsed as a Security ML Analytics Setting ID func ValidateSecurityMLAnalyticsSettingID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateSecurityMLAnalyticsSettingID(input interface{}, key string) (warnin return } -// ID returns the formatted Security M L Analytics Setting ID +// ID returns the formatted Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.OperationalInsights/workspaces/%s/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.WorkspaceName, id.SecurityMLAnalyticsSettingName) } -// Segments returns a slice of Resource ID Segments which comprise this Security M L Analytics Setting ID +// Segments returns a slice of Resource ID Segments which comprise this Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -129,13 +129,13 @@ func (id SecurityMLAnalyticsSettingId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Security M L Analytics Setting ID +// String returns a human-readable description of this Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Workspace Name: %q", id.WorkspaceName), - fmt.Sprintf("Security M L Analytics Setting Name: %q", id.SecurityMLAnalyticsSettingName), + fmt.Sprintf("Security ML Analytics Setting Name: %q", id.SecurityMLAnalyticsSettingName), } - return fmt.Sprintf("Security M L Analytics Setting (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Security ML Analytics Setting (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/securityinsights/2024-09-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go b/resource-manager/securityinsights/2024-09-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go index 18bac933415..b30d6db3393 100644 --- a/resource-manager/securityinsights/2024-09-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go +++ b/resource-manager/securityinsights/2024-09-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &SecurityMLAnalyticsSettingId{} -// SecurityMLAnalyticsSettingId is a struct representing the Resource ID for a Security M L Analytics Setting +// SecurityMLAnalyticsSettingId is a struct representing the Resource ID for a Security ML Analytics Setting type SecurityMLAnalyticsSettingId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *SecurityMLAnalyticsSettingId) FromParseResult(input resourceids.ParseR return nil } -// ValidateSecurityMLAnalyticsSettingID checks that 'input' can be parsed as a Security M L Analytics Setting ID +// ValidateSecurityMLAnalyticsSettingID checks that 'input' can be parsed as a Security ML Analytics Setting ID func ValidateSecurityMLAnalyticsSettingID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateSecurityMLAnalyticsSettingID(input interface{}, key string) (warnin return } -// ID returns the formatted Security M L Analytics Setting ID +// ID returns the formatted Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.OperationalInsights/workspaces/%s/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.WorkspaceName, id.SecurityMLAnalyticsSettingName) } -// Segments returns a slice of Resource ID Segments which comprise this Security M L Analytics Setting ID +// Segments returns a slice of Resource ID Segments which comprise this Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -129,13 +129,13 @@ func (id SecurityMLAnalyticsSettingId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Security M L Analytics Setting ID +// String returns a human-readable description of this Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Workspace Name: %q", id.WorkspaceName), - fmt.Sprintf("Security M L Analytics Setting Name: %q", id.SecurityMLAnalyticsSettingName), + fmt.Sprintf("Security ML Analytics Setting Name: %q", id.SecurityMLAnalyticsSettingName), } - return fmt.Sprintf("Security M L Analytics Setting (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Security ML Analytics Setting (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/securityinsights/2025-06-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go b/resource-manager/securityinsights/2025-06-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go index 18bac933415..b30d6db3393 100644 --- a/resource-manager/securityinsights/2025-06-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go +++ b/resource-manager/securityinsights/2025-06-01/securitymlanalyticssettings/id_securitymlanalyticssetting.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &SecurityMLAnalyticsSettingId{} -// SecurityMLAnalyticsSettingId is a struct representing the Resource ID for a Security M L Analytics Setting +// SecurityMLAnalyticsSettingId is a struct representing the Resource ID for a Security ML Analytics Setting type SecurityMLAnalyticsSettingId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *SecurityMLAnalyticsSettingId) FromParseResult(input resourceids.ParseR return nil } -// ValidateSecurityMLAnalyticsSettingID checks that 'input' can be parsed as a Security M L Analytics Setting ID +// ValidateSecurityMLAnalyticsSettingID checks that 'input' can be parsed as a Security ML Analytics Setting ID func ValidateSecurityMLAnalyticsSettingID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateSecurityMLAnalyticsSettingID(input interface{}, key string) (warnin return } -// ID returns the formatted Security M L Analytics Setting ID +// ID returns the formatted Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.OperationalInsights/workspaces/%s/providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.WorkspaceName, id.SecurityMLAnalyticsSettingName) } -// Segments returns a slice of Resource ID Segments which comprise this Security M L Analytics Setting ID +// Segments returns a slice of Resource ID Segments which comprise this Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -129,13 +129,13 @@ func (id SecurityMLAnalyticsSettingId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Security M L Analytics Setting ID +// String returns a human-readable description of this Security ML Analytics Setting ID func (id SecurityMLAnalyticsSettingId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Workspace Name: %q", id.WorkspaceName), - fmt.Sprintf("Security M L Analytics Setting Name: %q", id.SecurityMLAnalyticsSettingName), + fmt.Sprintf("Security ML Analytics Setting Name: %q", id.SecurityMLAnalyticsSettingName), } - return fmt.Sprintf("Security M L Analytics Setting (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Security ML Analytics Setting (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/servicefabricmanagedcluster/2024-04-01/managedvmsizes/id_managedunsupportedvmsize.go b/resource-manager/servicefabricmanagedcluster/2024-04-01/managedvmsizes/id_managedunsupportedvmsize.go index d388ab916e1..6897e9cac62 100644 --- a/resource-manager/servicefabricmanagedcluster/2024-04-01/managedvmsizes/id_managedunsupportedvmsize.go +++ b/resource-manager/servicefabricmanagedcluster/2024-04-01/managedvmsizes/id_managedunsupportedvmsize.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &ManagedUnsupportedVMSizeId{} -// ManagedUnsupportedVMSizeId is a struct representing the Resource ID for a Managed Unsupported V M Size +// ManagedUnsupportedVMSizeId is a struct representing the Resource ID for a Managed Unsupported VM Size type ManagedUnsupportedVMSizeId struct { SubscriptionId string LocationName string @@ -84,7 +84,7 @@ func (id *ManagedUnsupportedVMSizeId) FromParseResult(input resourceids.ParseRes return nil } -// ValidateManagedUnsupportedVMSizeID checks that 'input' can be parsed as a Managed Unsupported V M Size ID +// ValidateManagedUnsupportedVMSizeID checks that 'input' can be parsed as a Managed Unsupported VM Size ID func ValidateManagedUnsupportedVMSizeID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -99,13 +99,13 @@ func ValidateManagedUnsupportedVMSizeID(input interface{}, key string) (warnings return } -// ID returns the formatted Managed Unsupported V M Size ID +// ID returns the formatted Managed Unsupported VM Size ID func (id ManagedUnsupportedVMSizeId) ID() string { fmtString := "/subscriptions/%s/providers/Microsoft.ServiceFabric/locations/%s/managedUnsupportedVMSizes/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.ManagedUnsupportedVMSizeName) } -// Segments returns a slice of Resource ID Segments which comprise this Managed Unsupported V M Size ID +// Segments returns a slice of Resource ID Segments which comprise this Managed Unsupported VM Size ID func (id ManagedUnsupportedVMSizeId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -119,12 +119,12 @@ func (id ManagedUnsupportedVMSizeId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Managed Unsupported V M Size ID +// String returns a human-readable description of this Managed Unsupported VM Size ID func (id ManagedUnsupportedVMSizeId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Location Name: %q", id.LocationName), - fmt.Sprintf("Managed Unsupported V M Size Name: %q", id.ManagedUnsupportedVMSizeName), + fmt.Sprintf("Managed Unsupported VM Size Name: %q", id.ManagedUnsupportedVMSizeName), } - return fmt.Sprintf("Managed Unsupported V M Size (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Managed Unsupported VM Size (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/synapse/2021-06-01/workspacemanagedsqlserverdedicatedsqlminimaltlssettings/id_dedicatedsqlminimaltlssetting.go b/resource-manager/synapse/2021-06-01/workspacemanagedsqlserverdedicatedsqlminimaltlssettings/id_dedicatedsqlminimaltlssetting.go index aa68bcf0d14..f8b9a8e4ed7 100644 --- a/resource-manager/synapse/2021-06-01/workspacemanagedsqlserverdedicatedsqlminimaltlssettings/id_dedicatedsqlminimaltlssetting.go +++ b/resource-manager/synapse/2021-06-01/workspacemanagedsqlserverdedicatedsqlminimaltlssettings/id_dedicatedsqlminimaltlssetting.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &DedicatedSQLMinimalTLSSettingId{} -// DedicatedSQLMinimalTLSSettingId is a struct representing the Resource ID for a Dedicated S Q L Minimal T L S Setting +// DedicatedSQLMinimalTLSSettingId is a struct representing the Resource ID for a Dedicated SQL Minimal TLS Setting type DedicatedSQLMinimalTLSSettingId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *DedicatedSQLMinimalTLSSettingId) FromParseResult(input resourceids.Par return nil } -// ValidateDedicatedSQLMinimalTLSSettingID checks that 'input' can be parsed as a Dedicated S Q L Minimal T L S Setting ID +// ValidateDedicatedSQLMinimalTLSSettingID checks that 'input' can be parsed as a Dedicated SQL Minimal TLS Setting ID func ValidateDedicatedSQLMinimalTLSSettingID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateDedicatedSQLMinimalTLSSettingID(input interface{}, key string) (war return } -// ID returns the formatted Dedicated S Q L Minimal T L S Setting ID +// ID returns the formatted Dedicated SQL Minimal TLS Setting ID func (id DedicatedSQLMinimalTLSSettingId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Synapse/workspaces/%s/dedicatedSQLMinimalTLSSettings/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.WorkspaceName, id.DedicatedSQLMinimalTLSSettingName) } -// Segments returns a slice of Resource ID Segments which comprise this Dedicated S Q L Minimal T L S Setting ID +// Segments returns a slice of Resource ID Segments which comprise this Dedicated SQL Minimal TLS Setting ID func (id DedicatedSQLMinimalTLSSettingId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -127,13 +127,13 @@ func (id DedicatedSQLMinimalTLSSettingId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Dedicated S Q L Minimal T L S Setting ID +// String returns a human-readable description of this Dedicated SQL Minimal TLS Setting ID func (id DedicatedSQLMinimalTLSSettingId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Workspace Name: %q", id.WorkspaceName), - fmt.Sprintf("Dedicated S Q L Minimal T L S Setting Name: %q", id.DedicatedSQLMinimalTLSSettingName), + fmt.Sprintf("Dedicated SQL Minimal TLS Setting Name: %q", id.DedicatedSQLMinimalTLSSettingName), } - return fmt.Sprintf("Dedicated S Q L Minimal T L S Setting (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Dedicated SQL Minimal TLS Setting (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/vmware/2022-05-01/workloadnetworks/id_publicip.go b/resource-manager/vmware/2022-05-01/workloadnetworks/id_publicip.go index 81c81be4b5d..7a19114e676 100644 --- a/resource-manager/vmware/2022-05-01/workloadnetworks/id_publicip.go +++ b/resource-manager/vmware/2022-05-01/workloadnetworks/id_publicip.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &PublicIPId{} -// PublicIPId is a struct representing the Resource ID for a Public I P +// PublicIPId is a struct representing the Resource ID for a Public IP type PublicIPId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *PublicIPId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidatePublicIPID checks that 'input' can be parsed as a Public I P ID +// ValidatePublicIPID checks that 'input' can be parsed as a Public IP ID func ValidatePublicIPID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidatePublicIPID(input interface{}, key string) (warnings []string, error return } -// ID returns the formatted Public I P ID +// ID returns the formatted Public IP ID func (id PublicIPId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.AVS/privateClouds/%s/workloadNetworks/default/publicIPs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PrivateCloudName, id.PublicIPId) } -// Segments returns a slice of Resource ID Segments which comprise this Public I P ID +// Segments returns a slice of Resource ID Segments which comprise this Public IP ID func (id PublicIPId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -129,13 +129,13 @@ func (id PublicIPId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Public I P ID +// String returns a human-readable description of this Public IP ID func (id PublicIPId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Private Cloud Name: %q", id.PrivateCloudName), - fmt.Sprintf("Public I P: %q", id.PublicIPId), + fmt.Sprintf("Public IP: %q", id.PublicIPId), } - return fmt.Sprintf("Public I P (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Public IP (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/vmware/2022-05-01/workloadnetworks/id_vmgroup.go b/resource-manager/vmware/2022-05-01/workloadnetworks/id_vmgroup.go index 07058ee2007..86c4d936671 100644 --- a/resource-manager/vmware/2022-05-01/workloadnetworks/id_vmgroup.go +++ b/resource-manager/vmware/2022-05-01/workloadnetworks/id_vmgroup.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VMGroupId{} -// VMGroupId is a struct representing the Resource ID for a V M Group +// VMGroupId is a struct representing the Resource ID for a VM Group type VMGroupId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *VMGroupId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVMGroupID checks that 'input' can be parsed as a V M Group ID +// ValidateVMGroupID checks that 'input' can be parsed as a VM Group ID func ValidateVMGroupID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateVMGroupID(input interface{}, key string) (warnings []string, errors return } -// ID returns the formatted V M Group ID +// ID returns the formatted VM Group ID func (id VMGroupId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.AVS/privateClouds/%s/workloadNetworks/default/vmGroups/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PrivateCloudName, id.VmGroupId) } -// Segments returns a slice of Resource ID Segments which comprise this V M Group ID +// Segments returns a slice of Resource ID Segments which comprise this VM Group ID func (id VMGroupId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -129,7 +129,7 @@ func (id VMGroupId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this V M Group ID +// String returns a human-readable description of this VM Group ID func (id VMGroupId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), @@ -137,5 +137,5 @@ func (id VMGroupId) String() string { fmt.Sprintf("Private Cloud Name: %q", id.PrivateCloudName), fmt.Sprintf("Vm Group: %q", id.VmGroupId), } - return fmt.Sprintf("V M Group (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("VM Group (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/vmware/2024-09-01/vmwares/id_publicip.go b/resource-manager/vmware/2024-09-01/vmwares/id_publicip.go index 24cdb8af01f..f2b105bdd20 100644 --- a/resource-manager/vmware/2024-09-01/vmwares/id_publicip.go +++ b/resource-manager/vmware/2024-09-01/vmwares/id_publicip.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &PublicIPId{} -// PublicIPId is a struct representing the Resource ID for a Public I P +// PublicIPId is a struct representing the Resource ID for a Public IP type PublicIPId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *PublicIPId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidatePublicIPID checks that 'input' can be parsed as a Public I P ID +// ValidatePublicIPID checks that 'input' can be parsed as a Public IP ID func ValidatePublicIPID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidatePublicIPID(input interface{}, key string) (warnings []string, error return } -// ID returns the formatted Public I P ID +// ID returns the formatted Public IP ID func (id PublicIPId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.AVS/privateClouds/%s/workloadNetworks/default/publicIPs/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PrivateCloudName, id.PublicIPId) } -// Segments returns a slice of Resource ID Segments which comprise this Public I P ID +// Segments returns a slice of Resource ID Segments which comprise this Public IP ID func (id PublicIPId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -129,13 +129,13 @@ func (id PublicIPId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Public I P ID +// String returns a human-readable description of this Public IP ID func (id PublicIPId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Private Cloud Name: %q", id.PrivateCloudName), - fmt.Sprintf("Public I P: %q", id.PublicIPId), + fmt.Sprintf("Public IP: %q", id.PublicIPId), } - return fmt.Sprintf("Public I P (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Public IP (%s)", strings.Join(components, "\n")) } diff --git a/resource-manager/vmware/2024-09-01/vmwares/id_vmgroup.go b/resource-manager/vmware/2024-09-01/vmwares/id_vmgroup.go index d74d99493bd..009c9db60d8 100644 --- a/resource-manager/vmware/2024-09-01/vmwares/id_vmgroup.go +++ b/resource-manager/vmware/2024-09-01/vmwares/id_vmgroup.go @@ -17,7 +17,7 @@ func init() { var _ resourceids.ResourceId = &VMGroupId{} -// VMGroupId is a struct representing the Resource ID for a V M Group +// VMGroupId is a struct representing the Resource ID for a VM Group type VMGroupId struct { SubscriptionId string ResourceGroupName string @@ -90,7 +90,7 @@ func (id *VMGroupId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateVMGroupID checks that 'input' can be parsed as a V M Group ID +// ValidateVMGroupID checks that 'input' can be parsed as a VM Group ID func ValidateVMGroupID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { @@ -105,13 +105,13 @@ func ValidateVMGroupID(input interface{}, key string) (warnings []string, errors return } -// ID returns the formatted V M Group ID +// ID returns the formatted VM Group ID func (id VMGroupId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.AVS/privateClouds/%s/workloadNetworks/default/vmGroups/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.PrivateCloudName, id.VmGroupId) } -// Segments returns a slice of Resource ID Segments which comprise this V M Group ID +// Segments returns a slice of Resource ID Segments which comprise this VM Group ID func (id VMGroupId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), @@ -129,7 +129,7 @@ func (id VMGroupId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this V M Group ID +// String returns a human-readable description of this VM Group ID func (id VMGroupId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), @@ -137,5 +137,5 @@ func (id VMGroupId) String() string { fmt.Sprintf("Private Cloud Name: %q", id.PrivateCloudName), fmt.Sprintf("Vm Group: %q", id.VmGroupId), } - return fmt.Sprintf("V M Group (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("VM Group (%s)", strings.Join(components, "\n")) }