Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regen preview for operation id change #47714

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

archerzz
Copy link
Member

@archerzz archerzz commented Jan 6, 2025

preview of Azure/autorest.csharp#5210

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

@@ -118,7 +118,7 @@ public async Task Update_ApiManagementUpdateUser()
public async Task GenerateSsoUri_ApiManagementUserGenerateSsoUrl()
{
// Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUserGenerateSsoUrl.json
// this example is just showing the usage of "User_GenerateSsoUri" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "User_GenerateSsoUrl" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -249,7 +249,7 @@ public async Task Update_AppsUpdateVNetInjection()
public async Task GetResourceUploadUri_AppsGetResourceUploadUrl()
{
// Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_GetResourceUploadUrl.json
// this example is just showing the usage of "Apps_GetResourceUploadUri" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "Apps_GetResourceUploadUrl" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -117,7 +117,7 @@ public async Task Update_L2IsolationDomainsUpdateMaximumSetGen()
public async Task UpdateAdministrativeState_L2IsolationDomainsUpdateAdministrativeStateMaximumSetGen()
{
// Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json
// this example is just showing the usage of "L2IsolationDomains_UpdateAdministrativeState" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "L2IsolationDomains_updateAdministrativeState" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -22,7 +22,7 @@ public partial class Sample_MongoClusterCollection
public async Task CreateOrUpdate_CreatesANewMongoClusterResource()
{
// Generated from example definition: 2024-07-01/MongoClusters_Create.json
// this example is just showing the usage of "MongoCluster_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "MongoClusters_createOrUpdate" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -21,7 +21,7 @@ public partial class Sample_MongoClusterPrivateEndpointConnectionResource
public async Task Get_GetAPrivateEndpointConnectionOnAMongoClusterResource()
{
// Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionGet.json
// this example is just showing the usage of "PrivateEndpointConnectionResource_Get" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "PrivateEndpointConnections_get" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -49,7 +49,7 @@ public virtual NeonOrganizationCollection GetNeonOrganizations()
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>OrganizationResource_Get</description>
/// <description>Organizations_get</description>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -115,7 +115,7 @@ public async Task Update_ExpressRoutePortUpdateTags()
public async Task GenerateLoa_GenerateExpressRoutePortLOA()
{
// Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/GenerateExpressRoutePortsLOA.json
// this example is just showing the usage of "ExpressRoutePorts_GenerateLoa" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "ExpressRoutePorts_GenerateLOA" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -145,7 +145,7 @@ public async Task Update_UpdateLoadBalancerTags()
public async Task MigrateToIPBased_MigrateLoadBalancerToIPBased()
{
// Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/MigrateLoadBalancerToIPBased.json
// this example is just showing the usage of "LoadBalancers_MigrateToIPBased" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "LoadBalancers_MigrateToIpBased" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -212,7 +212,7 @@ public async Task GetNextHop_GetNextHop()
public async Task GetVmSecurityRules_GetSecurityGroupView()
{
// Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/NetworkWatcherSecurityGroupViewGet.json
// this example is just showing the usage of "NetworkWatchers_GetVmSecurityRules" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "NetworkWatchers_GetVMSecurityRules" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -241,7 +241,7 @@ public async Task GetP2SVpnConnectionHealthDetailed_P2SVpnGatewayGetConnectionHe
public async Task DisconnectP2SVpnConnections_DisconnectVpnConnectionsFromP2sVpnGateway()
{
// Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/examples/P2sVpnGatewaysDisconnectP2sVpnConnections.json
// this example is just showing the usage of "P2sVpnGateways_DisconnectP2SVpnConnections" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "P2sVpnGateways_DisconnectP2sVpnConnections" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -141,7 +141,7 @@ public async Task AddVms_AddVMsToVMCluster()
public async Task GetPrivateIPAddresses_ListPrivateIPAddressesForVMCluster()
{
// Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_listPrivateIpAddresses.json
// this example is just showing the usage of "CloudVmClusters_ListPrivateIPAddresses" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "CloudVmClusters_ListPrivateIpAddresses" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -230,7 +230,7 @@ public async Task Update_LocalRulestacksUpdateMinimumSetGen()
public async Task Commit_LocalRulestacksCommitMaximumSetGen()
{
// Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_commit_MaximumSet_Gen.json
// this example is just showing the usage of "LocalRulestacks_Commit" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "LocalRulestacks_commit" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -22,7 +22,7 @@ public partial class Sample_PlaywrightTestingAccountCollection
public async Task CreateOrUpdate_AccountsCreateOrUpdate()
{
// Generated from example definition: 2024-12-01/Accounts_CreateOrUpdate.json
// this example is just showing the usage of "Account_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "Accounts_createOrUpdate" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -21,7 +21,7 @@ public partial class Sample_PlaywrightTestingAccountQuotaCollection
public async Task Get_AccountQuotasGet()
{
// Generated from example definition: 2024-12-01/AccountQuotas_Get.json
// this example is just showing the usage of "AccountQuota_Get" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "AccountQuotas_get" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -51,7 +51,7 @@ public async Task Get_GetVaultStorageConfiguration()
public async Task Update_UpdateVaultStorageConfiguration()
{
// Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupStorageConfig_Patch.json
// this example is just showing the usage of "BackupResourceStorageConfigsNonCRR_Patch" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "BackupResourceStorageConfigsNonCRR_patch" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -80,7 +80,7 @@ public async Task GetSecurityAdvisoryImpactedResourcesBySubscriptionIdAndEventId
public async Task FetchDetailsBySubscriptionIdAndTrackingId_EventDetailsBySubscriptionIdAndTrackingId()
{
// Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Event_fetchDetailsBySubscriptionIdAndTrackingId.json
// this example is just showing the usage of "Event_FetchDetailsBySubscriptionIdAndTrackingId" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "Event_fetchDetailsBySubscriptionIdAndTrackingId" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public async Task CheckResourceName_CheckValidityForAResourceName()
{
// Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/CheckResourceName.json
// this example is just showing the usage of "CheckResourceName" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -2231,7 +2231,7 @@ public virtual Response<SecurityInsightsDataConnectorResource> GetSecurityInsigh
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>ListGeodataByIP</description>
/// <description>ListGeodataByIp</description>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -23,7 +23,7 @@ public partial class Sample_StandbyContainerGroupPoolCollection
public async Task CreateOrUpdate_StandbyContainerGroupPoolsCreateOrUpdate()
{
// Generated from example definition: 2024-03-01/StandbyContainerGroupPools_CreateOrUpdate.json
// this example is just showing the usage of "StandbyContainerGroupPoolResource_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "StandbyContainerGroupPools_createOrUpdate" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -815,7 +815,7 @@ public async Task RegenerateKey_StorageAccountRegenerateKey()
public async Task GetAccountSas_StorageAccountListAccountSAS()
{
// Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountListAccountSAS.json
// this example is just showing the usage of "StorageAccounts_ListAccountSas" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "StorageAccounts_ListAccountSAS" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -100,7 +100,7 @@ public async Task Get_ImportJobsGet()
public async Task GetAll_ImportJobsListByAmlFilesystem()
{
// Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/importJobs_ListByAmlFilesystem.json
// this example is just showing the usage of "importJobs_ListByAmlFileSystem" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "importJobs_ListByAmlFilesystem" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
// Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_RestoreHeatbeat.json
// this example is just showing the usage of "CloudEndpoints_Restoreheartbeat" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "CloudEndpoints_restoreheartbeat" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -253,7 +253,7 @@ public async Task RestoreHeartbeat_CloudEndpointsRestoreheartbeat()
CloudEndpointResource cloudEndpoint = client.GetCloudEndpointResource(cloudEndpointResourceId);

// invoke the operation
await cloudEndpoint.RestoreHeartbeatAsync();
await cloudEndpoint.RestoreheartbeatAsync();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mapping failed:

CloudEndpoints_Restoreheartbeat: RestoreHeartbeat

{
// Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDataConnectionValidation.json
// this example is just showing the usage of "KustoPoolDataConnections_DataConnectionValidation" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "KustoPoolDataConnections_dataConnectionValidation" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -171,7 +171,7 @@ public async Task ValidateDataConnection_KustoPoolDataConnectionValidation()
DataConnectionName = "DataConnections8",
Properties = new SynapseEventHubDataConnection(),
};
ArmOperation<SynapseDataConnectionValidationListResult> lro = await synapseDatabase.ValidateDataConnectionAsync(WaitUntil.Completed, synapseDataConnectionValidation);
ArmOperation<SynapseDataConnectionValidationListResult> lro = await synapseDatabase.DataConnectionValidationKustoPoolDataConnectionAsync(WaitUntil.Completed, synapseDataConnectionValidation);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mapping failed:

KustoPoolDataConnections_DataConnectionValidation: ValidateDataConnection

@@ -22,7 +22,7 @@ public partial class Sample_SubscriptionResourceExtensions
public async Task ExportTerraform_ExportTerraform()
{
// Generated from example definition: 2023-07-01-preview/ExportTerraform.json
// this example is just showing the usage of "Terraform_ExportTerraform" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "Terraform_exportTerraform" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
// Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/NameAvailabilityV2Test_NameAvailable-POST-example-21.json
// this example is just showing the usage of "Profiles_CheckTrafficManagerNameAvailabilityV2" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "Profiles_checkTrafficManagerNameAvailabilityV2" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -41,17 +41,17 @@ public async Task CheckTrafficManagerNameAvailabilityV2_NameAvailabilityV2TestNa
Name = "azsmnet5403",
ResourceType = new ResourceType("microsoft.network/trafficmanagerprofiles"),
};
TrafficManagerNameAvailabilityResult result = await subscriptionResource.CheckTrafficManagerNameAvailabilityV2Async(content);
TrafficManagerNameAvailabilityResult result = await subscriptionResource.CheckTrafficManagerNameAvailabilityV2ProfileAsync(content);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mapping failed:

Profiles_CheckTrafficManagerNameAvailabilityV2: CheckTrafficManagerNameAvailabilityV2

@@ -539,7 +539,7 @@ public async Task VerifyHostingEnvironmentVnet_VerifyHostingEnvironmentVnet()
public async Task GetGetUsagesInLocations_GetUsagesInLocationForSubscription()
{
// Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2024-04-01/examples/GetUsagesInLocation.json
// this example is just showing the usage of "GetUsagesInLocation_List" operation, for the dependent resources, they will have to be created separately.
// this example is just showing the usage of "GetUsagesInLocation_list" operation, for the dependent resources, they will have to be created separately.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -6117,7 +6117,7 @@ public virtual Pageable<SlotDifference> GetSlotDifferencesSlot(CsmSlotEntity slo
/// </item>
/// <item>
/// <term>Operation Id</term>
/// <description>WebApps_SwapSlot</description>
/// <description>WebApps_SwapSlotSlot</description>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants